class Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductInlineSource

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::RetailV2beta::GoogleCloudRetailV2betaProduct>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/retail_v2beta/classes.rb, line 2788
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_v2beta/classes.rb, line 2793
def update!(**args)
  @products = args[:products] if args.key?(:products)
end