[][src]Struct google_datacatalog1_beta1::GoogleCloudDatacatalogV1beta1PolicyTag

pub struct GoogleCloudDatacatalogV1beta1PolicyTag {
    pub child_policy_tags: Option<Vec<String>>,
    pub display_name: Option<String>,
    pub description: Option<String>,
    pub name: Option<String>,
    pub parent_policy_tag: Option<String>,
}

Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined in a hierarchy. For example, consider the following hierarchy: Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation" contains three child policy tags: "LatLong", "City", and "ZipCode".

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

child_policy_tags: Option<Vec<String>>

Output only. Resource names of child policy tags of this policy tag.

display_name: Option<String>

Required. User defined name of this policy tag. It must: be unique within the parent taxonomy; 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: Option<String>

Description of this policy tag. 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. If not set, defaults to an empty description.

name: Option<String>

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

parent_policy_tag: Option<String>

Resource name of this policy tag's parent policy tag (e.g. for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag). If empty, it means this policy tag is a top level policy tag (e.g. this field is empty for the "Geolocation" policy tag in the example above). If not set, defaults to an empty string.

Trait Implementations

impl Clone for GoogleCloudDatacatalogV1beta1PolicyTag[src]

impl Debug for GoogleCloudDatacatalogV1beta1PolicyTag[src]

impl Default for GoogleCloudDatacatalogV1beta1PolicyTag[src]

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

impl RequestValue for GoogleCloudDatacatalogV1beta1PolicyTag[src]

impl ResponseResult for GoogleCloudDatacatalogV1beta1PolicyTag[src]

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