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

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
NameDescription
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
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\ApiKeys\V2\GetKeyStringRequest