public sealed class RemoveLocalInventoriesRequest : IMessage<RemoveLocalInventoriesRequest>, IEquatable<RemoveLocalInventoriesRequest>, IDeepCloneable<RemoveLocalInventoriesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class RemoveLocalInventoriesRequest.
Request message for [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories] method.
Implements
IMessage<RemoveLocalInventoriesRequest>, IEquatable<RemoveLocalInventoriesRequest>, IDeepCloneable<RemoveLocalInventoriesRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
RemoveLocalInventoriesRequest()
public RemoveLocalInventoriesRequest()
RemoveLocalInventoriesRequest(RemoveLocalInventoriesRequest)
public RemoveLocalInventoriesRequest(RemoveLocalInventoriesRequest other)
Parameter | |
---|---|
Name | Description |
other | RemoveLocalInventoriesRequest |
Properties
AllowMissing
public bool AllowMissing { get; set; }
If set to true, and the [Product][google.cloud.retail.v2.Product] is not found, the local inventory removal request will still be processed and retained for at most 1 day and processed once the [Product][google.cloud.retail.v2.Product] is created. If set to false, a NOT_FOUND error is returned if the [Product][google.cloud.retail.v2.Product] is not found.
Property Value | |
---|---|
Type | Description |
Boolean |
PlaceIds
public RepeatedField<string> PlaceIds { get; }
Required. A list of place IDs to have their inventory deleted. At most 3000 place IDs are allowed per request.
Property Value | |
---|---|
Type | Description |
RepeatedField<System.String> |
Product
public string Product { get; set; }
Required. Full resource name of [Product][google.cloud.retail.v2.Product],
such as
projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id
.
If the caller does not have permission to access the [Product][google.cloud.retail.v2.Product], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
Property Value | |
---|---|
Type | Description |
System.String |
ProductAsProductName
public ProductName ProductAsProductName { get; set; }
ProductName-typed view over the Product resource name property.
Property Value | |
---|---|
Type | Description |
ProductName |
RemoveTime
public Timestamp RemoveTime { get; set; }
The time when the inventory deletions are issued. Used to prevent out-of-order updates and deletions on local inventory fields. If not provided, the internal system time will be used.
Property Value | |
---|---|
Type | Description |
Timestamp |