Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2OutputStorageConfig

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

Overview

Cloud repository for storing output.

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

Returns a new instance of GooglePrivacyDlpV2beta2OutputStorageConfig



4761
4762
4763
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4761

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

Instance Attribute Details

#output_schemaString

Schema used for writing the findings. Columns are derived from the Finding object. If appending to an existing table, any columns from the predefined schema that are missing will be added. No columns in the existing table will be deleted. If unspecified, then all available columns will be used for a new table, and no changes will be made to an existing table. Corresponds to the JSON property outputSchema

Returns:

  • (String)


4750
4751
4752
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4750

def output_schema
  @output_schema
end

#tableGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2BigQueryTable

Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: <project_id>:<dataset_id>.<table_id> or <project_id>.<dataset_id>.<table_id>. Corresponds to the JSON property table



4759
4760
4761
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4759

def table
  @table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4766
4767
4768
4769
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 4766

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