[][src]Struct google_dlp2::GooglePrivacyDlpV2Container

pub struct GooglePrivacyDlpV2Container {
    pub update_time: Option<String>,
    pub version: Option<String>,
    pub project_id: Option<String>,
    pub relative_path: Option<String>,
    pub full_path: Option<String>,
    pub type_: Option<String>,
    pub root_path: Option<String>,
}

Represents a container that may contain DLP findings. Examples of a container include a file, table, or database record.

This type is not used in any activity, and only used as part of another schema.

Fields

update_time: Option<String>

Findings container modification timestamp, if applicable. For Google Cloud Storage contains last file modification timestamp. For BigQuery table contains last_modified_time property. For Datastore - not populated.

version: Option<String>

Findings container version, if available ("generation" for Google Cloud Storage).

project_id: Option<String>

Project where the finding was found. Can be different from the project that owns the finding.

relative_path: Option<String>

The rest of the path after the root. Examples:

  • For BigQuery table project_id:dataset_id.table_id, the relative path is table_id
  • Google Cloud Storage file gs://bucket/folder/filename.txt, the relative path is folder/filename.txt
full_path: Option<String>

A string representation of the full container name. Examples:

  • BigQuery: 'Project:DataSetId.TableId'
  • Google Cloud Storage: 'gs://Bucket/folders/filename.txt'
type_: Option<String>

Container type, for example BigQuery or Google Cloud Storage.

root_path: Option<String>

The root of the container. Examples:

  • For BigQuery table project_id:dataset_id.table_id, the root is dataset_id
  • For Google Cloud Storage file gs://bucket/folder/filename.txt, the root is gs://bucket

Trait Implementations

impl Clone for GooglePrivacyDlpV2Container[src]

impl Debug for GooglePrivacyDlpV2Container[src]

impl Default for GooglePrivacyDlpV2Container[src]

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

impl Part for GooglePrivacyDlpV2Container[src]

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