Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Table

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

Structured content to inspect. Up to 50,000 Values per request allowed. See https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting- structured-text#inspecting_a_table to learn more.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2Table

Returns a new instance of GooglePrivacyDlpV2Table.



11146
11147
11148
# File 'lib/google/apis/dlp_v2/classes.rb', line 11146

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

Instance Attribute Details

#headersArray<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>

Headers of the table. Corresponds to the JSON property headers



11139
11140
11141
# File 'lib/google/apis/dlp_v2/classes.rb', line 11139

def headers
  @headers
end

#rowsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2Row>

Rows of the table. Corresponds to the JSON property rows



11144
11145
11146
# File 'lib/google/apis/dlp_v2/classes.rb', line 11144

def rows
  @rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11151
11152
11153
11154
# File 'lib/google/apis/dlp_v2/classes.rb', line 11151

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