class Google::Apis::CloudresourcemanagerV3::TagBinding
A TagBinding
represents a connection between a TagValue
and a cloud resource ( currently project, folder, or organization). Once a TagBinding
is created, the TagValue
is applied to all the descendants of the cloud resource.
Attributes
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`). Corresponds to the JSON property `name` @return [String]
The full resource name of the resource the TagValue
is bound to. E.g. `// cloudresourcemanager.googleapis.com/projects/123` Corresponds to the JSON property `parent` @return [String]
The TagValue
of the TagBinding
. Must be of the form `tagValues/456`. Corresponds to the JSON property `tagValue` @return [String]
Public Class Methods
# File lib/google/apis/cloudresourcemanager_v3/classes.rb, line 1537 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudresourcemanager_v3/classes.rb, line 1542 def update!(**args) @name = args[:name] if args.key?(:name) @parent = args[:parent] if args.key?(:parent) @tag_value = args[:tag_value] if args.key?(:tag_value) end