Struct google_cloudresourcemanager3::api::TagBinding
source · pub struct TagBinding {
pub name: Option<String>,
pub parent: Option<String>,
pub tag_value: Option<String>,
pub tag_value_namespaced_name: Option<String>,
}
Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- create tag bindings (request)
- delete tag bindings (none)
- list tag bindings (none)
Fields§
§name: Option<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: Option<String>
The full resource name of the resource the TagValue is bound to. E.g. //cloudresourcemanager.googleapis.com/projects/123
tag_value: Option<String>
The TagValue of the TagBinding. Must be of the form tagValues/456
.
tag_value_namespaced_name: Option<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.
Trait Implementations§
source§impl Clone for TagBinding
impl Clone for TagBinding
source§fn clone(&self) -> TagBinding
fn clone(&self) -> TagBinding
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more