Reference documentation and code samples for the Google Cloud Retail V2 Client class Availability.
Product availability. If this field is unspecified, the product is assumed to be in stock.
Protobuf type google.cloud.retail.v2.Product.Availability
Methods
name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
AVAILABILITY_UNSPECIFIED
Value: 0Default product availability. Default to Availability.IN_STOCK if unset.
Generated from protobuf enum AVAILABILITY_UNSPECIFIED = 0;
IN_STOCK
Value: 1Product in stock.
Generated from protobuf enum IN_STOCK = 1;
OUT_OF_STOCK
Value: 2Product out of stock.
Generated from protobuf enum OUT_OF_STOCK = 2;
PREORDER
Value: 3Product that is in pre-order state.
Generated from protobuf enum PREORDER = 3;
BACKORDER
Value: 4Product that is back-ordered (i.e. temporarily out of stock).
Generated from protobuf enum BACKORDER = 4;