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

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

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

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

Returns a new instance of GooglePrivacyDlpV2Table.



6025
6026
6027
# File 'generated/google/apis/dlp_v2/classes.rb', line 6025

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

Instance Attribute Details

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

Headers of the table. Corresponds to the JSON property headers



6018
6019
6020
# File 'generated/google/apis/dlp_v2/classes.rb', line 6018

def headers
  @headers
end

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

Rows of the table. Corresponds to the JSON property rows



6023
6024
6025
# File 'generated/google/apis/dlp_v2/classes.rb', line 6023

def rows
  @rows
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6030
6031
6032
6033
# File 'generated/google/apis/dlp_v2/classes.rb', line 6030

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