Google Cloud Api Keys V2 Client - Class GetKeyRequest (0.2.2)

Reference documentation and code samples for the Google Cloud Api Keys V2 Client class GetKeyRequest.

Request message for GetKey method.

Generated from protobuf message google.api.apikeys.v2.GetKeyRequest

Namespace

Google \ Cloud \ ApiKeys \ V2

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 get.

getName

Required. The resource name of the API key to get.

Returns
TypeDescription
string

setName

Required. The resource name of the API key to get.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The resource name of the API key to get. Please see Google\Cloud\ApiKeys\V2\ApiKeysClient::keyName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ApiKeys\V2\GetKeyRequest