class Google::Apis::RetailV2::GoogleCloudRetailV2ColorInfo
The color information of a Product.
Attributes
The standard color families. Strongly recommended to use the following standard color groups: “Red”, “Pink”, “Orange”, “Yellow”, “Purple”, “Green”, “ Cyan”, “Blue”, “Brown”, “White”, “Gray”, “Black” and “Mixed”. Normally it is expected to have only 1 color family. May consider using single “Mixed” instead of multiple values. A maximum of 5 values are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google
Merchant Center property [color]( support.google.com/merchants/answer/6324487). Schema.org property [ Product.color](schema.org/color). Corresponds to the JSON property `colorFamilies` @return [Array<String>]
The color display names, which may be different from standard color family names, such as the color aliases used in the website frontend. Normally it is expected to have only 1 color. May consider using single “Mixed” instead of multiple values. A maximum of 5 colors are allowed. Each value must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. Google
Merchant Center property [color]( support.google.com/merchants/answer/6324487). Schema.org property [ Product.color](schema.org/color). Corresponds to the JSON property `colors` @return [Array<String>]
Public Class Methods
# File lib/google/apis/retail_v2/classes.rb, line 536 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/retail_v2/classes.rb, line 541 def update!(**args) @color_families = args[:color_families] if args.key?(:color_families) @colors = args[:colors] if args.key?(:colors) end