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



822
823
824
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 822

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



820
821
822
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 820

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



827
828
829
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 827

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