Struct google_cloudresourcemanager3::api::TagValue[][src]

pub struct TagValue {
    pub create_time: Option<String>,
    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<String>,
}
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).

Fields

create_time: Option<String>

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. Namespaced name of the TagValue. Must be in the format {organization_id}/{tag_key_short_name}/{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<String>

Output only. Update time.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.