Struct google_cloudresourcemanager3::api::EffectiveTag
source · pub struct EffectiveTag {
pub inherited: Option<bool>,
pub namespaced_tag_key: Option<String>,
pub namespaced_tag_value: Option<String>,
pub tag_key: Option<String>,
pub tag_key_parent_name: Option<String>,
pub tag_value: Option<String>,
}
Expand description
An EffectiveTag represents a tag that applies to a resource during policy evaluation. Tags can be either directly bound to a resource or inherited from its ancestor. EffectiveTag contains the name and namespaced_name of the tag value and tag key, with additional fields of inherited
to indicate the inheritance status of the effective tag.
§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).
- list effective tags (none)
Fields§
§inherited: Option<bool>
Indicates the inheritance status of a tag value attached to the given resource. If the tag value is inherited from one of the resource’s ancestors, inherited will be true. If false, then the tag value is directly attached to the resource, inherited will be false.
namespaced_tag_key: Option<String>
The namespaced name of the TagKey. Can be in the form {organization_id}/{tag_key_short_name}
or {project_id}/{tag_key_short_name}
or {project_number}/{tag_key_short_name}
.
namespaced_tag_value: Option<String>
The namespaced name of the TagValue. Can be in the form {organization_id}/{tag_key_short_name}/{tag_value_short_name}
or {project_id}/{tag_key_short_name}/{tag_value_short_name}
or {project_number}/{tag_key_short_name}/{tag_value_short_name}
.
tag_key: Option<String>
The name of the TagKey, in the format tagKeys/{id}
, such as tagKeys/123
.
tag_key_parent_name: Option<String>
The parent name of the tag key. Must be in the format organizations/{organization_id}
or projects/{project_number}
tag_value: Option<String>
Resource name for TagValue in the format tagValues/456
.
Trait Implementations§
source§impl Clone for EffectiveTag
impl Clone for EffectiveTag
source§fn clone(&self) -> EffectiveTag
fn clone(&self) -> EffectiveTag
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more