Show / Hide Table of Contents

Class GoogleCloudRetailV2LocalInventory

The inventory information at a place (e.g. a store) identified by a place ID.

Inheritance
object
GoogleCloudRetailV2LocalInventory
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudRetail.v2.Data
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class GoogleCloudRetailV2LocalInventory : IDirectResponseSchema

Properties

Attributes

Optional. Additional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern: a-zA-Z0-9*. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. The searchable field should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB.

Declaration
[JsonProperty("attributes")]
public virtual IDictionary<string, GoogleCloudRetailV2CustomAttribute> Attributes { get; set; }
Property Value
Type Description
IDictionary<string, GoogleCloudRetailV2CustomAttribute>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

FulfillmentTypes

Optional. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned.

Declaration
[JsonProperty("fulfillmentTypes")]
public virtual IList<string> FulfillmentTypes { get; set; }
Property Value
Type Description
IList<string>

PlaceId

Optional. The place ID for the current set of inventory information.

Declaration
[JsonProperty("placeId")]
public virtual string PlaceId { get; set; }
Property Value
Type Description
string

PriceInfo

Optional. Product price and cost information. Google Merchant Center property price.

Declaration
[JsonProperty("priceInfo")]
public virtual GoogleCloudRetailV2PriceInfo PriceInfo { get; set; }
Property Value
Type Description
GoogleCloudRetailV2PriceInfo

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX