[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Google Cloud Recommendation Engine V1beta1 Client - Class StockState (0.8.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.2 (latest)](/php/docs/reference/cloud-recommendations-ai/latest/V1beta1.ProductCatalogItem.StockState)\n- [0.8.1](/php/docs/reference/cloud-recommendations-ai/0.8.1/V1beta1.ProductCatalogItem.StockState)\n- [0.7.7](/php/docs/reference/cloud-recommendations-ai/0.7.7/V1beta1.ProductCatalogItem.StockState)\n- [0.6.4](/php/docs/reference/cloud-recommendations-ai/0.6.4/V1beta1.ProductCatalogItem.StockState)\n- [0.5.0](/php/docs/reference/cloud-recommendations-ai/0.5.0/V1beta1.ProductCatalogItem.StockState)\n- [0.4.12](/php/docs/reference/cloud-recommendations-ai/0.4.12/V1beta1.ProductCatalogItem.StockState) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Recommendation Engine V1beta1 Client class StockState.\n\nItem stock state. If this field is unspecified, the item is\nassumed to be in stock.\n\nProtobuf type `google.cloud.recommendationengine.v1beta1.ProductCatalogItem.StockState`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ RecommendationEngine \\\\ V1beta1 \\\\ ProductCatalogItem\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### STOCK_STATE_UNSPECIFIED\n\n Value: 0\n\nDefault item stock status. Should never be used.\n\nGenerated from protobuf enum `STOCK_STATE_UNSPECIFIED = 0;`\n\n### IN_STOCK\n\n Value: 0\n\nItem in stock.\n\nGenerated from protobuf enum `IN_STOCK = 0;`\n\n### OUT_OF_STOCK\n\n Value: 1\n\nItem out of stock.\n\nGenerated from protobuf enum `OUT_OF_STOCK = 1;`\n\n### PREORDER\n\n Value: 2\n\nItem that is in pre-order state.\n\nGenerated from protobuf enum `PREORDER = 2;`\n\n### BACKORDER\n\n Value: 3\n\nItem that is back-ordered (i.e. temporarily out of stock).\n\nGenerated from protobuf enum `BACKORDER = 3;`"]]