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

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

Overview

The results of an inspect DataSource job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2InspectDataSourceDetails

Returns a new instance of GooglePrivacyDlpV2InspectDataSourceDetails.



3643
3644
3645
# File 'lib/google/apis/dlp_v2/classes.rb', line 3643

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



3636
3637
3638
# File 'lib/google/apis/dlp_v2/classes.rb', line 3636

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



3641
3642
3643
# File 'lib/google/apis/dlp_v2/classes.rb', line 3641

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3648
3649
3650
3651
# File 'lib/google/apis/dlp_v2/classes.rb', line 3648

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