Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::ColorInfo.
The color information of a Product.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#color_families
def color_families() -> ::Array<::String>
-
(::Array<::String>) — 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.
#color_families=
def color_families=(value) -> ::Array<::String>
-
value (::Array<::String>) — 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.
-
(::Array<::String>) — 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.
#colors
def colors() -> ::Array<::String>
-
(::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 25 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.
#colors=
def colors=(value) -> ::Array<::String>
-
value (::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 25 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.
-
(::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 25 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.