Struct google_api_proto::google::privacy::dlp::v2::ColumnDataProfile
source · pub struct ColumnDataProfile {Show 20 fields
pub name: String,
pub profile_status: Option<ProfileStatus>,
pub state: i32,
pub profile_last_generated: Option<Timestamp>,
pub table_data_profile: String,
pub table_full_resource: String,
pub dataset_project_id: String,
pub dataset_location: String,
pub dataset_id: String,
pub table_id: String,
pub column: String,
pub sensitivity_score: Option<SensitivityScore>,
pub data_risk_level: Option<DataRiskLevel>,
pub column_info_type: Option<InfoTypeSummary>,
pub other_matches: Vec<OtherInfoTypeSummary>,
pub estimated_null_percentage: i32,
pub estimated_uniqueness_score: i32,
pub free_text_score: f64,
pub column_type: i32,
pub policy_state: i32,
}
Expand description
The profile for a scanned column within a table.
Fields§
§name: String
The name of 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.
table_data_profile: String
The resource name of the table data profile.
table_full_resource: String
The resource name of the resource this column is within.
dataset_project_id: String
The Google Cloud project ID that owns the profiled resource.
dataset_location: String
The BigQuery location where the dataset’s data is stored. See https://cloud.google.com/bigquery/docs/locations for supported locations.
dataset_id: String
The BigQuery dataset ID.
table_id: String
The BigQuery table ID.
column: String
The name of the column.
sensitivity_score: Option<SensitivityScore>
The sensitivity of this column.
data_risk_level: Option<DataRiskLevel>
The data risk level for this column.
column_info_type: Option<InfoTypeSummary>
If it’s been determined this column can be identified as a single type, this will be set. Otherwise the column either has unidentifiable content or mixed types.
other_matches: Vec<OtherInfoTypeSummary>
Other types found within this column. List will be unordered.
estimated_null_percentage: i32
Approximate percentage of entries being null in the column.
estimated_uniqueness_score: i32
Approximate uniqueness of the column.
free_text_score: f64
The likelihood that this column contains free-form text. A value close to 1 may indicate the column is likely to contain free-form or natural language text. Range in 0-1.
column_type: i32
The data type of a given column.
policy_state: i32
Indicates if a policy tag has been applied to the column.
Implementations§
source§impl ColumnDataProfile
impl ColumnDataProfile
sourcepub fn column_type(&self) -> ColumnDataType
pub fn column_type(&self) -> ColumnDataType
Returns the enum value of column_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_column_type(&mut self, value: ColumnDataType)
pub fn set_column_type(&mut self, value: ColumnDataType)
Sets column_type
to the provided enum value.
sourcepub fn policy_state(&self) -> ColumnPolicyState
pub fn policy_state(&self) -> ColumnPolicyState
Returns the enum value of policy_state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_policy_state(&mut self, value: ColumnPolicyState)
pub fn set_policy_state(&mut self, value: ColumnPolicyState)
Sets policy_state
to the provided enum value.
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 estimated_null_percentage(&self) -> NullPercentageLevel
pub fn estimated_null_percentage(&self) -> NullPercentageLevel
Returns the enum value of estimated_null_percentage
, or the default if the field is set to an invalid enum value.
sourcepub fn set_estimated_null_percentage(&mut self, value: NullPercentageLevel)
pub fn set_estimated_null_percentage(&mut self, value: NullPercentageLevel)
Sets estimated_null_percentage
to the provided enum value.
sourcepub fn estimated_uniqueness_score(&self) -> UniquenessScoreLevel
pub fn estimated_uniqueness_score(&self) -> UniquenessScoreLevel
Returns the enum value of estimated_uniqueness_score
, or the default if the field is set to an invalid enum value.
sourcepub fn set_estimated_uniqueness_score(&mut self, value: UniquenessScoreLevel)
pub fn set_estimated_uniqueness_score(&mut self, value: UniquenessScoreLevel)
Sets estimated_uniqueness_score
to the provided enum value.
Trait Implementations§
source§impl Clone for ColumnDataProfile
impl Clone for ColumnDataProfile
source§fn clone(&self) -> ColumnDataProfile
fn clone(&self) -> ColumnDataProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ColumnDataProfile
impl Debug for ColumnDataProfile
source§impl Default for ColumnDataProfile
impl Default for ColumnDataProfile
source§impl Message for ColumnDataProfile
impl Message for ColumnDataProfile
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 ColumnDataProfile
impl PartialEq for ColumnDataProfile
source§fn eq(&self, other: &ColumnDataProfile) -> bool
fn eq(&self, other: &ColumnDataProfile) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ColumnDataProfile
Auto Trait Implementations§
impl Freeze for ColumnDataProfile
impl RefUnwindSafe for ColumnDataProfile
impl Send for ColumnDataProfile
impl Sync for ColumnDataProfile
impl Unpin for ColumnDataProfile
impl UnwindSafe for ColumnDataProfile
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