Service Client: Google::Cloud::Retail::V2::ProductService::ProductServiceClient
Client stub representing the remote ProductService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to retail.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Retail::V2::ProductService - Compiled Protocol Buffers messages for google/cloud/retail/v2/product_service.proto
SYNOPSIS
use Google::Cloud::Retail::V2::ProductService;
my $msg = Google::Cloud::Retail::V2::ProductService::CreateProductRequest->new({
parent => $parent,
product => $product,
product_id => $product_id,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Retail::V2::ProductService::CreateProductRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/retail/v2/product_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Retail::V2::ProductService::CreateProductRequest
Request message for [ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct] method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/default_branch`.
$msg->product()/$msg->product($value)Type:
Message(Google::Cloud::Retail::V2::Product::Product)Required. The [Product][google.cloud.retail.v2.Product] to create.
$msg->product_id()/$msg->product_id($value)Type:
StringRequired. The ID to use for the [Product][google.cloud.retail.v2.Product], which will become the final component of the [Product.name][google.cloud.retail.v2.Product.name].
If the caller does not have permission to create the [Product][google.cloud.retail.v2.Product], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
This field must be unique among all [Product][google.cloud.retail.v2.Product]s with the same [parent][google.cloud.retail.v2.CreateProductRequest.parent]. Otherwise, an ALREADY_EXISTS error is returned.
This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
Google::Cloud::Retail::V2::ProductService::GetProductRequest
Request message for [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct] method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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.
If the requested [Product][google.cloud.retail.v2.Product] does not exist, a NOT_FOUND error is returned.
Google::Cloud::Retail::V2::ProductService::UpdateProductRequest
Request message for [ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct] method.
Inherits from Protobuf::Message.
Accessors
$msg->product()/$msg->product($value)Type:
Message(Google::Cloud::Retail::V2::Product::Product)Required. The product to update/create.
If the caller does not have permission to update the [Product][google.cloud.retail.v2.Product], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the [Product][google.cloud.retail.v2.Product] to update does not exist and [allow_missing][google.cloud.retail.v2.UpdateProductRequest.allow_missing] is not set, a NOT_FOUND error is returned.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which fields in the provided [Product][google.cloud.retail.v2.Product] to update. The immutable and output only fields are NOT supported. If not set, all supported fields (the fields that are neither immutable nor output only) are updated.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
The attribute key can be updated by setting the mask path as "attributes.${key_name}". If a key name is present in the mask but not in the patching product from the request, this key will be deleted after the update.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolIf set to true, and the [Product][google.cloud.retail.v2.Product] is not found, a new [Product][google.cloud.retail.v2.Product] will be created. In this situation, `update_mask` is ignored.
Google::Cloud::Retail::V2::ProductService::DeleteProductRequest
Request message for [ProductService.DeleteProduct][google.cloud.retail.v2.ProductService.DeleteProduct] method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. 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 delete the [Product][google.cloud.retail.v2.Product], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the [Product][google.cloud.retail.v2.Product] to delete does not exist, a NOT_FOUND error is returned.
The [Product][google.cloud.retail.v2.Product] to delete can neither be a [Product.Type.COLLECTION][google.cloud.retail.v2.Product.Type.COLLECTION] [Product][google.cloud.retail.v2.Product] member nor a [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] [Product][google.cloud.retail.v2.Product] with more than one [variants][google.cloud.retail.v2.Product.Type.VARIANT]. Otherwise, an INVALID_ARGUMENT error is returned.
All inventory information for the named [Product][google.cloud.retail.v2.Product] will be deleted.
Google::Cloud::Retail::V2::ProductService::ListProductsRequest
Request message for [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts] method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent branch resource name, such as `projects/*/locations/global/catalogs/default_catalog/branches/0`. Use `default_branch` as the branch ID, to list products under the default branch.
If the caller does not have permission to list [Product][google.cloud.retail.v2.Product]s under this branch, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.
$msg->page_size()/$msg->page_size($value)Type:
Int32Maximum number of [Product][google.cloud.retail.v2.Product]s to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000.
If this field is negative, an INVALID_ARGUMENT error is returned.
$msg->page_token()/$msg->page_token($value)Type:
StringA page token [ListProductsResponse.next_page_token][google.cloud.retail.v2.ListProductsResponse.next_page_token], received from a previous [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts] call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts] must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.
$msg->filter()/$msg->filter($value)Type:
StringA filter to apply on the list results. Supported features:
* List all the products under the parent branch if [filter][google.cloud.retail.v2.ListProductsRequest.filter] is unset. * List [Product.Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT] [Product][google.cloud.retail.v2.Product]s sharing the same [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] [Product][google.cloud.retail.v2.Product]. For example: `primary_product_id = "some_product_id"` * List [Product][google.cloud.retail.v2.Product]s bundled in a [Product.Type.COLLECTION][google.cloud.retail.v2.Product.Type.COLLECTION] [Product][google.cloud.retail.v2.Product]. For example: `collection_product_id = "some_product_id"` * List [Product][google.cloud.retail.v2.Product]s with a partibular type. For example: `type = "PRIMARY"` `type = "VARIANT"` `type = "COLLECTION"`
If the field is unrecognizable, an INVALID_ARGUMENT error is returned.
If the specified [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] [Product][google.cloud.retail.v2.Product] or [Product.Type.COLLECTION][google.cloud.retail.v2.Product.Type.COLLECTION] [Product][google.cloud.retail.v2.Product] does not exist, a NOT_FOUND error is returned.
$msg->read_mask()/$msg->read_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)The fields of [Product][google.cloud.retail.v2.Product] to return in the responses. If not set or empty, the following fields are returned:
* [Product.name][google.cloud.retail.v2.Product.name] * [Product.id][google.cloud.retail.v2.Product.id] * [Product.title][google.cloud.retail.v2.Product.title] * [Product.uri][google.cloud.retail.v2.Product.uri] * [Product.images][google.cloud.retail.v2.Product.images] * [Product.price_info][google.cloud.retail.v2.Product.price_info] * [Product.brands][google.cloud.retail.v2.Product.brands]
If "*" is provided, all fields are returned. [Product.name][google.cloud.retail.v2.Product.name] is always returned no matter what mask is set.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
Google::Cloud::Retail::V2::ProductService::ListProductsResponse
Response message for [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts] method.
Inherits from Protobuf::Message.
Accessors
$msg->products()/$msg->products($value)Type:
Message(Google::Cloud::Retail::V2::Product::Product)The [Product][google.cloud.retail.v2.Product]s.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that can be sent as [ListProductsRequest.page_token][google.cloud.retail.v2.ListProductsRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Retail::V2::ProductService::SetInventoryRequest
Request message for [ProductService.SetInventory][google.cloud.retail.v2.ProductService.SetInventory] method.
Inherits from Protobuf::Message.
Accessors
$msg->inventory()/$msg->inventory($value)Type:
Message(Google::Cloud::Retail::V2::Product::Product)Required. The inventory information to update. The allowable fields to update are:
* [Product.price_info][google.cloud.retail.v2.Product.price_info] * [Product.availability][google.cloud.retail.v2.Product.availability] * [Product.available_quantity][google.cloud.retail.v2.Product.available_quantity] * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info] The updated inventory fields must be specified in [SetInventoryRequest.set_mask][google.cloud.retail.v2.SetInventoryRequest.set_mask].
If [SetInventoryRequest.inventory.name][google.cloud.retail.v2.Product.name] is empty or invalid, an INVALID_ARGUMENT error is returned.
If the caller does not have permission to update the [Product][google.cloud.retail.v2.Product] named in [Product.name][google.cloud.retail.v2.Product.name], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the [Product][google.cloud.retail.v2.Product] to update does not have existing inventory information, the provided inventory information will be inserted.
If the [Product][google.cloud.retail.v2.Product] to update has existing inventory information, the provided inventory information will be merged while respecting the last update time for each inventory field, using the provided or default value for [SetInventoryRequest.set_time][google.cloud.retail.v2.SetInventoryRequest.set_time].
The caller can replace place IDs for a subset of fulfillment types in the following ways:
* Adds "fulfillment_info" in [SetInventoryRequest.set_mask][google.cloud.retail.v2.SetInventoryRequest.set_mask] * Specifies only the desired fulfillment types and corresponding place IDs to update in [SetInventoryRequest.inventory.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info]
The caller can clear all place IDs from a subset of fulfillment types in the following ways:
* Adds "fulfillment_info" in [SetInventoryRequest.set_mask][google.cloud.retail.v2.SetInventoryRequest.set_mask] * Specifies only the desired fulfillment types to clear in [SetInventoryRequest.inventory.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info] * Checks that only the desired fulfillment info types have empty [SetInventoryRequest.inventory.fulfillment_info.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids]
The last update time is recorded for the following inventory fields: * [Product.price_info][google.cloud.retail.v2.Product.price_info] * [Product.availability][google.cloud.retail.v2.Product.availability] * [Product.available_quantity][google.cloud.retail.v2.Product.available_quantity] * [Product.fulfillment_info][google.cloud.retail.v2.Product.fulfillment_info]
If a full overwrite of inventory information while ignoring timestamps is needed, [ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct] should be invoked instead.
$msg->set_mask()/$msg->set_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which inventory fields in the provided [Product][google.cloud.retail.v2.Product] to update.
At least one field must be provided.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned and the entire update will be ignored.
$msg->set_time()/$msg->set_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time when the request is issued, used to prevent out-of-order updates on inventory fields with the last update time recorded. If not provided, the internal system time will be used.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolIf set to true, and the [Product][google.cloud.retail.v2.Product] with name [Product.name][google.cloud.retail.v2.Product.name] is not found, the inventory update will still be processed and retained for at most 1 day until 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.
Google::Cloud::Retail::V2::ProductService::SetInventoryMetadata
Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the [ProductService.SetInventory][google.cloud.retail.v2.ProductService.SetInventory] method.
Inherits from Protobuf::Message.
Google::Cloud::Retail::V2::ProductService::SetInventoryResponse
Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the [ProductService.SetInventory][google.cloud.retail.v2.ProductService.SetInventory] method.
Inherits from Protobuf::Message.
Google::Cloud::Retail::V2::ProductService::AddFulfillmentPlacesRequest
Request message for [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces] method.
Inherits from Protobuf::Message.
Accessors
$msg->product()/$msg->product($value)Type:
StringRequired. 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.
$msg->type()/$msg->type($value)Type:
StringRequired. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types.
Supported values:
* "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5"
If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.
This field directly corresponds to [Product.fulfillment_info.type][google.cloud.retail.v2.FulfillmentInfo.type].
$msg->place_ids()/$msg->place_ids($value)Type:
StringRequired. The IDs for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type], such as the store IDs for "pickup-in-store" or the region IDs for "same-day-delivery" to be added for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type]. Duplicate IDs will be automatically ignored.
At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
If the total number of place IDs exceeds 2000 for this [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after adding, then the update will be rejected.
$msg->add_time()/$msg->add_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolIf set to true, and the [Product][google.cloud.retail.v2.Product] is not found, the fulfillment information 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.
Google::Cloud::Retail::V2::ProductService::AddFulfillmentPlacesMetadata
Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces] method.
Inherits from Protobuf::Message.
Google::Cloud::Retail::V2::ProductService::AddFulfillmentPlacesResponse
Response of the AddFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces] method.
Inherits from Protobuf::Message.
Google::Cloud::Retail::V2::ProductService::AddLocalInventoriesRequest
Request message for [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories] method.
Inherits from Protobuf::Message.
Accessors
$msg->product()/$msg->product($value)Type:
StringRequired. 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.
$msg->local_inventories()/$msg->local_inventories($value)Type:
Message(Google::Cloud::Retail::V2::Common::LocalInventory)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.
$msg->add_mask()/$msg->add_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Indicates which inventory fields in the provided list of [LocalInventory][google.cloud.retail.v2.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.
$msg->add_time()/$msg->add_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)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.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolIf set to true, and the [Product][google.cloud.retail.v2.Product] is not found, the local inventory 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.
Google::Cloud::Retail::V2::ProductService::AddLocalInventoriesMetadata
Metadata related to the progress of the AddLocalInventories operation. Currently empty because there is no meaningful metadata populated from the [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories] method.
Inherits from Protobuf::Message.
Google::Cloud::Retail::V2::ProductService::AddLocalInventoriesResponse
Response of the [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories] API. Currently empty because there is no meaningful response populated from the [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories] method.
Inherits from Protobuf::Message.
Google::Cloud::Retail::V2::ProductService::RemoveLocalInventoriesRequest
Request message for [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories] method.
Inherits from Protobuf::Message.
Accessors
$msg->product()/$msg->product($value)Type:
StringRequired. 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.
$msg->place_ids()/$msg->place_ids($value)Type:
StringRequired. A list of place IDs to have their inventory deleted. At most 3000 place IDs are allowed per request.
$msg->remove_time()/$msg->remove_time($value)Type:
Message(Google::Protobuf::Timestamp::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.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolIf 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.
Google::Cloud::Retail::V2::ProductService::RemoveLocalInventoriesMetadata
Metadata related to the progress of the RemoveLocalInventories operation. Currently empty because there is no meaningful metadata populated from the [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories] method.
Inherits from Protobuf::Message.
Google::Cloud::Retail::V2::ProductService::RemoveLocalInventoriesResponse
Response of the [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories] API. Currently empty because there is no meaningful response populated from the [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories] method.
Inherits from Protobuf::Message.
Google::Cloud::Retail::V2::ProductService::RemoveFulfillmentPlacesRequest
Request message for [ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces] method.
Inherits from Protobuf::Message.
Accessors
$msg->product()/$msg->product($value)Type:
StringRequired. 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.
$msg->type()/$msg->type($value)Type:
StringRequired. The fulfillment type, including commonly used types (such as pickup in store and same day delivery), and custom types.
Supported values:
* "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5"
If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned.
This field directly corresponds to [Product.fulfillment_info.type][google.cloud.retail.v2.FulfillmentInfo.type].
$msg->place_ids()/$msg->place_ids($value)Type:
StringRequired. The IDs for this [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type], such as the store IDs for "pickup-in-store" or the region IDs for "same-day-delivery", to be removed for this [type][google.cloud.retail.v2.RemoveFulfillmentPlacesRequest.type].
At least 1 value is required, and a maximum of 2000 values are allowed. Each value must be a string with a length limit of 10 characters, matching the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an INVALID_ARGUMENT error is returned.
$msg->remove_time()/$msg->remove_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time when the fulfillment updates are issued, used to prevent out-of-order updates on fulfillment information. If not provided, the internal system time will be used.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolIf set to true, and the [Product][google.cloud.retail.v2.Product] is not found, the fulfillment information 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.
Google::Cloud::Retail::V2::ProductService::RemoveFulfillmentPlacesMetadata
Metadata related to the progress of the RemoveFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the [ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces] method.
Inherits from Protobuf::Message.
Google::Cloud::Retail::V2::ProductService::RemoveFulfillmentPlacesResponse
Response of the RemoveFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the [ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces] method.
Inherits from Protobuf::Message.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Retail::V2::ProductService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.