Skip to main content

Class: DeleteServiceAccountRequest

cloudservice.v1.DeleteServiceAccountRequest

Represents a DeleteServiceAccountRequest.

Implements

Constructors

constructor

new DeleteServiceAccountRequest(properties?): DeleteServiceAccountRequest

Constructs a new DeleteServiceAccountRequest.

Parameters

NameTypeDescription
properties?IDeleteServiceAccountRequestProperties to set

Returns

DeleteServiceAccountRequest

Properties

asyncOperationId

asyncOperationId: string

The ID to use for this async operation - optional.

Implementation of

IDeleteServiceAccountRequest.asyncOperationId


resourceVersion

resourceVersion: string

The version of the service account for which this update is intended for. The latest version can be found in the GetServiceAccount response.

Implementation of

IDeleteServiceAccountRequest.resourceVersion


serviceAccountId

serviceAccountId: string

The ID of the service account to delete;

Implementation of

IDeleteServiceAccountRequest.serviceAccountId

Methods

toJSON

toJSON(): Object

Converts this DeleteServiceAccountRequest to JSON.

Returns

Object

JSON object


create

create(properties?): DeleteServiceAccountRequest

Creates a new DeleteServiceAccountRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IDeleteServiceAccountRequestProperties to set

Returns

DeleteServiceAccountRequest

DeleteServiceAccountRequest instance


decode

decode(reader, length?): DeleteServiceAccountRequest

Decodes a DeleteServiceAccountRequest message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

DeleteServiceAccountRequest

DeleteServiceAccountRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): DeleteServiceAccountRequest

Decodes a DeleteServiceAccountRequest message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

DeleteServiceAccountRequest

DeleteServiceAccountRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

Encodes the specified DeleteServiceAccountRequest message. Does not implicitly temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest.verify|verify messages.

Parameters

NameTypeDescription
messageIDeleteServiceAccountRequestDeleteServiceAccountRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified DeleteServiceAccountRequest message, length delimited. Does not implicitly temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest.verify|verify messages.

Parameters

NameTypeDescription
messageIDeleteServiceAccountRequestDeleteServiceAccountRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): DeleteServiceAccountRequest

Creates a DeleteServiceAccountRequest message from a plain object. Also converts values to their respective internal types.

Parameters

NameTypeDescription
objectObjectPlain object

Returns

DeleteServiceAccountRequest

DeleteServiceAccountRequest


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for DeleteServiceAccountRequest

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

toObject(message, options?): Object

Creates a plain object from a DeleteServiceAccountRequest message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageDeleteServiceAccountRequestDeleteServiceAccountRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object