Struct google_api_proto::google::privacy::dlp::v2::FileStoreDataProfile
source · pub struct FileStoreDataProfile {Show 23 fields
pub name: String,
pub data_source_type: Option<DataSourceType>,
pub project_data_profile: String,
pub project_id: String,
pub file_store_location: String,
pub data_storage_locations: Vec<String>,
pub location_type: String,
pub file_store_path: String,
pub full_resource: String,
pub config_snapshot: Option<DataProfileConfigSnapshot>,
pub profile_status: Option<ProfileStatus>,
pub state: i32,
pub profile_last_generated: Option<Timestamp>,
pub resource_visibility: i32,
pub sensitivity_score: Option<SensitivityScore>,
pub data_risk_level: Option<DataRiskLevel>,
pub create_time: Option<Timestamp>,
pub last_modified_time: Option<Timestamp>,
pub file_cluster_summaries: Vec<FileClusterSummary>,
pub resource_attributes: BTreeMap<String, Value>,
pub resource_labels: BTreeMap<String, String>,
pub file_store_info_type_summaries: Vec<FileStoreInfoTypeSummary>,
pub file_store_is_empty: bool,
}
Expand description
The profile for a file store.
- Cloud Storage: maps 1:1 with a bucket.
Fields§
§name: String
The name of the profile.
data_source_type: Option<DataSourceType>
The resource type that was profiled.
project_data_profile: String
The resource name of the project data profile for this file store.
project_id: String
The Google Cloud project ID that owns the resource.
file_store_location: String
The location of the file store.
data_storage_locations: 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.
location_type: String
The location type of the bucket (region, dual-region, multi-region, etc). If dual-region, expect data_storage_locations to be populated.
file_store_path: String
The file store path.
- Cloud Storage:
gs://{bucket}
full_resource: String
The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name
config_snapshot: Option<DataProfileConfigSnapshot>
The snapshot of the configurations used to generate the profile.
profile_status: Option<ProfileStatus>
Success or error status from the most recent profile generation attempt. May be empty if the profile is still being generated.
state: i32
State of a profile.
profile_last_generated: Option<Timestamp>
The last time the profile was generated.
resource_visibility: i32
How broadly a resource has been shared.
sensitivity_score: Option<SensitivityScore>
The sensitivity score of this resource.
data_risk_level: Option<DataRiskLevel>
The data risk level of this resource.
create_time: Option<Timestamp>
The time the file store was first created.
last_modified_time: Option<Timestamp>
The time the file store was last modified.
file_cluster_summaries: Vec<FileClusterSummary>
FileClusterSummary per each cluster.
resource_attributes: BTreeMap<String, Value>
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: BTreeMap<String, String>
The labels applied to the resource at the time the profile was generated.
file_store_info_type_summaries: Vec<FileStoreInfoTypeSummary>
InfoTypes detected in this file store.
file_store_is_empty: bool
The file store does not have any files.
Implementations§
source§impl FileStoreDataProfile
impl FileStoreDataProfile
sourcepub fn state(&self) -> State
pub fn state(&self) -> State
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
sourcepub fn resource_visibility(&self) -> ResourceVisibility
pub fn resource_visibility(&self) -> ResourceVisibility
Returns the enum value of resource_visibility
, or the default if the field is set to an invalid enum value.
sourcepub fn set_resource_visibility(&mut self, value: ResourceVisibility)
pub fn set_resource_visibility(&mut self, value: ResourceVisibility)
Sets resource_visibility
to the provided enum value.
Trait Implementations§
source§impl Clone for FileStoreDataProfile
impl Clone for FileStoreDataProfile
source§fn clone(&self) -> FileStoreDataProfile
fn clone(&self) -> FileStoreDataProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FileStoreDataProfile
impl Debug for FileStoreDataProfile
source§impl Default for FileStoreDataProfile
impl Default for FileStoreDataProfile
source§impl Message for FileStoreDataProfile
impl Message for FileStoreDataProfile
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for FileStoreDataProfile
impl PartialEq for FileStoreDataProfile
source§fn eq(&self, other: &FileStoreDataProfile) -> bool
fn eq(&self, other: &FileStoreDataProfile) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FileStoreDataProfile
Auto Trait Implementations§
impl Freeze for FileStoreDataProfile
impl RefUnwindSafe for FileStoreDataProfile
impl Send for FileStoreDataProfile
impl Sync for FileStoreDataProfile
impl Unpin for FileStoreDataProfile
impl UnwindSafe for FileStoreDataProfile
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request