[][src]Struct google_datacatalog1_beta1::GoogleCloudDatacatalogV1beta1TagTemplate

pub struct GoogleCloudDatacatalogV1beta1TagTemplate {
    pub fields: Option<HashMap<String, GoogleCloudDatacatalogV1beta1TagTemplateField>>,
    pub display_name: Option<String>,
    pub name: Option<String>,
}

A tag template defines a tag, which can have one or more typed fields. The template is used to create and attach the tag to GCP resources. Tag template roles provide permissions to create, edit, and use the template. See, for example, the TagTemplate User role, which includes permission to use the tag template to tag resources.

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

fields: Option<HashMap<String, GoogleCloudDatacatalogV1beta1TagTemplateField>>

Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. This map must contain at least one field and at most 500 fields.

The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.

display_name: Option<String>

The display name for this template. Defaults to an empty string.

name: Option<String>

The resource name of the tag template in URL format. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}

Note that this TagTemplate and its child resources may not actually be stored in the location in this name.

Trait Implementations

impl Clone for GoogleCloudDatacatalogV1beta1TagTemplate[src]

impl Debug for GoogleCloudDatacatalogV1beta1TagTemplate[src]

impl Default for GoogleCloudDatacatalogV1beta1TagTemplate[src]

impl<'de> Deserialize<'de> for GoogleCloudDatacatalogV1beta1TagTemplate[src]

impl RequestValue for GoogleCloudDatacatalogV1beta1TagTemplate[src]

impl ResponseResult for GoogleCloudDatacatalogV1beta1TagTemplate[src]

impl Serialize for GoogleCloudDatacatalogV1beta1TagTemplate[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any