Google Cloud Resource Manager V3 Client - Class GetTagKeyRequest (0.6.1)

Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class GetTagKeyRequest.

The request message for getting a TagKey.

Generated from protobuf message google.cloud.resourcemanager.v3.GetTagKeyRequest

Namespace

Google \ Cloud \ ResourceManager \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. A resource name in the format tagKeys/{id}, such as tagKeys/123.

getName

Required. A resource name in the format tagKeys/{id}, such as tagKeys/123.

Returns
TypeDescription
string

setName

Required. A resource name in the format tagKeys/{id}, such as tagKeys/123.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. A resource name in the format tagKeys/{id}, such as tagKeys/123. Please see Google\Cloud\ResourceManager\V3\TagKeysClient::tagKeyName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\GetTagKeyRequest