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

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

setName

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

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 get. Please see Google\Cloud\ApiKeys\V2\ApiKeysClient::keyName() for help formatting this field.

Returns
Type Description
Google\Cloud\ApiKeys\V2\GetKeyRequest