Class: Google::Cloud::ResourceManager::V3::TagBinding
- Inherits:
-
Object
- Object
- Google::Cloud::ResourceManager::V3::TagBinding
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/resourcemanager/v3/tag_bindings.rb
Overview
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.
Instance Attribute Summary collapse
-
#name ⇒ ::String
readonly
Output only.
-
#parent ⇒ ::String
The full resource name of the resource the TagValue is bound to.
-
#tag_value ⇒ ::String
The TagValue of the TagBinding.
-
#tag_value_namespaced_name ⇒ ::String
The namespaced name for the TagValue of the TagBinding.
Instance Attribute Details
#name ⇒ ::String (readonly)
Returns 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
).
49 50 51 52 |
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_bindings.rb', line 49 class TagBinding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns The full resource name of the resource the TagValue is bound to.
E.g. //cloudresourcemanager.googleapis.com/projects/123
.
49 50 51 52 |
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_bindings.rb', line 49 class TagBinding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#tag_value ⇒ ::String
Returns The TagValue of the TagBinding.
Must be of the form tagValues/456
.
49 50 51 52 |
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_bindings.rb', line 49 class TagBinding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#tag_value_namespaced_name ⇒ ::String
Returns 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.
49 50 51 52 |
# File 'proto_docs/google/cloud/resourcemanager/v3/tag_bindings.rb', line 49 class TagBinding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |