Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.recommendationengine/v1beta1.getCatalogItem
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets a specific catalog item.
Using getCatalogItem
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCatalogItem(args: GetCatalogItemArgs, opts?: InvokeOptions): Promise<GetCatalogItemResult>
function getCatalogItemOutput(args: GetCatalogItemOutputArgs, opts?: InvokeOptions): Output<GetCatalogItemResult>
def get_catalog_item(catalog_id: Optional[str] = None,
catalog_item_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCatalogItemResult
def get_catalog_item_output(catalog_id: Optional[pulumi.Input[str]] = None,
catalog_item_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCatalogItemResult]
func LookupCatalogItem(ctx *Context, args *LookupCatalogItemArgs, opts ...InvokeOption) (*LookupCatalogItemResult, error)
func LookupCatalogItemOutput(ctx *Context, args *LookupCatalogItemOutputArgs, opts ...InvokeOption) LookupCatalogItemResultOutput
> Note: This function is named LookupCatalogItem
in the Go SDK.
public static class GetCatalogItem
{
public static Task<GetCatalogItemResult> InvokeAsync(GetCatalogItemArgs args, InvokeOptions? opts = null)
public static Output<GetCatalogItemResult> Invoke(GetCatalogItemInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCatalogItemResult> getCatalogItem(GetCatalogItemArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:recommendationengine/v1beta1:getCatalogItem
arguments:
# arguments dictionary
The following arguments are supported:
- Catalog
Id string - Catalog
Item stringId - Location string
- Project string
- Catalog
Id string - Catalog
Item stringId - Location string
- Project string
- catalog
Id String - catalog
Item StringId - location String
- project String
- catalog
Id string - catalog
Item stringId - location string
- project string
- catalog_
id str - catalog_
item_ strid - location str
- project str
- catalog
Id String - catalog
Item StringId - location String
- project String
getCatalogItem Result
The following output properties are available:
- Category
Hierarchies List<Pulumi.Google Native. Recommendationengine. V1Beta1. Outputs. Google Cloud Recommendationengine V1beta1Catalog Item Category Hierarchy Response> - 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"] } ]
- Description string
- Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
- Item
Attributes Pulumi.Google Native. Recommendationengine. V1Beta1. Outputs. Google Cloud Recommendationengine V1beta1Feature Map Response - 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.
- Product
Metadata Pulumi.Google Native. Recommendationengine. V1Beta1. Outputs. Google Cloud Recommendationengine V1beta1Product Catalog Item Response - Optional. Metadata specific to retail products.
- 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.
- Title string
- Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
- Category
Hierarchies []GoogleCloud Recommendationengine V1beta1Catalog Item Category Hierarchy Response - 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"] } ]
- Description string
- Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
- Item
Attributes GoogleCloud Recommendationengine V1beta1Feature Map Response - 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.
- Product
Metadata GoogleCloud Recommendationengine V1beta1Product Catalog Item Response - Optional. Metadata specific to retail products.
- []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.
- Title string
- Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
- category
Hierarchies List<GoogleCloud Recommendationengine V1beta1Catalog Item Category Hierarchy Response> - 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"] } ]
- description String
- Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
- item
Attributes GoogleCloud Recommendationengine V1beta1Feature Map Response - 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.
- product
Metadata GoogleCloud Recommendationengine V1beta1Product Catalog Item Response - Optional. Metadata specific to retail products.
- 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.
- title String
- Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
- category
Hierarchies GoogleCloud Recommendationengine V1beta1Catalog Item Category Hierarchy Response[] - 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"] } ]
- description string
- Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
- item
Attributes GoogleCloud Recommendationengine V1beta1Feature Map Response - 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.
- product
Metadata GoogleCloud Recommendationengine V1beta1Product Catalog Item Response - Optional. Metadata specific to retail products.
- 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.
- title string
- Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
- category_
hierarchies Sequence[GoogleCloud Recommendationengine V1beta1Catalog Item Category Hierarchy Response] - 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"] } ]
- description str
- Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB.
- item_
attributes GoogleCloud Recommendationengine V1beta1Feature Map Response - 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.
- product_
metadata GoogleCloud Recommendationengine V1beta1Product Catalog Item Response - Optional. Metadata specific to retail products.
- 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.
- title str
- Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
- 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"] } ]
- 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.
- product
Metadata Property Map - Optional. Metadata specific to retail products.
- 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.
- title String
- Catalog item title. UTF-8 encoded string with a length limit of 1 KiB.
Supporting Types
GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchyResponse
- 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).
GoogleCloudRecommendationengineV1beta1FeatureMapResponse
- 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]} }
GoogleCloudRecommendationengineV1beta1ImageResponse
GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPriceResponse
- 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'.
GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRangeResponse
GoogleCloudRecommendationengineV1beta1ProductCatalogItemResponse
- 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
.
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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi