Google Cloud Resource Manager V3 Client - Class GetNamespacedTagValueRequest (1.0.0)

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

The request message for getting a TagValue by its namespaced name.

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

Namespace

Google \ Cloud \ ResourceManager \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. A namespaced tag value name in the following format: {parentId}/{tagKeyShort}/{tagValueShort} Examples: - 42/foo/abc for a value with short name "abc" under the key with short name "foo" under the organization with ID 42 - r2-d2/bar/xyz for a value with short name "xyz" under the key with short name "bar" under the project with ID "r2-d2"

getName

Required. A namespaced tag value name in the following format: {parentId}/{tagKeyShort}/{tagValueShort} Examples:

  • 42/foo/abc for a value with short name "abc" under the key with short name "foo" under the organization with ID 42
  • r2-d2/bar/xyz for a value with short name "xyz" under the key with short name "bar" under the project with ID "r2-d2"
Returns
Type Description
string

setName

Required. A namespaced tag value name in the following format: {parentId}/{tagKeyShort}/{tagValueShort} Examples:

  • 42/foo/abc for a value with short name "abc" under the key with short name "foo" under the organization with ID 42
  • r2-d2/bar/xyz for a value with short name "xyz" under the key with short name "bar" under the project with ID "r2-d2"
Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. A namespaced tag value name in the following format:

{parentId}/{tagKeyShort}/{tagValueShort}

Examples:

  • 42/foo/abc for a value with short name "abc" under the key with short name "foo" under the organization with ID 42
  • r2-d2/bar/xyz for a value with short name "xyz" under the key with short name "bar" under the project with ID "r2-d2" Please see Google\Cloud\ResourceManager\V3\TagValuesClient::tagValueName() for help formatting this field.
Returns
Type Description
Google\Cloud\ResourceManager\V3\GetNamespacedTagValueRequest