Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.recommendationengine/v1beta1.CatalogItem
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a catalog item. Auto-naming is currently not supported for this resource.
Create CatalogItem Resource
new CatalogItem(name: string, args: CatalogItemArgs, opts?: CustomResourceOptions);
@overload
def CatalogItem(resource_name: str,
opts: Optional[ResourceOptions] = None,
catalog_id: Optional[str] = None,
category_hierarchies: Optional[Sequence[GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs]] = None,
description: Optional[str] = None,
id: Optional[str] = None,
item_attributes: Optional[GoogleCloudRecommendationengineV1beta1FeatureMapArgs] = None,
item_group_id: Optional[str] = None,
language_code: Optional[str] = None,
location: Optional[str] = None,
product_metadata: Optional[GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs] = None,
project: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
title: Optional[str] = None)
@overload
def CatalogItem(resource_name: str,
args: CatalogItemArgs,
opts: Optional[ResourceOptions] = None)
func NewCatalogItem(ctx *Context, name string, args CatalogItemArgs, opts ...ResourceOption) (*CatalogItem, error)
public CatalogItem(string name, CatalogItemArgs args, CustomResourceOptions? opts = null)
public CatalogItem(String name, CatalogItemArgs args)
public CatalogItem(String name, CatalogItemArgs args, CustomResourceOptions options)
type: google-native:recommendationengine/v1beta1:CatalogItem
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CatalogItemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CatalogItemArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CatalogItemArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CatalogItemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CatalogItemArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CatalogItem Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CatalogItem resource accepts the following input properties:
- Catalog
Id string - Category
Hierarchies List<Pulumi.Google Native. Recommendationengine. V1Beta1. Inputs. Google Cloud Recommendationengine V1beta1Catalog Item Category Hierarchy> Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]
- Id string
Catalog item identifier. UTF-8 encoded string with a length limit of 128 bytes. This id must be unique among all catalog items within the same catalog. It should also be used when logging user events in order for the user events to be joined with the Catalog.
- Title string
Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
- Description string
Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
- Item
Attributes Pulumi.Google Native. Recommendationengine. V1Beta1. Inputs. Google Cloud Recommendationengine V1beta1Feature Map Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
- Item
Group stringId Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. Learn more.
- Language
Code string Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
- Location string
- Product
Metadata Pulumi.Google Native. Recommendationengine. V1Beta1. Inputs. Google Cloud Recommendationengine V1beta1Product Catalog Item Optional. Metadata specific to retail products.
- Project string
- List<string>
Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
- Catalog
Id string - Category
Hierarchies []GoogleCloud Recommendationengine V1beta1Catalog Item Category Hierarchy Args Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]
- Id string
Catalog item identifier. UTF-8 encoded string with a length limit of 128 bytes. This id must be unique among all catalog items within the same catalog. It should also be used when logging user events in order for the user events to be joined with the Catalog.
- Title string
Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
- Description string
Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
- Item
Attributes GoogleCloud Recommendationengine V1beta1Feature Map Args Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
- Item
Group stringId Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. Learn more.
- Language
Code string Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
- Location string
- Product
Metadata GoogleCloud Recommendationengine V1beta1Product Catalog Item Args Optional. Metadata specific to retail products.
- Project string
- []string
Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
- catalog
Id String - category
Hierarchies List<GoogleCloud Recommendationengine V1beta1Catalog Item Category Hierarchy> Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]
- id String
Catalog item identifier. UTF-8 encoded string with a length limit of 128 bytes. This id must be unique among all catalog items within the same catalog. It should also be used when logging user events in order for the user events to be joined with the Catalog.
- title String
Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
- description String
Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
- item
Attributes GoogleCloud Recommendationengine V1beta1Feature Map Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
- item
Group StringId Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. Learn more.
- language
Code String Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
- location String
- product
Metadata GoogleCloud Recommendationengine V1beta1Product Catalog Item Optional. Metadata specific to retail products.
- project String
- List<String>
Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
- catalog
Id string - category
Hierarchies GoogleCloud Recommendationengine V1beta1Catalog Item Category Hierarchy[] Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]
- id string
Catalog item identifier. UTF-8 encoded string with a length limit of 128 bytes. This id must be unique among all catalog items within the same catalog. It should also be used when logging user events in order for the user events to be joined with the Catalog.
- title string
Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
- description string
Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
- item
Attributes GoogleCloud Recommendationengine V1beta1Feature Map Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
- item
Group stringId Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. Learn more.
- language
Code string Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
- location string
- product
Metadata GoogleCloud Recommendationengine V1beta1Product Catalog Item Optional. Metadata specific to retail products.
- project string
- string[]
Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
- catalog_
id str - category_
hierarchies Sequence[GoogleCloud Recommendationengine V1beta1Catalog Item Category Hierarchy Args] Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]
- id str
Catalog item identifier. UTF-8 encoded string with a length limit of 128 bytes. This id must be unique among all catalog items within the same catalog. It should also be used when logging user events in order for the user events to be joined with the Catalog.
- title str
Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
- description str
Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
- item_
attributes GoogleCloud Recommendationengine V1beta1Feature Map Args Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
- item_
group_ strid Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. Learn more.
- language_
code str Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
- location str
- product_
metadata GoogleCloud Recommendationengine V1beta1Product Catalog Item Args Optional. Metadata specific to retail products.
- project str
- Sequence[str]
Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
- catalog
Id String - category
Hierarchies List<Property Map> Catalog item categories. This field is repeated for supporting one catalog item belonging to several parallel category hierarchies. For example, if a shoes product belongs to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes & Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]
- id String
Catalog item identifier. UTF-8 encoded string with a length limit of 128 bytes. This id must be unique among all catalog items within the same catalog. It should also be used when logging user events in order for the user events to be joined with the Catalog.
- title String
Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
- description String
Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
- item
Attributes Property Map Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor, style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
- item
Group StringId Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. Learn more.
- language
Code String Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in multiple languages can result in degraded model performance.
- location String
- product
Metadata Property Map Optional. Metadata specific to retail products.
- project String
- List<String>
Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation results by passing the tag as part of the predict request filter.
Outputs
All input properties are implicitly available as output properties. Additionally, the CatalogItem resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Supporting Types
GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy, GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyArgs
- Categories List<string>
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 []string
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 List<String>
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 string[]
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 Sequence[str]
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 List<String>
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).
GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse, GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponseArgs
- Categories List<string>
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 []string
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 List<String>
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 string[]
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 Sequence[str]
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 List<String>
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).
GoogleCloudRecommendationengineV1beta1FeatureMap, GoogleCloudRecommendationengineV1beta1FeatureMapArgs
- Categorical
Features Dictionary<string, string> Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example:
{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}
- Numerical
Features Dictionary<string, string> Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example:
{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }
- Categorical
Features map[string]string Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example:
{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}
- Numerical
Features map[string]string Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example:
{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }
- categorical
Features Map<String,String> Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example:
{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}
- numerical
Features Map<String,String> Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example:
{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }
- categorical
Features {[key: string]: string} Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example:
{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}
- numerical
Features {[key: string]: string} Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example:
{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }
- categorical_
features Mapping[str, str] Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example:
{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}
- numerical_
features Mapping[str, str] Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example:
{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }
- categorical
Features Map<String> Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example:
{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}
- numerical
Features Map<String> Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example:
{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }
GoogleCloudRecommendationengineV1beta1FeatureMapResponse, GoogleCloudRecommendationengineV1beta1FeatureMapResponseArgs
- Categorical
Features Dictionary<string, string> Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example:
{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}
- Numerical
Features Dictionary<string, string> Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example:
{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }
- Categorical
Features map[string]string Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example:
{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}
- Numerical
Features map[string]string Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example:
{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }
- categorical
Features Map<String,String> Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example:
{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}
- numerical
Features Map<String,String> Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example:
{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }
- categorical
Features {[key: string]: string} Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example:
{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}
- numerical
Features {[key: string]: string} Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example:
{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }
- categorical_
features Mapping[str, str] Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example:
{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}
- numerical_
features Mapping[str, str] Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example:
{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }
- categorical
Features Map<String> Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and values must be UTF-8 encoded strings. For example:
{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}
- numerical
Features Map<String> Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example:
{ "lengths_cm": {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }
GoogleCloudRecommendationengineV1beta1Image, GoogleCloudRecommendationengineV1beta1ImageArgs
GoogleCloudRecommendationengineV1beta1ImageResponse, GoogleCloudRecommendationengineV1beta1ImageResponseArgs
GoogleCloudRecommendationengineV1beta1ProductCatalogItem, GoogleCloudRecommendationengineV1beta1ProductCatalogItemArgs
- Available
Quantity string Optional. The available quantity of the item.
- Canonical
Product stringUri Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
- Costs Dictionary<string, string>
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
- Currency
Code string Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
- Exact
Price Pulumi.Google Native. Recommendationengine. V1Beta1. Inputs. Google Cloud Recommendationengine V1beta1Product Catalog Item Exact Price Optional. The exact product price.
- Images
List<Pulumi.
Google Native. Recommendationengine. V1Beta1. Inputs. Google Cloud Recommendationengine V1beta1Image> Optional. Product images for the catalog item.
- Price
Range Pulumi.Google Native. Recommendationengine. V1Beta1. Inputs. Google Cloud Recommendationengine V1beta1Product Catalog Item Price Range Optional. The product price range.
- Stock
State Pulumi.Google Native. Recommendationengine. V1Beta1. Google Cloud Recommendationengine V1beta1Product Catalog Item Stock State Optional. Online stock state of the catalog item. Default is
IN_STOCK
.
- Available
Quantity string Optional. The available quantity of the item.
- Canonical
Product stringUri Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
- Costs map[string]string
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
- Currency
Code string Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
- Exact
Price GoogleCloud Recommendationengine V1beta1Product Catalog Item Exact Price Optional. The exact product price.
- Images
[]Google
Cloud Recommendationengine V1beta1Image Optional. Product images for the catalog item.
- Price
Range GoogleCloud Recommendationengine V1beta1Product Catalog Item Price Range Optional. The product price range.
- Stock
State GoogleCloud Recommendationengine V1beta1Product Catalog Item Stock State Optional. Online stock state of the catalog item. Default is
IN_STOCK
.
- available
Quantity String Optional. The available quantity of the item.
- canonical
Product StringUri Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
- costs Map<String,String>
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
- currency
Code String Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
- exact
Price GoogleCloud Recommendationengine V1beta1Product Catalog Item Exact Price Optional. The exact product price.
- images
List<Google
Cloud Recommendationengine V1beta1Image> Optional. Product images for the catalog item.
- price
Range GoogleCloud Recommendationengine V1beta1Product Catalog Item Price Range Optional. The product price range.
- stock
State GoogleCloud Recommendationengine V1beta1Product Catalog Item Stock State Optional. Online stock state of the catalog item. Default is
IN_STOCK
.
- available
Quantity string Optional. The available quantity of the item.
- canonical
Product stringUri Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
- costs {[key: string]: string}
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
- currency
Code string Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
- exact
Price GoogleCloud Recommendationengine V1beta1Product Catalog Item Exact Price Optional. The exact product price.
- images
Google
Cloud Recommendationengine V1beta1Image[] Optional. Product images for the catalog item.
- price
Range GoogleCloud Recommendationengine V1beta1Product Catalog Item Price Range Optional. The product price range.
- stock
State GoogleCloud Recommendationengine V1beta1Product Catalog Item Stock State Optional. Online stock state of the catalog item. Default is
IN_STOCK
.
- available_
quantity str Optional. The available quantity of the item.
- canonical_
product_ struri Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
- costs Mapping[str, str]
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
- currency_
code str Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
- exact_
price GoogleCloud Recommendationengine V1beta1Product Catalog Item Exact Price Optional. The exact product price.
- images
Sequence[Google
Cloud Recommendationengine V1beta1Image] Optional. Product images for the catalog item.
- price_
range GoogleCloud Recommendationengine V1beta1Product Catalog Item Price Range Optional. The product price range.
- stock_
state GoogleCloud Recommendationengine V1beta1Product Catalog Item Stock State Optional. Online stock state of the catalog item. Default is
IN_STOCK
.
- available
Quantity String Optional. The available quantity of the item.
- canonical
Product StringUri Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
- costs Map<String>
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
- currency
Code String Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
- exact
Price Property Map Optional. The exact product price.
- images List<Property Map>
Optional. Product images for the catalog item.
- price
Range Property Map Optional. The product price range.
- stock
State "STOCK_STATE_UNSPECIFIED" | "IN_STOCK" | "OUT_OF_STOCK" | "PREORDER" | "BACKORDER" Optional. Online stock state of the catalog item. Default is
IN_STOCK
.
GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice, GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceArgs
- Display
Price double Optional. Display price of the product.
- Original
Price double Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
- Display
Price float64 Optional. Display price of the product.
- Original
Price float64 Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
- display
Price Double Optional. Display price of the product.
- original
Price Double Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
- display
Price number Optional. Display price of the product.
- original
Price number Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
- display_
price float Optional. Display price of the product.
- original_
price float Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
- display
Price Number Optional. Display price of the product.
- original
Price Number Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponse, GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponseArgs
- Display
Price double Optional. Display price of the product.
- Original
Price double Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
- Display
Price float64 Optional. Display price of the product.
- Original
Price float64 Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
- display
Price Double Optional. Display price of the product.
- original
Price Double Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
- display
Price number Optional. Display price of the product.
- original
Price number Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
- display_
price float Optional. Display price of the product.
- original_
price float Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
- display
Price Number Optional. Display price of the product.
- original
Price Number Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'.
GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange, GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeArgs
GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponse, GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponseArgs
GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponse, GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponseArgs
- Available
Quantity string Optional. The available quantity of the item.
- Canonical
Product stringUri Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
- Costs Dictionary<string, string>
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
- Currency
Code string Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
- Exact
Price Pulumi.Google Native. Recommendationengine. V1Beta1. Inputs. Google Cloud Recommendationengine V1beta1Product Catalog Item Exact Price Response Optional. The exact product price.
- Images
List<Pulumi.
Google Native. Recommendationengine. V1Beta1. Inputs. Google Cloud Recommendationengine V1beta1Image Response> Optional. Product images for the catalog item.
- Price
Range Pulumi.Google Native. Recommendationengine. V1Beta1. Inputs. Google Cloud Recommendationengine V1beta1Product Catalog Item Price Range Response Optional. The product price range.
- Stock
State string Optional. Online stock state of the catalog item. Default is
IN_STOCK
.
- Available
Quantity string Optional. The available quantity of the item.
- Canonical
Product stringUri Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
- Costs map[string]string
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
- Currency
Code string Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
- Exact
Price GoogleCloud Recommendationengine V1beta1Product Catalog Item Exact Price Response Optional. The exact product price.
- Images
[]Google
Cloud Recommendationengine V1beta1Image Response Optional. Product images for the catalog item.
- Price
Range GoogleCloud Recommendationengine V1beta1Product Catalog Item Price Range Response Optional. The product price range.
- Stock
State string Optional. Online stock state of the catalog item. Default is
IN_STOCK
.
- available
Quantity String Optional. The available quantity of the item.
- canonical
Product StringUri Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
- costs Map<String,String>
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
- currency
Code String Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
- exact
Price GoogleCloud Recommendationengine V1beta1Product Catalog Item Exact Price Response Optional. The exact product price.
- images
List<Google
Cloud Recommendationengine V1beta1Image Response> Optional. Product images for the catalog item.
- price
Range GoogleCloud Recommendationengine V1beta1Product Catalog Item Price Range Response Optional. The product price range.
- stock
State String Optional. Online stock state of the catalog item. Default is
IN_STOCK
.
- available
Quantity string Optional. The available quantity of the item.
- canonical
Product stringUri Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
- costs {[key: string]: string}
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
- currency
Code string Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
- exact
Price GoogleCloud Recommendationengine V1beta1Product Catalog Item Exact Price Response Optional. The exact product price.
- images
Google
Cloud Recommendationengine V1beta1Image Response[] Optional. Product images for the catalog item.
- price
Range GoogleCloud Recommendationengine V1beta1Product Catalog Item Price Range Response Optional. The product price range.
- stock
State string Optional. Online stock state of the catalog item. Default is
IN_STOCK
.
- available_
quantity str Optional. The available quantity of the item.
- canonical_
product_ struri Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
- costs Mapping[str, str]
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
- currency_
code str Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
- exact_
price GoogleCloud Recommendationengine V1beta1Product Catalog Item Exact Price Response Optional. The exact product price.
- images
Sequence[Google
Cloud Recommendationengine V1beta1Image Response] Optional. Product images for the catalog item.
- price_
range GoogleCloud Recommendationengine V1beta1Product Catalog Item Price Range Response Optional. The product price range.
- stock_
state str Optional. Online stock state of the catalog item. Default is
IN_STOCK
.
- available
Quantity String Optional. The available quantity of the item.
- canonical
Product StringUri Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB..
- costs Map<String>
Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
- currency
Code String Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code.
- exact
Price Property Map Optional. The exact product price.
- images List<Property Map>
Optional. Product images for the catalog item.
- price
Range Property Map Optional. The product price range.
- stock
State String Optional. Online stock state of the catalog item. Default is
IN_STOCK
.
GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockState, GoogleCloudRecommendationengineV1beta1ProductCatalogItemStockStateArgs
- Stock
State Unspecified - STOCK_STATE_UNSPECIFIED
Default item stock status. Should never be used.
- In
Stock - IN_STOCK
Item in stock.
- Out
Of Stock - OUT_OF_STOCK
Item out of stock.
- Preorder
- PREORDER
Item that is in pre-order state.
- Backorder
- BACKORDER
Item that is back-ordered (i.e. temporarily out of stock).
- Google
Cloud Recommendationengine V1beta1Product Catalog Item Stock State Stock State Unspecified - STOCK_STATE_UNSPECIFIED
Default item stock status. Should never be used.
- Google
Cloud Recommendationengine V1beta1Product Catalog Item Stock State In Stock - IN_STOCK
Item in stock.
- Google
Cloud Recommendationengine V1beta1Product Catalog Item Stock State Out Of Stock - OUT_OF_STOCK
Item out of stock.
- Google
Cloud Recommendationengine V1beta1Product Catalog Item Stock State Preorder - PREORDER
Item that is in pre-order state.
- Google
Cloud Recommendationengine V1beta1Product Catalog Item Stock State Backorder - BACKORDER
Item that is back-ordered (i.e. temporarily out of stock).
- Stock
State Unspecified - STOCK_STATE_UNSPECIFIED
Default item stock status. Should never be used.
- In
Stock - IN_STOCK
Item in stock.
- Out
Of Stock - OUT_OF_STOCK
Item out of stock.
- Preorder
- PREORDER
Item that is in pre-order state.
- Backorder
- BACKORDER
Item that is back-ordered (i.e. temporarily out of stock).
- Stock
State Unspecified - STOCK_STATE_UNSPECIFIED
Default item stock status. Should never be used.
- In
Stock - IN_STOCK
Item in stock.
- Out
Of Stock - OUT_OF_STOCK
Item out of stock.
- Preorder
- PREORDER
Item that is in pre-order state.
- Backorder
- BACKORDER
Item that is back-ordered (i.e. temporarily out of stock).
- STOCK_STATE_UNSPECIFIED
- STOCK_STATE_UNSPECIFIED
Default item stock status. Should never be used.
- IN_STOCK
- IN_STOCK
Item in stock.
- OUT_OF_STOCK
- OUT_OF_STOCK
Item out of stock.
- PREORDER
- PREORDER
Item that is in pre-order state.
- BACKORDER
- BACKORDER
Item that is back-ordered (i.e. temporarily out of stock).
- "STOCK_STATE_UNSPECIFIED"
- STOCK_STATE_UNSPECIFIED
Default item stock status. Should never be used.
- "IN_STOCK"
- IN_STOCK
Item in stock.
- "OUT_OF_STOCK"
- OUT_OF_STOCK
Item out of stock.
- "PREORDER"
- PREORDER
Item that is in pre-order state.
- "BACKORDER"
- BACKORDER
Item that is back-ordered (i.e. temporarily out of stock).
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.