Class: Google::Cloud::Retail::V2::RemoveLocalInventoriesRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/retail/v2/product_service.rb

Overview

Request message for ProductService.RemoveLocalInventories method.

Instance Attribute Summary collapse

Instance Attribute Details

#allow_missing::Boolean

Returns 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.



544
545
546
547
# File 'proto_docs/google/cloud/retail/v2/product_service.rb', line 544

class RemoveLocalInventoriesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#place_ids::Array<::String>

Returns 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.



544
545
546
547
# File 'proto_docs/google/cloud/retail/v2/product_service.rb', line 544

class RemoveLocalInventoriesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#product::String

Returns 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.



544
545
546
547
# File 'proto_docs/google/cloud/retail/v2/product_service.rb', line 544

class RemoveLocalInventoriesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#remove_time::Google::Protobuf::Timestamp

Returns 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.



544
545
546
547
# File 'proto_docs/google/cloud/retail/v2/product_service.rb', line 544

class RemoveLocalInventoriesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end