Class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectDataSourceDetails

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

Overview

The results of an inspect DataSource job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2InspectDataSourceDetails

Returns a new instance of GooglePrivacyDlpV2InspectDataSourceDetails.



3371
3372
3373
# File 'generated/google/apis/dlp_v2/classes.rb', line 3371

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

Instance Attribute Details

#requested_optionsGoogle::Apis::DlpV2::GooglePrivacyDlpV2RequestedOptions

Snapshot of the inspection configuration. Corresponds to the JSON property requestedOptions



3364
3365
3366
# File 'generated/google/apis/dlp_v2/classes.rb', line 3364

def requested_options
  @requested_options
end

#resultGoogle::Apis::DlpV2::GooglePrivacyDlpV2Result

All result fields mentioned below are updated while the job is processing. Corresponds to the JSON property result



3369
3370
3371
# File 'generated/google/apis/dlp_v2/classes.rb', line 3369

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3376
3377
3378
3379
# File 'generated/google/apis/dlp_v2/classes.rb', line 3376

def update!(**args)
  @requested_options = args[:requested_options] if args.key?(:requested_options)
  @result = args[:result] if args.key?(:result)
end