[][src]Struct gcp_client::google::cloud::datacatalog::v1beta1::Taxonomy

pub struct Taxonomy {
    pub name: String,
    pub display_name: String,
    pub description: String,
    pub activated_policy_types: Vec<i32>,
}

A taxonomy is a collection of policy tags that classify data along a common axis. For instance a data sensitivity taxonomy could contain policy tags denoting PII such as age, zipcode, and SSN. A data origin taxonomy could contain policy tags to distinguish user data, employee data, partner data, public data.

Fields

name: String

Output only. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}".

display_name: String

Required. User defined name of this taxonomy. It must: contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8.

description: String

Optional. Description of this taxonomy. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description.

activated_policy_types: Vec<i32>

Optional. A list of policy types that are activated for this taxonomy. If not set, defaults to an empty list.

Implementations

impl Taxonomy[src]

pub fn activated_policy_types(
    &self
) -> FilterMap<Cloned<Iter<i32>>, fn(_: i32) -> Option<PolicyType>>
[src]

Returns an iterator which yields the valid enum values contained in activated_policy_types.

pub fn push_activated_policy_types(&mut self, value: PolicyType)[src]

Appends the provided enum value to activated_policy_types.

Trait Implementations

impl Clone for Taxonomy[src]

impl Debug for Taxonomy[src]

impl Default for Taxonomy[src]

impl Message for Taxonomy[src]

impl PartialEq<Taxonomy> for Taxonomy[src]

impl StructuralPartialEq for Taxonomy[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]