Class Tag (3.35.0)

Tag(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A tag associated with a resource.

Attributes

Name Description
namespaced_tag_value str
The namespaced name for the tag value to attach to Google Cloud resources. Must be in the format {parent_id}/{tag_key_short_name}/{short_name}, for example, "123456/environment/prod" for an organization parent, or "my-project/environment/prod" for a project parent. This is only set for Google Cloud resources.
key str
The key of a tag key-value pair. For Google Cloud resources, this is the resource name of the key, for example, "tagKeys/123456".
value str
The value of a tag key-value pair. For Google Cloud resources, this is the resource name of the value, for example, "tagValues/123456".