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.



5711
5712
5713
# File 'lib/google/apis/dlp_v2/classes.rb', line 5711

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



5704
5705
5706
# File 'lib/google/apis/dlp_v2/classes.rb', line 5704

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



5709
5710
5711
# File 'lib/google/apis/dlp_v2/classes.rb', line 5709

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5716
5717
5718
5719
# File 'lib/google/apis/dlp_v2/classes.rb', line 5716

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