Struct google_api_proto::google::privacy::dlp::v2::TableDataProfile
source · pub struct TableDataProfile {Show 26 fields
pub name: String,
pub data_source_type: Option<DataSourceType>,
pub project_data_profile: String,
pub dataset_project_id: String,
pub dataset_location: String,
pub dataset_id: String,
pub table_id: String,
pub full_resource: String,
pub profile_status: Option<ProfileStatus>,
pub state: i32,
pub sensitivity_score: Option<SensitivityScore>,
pub data_risk_level: Option<DataRiskLevel>,
pub predicted_info_types: Vec<InfoTypeSummary>,
pub other_info_types: Vec<OtherInfoTypeSummary>,
pub config_snapshot: Option<DataProfileConfigSnapshot>,
pub last_modified_time: Option<Timestamp>,
pub expiration_time: Option<Timestamp>,
pub scanned_column_count: i64,
pub failed_column_count: i64,
pub table_size_bytes: i64,
pub row_count: i64,
pub encryption_status: i32,
pub resource_visibility: i32,
pub profile_last_generated: Option<Timestamp>,
pub resource_labels: BTreeMap<String, String>,
pub create_time: Option<Timestamp>,
}
Expand description
The profile for a scanned table.
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 table.
dataset_project_id: String
The Google Cloud project ID that owns the resource.
dataset_location: String
If supported, the location where the dataset’s data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.
dataset_id: String
If the resource is BigQuery, the dataset ID.
table_id: String
If the resource is BigQuery, the BigQuery table ID.
full_resource: String
The resource name of the resource profiled. https://cloud.google.com/apis/design/resource_names#full_resource_name
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.
sensitivity_score: Option<SensitivityScore>
The sensitivity score of this table.
data_risk_level: Option<DataRiskLevel>
The data risk level of this table.
predicted_info_types: Vec<InfoTypeSummary>
The infoTypes predicted from this table’s data.
other_info_types: Vec<OtherInfoTypeSummary>
Other infoTypes found in this table’s data.
config_snapshot: Option<DataProfileConfigSnapshot>
The snapshot of the configurations used to generate the profile.
last_modified_time: Option<Timestamp>
The time when this table was last modified
expiration_time: Option<Timestamp>
Optional. The time when this table expires.
scanned_column_count: i64
The number of columns profiled in the table.
failed_column_count: i64
The number of columns skipped in the table because of an error.
table_size_bytes: i64
The size of the table when the profile was generated.
row_count: i64
Number of rows in the table when the profile was generated. This will not be populated for BigLake tables.
encryption_status: i32
How the table is encrypted.
resource_visibility: i32
How broadly a resource has been shared.
profile_last_generated: Option<Timestamp>
The last time the profile was generated.
resource_labels: BTreeMap<String, String>
The labels applied to the resource at the time the profile was generated.
create_time: Option<Timestamp>
The time at which the table was created.
Implementations§
source§impl TableDataProfile
impl TableDataProfile
sourcepub fn encryption_status(&self) -> EncryptionStatus
pub fn encryption_status(&self) -> EncryptionStatus
Returns the enum value of encryption_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_encryption_status(&mut self, value: EncryptionStatus)
pub fn set_encryption_status(&mut self, value: EncryptionStatus)
Sets encryption_status
to the provided 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 TableDataProfile
impl Clone for TableDataProfile
source§fn clone(&self) -> TableDataProfile
fn clone(&self) -> TableDataProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TableDataProfile
impl Debug for TableDataProfile
source§impl Default for TableDataProfile
impl Default for TableDataProfile
source§impl Message for TableDataProfile
impl Message for TableDataProfile
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 TableDataProfile
impl PartialEq for TableDataProfile
source§fn eq(&self, other: &TableDataProfile) -> bool
fn eq(&self, other: &TableDataProfile) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TableDataProfile
Auto Trait Implementations§
impl Freeze for TableDataProfile
impl RefUnwindSafe for TableDataProfile
impl Send for TableDataProfile
impl Sync for TableDataProfile
impl Unpin for TableDataProfile
impl UnwindSafe for TableDataProfile
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