Show / Hide Table of Contents

Class GoogleCloudRetailV2AddLocalInventoriesRequest

Request message for ProductService.AddLocalInventories method.

Inheritance
object
GoogleCloudRetailV2AddLocalInventoriesRequest
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 GoogleCloudRetailV2AddLocalInventoriesRequest : IDirectResponseSchema

Properties

AddMask

Indicates which inventory fields in the provided list of LocalInventory to update. The field is updated to the provided value. If a field is set while the place does not have a previous local inventory, the local inventory at that store is created. If a field is set while the value of that field is not provided, the original field value, if it exists, is deleted. If the mask is not set or set with empty paths, all inventory fields will be updated. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.

Declaration
[JsonProperty("addMask")]
public virtual object AddMask { get; set; }
Property Value
Type Description
object

AddTime

object representation of AddTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use AddTimeDateTimeOffset instead.")]
public virtual object AddTime { get; set; }
Property Value
Type Description
object

AddTimeDateTimeOffset

DateTimeOffset representation of AddTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? AddTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

AddTimeRaw

The time when the inventory updates are issued. Used to prevent out-of-order updates on local inventory fields. If not provided, the internal system time will be used.

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

AllowMissing

If set to true, and the Product is not found, the local inventory will still be processed and retained for at most 1 day and processed once the Product is created. If set to false, a NOT_FOUND error is returned if the Product is not found.

Declaration
[JsonProperty("allowMissing")]
public virtual bool? AllowMissing { get; set; }
Property Value
Type Description
bool?

ETag

The ETag of the item.

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

LocalInventories

Required. A list of inventory information at difference places. Each place is identified by its place ID. At most 3000 inventories are allowed per request.

Declaration
[JsonProperty("localInventories")]
public virtual IList<GoogleCloudRetailV2LocalInventory> LocalInventories { get; set; }
Property Value
Type Description
IList<GoogleCloudRetailV2LocalInventory>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX