Class: Google::Apis::RetailV2::GoogleCloudRetailV2OutputConfig

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

Overview

The output configuration setting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2OutputConfig

Returns a new instance of GoogleCloudRetailV2OutputConfig.



2750
2751
2752
# File 'lib/google/apis/retail_v2/classes.rb', line 2750

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

Instance Attribute Details

#bigquery_destinationGoogle::Apis::RetailV2::GoogleCloudRetailV2OutputConfigBigQueryDestination

The BigQuery output destination configuration. Corresponds to the JSON property bigqueryDestination



2743
2744
2745
# File 'lib/google/apis/retail_v2/classes.rb', line 2743

def bigquery_destination
  @bigquery_destination
end

#gcs_destinationGoogle::Apis::RetailV2::GoogleCloudRetailV2OutputConfigGcsDestination

The Google Cloud Storage output destination configuration. Corresponds to the JSON property gcsDestination



2748
2749
2750
# File 'lib/google/apis/retail_v2/classes.rb', line 2748

def gcs_destination
  @gcs_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2755
2756
2757
2758
# File 'lib/google/apis/retail_v2/classes.rb', line 2755

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