Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectContentResponse

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

Overview

Results of inspecting an item.

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) ⇒ GooglePrivacyDlpV2beta2InspectContentResponse

Returns a new instance of GooglePrivacyDlpV2beta2InspectContentResponse



3345
3346
3347
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3345

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

Instance Attribute Details

#resultGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectResult

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



3343
3344
3345
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3343

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3350
3351
3352
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3350

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