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.



2587
2588
2589
# File 'lib/google/apis/retail_v2/classes.rb', line 2587

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



2580
2581
2582
# File 'lib/google/apis/retail_v2/classes.rb', line 2580

def bigquery_destination
  @bigquery_destination
end

#gcs_destinationGoogle::Apis::RetailV2::GoogleCloudRetailV2OutputConfigGcsDestination

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



2585
2586
2587
# File 'lib/google/apis/retail_v2/classes.rb', line 2585

def gcs_destination
  @gcs_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2592
2593
2594
2595
# File 'lib/google/apis/retail_v2/classes.rb', line 2592

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