Class: 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()
Call Signature
staticcreate(properties?):DeleteServiceAccountRequest&$Properties
Creates a new DeleteServiceAccountRequest instance using the specified properties.
Parameters
properties?
Properties to set
Returns
DeleteServiceAccountRequest & $Properties
DeleteServiceAccountRequest instance
Call Signature
staticcreate(properties?):DeleteServiceAccountRequest
Creates a new DeleteServiceAccountRequest instance using the specified properties.
Parameters
properties?
Properties to set
Returns
DeleteServiceAccountRequest
DeleteServiceAccountRequest instance
decode()
staticdecode(reader,length?):DeleteServiceAccountRequest&$Properties
Decodes a DeleteServiceAccountRequest message from the specified reader or buffer.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
length?
number
Message 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()
staticdecodeDelimited(reader):DeleteServiceAccountRequest&$Properties
Decodes a DeleteServiceAccountRequest message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader 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()
staticencode(message,writer?):Writer
Encodes the specified DeleteServiceAccountRequest message. Does not implicitly temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest.verify|verify messages.
Parameters
message
DeleteServiceAccountRequest message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified DeleteServiceAccountRequest message, length delimited. Does not implicitly temporal.api.cloud.cloudservice.v1.DeleteServiceAccountRequest.verify|verify messages.
Parameters
message
DeleteServiceAccountRequest message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):DeleteServiceAccountRequest
Creates a DeleteServiceAccountRequest message from a plain object. Also converts values to their respective internal types.
Parameters
object
{[k: string]: any; }
Plain object
Returns
DeleteServiceAccountRequest
DeleteServiceAccountRequest
toObject()
statictoObject(message,options?):object
Creates a plain object from a DeleteServiceAccountRequest message. Also converts values to other types if specified.
Parameters
message
DeleteServiceAccountRequest
DeleteServiceAccountRequest
options?
IConversionOptions
Conversion options
Returns
object
Plain object