Class: CreateApiKeyRequest
cloudservice.v1.CreateApiKeyRequest
Represents a CreateApiKeyRequest.
Implements
Constructors
constructor
• new CreateApiKeyRequest(properties?): CreateApiKeyRequest
Constructs a new CreateApiKeyRequest.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | ICreateApiKeyRequest | Properties to set |
Returns
Properties
asyncOperationId
• asyncOperationId: string
The id to use for this async operation - optional.
Implementation of
ICreateApiKeyRequest.asyncOperationId
spec
• Optional spec: null | IApiKeySpec
The spec for the api key to create. Create api key only supports service-account owner type for now.
Implementation of
Methods
toJSON
▸ toJSON(): Object
Converts this CreateApiKeyRequest to JSON.
Returns
Object
JSON object
create
▸ create(properties?): CreateApiKeyRequest
Creates a new CreateApiKeyRequest instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | ICreateApiKeyRequest | Properties to set |
Returns
CreateApiKeyRequest instance
decode
▸ decode(reader, length?): CreateApiKeyRequest
Decodes a CreateApiKeyRequest message from the specified reader or buffer.