class Google::Apis::RetailV2::GoogleCloudRetailV2Catalog

The catalog configuration.

Attributes

display_name[RW]

Required. Immutable. The catalog display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponds to the JSON property `displayName` @return [String]

name[RW]

Required. Immutable. The fully qualified resource name of the catalog. Corresponds to the JSON property `name` @return [String]

product_level_config[RW]

Configures what level the product should be uploaded with regards to how users will be send events and how predictions will be made. Corresponds to the JSON property `productLevelConfig` @return [Google::Apis::RetailV2::GoogleCloudRetailV2ProductLevelConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/retail_v2/classes.rb, line 495
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_v2/classes.rb, line 500
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @product_level_config = args[:product_level_config] if args.key?(:product_level_config)
end