Class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse

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

Results of inspecting an item.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2InspectContentResponse

Returns a new instance of GooglePrivacyDlpV2InspectContentResponse.



3215
3216
3217
# File 'generated/google/apis/dlp_v2/classes.rb', line 3215

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

Instance Attribute Details

#resultGoogle::Apis::DlpV2::GooglePrivacyDlpV2InspectResult

All the findings for a single scanned item. Corresponds to the JSON property result



3213
3214
3215
# File 'generated/google/apis/dlp_v2/classes.rb', line 3213

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3220
3221
3222
# File 'generated/google/apis/dlp_v2/classes.rb', line 3220

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