Struct google_api_proto::google::privacy::dlp::v2::inspect_config::FindingLimits
source · pub struct FindingLimits {
pub max_findings_per_item: i32,
pub max_findings_per_request: i32,
pub max_findings_per_info_type: Vec<InfoTypeLimit>,
}
Expand description
Configuration to control the number of findings returned for inspection. This is not used for de-identification or data profiling.
When redacting sensitive data from images, finding limits don’t apply. They can cause unexpected or inconsistent results, where only some data is redacted. Don’t include finding limits in [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage] requests. Otherwise, Cloud DLP returns an error.
Fields§
§max_findings_per_item: i32
Max number of findings that are returned for each item scanned.
When set within an [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], this field is ignored.
This value isn’t a hard limit. If the number of findings for an item reaches this limit, the inspection of that item ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns for the item can be multiple times higher than this value.
max_findings_per_request: i32
Max number of findings that are returned per request or job.
If you set this field in an [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], the resulting maximum value is the value that you set or 3,000, whichever is lower.
This value isn’t a hard limit. If an inspection reaches this limit, the inspection ends gradually, not abruptly. Therefore, the actual number of findings that Cloud DLP returns can be multiple times higher than this value.
max_findings_per_info_type: Vec<InfoTypeLimit>
Configuration of findings limit given for specified infoTypes.
Trait Implementations§
source§impl Clone for FindingLimits
impl Clone for FindingLimits
source§fn clone(&self) -> FindingLimits
fn clone(&self) -> FindingLimits
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FindingLimits
impl Debug for FindingLimits
source§impl Default for FindingLimits
impl Default for FindingLimits
source§impl Message for FindingLimits
impl Message for FindingLimits
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 FindingLimits
impl PartialEq for FindingLimits
source§fn eq(&self, other: &FindingLimits) -> bool
fn eq(&self, other: &FindingLimits) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FindingLimits
Auto Trait Implementations§
impl Freeze for FindingLimits
impl RefUnwindSafe for FindingLimits
impl Send for FindingLimits
impl Sync for FindingLimits
impl Unpin for FindingLimits
impl UnwindSafe for FindingLimits
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