Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectContentResponse

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

Overview

Results of inspecting a list of items.

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

Returns a new instance of GooglePrivacyDlpV2beta1InspectContentResponse



1765
1766
1767
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1765

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

Instance Attribute Details

#resultsArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectResult>

Each content_item from the request has a result in this list, in the same order as the request. Corresponds to the JSON property results



1763
1764
1765
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1763

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1770
1771
1772
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1770

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