lib/google/apis/retail_v2beta/service.rb in google-apis-retail_v2beta-0.45.0 vs lib/google/apis/retail_v2beta/service.rb in google-apis-retail_v2beta-0.46.0

- old
+ new

@@ -70,16 +70,17 @@ # different suggestions on different device types, e.g. `DESKTOP`, `MOBILE`. If # it is empty, the suggestions are across all device types. Supported formats: * # `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `MOBILE` * A customized string starts with # `OTHER_`, e.g. `OTHER_IPHONE`. # @param [Array<String>, String] language_codes - # The language filters applied to the output suggestions. If set, it should - # contain the language of the query. If not set, suggestions are returned - # without considering language restrictions. This is the BCP-47 language code, - # such as "en-US" or "sr-Latn". For more information, see [Tags for Identifying - # Languages](https://tools.ietf.org/html/bcp47). The maximum number of language - # codes is 3. + # Note that this field applies for `user-data` dataset only. For requests with ` + # cloud-retail` dataset, setting this field has no effect. The language filters + # applied to the output suggestions. If set, it should contain the language of + # the query. If not set, suggestions are returned without considering language + # restrictions. This is the BCP-47 language code, such as "en-US" or "sr-Latn". + # For more information, see [Tags for Identifying Languages](https://tools.ietf. + # org/html/bcp47). The maximum number of language codes is 3. # @param [Fixnum] max_suggestions # Completion max suggestions. If left unset or set to 0, then will fallback to # the configured value CompletionConfig.max_suggestions. The maximum allowed max # suggestions is 20. If it is set higher, it will be capped by 20. # @param [String] query @@ -576,13 +577,13 @@ # Incrementally adds place IDs to Product.fulfillment_info.place_ids. This # process is asynchronous and does not require the Product to exist before # updating fulfillment information. If the request is valid, the update will be # enqueued and processed downstream. As a consequence, when a response is # returned, the added place IDs are not immediately manifested in the Product - # queried by GetProduct or ListProducts. This feature is only available for - # users who have Retail Search enabled. Please enable Retail Search on Cloud - # Console before using this feature. + # queried by ProductService.GetProduct or ProductService.ListProducts. This + # feature is only available for users who have Retail Search enabled. Please + # enable Retail Search on Cloud Console before using this feature. # @param [String] product # 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. @@ -619,15 +620,17 @@ # Updates local inventory information for a Product at a list of places, while # respecting the last update timestamps of each inventory field. This process is # asynchronous and does not require the Product to exist before updating # inventory information. If the request is valid, the update will be enqueued # and processed downstream. As a consequence, when a response is returned, - # updates are not immediately manifested in the Product queried by GetProduct or - # ListProducts. Local inventory information can only be modified using this - # method. CreateProduct and UpdateProduct has no effect on local inventories. - # This feature is only available for users who have Retail Search enabled. - # Please enable Retail Search on Cloud Console before using this feature. + # updates are not immediately manifested in the Product queried by + # ProductService.GetProduct or ProductService.ListProducts. Local inventory + # information can only be modified using this method. ProductService. + # CreateProduct and ProductService.UpdateProduct has no effect on local + # inventories. This feature is only available for users who have Retail Search + # enabled. Please enable Retail Search on Cloud Console before using this + # feature. # @param [String] product # 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. @@ -929,13 +932,13 @@ # Incrementally removes place IDs from a Product.fulfillment_info.place_ids. # This process is asynchronous and does not require the Product to exist before # updating fulfillment information. If the request is valid, the update will be # enqueued and processed downstream. As a consequence, when a response is # returned, the removed place IDs are not immediately manifested in the Product - # queried by GetProduct or ListProducts. This feature is only available for - # users who have Retail Search enabled. Please enable Retail Search on Cloud - # Console before using this feature. + # queried by ProductService.GetProduct or ProductService.ListProducts. This + # feature is only available for users who have Retail Search enabled. Please + # enable Retail Search on Cloud Console before using this feature. # @param [String] product # 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. @@ -971,14 +974,15 @@ # Remove local inventory information for a Product at a list of places at a # removal timestamp. This process is asynchronous. If the request is valid, the # removal will be enqueued and processed downstream. As a consequence, when a # response is returned, removals are not immediately manifested in the Product - # queried by GetProduct or ListProducts. Local inventory information can only be - # removed using this method. CreateProduct and UpdateProduct has no effect on - # local inventories. This feature is only available for users who have Retail - # Search enabled. Please enable Retail Search on Cloud Console before using this + # queried by ProductService.GetProduct or ProductService.ListProducts. Local + # inventory information can only be removed using this method. ProductService. + # CreateProduct and ProductService.UpdateProduct has no effect on local + # inventories. This feature is only available for users who have Retail Search + # enabled. Please enable Retail Search on Cloud Console before using this # feature. # @param [String] product # 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 @@ -1016,22 +1020,24 @@ # Updates inventory information for a Product while respecting the last update # timestamps of each inventory field. This process is asynchronous and does not # require the Product to exist before updating fulfillment information. If the # request is valid, the update will be enqueued and processed downstream. As a # consequence, when a response is returned, updates are not immediately - # manifested in the Product queried by GetProduct or ListProducts. When - # inventory is updated with CreateProduct and UpdateProduct, the specified - # inventory field value(s) will overwrite any existing value(s) while ignoring - # the last update time for this field. Furthermore, the last update time for the - # specified inventory fields will be overwritten to the time of the - # CreateProduct or UpdateProduct request. If no inventory fields are set in - # CreateProductRequest.product, then any pre-existing inventory information for - # this product will be used. If no inventory fields are set in + # manifested in the Product queried by ProductService.GetProduct or + # ProductService.ListProducts. When inventory is updated with ProductService. + # CreateProduct and ProductService.UpdateProduct, the specified inventory field + # value(s) will overwrite any existing value(s) while ignoring the last update + # time for this field. Furthermore, the last update time for the specified + # inventory fields will be overwritten to the time of the ProductService. + # CreateProduct or ProductService.UpdateProduct request. If no inventory fields + # are set in CreateProductRequest.product, then any pre-existing inventory + # information for this product will be used. If no inventory fields are set in # SetInventoryRequest.set_mask, then any existing inventory information will be # preserved. Pre-existing inventory information can only be updated with - # SetInventory, ProductService.AddFulfillmentPlaces, and RemoveFulfillmentPlaces. - # This feature is only available for users who have Retail Search enabled. - # Please enable Retail Search on Cloud Console before using this feature. + # ProductService.SetInventory, ProductService.AddFulfillmentPlaces, and + # ProductService.RemoveFulfillmentPlaces. This feature is only available for + # users who have Retail Search enabled. Please enable Retail Search on Cloud + # Console before using this feature. # @param [String] name # Immutable. Full resource name of the product, such as `projects/*/locations/ # global/catalogs/default_catalog/branches/default_branch/products/product_id`. # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaSetInventoryRequest] google_cloud_retail_v2beta_set_inventory_request_object # @param [String] fields