Skip to main content

Class: DeleteServiceAccountRequest

cloudservice.v1.DeleteServiceAccountRequest

Represents a DeleteServiceAccountRequest.

Properties​

asyncOperationId​

• asyncOperationId: string

The ID to use for this async operation - optional.


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.


serviceAccountId​

• serviceAccountId: string

The ID of the service account to delete;

Methods​

toJSON​

▸ toJSON(): Object

Converts this DeleteServiceAccountRequest to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): DeleteServiceAccountRequest & $Properties

Creates a new DeleteServiceAccountRequest instance using the specified properties.

Parameters​

NameTypeDescription
properties?$PropertiesProperties to set

Returns​

DeleteServiceAccountRequest & $Properties

DeleteServiceAccountRequest instance

▸ create(properties?): DeleteServiceAccountRequest

Parameters​

NameType
properties?$Properties

Returns​

DeleteServiceAccountRequest


decode​

▸ decode(reader, length?): DeleteServiceAccountRequest & $Properties

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 & $Properties

DeleteServiceAccountRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): DeleteServiceAccountRequest & $Properties

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

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

DeleteServiceAccountRequest & $Properties

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
message$PropertiesDeleteServiceAccountRequest 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
message$PropertiesDeleteServiceAccountRequest 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


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