Class: UpdateServiceAccountRequest
cloudservice.v1.UpdateServiceAccountRequest
Represents an UpdateServiceAccountRequest.
Implements
Constructors
constructor
• new UpdateServiceAccountRequest(properties?): UpdateServiceAccountRequest
Constructs a new UpdateServiceAccountRequest.
Parameters
| Name | Type | Description | 
|---|---|---|
| properties? | IUpdateServiceAccountRequest | Properties to set | 
Returns
Properties
asyncOperationId
• asyncOperationId: string
The ID to use for this async operation - optional.
Implementation of
IUpdateServiceAccountRequest.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
IUpdateServiceAccountRequest.resourceVersion
serviceAccountId
• serviceAccountId: string
The ID of the service account to update.
Implementation of
IUpdateServiceAccountRequest.serviceAccountId
spec
• Optional spec: null | IServiceAccountSpec
The new service account specification.
Implementation of
IUpdateServiceAccountRequest.spec
Methods
toJSON
▸ toJSON(): Object
Converts this UpdateServiceAccountRequest to JSON.
Returns
Object
JSON object
create
▸ create(properties?): UpdateServiceAccountRequest
Creates a new UpdateServiceAccountRequest instance using the specified properties.
Parameters
| Name | Type | Description | 
|---|---|---|
| properties? | IUpdateServiceAccountRequest | Properties to set | 
Returns
UpdateServiceAccountRequest instance
decode
▸ decode(reader, length?): UpdateServiceAccountRequest
Decodes an UpdateServiceAccountRequest message from the specified reader or buffer.
Parameters
| Name | Type | Description | 
|---|---|---|
| reader | Uint8Array|Reader | Reader or buffer to decode from | 
| length? | number | Message length if known beforehand | 
Returns
UpdateServiceAccountRequest
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): UpdateServiceAccountRequest
Decodes an UpdateServiceAccountRequest message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description | 
|---|---|---|
| reader | Uint8Array|Reader | Reader or buffer to decode from | 
Returns
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
| Name | Type | Description | 
|---|---|---|
| message | IUpdateServiceAccountRequest | UpdateServiceAccountRequest message or plain object to encode | 
| writer? | Writer | Writer 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
| Name | Type | Description | 
|---|---|---|
| message | IUpdateServiceAccountRequest | UpdateServiceAccountRequest message or plain object to encode | 
| writer? | Writer | Writer 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
| Name | Type | Description | 
|---|---|---|
| object | Object | Plain object | 
Returns
UpdateServiceAccountRequest
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?): string
Gets the default type url for UpdateServiceAccountRequest
Parameters
| Name | Type | Description | 
|---|---|---|
| typeUrlPrefix? | string | your custom typeUrlPrefix(default "type.googleapis.com") | 
Returns
string
The default type url
toObject
▸ toObject(message, options?): Object
Creates a plain object from an UpdateServiceAccountRequest message. Also converts values to other types if specified.
Parameters
| Name | Type | Description | 
|---|---|---|
| message | UpdateServiceAccountRequest | UpdateServiceAccountRequest | 
| options? | IConversionOptions | Conversion options | 
Returns
Object
Plain object