Reference documentation and code samples for the Recommendations AI V1beta1 API class Google::Cloud::RecommendationEngine::V1beta1::CatalogItem::CategoryHierarchy.
Category represents catalog item category hierarchy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#categories
def categories() -> ::Array<::String>
-
(::Array<::String>) — Required. Catalog item categories. Each category should be a UTF-8
encoded string with a length limit of 2 KiB.
Note that the order in the list denotes the specificity (from least to most specific).
#categories=
def categories=(value) -> ::Array<::String>
-
value (::Array<::String>) — Required. Catalog item categories. Each category should be a UTF-8
encoded string with a length limit of 2 KiB.
Note that the order in the list denotes the specificity (from least to most specific).
-
(::Array<::String>) — Required. Catalog item categories. Each category should be a UTF-8
encoded string with a length limit of 2 KiB.
Note that the order in the list denotes the specificity (from least to most specific).