Google Cloud Resource Manager V3 Client - Class GetTagKeyRequest (1.0.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
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
GetTagKeyRequest