Struct google_cloudresourcemanager3::api::TagValue
source · pub struct TagValue {
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub etag: Option<String>,
pub name: Option<String>,
pub namespaced_name: Option<String>,
pub parent: Option<String>,
pub short_name: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
A TagValue is a child of a particular TagKey. This is used to group cloud resources for the purpose of controlling them using policies.
§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).
- tag holds create tag values (none)
- tag holds delete tag values (none)
- tag holds list tag values (none)
- create tag values (request)
- delete tag values (none)
- get tag values (response)
- get iam policy tag values (none)
- get namespaced tag values (response)
- list tag values (none)
- patch tag values (request)
- set iam policy tag values (none)
- test iam permissions tag values (none)
Fields§
§create_time: Option<DateTime<Utc>>
Output only. Creation time.
description: Option<String>
Optional. User-assigned description of the TagValue. Must not exceed 256 characters. Read-write.
etag: Option<String>
Optional. Entity tag which users can pass to prevent race conditions. This field is always set in server responses. See UpdateTagValueRequest for details.
name: Option<String>
Immutable. Resource name for TagValue in the format tagValues/456
.
namespaced_name: Option<String>
Output only. 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}
.
parent: Option<String>
Immutable. The resource name of the new TagValue’s parent TagKey. Must be of the form tagKeys/{tag_key_id}
.
short_name: Option<String>
Required. Immutable. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between.
update_time: Option<DateTime<Utc>>
Output only. Update time.