Class: Google::Apis::RetailV2::GoogleCloudRetailV2ProductInputConfig

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 input config source for products.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2ProductInputConfig

Returns a new instance of GoogleCloudRetailV2ProductInputConfig.



3436
3437
3438
# File 'lib/google/apis/retail_v2/classes.rb', line 3436

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

Instance Attribute Details

#big_query_sourceGoogle::Apis::RetailV2::GoogleCloudRetailV2BigQuerySource

BigQuery source import data from. Corresponds to the JSON property bigQuerySource



3424
3425
3426
# File 'lib/google/apis/retail_v2/classes.rb', line 3424

def big_query_source
  @big_query_source
end

#gcs_sourceGoogle::Apis::RetailV2::GoogleCloudRetailV2GcsSource

Google Cloud Storage location for input content. Corresponds to the JSON property gcsSource



3429
3430
3431
# File 'lib/google/apis/retail_v2/classes.rb', line 3429

def gcs_source
  @gcs_source
end

#product_inline_sourceGoogle::Apis::RetailV2::GoogleCloudRetailV2ProductInlineSource

The inline source for the input config for ImportProducts method. Corresponds to the JSON property productInlineSource



3434
3435
3436
# File 'lib/google/apis/retail_v2/classes.rb', line 3434

def product_inline_source
  @product_inline_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3441
3442
3443
3444
3445
# File 'lib/google/apis/retail_v2/classes.rb', line 3441

def update!(**args)
  @big_query_source = args[:big_query_source] if args.key?(:big_query_source)
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
  @product_inline_source = args[:product_inline_source] if args.key?(:product_inline_source)
end