GooglePrivacyDlpV2TableDataProfile

Struct GooglePrivacyDlpV2TableDataProfile 

Source
pub struct GooglePrivacyDlpV2TableDataProfile {
Show 30 fields pub config_snapshot: Option<GooglePrivacyDlpV2DataProfileConfigSnapshot>, pub create_time: Option<DateTime<Utc>>, pub data_risk_level: Option<GooglePrivacyDlpV2DataRiskLevel>, pub data_source_type: Option<GooglePrivacyDlpV2DataSourceType>, pub dataset_id: Option<String>, pub dataset_location: Option<String>, pub dataset_project_id: Option<String>, pub domains: Option<Vec<GooglePrivacyDlpV2Domain>>, pub encryption_status: Option<String>, pub expiration_time: Option<DateTime<Utc>>, pub failed_column_count: Option<i64>, pub full_resource: Option<String>, pub last_modified_time: Option<DateTime<Utc>>, pub name: Option<String>, pub other_info_types: Option<Vec<GooglePrivacyDlpV2OtherInfoTypeSummary>>, pub predicted_info_types: Option<Vec<GooglePrivacyDlpV2InfoTypeSummary>>, pub profile_last_generated: Option<DateTime<Utc>>, pub profile_status: Option<GooglePrivacyDlpV2ProfileStatus>, pub project_data_profile: Option<String>, pub related_resources: Option<Vec<GooglePrivacyDlpV2RelatedResource>>, pub resource_labels: Option<HashMap<String, String>>, pub resource_visibility: Option<String>, pub row_count: Option<i64>, pub sample_findings_table: Option<GooglePrivacyDlpV2BigQueryTable>, pub scanned_column_count: Option<i64>, pub sensitivity_score: Option<GooglePrivacyDlpV2SensitivityScore>, pub state: Option<String>, pub table_id: Option<String>, pub table_size_bytes: Option<i64>, pub tags: Option<Vec<GooglePrivacyDlpV2Tag>>,
}
Expand description

The profile for a scanned table.

§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§

§config_snapshot: Option<GooglePrivacyDlpV2DataProfileConfigSnapshot>

The snapshot of the configurations used to generate the profile.

§create_time: Option<DateTime<Utc>>

The time at which the table was created.

§data_risk_level: Option<GooglePrivacyDlpV2DataRiskLevel>

The data risk level of this table.

§data_source_type: Option<GooglePrivacyDlpV2DataSourceType>

The resource type that was profiled.

§dataset_id: Option<String>

If the resource is BigQuery, the dataset ID.

§dataset_location: Option<String>

If supported, the location where the dataset’s data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.

§dataset_project_id: Option<String>

The Google Cloud project ID that owns the resource.

§domains: Option<Vec<GooglePrivacyDlpV2Domain>>

Domains associated with the profile.

§encryption_status: Option<String>

How the table is encrypted.

§expiration_time: Option<DateTime<Utc>>

Optional. The time when this table expires.

§failed_column_count: Option<i64>

The number of columns skipped in the table because of an error.

§full_resource: Option<String>

The Cloud Asset Inventory resource that was profiled in order to generate this TableDataProfile. https://cloud.google.com/apis/design/resource_names#full_resource_name

§last_modified_time: Option<DateTime<Utc>>

The time when this table was last modified

§name: Option<String>

The name of the profile.

§other_info_types: Option<Vec<GooglePrivacyDlpV2OtherInfoTypeSummary>>

Other infoTypes found in this table’s data.

§predicted_info_types: Option<Vec<GooglePrivacyDlpV2InfoTypeSummary>>

The infoTypes predicted from this table’s data.

§profile_last_generated: Option<DateTime<Utc>>

The last time the profile was generated.

§profile_status: Option<GooglePrivacyDlpV2ProfileStatus>

Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.

§project_data_profile: Option<String>

The resource name of the project data profile for this table.

§related_resources: Option<Vec<GooglePrivacyDlpV2RelatedResource>>

Resources related to this profile.

§resource_labels: Option<HashMap<String, String>>

The labels applied to the resource at the time the profile was generated.

§resource_visibility: Option<String>

How broadly a resource has been shared.

§row_count: Option<i64>

Number of rows in the table when the profile was generated. This will not be populated for BigLake tables.

§sample_findings_table: Option<GooglePrivacyDlpV2BigQueryTable>

The BigQuery table to which the sample findings are written.

§scanned_column_count: Option<i64>

The number of columns profiled in the table.

§sensitivity_score: Option<GooglePrivacyDlpV2SensitivityScore>

The sensitivity score of this table.

§state: Option<String>

State of a profile. This will always be set to DONE when the table data profile is written to another service like BigQuery or Pub/Sub.

§table_id: Option<String>

The table ID.

§table_size_bytes: Option<i64>

The size of the table when the profile was generated.

§tags: Option<Vec<GooglePrivacyDlpV2Tag>>

The tags attached to the table, including any tags attached during profiling. Because tags are attached to Cloud SQL instances rather than Cloud SQL tables, this field is empty for Cloud SQL table profiles.

Trait Implementations§

Source§

impl Clone for GooglePrivacyDlpV2TableDataProfile

Source§

fn clone(&self) -> GooglePrivacyDlpV2TableDataProfile

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for GooglePrivacyDlpV2TableDataProfile

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for GooglePrivacyDlpV2TableDataProfile

Source§

fn default() -> GooglePrivacyDlpV2TableDataProfile

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for GooglePrivacyDlpV2TableDataProfile

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for GooglePrivacyDlpV2TableDataProfile

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl ResponseResult for GooglePrivacyDlpV2TableDataProfile

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

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