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

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

Request message for GetKeyString method.

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

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

getName

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

Returns
Type Description
string

setName

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

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

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