Reference documentation and code samples for the Google Cloud Api Keys V2 Client class DeleteKeyRequest.
Request message for DeleteKey method.
Generated from protobuf message google.api.apikeys.v2.DeleteKeyRequest
Namespace
Google \ Cloud \ ApiKeys \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ name | stringRequired. The resource name of the API key to be deleted. | 
| ↳ etag | stringOptional. The etag known to the client for the expected state of the key. This is to be used for optimistic concurrency. | 
getName
Required. The resource name of the API key to be deleted.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setName
Required. The resource name of the API key to be deleted.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getEtag
Optional. The etag known to the client for the expected state of the key.
This is to be used for optimistic concurrency.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setEtag
Optional. The etag known to the client for the expected state of the key.
This is to be used for optimistic concurrency.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
static::build
| Parameter | |
|---|---|
| Name | Description | 
| name | stringRequired. The resource name of the API key to be deleted. Please see ApiKeysClient::keyName() for help formatting this field. | 
| Returns | |
|---|---|
| Type | Description | 
| DeleteKeyRequest | |