Skip to main content

Class: UpdateAccountResponse

cloudservice.v1.UpdateAccountResponse

Represents an UpdateAccountResponse.

Properties

asyncOperation

Optional asyncOperation: null | $Properties

The async operation.

Methods

toJSON

toJSON(): Object

Converts this UpdateAccountResponse to JSON.

Returns

Object

JSON object


create

create(properties?): UpdateAccountResponse & $Properties

Creates a new UpdateAccountResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

UpdateAccountResponse & $Properties

UpdateAccountResponse instance

create(properties?): UpdateAccountResponse

Parameters

NameType
properties?$Properties

Returns

UpdateAccountResponse


decode

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

Decodes an UpdateAccountResponse message from the specified reader or buffer.

Parameters

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

Returns

UpdateAccountResponse & $Properties

UpdateAccountResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): UpdateAccountResponse & $Properties

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

UpdateAccountResponse & $Properties

UpdateAccountResponse

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): UpdateAccountResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

UpdateAccountResponse

UpdateAccountResponse


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageUpdateAccountResponseUpdateAccountResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object