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

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

Results of inspecting an item.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2InspectContentResponse

Returns a new instance of GooglePrivacyDlpV2InspectContentResponse.



5989
5990
5991
# File 'lib/google/apis/dlp_v2/classes.rb', line 5989

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



5987
5988
5989
# File 'lib/google/apis/dlp_v2/classes.rb', line 5987

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5994
5995
5996
# File 'lib/google/apis/dlp_v2/classes.rb', line 5994

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