Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaOutputConfigBigQueryDestination

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

Overview

The BigQuery output destination configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaOutputConfigBigQueryDestination

Returns a new instance of GoogleCloudRetailV2alphaOutputConfigBigQueryDestination.



5391
5392
5393
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5391

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)


5377
5378
5379
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5377

def dataset_id
  @dataset_id
end

#table_id_prefixString

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

Returns:

  • (String)


5382
5383
5384
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5382

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)


5389
5390
5391
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5389

def table_type
  @table_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5396
5397
5398
5399
5400
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 5396

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