Class: Google::Cloud::Retail::V2::ColorInfo
- Inherits:
-
Object
- Object
- Google::Cloud::Retail::V2::ColorInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/retail/v2/common.rb
Overview
The color information of a Product.
Instance Attribute Summary collapse
-
#color_families ⇒ ::Array<::String>
The standard color families.
-
#colors ⇒ ::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.
Instance Attribute Details
#color_families ⇒ ::Array<::String>
Returns 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. Schema.org property Product.color.
454 455 456 457 |
# File 'proto_docs/google/cloud/retail/v2/common.rb', line 454 class ColorInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#colors ⇒ ::Array<::String>
Returns 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 75 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. Schema.org property Product.color.
454 455 456 457 |
# File 'proto_docs/google/cloud/retail/v2/common.rb', line 454 class ColorInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |