Class: Google::Apis::SecuritycenterV1beta2::CloudDlpInspection

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb

Overview

Details about the Cloud Data Loss Prevention (Cloud DLP) inspection job that produced the finding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudDlpInspection

Returns a new instance of CloudDlpInspection.



245
246
247
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 245

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#full_scanBoolean Also known as: full_scan?

Whether Cloud DLP scanned the complete resource or a sampled subset. Corresponds to the JSON property fullScan

Returns:

  • (Boolean)


225
226
227
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 225

def full_scan
  @full_scan
end

#info_typeString

The type of information (or infoType) found, for example, EMAIL_ADDRESS or STREET_ADDRESS. Corresponds to the JSON property infoType

Returns:

  • (String)


232
233
234
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 232

def info_type
  @info_type
end

#info_type_countFixnum

The number of times Cloud DLP found this infoType within this job and resource. Corresponds to the JSON property infoTypeCount

Returns:

  • (Fixnum)


237
238
239
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 237

def info_type_count
  @info_type_count
end

#inspect_jobString

Name of the inspection job, for example, projects/123/locations/europe/ dlpJobs/i-8383929. Corresponds to the JSON property inspectJob

Returns:

  • (String)


243
244
245
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 243

def inspect_job
  @inspect_job
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



250
251
252
253
254
255
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 250

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