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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2InspectContentResponse

Returns a new instance of GooglePrivacyDlpV2InspectContentResponse.



2976
2977
2978
# File 'generated/google/apis/dlp_v2/classes.rb', line 2976

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



2974
2975
2976
# File 'generated/google/apis/dlp_v2/classes.rb', line 2974

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2981
2982
2983
# File 'generated/google/apis/dlp_v2/classes.rb', line 2981

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