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

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 \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
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
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
string

Required. The resource name of the API key to be deleted. Please see ApiKeysClient::keyName() for help formatting this field.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: