Retail V2 API - Class Google::Cloud::Retail::V2::RemoveLocalInventoriesRequest (v0.17.0)

Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::RemoveLocalInventoriesRequest.

Request message for ProductService.RemoveLocalInventories method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_missing

def allow_missing() -> ::Boolean
Returns
  • (::Boolean) — 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.

#allow_missing=

def allow_missing=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.
Returns
  • (::Boolean) — 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.

#place_ids

def place_ids() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. A list of place IDs to have their inventory deleted. At most 3000 place IDs are allowed per request.

#place_ids=

def place_ids=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. A list of place IDs to have their inventory deleted. At most 3000 place IDs are allowed per request.
Returns
  • (::Array<::String>) — Required. A list of place IDs to have their inventory deleted. At most 3000 place IDs are allowed per request.

#product

def product() -> ::String
Returns
  • (::String) — 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.

#product=

def product=(value) -> ::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.

#remove_time

def remove_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::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.

#remove_time=

def remove_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::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.
Returns
  • (::Google::Protobuf::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.