Skip to main content

Class: UpdateServiceAccountRequest

cloudservice.v1.UpdateServiceAccountRequest

Represents an UpdateServiceAccountRequest.

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 update.


spec

Optional spec: null | $Properties

The new service account specification.

Methods

toJSON

toJSON(): Object

Converts this UpdateServiceAccountRequest to JSON.

Returns

Object

JSON object


create

create(properties?): UpdateServiceAccountRequest & $Properties

Creates a new UpdateServiceAccountRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

UpdateServiceAccountRequest & $Properties

UpdateServiceAccountRequest instance

create(properties?): UpdateServiceAccountRequest

Parameters

NameType
properties?$Properties

Returns

UpdateServiceAccountRequest


decode

decode(reader, length?): UpdateServiceAccountRequest & $Properties

Decodes an UpdateServiceAccountRequest message from the specified reader or buffer.

Parameters

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

Returns

UpdateServiceAccountRequest & $Properties

UpdateServiceAccountRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): UpdateServiceAccountRequest & $Properties

Decodes an UpdateServiceAccountRequest message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

UpdateServiceAccountRequest & $Properties

UpdateServiceAccountRequest

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 UpdateServiceAccountRequest message. Does not implicitly temporal.api.cloud.cloudservice.v1.UpdateServiceAccountRequest.verify|verify messages.

Parameters

NameTypeDescription
message$PropertiesUpdateServiceAccountRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
message$PropertiesUpdateServiceAccountRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): UpdateServiceAccountRequest

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

UpdateServiceAccountRequest

UpdateServiceAccountRequest


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageUpdateServiceAccountRequestUpdateServiceAccountRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object