Struct google_api_proto::google::privacy::dlp::v2::HybridFindingDetails
source · pub struct HybridFindingDetails {
pub container_details: Option<Container>,
pub file_offset: i64,
pub row_offset: i64,
pub table_options: Option<TableOptions>,
pub labels: BTreeMap<String, String>,
}
Expand description
Populate to associate additional data with each finding.
Fields§
§container_details: Option<Container>
Details about the container where the content being inspected is from.
file_offset: i64
Offset in bytes of the line, from the beginning of the file, where the finding is located. Populate if the item being scanned is only part of a bigger item, such as a shard of a file and you want to track the absolute position of the finding.
row_offset: i64
Offset of the row for tables. Populate if the row(s) being scanned are part of a bigger dataset and you want to keep track of their absolute position.
table_options: Option<TableOptions>
If the container is a table, additional information to make findings meaningful such as the columns that are primary keys. If not known ahead of time, can also be set within each inspect hybrid call and the two will be merged. Note that identifying_fields will only be stored to BigQuery, and only if the BigQuery action has been included.
labels: BTreeMap<String, String>
Labels to represent user provided metadata about the data being inspected.
If configured by the job, some key values may be required.
The labels associated with Finding
’s produced by hybrid
inspection.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: [a-z](\[-a-z0-9\]*[a-z0-9])?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression ([a-z](\[-a-z0-9\]*[a-z0-9])?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
"environment" : "production"
"pipeline" : "etl"
Trait Implementations§
source§impl Clone for HybridFindingDetails
impl Clone for HybridFindingDetails
source§fn clone(&self) -> HybridFindingDetails
fn clone(&self) -> HybridFindingDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HybridFindingDetails
impl Debug for HybridFindingDetails
source§impl Default for HybridFindingDetails
impl Default for HybridFindingDetails
source§impl Message for HybridFindingDetails
impl Message for HybridFindingDetails
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 HybridFindingDetails
impl PartialEq for HybridFindingDetails
source§fn eq(&self, other: &HybridFindingDetails) -> bool
fn eq(&self, other: &HybridFindingDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HybridFindingDetails
Auto Trait Implementations§
impl Freeze for HybridFindingDetails
impl RefUnwindSafe for HybridFindingDetails
impl Send for HybridFindingDetails
impl Sync for HybridFindingDetails
impl Unpin for HybridFindingDetails
impl UnwindSafe for HybridFindingDetails
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