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

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

Methods

build

Parameter
NameDescription
name string

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

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\GetTagKeyRequest

__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