Resource Manager V3 API - Class Google::Cloud::ResourceManager::V3::TagBinding (v0.5.1)

Reference documentation and code samples for the Resource Manager V3 API class Google::Cloud::ResourceManager::V3::TagBinding.

A TagBinding represents a connection between a TagValue and a cloud resource Once a TagBinding is created, the TagValue is applied to all the descendants of the Google Cloud resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Output only. The name of the TagBinding. This is a String of the form: tagBindings/{full-resource-name}/{tag-value-name} (e.g. tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456).

#parent

def parent() -> ::String
Returns
  • (::String) — The full resource name of the resource the TagValue is bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — The full resource name of the resource the TagValue is bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123
Returns
  • (::String) — The full resource name of the resource the TagValue is bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123

#tag_value

def tag_value() -> ::String
Returns
  • (::String) — The TagValue of the TagBinding. Must be of the form tagValues/456.

#tag_value=

def tag_value=(value) -> ::String
Parameter
  • value (::String) — The TagValue of the TagBinding. Must be of the form tagValues/456.
Returns
  • (::String) — The TagValue of the TagBinding. Must be of the form tagValues/456.

#tag_value_namespaced_name

def tag_value_namespaced_name() -> ::String
Returns
  • (::String) — The namespaced name for the TagValue of the TagBinding. Must be in the format {parent_id}/{tag_key_short_name}/{short_name}.

    For methods that support TagValue namespaced name, only one of tag_value_namespaced_name or tag_value may be filled. Requests with both fields will be rejected.

#tag_value_namespaced_name=

def tag_value_namespaced_name=(value) -> ::String
Parameter
  • value (::String) — The namespaced name for the TagValue of the TagBinding. Must be in the format {parent_id}/{tag_key_short_name}/{short_name}.

    For methods that support TagValue namespaced name, only one of tag_value_namespaced_name or tag_value may be filled. Requests with both fields will be rejected.

Returns
  • (::String) — The namespaced name for the TagValue of the TagBinding. Must be in the format {parent_id}/{tag_key_short_name}/{short_name}.

    For methods that support TagValue namespaced name, only one of tag_value_namespaced_name or tag_value may be filled. Requests with both fields will be rejected.