Class RemoveLocalInventoriesRequest (1.19.1)

    mapping=None, *, ignore_unknown_fields=False, **kwargs

Request message for ProductService.RemoveLocalInventories method.


product str
Required. Full resource name of 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, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
place_ids MutableSequence[str]
Required. A list of place IDs to have their inventory deleted. At most 3000 place IDs are allowed per request.
remove_time google.protobuf.timestamp_pb2.Timestamp
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.
allow_missing bool
If set to true, and the 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 is created. If set to false, a NOT_FOUND error is returned if the Product is not found.