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.



2568
2569
2570
# File 'lib/google/apis/retail_v2/classes.rb', line 2568

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



2561
2562
2563
# File 'lib/google/apis/retail_v2/classes.rb', line 2561

def bigquery_destination
  @bigquery_destination
end

#gcs_destinationGoogle::Apis::RetailV2::GoogleCloudRetailV2OutputConfigGcsDestination

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



2566
2567
2568
# File 'lib/google/apis/retail_v2/classes.rb', line 2566

def gcs_destination
  @gcs_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2573
2574
2575
2576
# File 'lib/google/apis/retail_v2/classes.rb', line 2573

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