Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaOutputConfigBigQueryDestination

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

Overview

The BigQuery output destination configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaOutputConfigBigQueryDestination

Returns a new instance of GoogleCloudRetailV2betaOutputConfigBigQueryDestination.



5362
5363
5364
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5362

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

Instance Attribute Details

#dataset_idString

Required. The ID of a BigQuery Dataset. Corresponds to the JSON property datasetId

Returns:

  • (String)


5348
5349
5350
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5348

def dataset_id
  @dataset_id
end

#table_id_prefixString

Required. The prefix of exported BigQuery tables. Corresponds to the JSON property tableIdPrefix

Returns:

  • (String)


5353
5354
5355
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5353

def table_id_prefix
  @table_id_prefix
end

#table_typeString

Required. Describes the table type. The following values are supported: * table: A BigQuery native table. * view: A virtual table defined by a SQL query. Corresponds to the JSON property tableType

Returns:

  • (String)


5360
5361
5362
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5360

def table_type
  @table_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5367
5368
5369
5370
5371
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5367

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