Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2CloudDlpInspection
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2CloudDlpInspection
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Overview
Details about the Cloud Data Loss Prevention (Cloud DLP) inspection job that produced the finding.
Instance Attribute Summary collapse
-
#full_scan ⇒ Boolean
(also: #full_scan?)
Whether Cloud DLP scanned the complete resource or a sampled subset.
-
#info_type ⇒ String
The type of information (or infoType) found, for example,
EMAIL_ADDRESS
orSTREET_ADDRESS
. -
#info_type_count ⇒ Fixnum
The number of times Cloud DLP found this infoType within this job and resource.
-
#inspect_job ⇒ String
Name of the inspection job, for example,
projects/123/locations/europe/ dlpJobs/i-8383929
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2CloudDlpInspection
constructor
A new instance of GoogleCloudSecuritycenterV2CloudDlpInspection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2CloudDlpInspection
Returns a new instance of GoogleCloudSecuritycenterV2CloudDlpInspection.
5084 5085 5086 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5084 def initialize(**args) update!(**args) end |
Instance Attribute Details
#full_scan ⇒ Boolean Also known as: full_scan?
Whether Cloud DLP scanned the complete resource or a sampled subset.
Corresponds to the JSON property fullScan
5064 5065 5066 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5064 def full_scan @full_scan end |
#info_type ⇒ String
The type of information (or infoType) found, for example, EMAIL_ADDRESS
or STREET_ADDRESS
.
Corresponds to the JSON property infoType
5071 5072 5073 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5071 def info_type @info_type end |
#info_type_count ⇒ Fixnum
The number of times Cloud DLP found this infoType within this job and resource.
Corresponds to the JSON property infoTypeCount
5076 5077 5078 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5076 def info_type_count @info_type_count end |
#inspect_job ⇒ String
Name of the inspection job, for example, projects/123/locations/europe/
dlpJobs/i-8383929
.
Corresponds to the JSON property inspectJob
5082 5083 5084 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5082 def inspect_job @inspect_job end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5089 5090 5091 5092 5093 5094 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 5089 def update!(**args) @full_scan = args[:full_scan] if args.key?(:full_scan) @info_type = args[:info_type] if args.key?(:info_type) @info_type_count = args[:info_type_count] if args.key?(:info_type_count) @inspect_job = args[:inspect_job] if args.key?(:inspect_job) end |