#[non_exhaustive]pub struct CloudDlpInspection {
pub inspect_job: String,
pub info_type: String,
pub info_type_count: i64,
pub full_scan: bool,
/* private fields */
}Expand description
Details about the Cloud Data Loss Prevention (Cloud DLP) inspection job that produced the finding.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.inspect_job: StringName of the inspection job, for example,
projects/123/locations/europe/dlpJobs/i-8383929.
info_type: StringThe type of information (or
infoType) found,
for example, EMAIL_ADDRESS or STREET_ADDRESS.
info_type_count: i64The number of times Cloud DLP found this infoType within this job and resource.
full_scan: boolWhether Cloud DLP scanned the complete resource or a sampled subset.
Implementations§
Source§impl CloudDlpInspection
impl CloudDlpInspection
pub fn new() -> Self
Sourcepub fn set_inspect_job<T: Into<String>>(self, v: T) -> Self
pub fn set_inspect_job<T: Into<String>>(self, v: T) -> Self
Sets the value of inspect_job.
§Example
ⓘ
let x = CloudDlpInspection::new().set_inspect_job("example");Sourcepub fn set_info_type<T: Into<String>>(self, v: T) -> Self
pub fn set_info_type<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_info_type_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_info_type_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of info_type_count.
§Example
ⓘ
let x = CloudDlpInspection::new().set_info_type_count(42);Trait Implementations§
Source§impl Clone for CloudDlpInspection
impl Clone for CloudDlpInspection
Source§fn clone(&self) -> CloudDlpInspection
fn clone(&self) -> CloudDlpInspection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CloudDlpInspection
impl Debug for CloudDlpInspection
Source§impl Default for CloudDlpInspection
impl Default for CloudDlpInspection
Source§fn default() -> CloudDlpInspection
fn default() -> CloudDlpInspection
Returns the “default value” for a type. Read more
Source§impl Message for CloudDlpInspection
impl Message for CloudDlpInspection
Source§impl PartialEq for CloudDlpInspection
impl PartialEq for CloudDlpInspection
impl StructuralPartialEq for CloudDlpInspection
Auto Trait Implementations§
impl Freeze for CloudDlpInspection
impl RefUnwindSafe for CloudDlpInspection
impl Send for CloudDlpInspection
impl Sync for CloudDlpInspection
impl Unpin for CloudDlpInspection
impl UnwindSafe for CloudDlpInspection
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
Mutably borrows from an owned value. Read more