Google Cloud Api Keys V2 Client - Class DeleteKeyRequest (0.1.7)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the API key to be deleted.

↳ etag string

Optional. 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
TypeDescription
string

setName

Required. The resource name of the API key to be deleted.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this