public sealed class TagBinding : IMessage<TagBinding>, IEquatable<TagBinding>, IDeepCloneable<TagBinding>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Resource Manager v3 API class 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.
Implements
IMessageTagBinding, IEquatableTagBinding, IDeepCloneableTagBinding, IBufferMessage, IMessageNamespace
Google.Cloud.ResourceManager.V3Assembly
Google.Cloud.ResourceManager.V3.dll
Constructors
TagBinding()
public TagBinding()
TagBinding(TagBinding)
public TagBinding(TagBinding other)
Parameter | |
---|---|
Name | Description |
other | TagBinding |
Properties
Name
public string Name { get; set; }
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
).
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
The full resource name of the resource the TagValue is bound to.
E.g. //cloudresourcemanager.googleapis.com/projects/123
Property Value | |
---|---|
Type | Description |
string |
TagBindingName
public TagBindingName TagBindingName { get; set; }
TagBindingName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
TagBindingName |
TagValue
public string TagValue { get; set; }
The TagValue of the TagBinding.
Must be of the form tagValues/456
.
Property Value | |
---|---|
Type | Description |
string |
TagValueNamespacedName
public string TagValueNamespacedName { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |