Reference documentation and code samples for the Recommendations AI V1beta1 API module Google::Cloud::RecommendationEngine::V1beta1::ProductCatalogItem::StockState.
Item stock state. If this field is unspecified, the item is
assumed to be in stock.
Constants
STOCK_STATE_UNSPECIFIED
value: 0 Default item stock status. Should never be used.
IN_STOCK
value: 0 Item in stock.
OUT_OF_STOCK
value: 1 Item out of stock.
PREORDER
value: 2 Item that is in pre-order state.
BACKORDER
value: 3 Item that is back-ordered (i.e. temporarily out of stock).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Recommendations AI V1beta1 API - Module Google::Cloud::RecommendationEngine::V1beta1::ProductCatalogItem::StockState (v0.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.0 (latest)](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/latest/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-StockState)\n- [0.12.1](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.12.1/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-StockState)\n- [0.11.0](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.11.0/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-StockState)\n- [0.10.0](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.10.0/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-StockState)\n- [0.9.2](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.9.2/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-StockState)\n- [0.8.2](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.8.2/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-StockState)\n- [0.7.0](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.7.0/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-StockState)\n- [0.6.1](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.6.1/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-StockState)\n- [0.5.0](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.5.0/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-StockState)\n- [0.4.1](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.4.1/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-StockState)\n- [0.3.7](/ruby/docs/reference/google-cloud-recommendation_engine-v1beta1/0.3.7/Google-Cloud-RecommendationEngine-V1beta1-ProductCatalogItem-StockState) \nReference documentation and code samples for the Recommendations AI V1beta1 API module Google::Cloud::RecommendationEngine::V1beta1::ProductCatalogItem::StockState.\n\nItem stock state. If this field is unspecified, the item is\nassumed to be in stock.\n\nConstants\n---------\n\n### STOCK_STATE_UNSPECIFIED\n\n**value:** 0 \nDefault item stock status. Should never be used.\n\n### IN_STOCK\n\n**value:** 0 \nItem in stock.\n\n### OUT_OF_STOCK\n\n**value:** 1 \nItem out of stock.\n\n### PREORDER\n\n**value:** 2 \nItem that is in pre-order state.\n\n### BACKORDER\n\n**value:** 3 \nItem that is back-ordered (i.e. temporarily out of stock)."]]