class Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductInlineSource

The inline source for the input config for ImportProducts method.

Attributes

products[RW]

Required. A list of products to update/create. Each product must have a valid Product.id. Recommended max of 100 items. Corresponds to the JSON property `products` @return [Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/retail_v2alpha/classes.rb, line 2426
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/retail_v2alpha/classes.rb, line 2431
def update!(**args)
  @products = args[:products] if args.key?(:products)
end