[][src]Struct google_datacatalog1_beta1::GoogleCloudDatacatalogV1beta1Tag

pub struct GoogleCloudDatacatalogV1beta1Tag {
    pub column: Option<String>,
    pub fields: Option<HashMap<String, GoogleCloudDatacatalogV1beta1TagField>>,
    pub template_display_name: Option<String>,
    pub name: Option<String>,
    pub template: Option<String>,
}

Tags are used to attach custom metadata to Data Catalog resources. Tags conform to the specifications within their tag template.

See Data Catalog IAM for information on the permissions needed to create or view tags.

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

column: Option<String>

Resources like Entry can have schemas associated with them. This scope allows users to attach tags to an individual column based on that schema.

For attaching a tag to a nested column, use . to separate the column names. Example:

  • outer_column.inner_column
fields: Option<HashMap<String, GoogleCloudDatacatalogV1beta1TagField>>

Required. This maps the ID of a tag field to the value of and additional information about that field. Valid field IDs are defined by the tag's template. A tag must have at least 1 field and at most 500 fields.

template_display_name: Option<String>

Output only. The display name of the tag template.

name: Option<String>

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

  • projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}

where tag_id is a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.

template: Option<String>

Required. The resource name of the tag template that this tag uses. Example:

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

This field cannot be modified after creation.

Trait Implementations

impl Clone for GoogleCloudDatacatalogV1beta1Tag[src]

impl Debug for GoogleCloudDatacatalogV1beta1Tag[src]

impl Default for GoogleCloudDatacatalogV1beta1Tag[src]

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

impl RequestValue for GoogleCloudDatacatalogV1beta1Tag[src]

impl ResponseResult for GoogleCloudDatacatalogV1beta1Tag[src]

impl Serialize for GoogleCloudDatacatalogV1beta1Tag[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