[][src]Struct gcp_client::google::cloud::datacatalog::v1::UpdateTagTemplateFieldRequest

pub struct UpdateTagTemplateFieldRequest {
    pub name: String,
    pub tag_template_field: Option<TagTemplateField>,
    pub update_mask: Option<FieldMask>,
}

Request message for [UpdateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField].

Fields

name: String

Required. The name of the tag template field. Example:

  • projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}
tag_template_field: Option<TagTemplateField>

Required. The template to update.

update_mask: Option<FieldMask>

Optional. The field mask specifies the parts of the template to be updated. Allowed fields:

  • display_name
  • type.enum_type
  • is_required

If update_mask is not set or empty, all of the allowed fields above will be updated.

When updating an enum type, the provided values will be merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted nor renamed. Updating a template field from optional to required is NOT allowed.

Trait Implementations

impl Clone for UpdateTagTemplateFieldRequest[src]

impl Debug for UpdateTagTemplateFieldRequest[src]

impl Default for UpdateTagTemplateFieldRequest[src]

impl Message for UpdateTagTemplateFieldRequest[src]

impl PartialEq<UpdateTagTemplateFieldRequest> for UpdateTagTemplateFieldRequest[src]

impl StructuralPartialEq for UpdateTagTemplateFieldRequest[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> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]