[][src]Struct google_dlp2::GooglePrivacyDlpV2ContentLocation

pub struct GooglePrivacyDlpV2ContentLocation {
    pub container_name: Option<String>,
    pub container_version: Option<String>,
    pub container_timestamp: Option<String>,
    pub document_location: Option<GooglePrivacyDlpV2DocumentLocation>,
    pub image_location: Option<GooglePrivacyDlpV2ImageLocation>,
    pub record_location: Option<GooglePrivacyDlpV2RecordLocation>,
}

Findings container location data.

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

Fields

container_name: Option<String>

Name of the container where the finding is located. The top level name is the source file name or table name. Names of some common storage containers are formatted as follows:

  • BigQuery tables: <project_id>:<dataset_id>.<table_id>
  • Cloud Storage files: gs://<bucket>/<path>
  • Datastore namespace:

Nested names could be absent if the embedded object has no string identifier (for an example an image contained within a document).

container_version: Option<String>

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

container_timestamp: 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.

document_location: Option<GooglePrivacyDlpV2DocumentLocation>

Location data for document files.

image_location: Option<GooglePrivacyDlpV2ImageLocation>

Location within an image's pixels.

record_location: Option<GooglePrivacyDlpV2RecordLocation>

Location within a row or record of a database table.

Trait Implementations

impl Part for GooglePrivacyDlpV2ContentLocation[src]

impl Default for GooglePrivacyDlpV2ContentLocation[src]

impl Clone for GooglePrivacyDlpV2ContentLocation[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GooglePrivacyDlpV2ContentLocation[src]

impl Serialize for GooglePrivacyDlpV2ContentLocation[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]