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.



3639
3640
3641
# File 'lib/google/apis/dlp_v2/classes.rb', line 3639

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



3632
3633
3634
# File 'lib/google/apis/dlp_v2/classes.rb', line 3632

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



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

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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