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.



2737
2738
2739
# File 'lib/google/apis/retail_v2/classes.rb', line 2737

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



2730
2731
2732
# File 'lib/google/apis/retail_v2/classes.rb', line 2730

def bigquery_destination
  @bigquery_destination
end

#gcs_destinationGoogle::Apis::RetailV2::GoogleCloudRetailV2OutputConfigGcsDestination

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



2735
2736
2737
# File 'lib/google/apis/retail_v2/classes.rb', line 2735

def gcs_destination
  @gcs_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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