GooglePrivacyDlpV2FileStoreDataProfile

Struct GooglePrivacyDlpV2FileStoreDataProfile 

Source
pub struct GooglePrivacyDlpV2FileStoreDataProfile {
Show 27 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 data_storage_locations: Option<Vec<String>>, pub domains: Option<Vec<GooglePrivacyDlpV2Domain>>, pub file_cluster_summaries: Option<Vec<GooglePrivacyDlpV2FileClusterSummary>>, pub file_store_info_type_summaries: Option<Vec<GooglePrivacyDlpV2FileStoreInfoTypeSummary>>, pub file_store_is_empty: Option<bool>, pub file_store_location: Option<String>, pub file_store_path: Option<String>, pub full_resource: Option<String>, pub last_modified_time: Option<DateTime<Utc>>, pub location_type: Option<String>, pub name: Option<String>, pub profile_last_generated: Option<DateTime<Utc>>, pub profile_status: Option<GooglePrivacyDlpV2ProfileStatus>, pub project_data_profile: Option<String>, pub project_id: Option<String>, pub related_resources: Option<Vec<GooglePrivacyDlpV2RelatedResource>>, pub resource_attributes: Option<HashMap<String, GooglePrivacyDlpV2Value>>, pub resource_labels: Option<HashMap<String, String>>, pub resource_visibility: Option<String>, pub sample_findings_table: Option<GooglePrivacyDlpV2BigQueryTable>, pub sensitivity_score: Option<GooglePrivacyDlpV2SensitivityScore>, pub state: Option<String>, pub tags: Option<Vec<GooglePrivacyDlpV2Tag>>,
}
Expand description

The profile for a file store. * Cloud Storage: maps 1:1 with a bucket. * Amazon S3: maps 1:1 with a bucket.

§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 the file store was first created.

§data_risk_level: Option<GooglePrivacyDlpV2DataRiskLevel>

The data risk level of this resource.

§data_source_type: Option<GooglePrivacyDlpV2DataSourceType>

The resource type that was profiled.

§data_storage_locations: Option<Vec<String>>

For resources that have multiple storage locations, these are those regions. For Cloud Storage this is the list of regions chosen for dual-region storage. file_store_location will normally be the corresponding multi-region for the list of individual locations. The first region is always picked as the processing and storage location for the data profile.

§domains: Option<Vec<GooglePrivacyDlpV2Domain>>

Domains associated with the profile.

§file_cluster_summaries: Option<Vec<GooglePrivacyDlpV2FileClusterSummary>>

FileClusterSummary per each cluster.

§file_store_info_type_summaries: Option<Vec<GooglePrivacyDlpV2FileStoreInfoTypeSummary>>

InfoTypes detected in this file store.

§file_store_is_empty: Option<bool>

The file store does not have any files. If the profiling operation failed, this is false.

§file_store_location: Option<String>

The location of the file store. * Cloud Storage: https://cloud.google.com/storage/docs/locations#available-locations * Amazon S3: https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints

§file_store_path: Option<String>

The file store path. * Cloud Storage: gs://{bucket} * Amazon S3: s3://{bucket} * Vertex AI dataset: projects/{project_number}/locations/{location}/datasets/{dataset_id}

§full_resource: Option<String>

The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name Example format of an S3 bucket full resource name: //cloudasset.googleapis.com/organizations/{org_id}/otherCloudConnections/aws/arn:aws:s3:::{bucket_name}

§last_modified_time: Option<DateTime<Utc>>

The time the file store was last modified.

§location_type: Option<String>

The location type of the file store (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.

§name: Option<String>

The name of the profile.

§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 file store.

§project_id: Option<String>

The Google Cloud project ID that owns the resource. For Amazon S3 buckets, this is the AWS Account Id.

§related_resources: Option<Vec<GooglePrivacyDlpV2RelatedResource>>

Resources related to this profile.

§resource_attributes: Option<HashMap<String, GooglePrivacyDlpV2Value>>

Attributes of the resource being profiled. Currently used attributes: * customer_managed_encryption: boolean - true: the resource is encrypted with a customer-managed key. - false: the resource is encrypted with a provider-managed key.

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

§sample_findings_table: Option<GooglePrivacyDlpV2BigQueryTable>

The BigQuery table to which the sample findings are written.

§sensitivity_score: Option<GooglePrivacyDlpV2SensitivityScore>

The sensitivity score of this resource.

§state: Option<String>

State of a profile.

§tags: Option<Vec<GooglePrivacyDlpV2Tag>>

The tags attached to the resource, including any tags attached during profiling.

Trait Implementations§

Source§

impl Clone for GooglePrivacyDlpV2FileStoreDataProfile

Source§

fn clone(&self) -> GooglePrivacyDlpV2FileStoreDataProfile

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 GooglePrivacyDlpV2FileStoreDataProfile

Source§

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

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

impl Default for GooglePrivacyDlpV2FileStoreDataProfile

Source§

fn default() -> GooglePrivacyDlpV2FileStoreDataProfile

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

impl<'de> Deserialize<'de> for GooglePrivacyDlpV2FileStoreDataProfile

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 GooglePrivacyDlpV2FileStoreDataProfile

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 GooglePrivacyDlpV2FileStoreDataProfile

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