diff --git a/java-retail/README.md b/java-retail/README.md
index 9a559a01cdd8..9e6c0d938528 100644
--- a/java-retail/README.md
+++ b/java-retail/README.md
@@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
This feature is only available for users who have Retail Search enabled. Please enable Retail - * Search on Cloud Console before using this feature. + *
This feature is only available for users who have Retail Search enabled. Enable Retail Search + * on Cloud Console before using this feature. * *
This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. Sample code to get started: @@ -213,8 +213,8 @@ public final OperationsClient getHttpJsonOperationsClient() { /** * Completes the specified prefix with keyword suggestions. * - *
This feature is only available for users who have Retail Search enabled. Please enable - * Retail Search on Cloud Console before using this feature. + *
This feature is only available for users who have Retail Search enabled. Enable Retail + * Search on Cloud Console before using this feature. * *
Sample code: * @@ -250,8 +250,8 @@ public final CompleteQueryResponse completeQuery(CompleteQueryRequest request) { /** * Completes the specified prefix with keyword suggestions. * - *
This feature is only available for users who have Retail Search enabled. Please enable - * Retail Search on Cloud Console before using this feature. + *
This feature is only available for users who have Retail Search enabled. Enable Retail + * Search on Cloud Console before using this feature. * *
Sample code:
*
@@ -292,8 +292,8 @@ public final UnaryCallable The operation is successfully finished only after the imported suggestions are indexed
* successfully and ready for serving. The process takes hours.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -332,8 +332,8 @@ public final UnaryCallable The operation is successfully finished only after the imported suggestions are indexed
* successfully and ready for serving. The process takes hours.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -372,8 +372,8 @@ public final UnaryCallable The operation is successfully finished only after the imported suggestions are indexed
* successfully and ready for serving. The process takes hours.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java
index e0ede2623e28..9dddc3640088 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ProductServiceClient.java
@@ -1039,8 +1039,8 @@ public final UnaryCallable This process is asynchronous and does not require the
* [Product][google.cloud.retail.v2.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
+ * the request is valid, the update is enqueued and processed downstream. As a consequence, when a
+ * response is returned, updates are not immediately manifested in the
* [Product][google.cloud.retail.v2.Product] queried by
* [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or
* [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].
@@ -1048,19 +1048,19 @@ public final UnaryCallable When inventory is updated with
* [ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct] and
* [ProductService.UpdateProduct][google.cloud.retail.v2.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
+ * specified inventory field value(s) overwrite any existing value(s) while ignoring the last
+ * update time for this field. Furthermore, the last update times for the specified inventory
+ * fields are overwritten by the times of the
* [ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct] or
* [ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct] request.
*
* If no inventory fields are set in
* [CreateProductRequest.product][google.cloud.retail.v2.CreateProductRequest.product], then any
- * pre-existing inventory information for this product will be used.
+ * pre-existing inventory information for this product is used.
*
* If no inventory fields are set in
* [SetInventoryRequest.set_mask][google.cloud.retail.v2.SetInventoryRequest.set_mask], then any
- * existing inventory information will be preserved.
+ * existing inventory information is preserved.
*
* Pre-existing inventory information can only be updated with
* [ProductService.SetInventory][google.cloud.retail.v2.ProductService.SetInventory],
@@ -1068,14 +1068,15 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s is obsolete after one day, and the
+ * [GetOperation][google.longrunning.Operations.GetOperation] API returns `NOT_FOUND` afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates are not marked as [done][google.longrunning.Operation.done] until they
+ * are obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1164,8 +1165,8 @@ public final OperationFuture This process is asynchronous and does not require the
* [Product][google.cloud.retail.v2.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
+ * the request is valid, the update is enqueued and processed downstream. As a consequence, when a
+ * response is returned, updates are not immediately manifested in the
* [Product][google.cloud.retail.v2.Product] queried by
* [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or
* [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].
@@ -1173,19 +1174,19 @@ public final OperationFuture When inventory is updated with
* [ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct] and
* [ProductService.UpdateProduct][google.cloud.retail.v2.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
+ * specified inventory field value(s) overwrite any existing value(s) while ignoring the last
+ * update time for this field. Furthermore, the last update times for the specified inventory
+ * fields are overwritten by the times of the
* [ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct] or
* [ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct] request.
*
* If no inventory fields are set in
* [CreateProductRequest.product][google.cloud.retail.v2.CreateProductRequest.product], then any
- * pre-existing inventory information for this product will be used.
+ * pre-existing inventory information for this product is used.
*
* If no inventory fields are set in
* [SetInventoryRequest.set_mask][google.cloud.retail.v2.SetInventoryRequest.set_mask], then any
- * existing inventory information will be preserved.
+ * existing inventory information is preserved.
*
* Pre-existing inventory information can only be updated with
* [ProductService.SetInventory][google.cloud.retail.v2.ProductService.SetInventory],
@@ -1193,14 +1194,15 @@ public final OperationFuture The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s is obsolete after one day, and the
+ * [GetOperation][google.longrunning.Operations.GetOperation] API returns `NOT_FOUND` afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates are not marked as [done][google.longrunning.Operation.done] until they
+ * are obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1237,8 +1239,8 @@ public final OperationFuture This process is asynchronous and does not require the
* [Product][google.cloud.retail.v2.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
+ * the request is valid, the update is enqueued and processed downstream. As a consequence, when a
+ * response is returned, updates are not immediately manifested in the
* [Product][google.cloud.retail.v2.Product] queried by
* [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or
* [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].
@@ -1246,19 +1248,19 @@ public final OperationFuture When inventory is updated with
* [ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct] and
* [ProductService.UpdateProduct][google.cloud.retail.v2.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
+ * specified inventory field value(s) overwrite any existing value(s) while ignoring the last
+ * update time for this field. Furthermore, the last update times for the specified inventory
+ * fields are overwritten by the times of the
* [ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct] or
* [ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct] request.
*
* If no inventory fields are set in
* [CreateProductRequest.product][google.cloud.retail.v2.CreateProductRequest.product], then any
- * pre-existing inventory information for this product will be used.
+ * pre-existing inventory information for this product is used.
*
* If no inventory fields are set in
* [SetInventoryRequest.set_mask][google.cloud.retail.v2.SetInventoryRequest.set_mask], then any
- * existing inventory information will be preserved.
+ * existing inventory information is preserved.
*
* Pre-existing inventory information can only be updated with
* [ProductService.SetInventory][google.cloud.retail.v2.ProductService.SetInventory],
@@ -1266,14 +1268,15 @@ public final OperationFuture The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s is obsolete after one day, and the
+ * [GetOperation][google.longrunning.Operations.GetOperation] API returns `NOT_FOUND` afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates are not marked as [done][google.longrunning.Operation.done] until they
+ * are obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1310,8 +1313,8 @@ public final OperationFuture This process is asynchronous and does not require the
* [Product][google.cloud.retail.v2.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
+ * the request is valid, the update is enqueued and processed downstream. As a consequence, when a
+ * response is returned, updates are not immediately manifested in the
* [Product][google.cloud.retail.v2.Product] queried by
* [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct] or
* [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts].
@@ -1319,19 +1322,19 @@ public final OperationFuture When inventory is updated with
* [ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct] and
* [ProductService.UpdateProduct][google.cloud.retail.v2.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
+ * specified inventory field value(s) overwrite any existing value(s) while ignoring the last
+ * update time for this field. Furthermore, the last update times for the specified inventory
+ * fields are overwritten by the times of the
* [ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct] or
* [ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct] request.
*
* If no inventory fields are set in
* [CreateProductRequest.product][google.cloud.retail.v2.CreateProductRequest.product], then any
- * pre-existing inventory information for this product will be used.
+ * pre-existing inventory information for this product is used.
*
* If no inventory fields are set in
* [SetInventoryRequest.set_mask][google.cloud.retail.v2.SetInventoryRequest.set_mask], then any
- * existing inventory information will be preserved.
+ * existing inventory information is preserved.
*
* Pre-existing inventory information can only be updated with
* [ProductService.SetInventory][google.cloud.retail.v2.ProductService.SetInventory],
@@ -1339,14 +1342,15 @@ public final OperationFuture The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s is obsolete after one day, and the
+ * [GetOperation][google.longrunning.Operations.GetOperation] API returns `NOT_FOUND` afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates are not marked as [done][google.longrunning.Operation.done] until they
+ * are obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1387,14 +1391,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1442,14 +1448,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1496,14 +1504,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1550,14 +1560,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1604,14 +1616,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1657,14 +1671,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1712,14 +1728,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1766,14 +1784,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1820,14 +1840,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1876,14 +1898,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1934,14 +1958,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1994,14 +2020,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2053,14 +2081,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2112,14 +2142,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2171,14 +2203,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2226,14 +2260,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2284,14 +2320,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2341,14 +2379,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2397,14 +2437,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2455,14 +2497,16 @@ public final UnaryCallable The returned [Operation][]s will be obsolete after 1 day, and [GetOperation][] API will
- * return NOT_FOUND afterwards.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
*
- * If conflicting updates are issued, the [Operation][]s associated with the stale updates will
- * not be marked as [done][Operation.done] until being obsolete.
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java
index edb33d89089d..02cbd05590bf 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/SearchServiceClient.java
@@ -36,8 +36,8 @@
/**
* Service Description: Service for search.
*
- * This feature is only available for users who have Retail Search enabled. Please enable Retail
- * Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail Search
+ * on Cloud Console before using this feature.
*
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods. Sample code to get started:
@@ -203,8 +203,8 @@ public SearchServiceStub getStub() {
/**
* Performs a search.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -256,8 +256,8 @@ public final SearchPagedResponse search(SearchRequest request) {
/**
* Performs a search.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -309,8 +309,8 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ServingConfigServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ServingConfigServiceClient.java
index c29c8b824e0f..3663644571f8 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ServingConfigServiceClient.java
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/ServingConfigServiceClient.java
@@ -361,7 +361,7 @@ public final ServingConfig createServingConfig(CreateServingConfigRequest reques
* }
*
* @param name Required. The resource name of the ServingConfig to delete. Format:
- * projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
+ * `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteServingConfig(ServingConfigName name) {
@@ -396,7 +396,7 @@ public final void deleteServingConfig(ServingConfigName name) {
* }
*
* @param name Required. The resource name of the ServingConfig to delete. Format:
- * projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
+ * `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteServingConfig(String name) {
@@ -596,7 +596,7 @@ public final ServingConfig updateServingConfig(UpdateServingConfigRequest reques
* }
*
* @param name Required. The resource name of the ServingConfig to get. Format:
- * projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
+ * `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ServingConfig getServingConfig(ServingConfigName name) {
@@ -629,7 +629,7 @@ public final ServingConfig getServingConfig(ServingConfigName name) {
* }
*
* @param name Required. The resource name of the ServingConfig to get. Format:
- * projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
+ * `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ServingConfig getServingConfig(String name) {
@@ -726,7 +726,7 @@ public final UnaryCallable Sample code:
@@ -568,11 +573,11 @@ public final UnaryCallable Sample code:
@@ -601,11 +606,11 @@ public final UnaryCallable Sample code:
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/package-info.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/package-info.java
index d1e3cc2d57cb..570b8ecae47c 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/package-info.java
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/package-info.java
@@ -42,8 +42,8 @@
*
* Service Description: Auto-completion service for retail.
*
- * This feature is only available for users who have Retail Search enabled. Please enable Retail
- * Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail Search
+ * on Cloud Console before using this feature.
*
* Sample for CompletionServiceClient:
*
@@ -141,8 +141,8 @@
*
* Service Description: Service for search.
*
- * This feature is only available for users who have Retail Search enabled. Please enable Retail
- * Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail Search
+ * on Cloud Console before using this feature.
*
* Sample for SearchServiceClient:
*
@@ -222,6 +222,7 @@
* WriteUserEventRequest.newBuilder()
* .setParent("parent-995424086")
* .setUserEvent(UserEvent.newBuilder().build())
+ * .setWriteAsync(true)
* .build();
* UserEvent response = userEventServiceClient.writeUserEvent(request);
* }
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/HttpJsonUserEventServiceStub.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/HttpJsonUserEventServiceStub.java
index 7ccba8633e92..7e354143dd09 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/HttpJsonUserEventServiceStub.java
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/HttpJsonUserEventServiceStub.java
@@ -95,6 +95,7 @@ public class HttpJsonUserEventServiceStub extends UserEventServiceStub {
Map Sample code:
+ *
+ * Sample code:
+ *
+ * This feature is only available for users who have Retail Search enabled. Please enable Retail
- * Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail Search
+ * on Cloud Console before using this feature.
*
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods. Sample code to get started:
@@ -55,6 +55,7 @@
* .setDeviceType("deviceType781190832")
* .setDataset("dataset1443214456")
* .setMaxSuggestions(618824852)
+ * .setEnableAttributeSuggestions(true)
* .build();
* CompleteQueryResponse response = completionServiceClient.completeQuery(request);
* }
@@ -214,8 +215,8 @@ public final OperationsClient getHttpJsonOperationsClient() {
/**
* Completes the specified prefix with keyword suggestions.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -235,6 +236,7 @@ public final OperationsClient getHttpJsonOperationsClient() {
* .setDeviceType("deviceType781190832")
* .setDataset("dataset1443214456")
* .setMaxSuggestions(618824852)
+ * .setEnableAttributeSuggestions(true)
* .build();
* CompleteQueryResponse response = completionServiceClient.completeQuery(request);
* }
@@ -251,8 +253,8 @@ public final CompleteQueryResponse completeQuery(CompleteQueryRequest request) {
/**
* Completes the specified prefix with keyword suggestions.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -272,6 +274,7 @@ public final CompleteQueryResponse completeQuery(CompleteQueryRequest request) {
* .setDeviceType("deviceType781190832")
* .setDataset("dataset1443214456")
* .setMaxSuggestions(618824852)
+ * .setEnableAttributeSuggestions(true)
* .build();
* ApiFuture The operation is successfully finished only after the imported suggestions are indexed
* successfully and ready for serving. The process takes hours.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -333,8 +336,8 @@ public final UnaryCallable The operation is successfully finished only after the imported suggestions are indexed
* successfully and ready for serving. The process takes hours.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -373,8 +376,8 @@ public final UnaryCallable The operation is successfully finished only after the imported suggestions are indexed
* successfully and ready for serving. The process takes hours.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceClient.java
index 01f21c759024..7d161c70ac59 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceClient.java
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ControlServiceClient.java
@@ -454,7 +454,7 @@ public final UnaryCallable [Control][google.cloud.retail.v2alpha.Control] cannot be set to a different oneof field, if
* so an INVALID_ARGUMENT is returned. If the [Control][google.cloud.retail.v2alpha.Control] to
- * delete does not exist, a NOT_FOUND error is returned.
+ * update does not exist, a NOT_FOUND error is returned.
*
* Sample code:
*
@@ -492,7 +492,7 @@ public final Control updateControl(Control control, FieldMask updateMask) {
*
* [Control][google.cloud.retail.v2alpha.Control] cannot be set to a different oneof field, if
* so an INVALID_ARGUMENT is returned. If the [Control][google.cloud.retail.v2alpha.Control] to
- * delete does not exist, a NOT_FOUND error is returned.
+ * update does not exist, a NOT_FOUND error is returned.
*
* Sample code:
*
@@ -525,7 +525,7 @@ public final Control updateControl(UpdateControlRequest request) {
*
* [Control][google.cloud.retail.v2alpha.Control] cannot be set to a different oneof field, if
* so an INVALID_ARGUMENT is returned. If the [Control][google.cloud.retail.v2alpha.Control] to
- * delete does not exist, a NOT_FOUND error is returned.
+ * update does not exist, a NOT_FOUND error is returned.
*
* Sample code:
*
@@ -569,7 +569,7 @@ public final UnaryCallable Sample code:
*
@@ -697,7 +697,7 @@ public final ListControlsPagedResponse listControls(CatalogName parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists all Controls linked to this catalog.
+ * Lists all Controls by their parent [Catalog][google.cloud.retail.v2alpha.Catalog].
*
* Sample code:
*
@@ -726,7 +726,7 @@ public final ListControlsPagedResponse listControls(String parent) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists all Controls linked to this catalog.
+ * Lists all Controls by their parent [Catalog][google.cloud.retail.v2alpha.Catalog].
*
* Sample code:
*
@@ -759,7 +759,7 @@ public final ListControlsPagedResponse listControls(ListControlsRequest request)
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists all Controls linked to this catalog.
+ * Lists all Controls by their parent [Catalog][google.cloud.retail.v2alpha.Catalog].
*
* Sample code:
*
@@ -793,7 +793,7 @@ public final ListControlsPagedResponse listControls(ListControlsRequest request)
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Lists all Controls linked to this catalog.
+ * Lists all Controls by their parent [Catalog][google.cloud.retail.v2alpha.Catalog].
*
* Sample code:
*
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ModelServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ModelServiceClient.java
index 84d8640ddcb8..b02b22caa8f2 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ModelServiceClient.java
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ModelServiceClient.java
@@ -42,11 +42,11 @@
// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* Service Description: Service for performing CRUD operations on models. Recommendation models
- * contain all the metadata necessary to generate a set of models for the Predict() api. A model is
- * queried indirectly via a ServingConfig, which associates a model with a given Placement (e.g.
+ * contain all the metadata necessary to generate a set of models for the `Predict()` API. A model
+ * is queried indirectly via a ServingConfig, which associates a model with a given Placement (e.g.
* Frequently Bought Together on Home Page).
*
- * This service allows customers to e.g.:
+ * This service allows you to do the following:
*
* Sample code:
*
@@ -846,9 +848,9 @@ public final UnaryCallable Sample code:
*
@@ -889,8 +891,8 @@ public final Model updateModel(UpdateModelRequest request) {
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
- * Update of model metadata. Only fields that currently can be updated are: filtering_option,
- * periodic_tuning_state. If other values are provided, this API method will ignore them.
+ * Update of model metadata. Only fields that currently can be updated are: `filtering_option` and
+ * `periodic_tuning_state`. If other values are provided, this API method ignores them.
*
* Sample code:
*
@@ -935,7 +937,7 @@ public final UnaryCallable This process is asynchronous and does not require the
* [Product][google.cloud.retail.v2alpha.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
+ * information. If the request is valid, the update is enqueued and processed downstream. As a
+ * consequence, when a response is returned, updates are not immediately manifested in the
* [Product][google.cloud.retail.v2alpha.Product] queried by
* [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct] or
* [ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].
@@ -1193,20 +1193,20 @@ public final UnaryCallable When inventory is updated with
* [ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct] and
* [ProductService.UpdateProduct][google.cloud.retail.v2alpha.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
+ * specified inventory field value(s) overwrite any existing value(s) while ignoring the last
+ * update time for this field. Furthermore, the last update times for the specified inventory
+ * fields are overwritten by the times of the
* [ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct] or
* [ProductService.UpdateProduct][google.cloud.retail.v2alpha.ProductService.UpdateProduct]
* request.
*
* If no inventory fields are set in
* [CreateProductRequest.product][google.cloud.retail.v2alpha.CreateProductRequest.product], then
- * any pre-existing inventory information for this product will be used.
+ * any pre-existing inventory information for this product is used.
*
* If no inventory fields are set in
* [SetInventoryRequest.set_mask][google.cloud.retail.v2alpha.SetInventoryRequest.set_mask], then
- * any existing inventory information will be preserved.
+ * any existing inventory information is preserved.
*
* Pre-existing inventory information can only be updated with
* [ProductService.SetInventory][google.cloud.retail.v2alpha.ProductService.SetInventory],
@@ -1214,8 +1214,15 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s is obsolete after one day, and the
+ * [GetOperation][google.longrunning.Operations.GetOperation] API returns `NOT_FOUND` afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates are not marked as [done][google.longrunning.Operation.done] until they
+ * are obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1304,8 +1311,8 @@ public final OperationFuture This process is asynchronous and does not require the
* [Product][google.cloud.retail.v2alpha.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
+ * information. If the request is valid, the update is enqueued and processed downstream. As a
+ * consequence, when a response is returned, updates are not immediately manifested in the
* [Product][google.cloud.retail.v2alpha.Product] queried by
* [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct] or
* [ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].
@@ -1313,20 +1320,20 @@ public final OperationFuture When inventory is updated with
* [ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct] and
* [ProductService.UpdateProduct][google.cloud.retail.v2alpha.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
+ * specified inventory field value(s) overwrite any existing value(s) while ignoring the last
+ * update time for this field. Furthermore, the last update times for the specified inventory
+ * fields are overwritten by the times of the
* [ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct] or
* [ProductService.UpdateProduct][google.cloud.retail.v2alpha.ProductService.UpdateProduct]
* request.
*
* If no inventory fields are set in
* [CreateProductRequest.product][google.cloud.retail.v2alpha.CreateProductRequest.product], then
- * any pre-existing inventory information for this product will be used.
+ * any pre-existing inventory information for this product is used.
*
* If no inventory fields are set in
* [SetInventoryRequest.set_mask][google.cloud.retail.v2alpha.SetInventoryRequest.set_mask], then
- * any existing inventory information will be preserved.
+ * any existing inventory information is preserved.
*
* Pre-existing inventory information can only be updated with
* [ProductService.SetInventory][google.cloud.retail.v2alpha.ProductService.SetInventory],
@@ -1334,8 +1341,15 @@ public final OperationFuture This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s is obsolete after one day, and the
+ * [GetOperation][google.longrunning.Operations.GetOperation] API returns `NOT_FOUND` afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates are not marked as [done][google.longrunning.Operation.done] until they
+ * are obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1372,8 +1386,8 @@ public final OperationFuture This process is asynchronous and does not require the
* [Product][google.cloud.retail.v2alpha.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
+ * information. If the request is valid, the update is enqueued and processed downstream. As a
+ * consequence, when a response is returned, updates are not immediately manifested in the
* [Product][google.cloud.retail.v2alpha.Product] queried by
* [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct] or
* [ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].
@@ -1381,20 +1395,20 @@ public final OperationFuture When inventory is updated with
* [ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct] and
* [ProductService.UpdateProduct][google.cloud.retail.v2alpha.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
+ * specified inventory field value(s) overwrite any existing value(s) while ignoring the last
+ * update time for this field. Furthermore, the last update times for the specified inventory
+ * fields are overwritten by the times of the
* [ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct] or
* [ProductService.UpdateProduct][google.cloud.retail.v2alpha.ProductService.UpdateProduct]
* request.
*
* If no inventory fields are set in
* [CreateProductRequest.product][google.cloud.retail.v2alpha.CreateProductRequest.product], then
- * any pre-existing inventory information for this product will be used.
+ * any pre-existing inventory information for this product is used.
*
* If no inventory fields are set in
* [SetInventoryRequest.set_mask][google.cloud.retail.v2alpha.SetInventoryRequest.set_mask], then
- * any existing inventory information will be preserved.
+ * any existing inventory information is preserved.
*
* Pre-existing inventory information can only be updated with
* [ProductService.SetInventory][google.cloud.retail.v2alpha.ProductService.SetInventory],
@@ -1402,8 +1416,15 @@ public final OperationFuture This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s is obsolete after one day, and the
+ * [GetOperation][google.longrunning.Operations.GetOperation] API returns `NOT_FOUND` afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates are not marked as [done][google.longrunning.Operation.done] until they
+ * are obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1440,8 +1461,8 @@ public final OperationFuture This process is asynchronous and does not require the
* [Product][google.cloud.retail.v2alpha.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
+ * information. If the request is valid, the update is enqueued and processed downstream. As a
+ * consequence, when a response is returned, updates are not immediately manifested in the
* [Product][google.cloud.retail.v2alpha.Product] queried by
* [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct] or
* [ProductService.ListProducts][google.cloud.retail.v2alpha.ProductService.ListProducts].
@@ -1449,20 +1470,20 @@ public final OperationFuture When inventory is updated with
* [ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct] and
* [ProductService.UpdateProduct][google.cloud.retail.v2alpha.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
+ * specified inventory field value(s) overwrite any existing value(s) while ignoring the last
+ * update time for this field. Furthermore, the last update times for the specified inventory
+ * fields are overwritten by the times of the
* [ProductService.CreateProduct][google.cloud.retail.v2alpha.ProductService.CreateProduct] or
* [ProductService.UpdateProduct][google.cloud.retail.v2alpha.ProductService.UpdateProduct]
* request.
*
* If no inventory fields are set in
* [CreateProductRequest.product][google.cloud.retail.v2alpha.CreateProductRequest.product], then
- * any pre-existing inventory information for this product will be used.
+ * any pre-existing inventory information for this product is used.
*
* If no inventory fields are set in
* [SetInventoryRequest.set_mask][google.cloud.retail.v2alpha.SetInventoryRequest.set_mask], then
- * any existing inventory information will be preserved.
+ * any existing inventory information is preserved.
*
* Pre-existing inventory information can only be updated with
* [ProductService.SetInventory][google.cloud.retail.v2alpha.ProductService.SetInventory],
@@ -1470,8 +1491,15 @@ public final OperationFuture This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s is obsolete after one day, and the
+ * [GetOperation][google.longrunning.Operations.GetOperation] API returns `NOT_FOUND` afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates are not marked as [done][google.longrunning.Operation.done] until they
+ * are obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1512,8 +1540,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1561,8 +1597,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1609,8 +1653,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1657,8 +1709,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1705,8 +1765,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1752,8 +1820,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1801,8 +1877,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1849,8 +1933,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1897,8 +1989,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1947,8 +2047,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -1999,8 +2107,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2053,8 +2169,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2106,8 +2230,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2159,8 +2291,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2212,8 +2352,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2261,8 +2409,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2313,8 +2469,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2364,8 +2528,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2414,8 +2586,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -2466,8 +2646,16 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * The returned [Operation][google.longrunning.Operation]s will be obsolete after 1 day, and
+ * [GetOperation][google.longrunning.Operations.GetOperation] API will return NOT_FOUND
+ * afterwards.
+ *
+ * If conflicting updates are issued, the [Operation][google.longrunning.Operation]s associated
+ * with the stale updates will not be marked as [done][google.longrunning.Operation.done] until
+ * being obsolete.
+ *
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/SearchServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/SearchServiceClient.java
index 1d277e53ff23..72e5957f79a8 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/SearchServiceClient.java
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/SearchServiceClient.java
@@ -37,8 +37,8 @@
/**
* Service Description: Service for search.
*
- * This feature is only available for users who have Retail Search enabled. Please enable Retail
- * Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail Search
+ * on Cloud Console before using this feature.
*
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods. Sample code to get started:
@@ -205,8 +205,8 @@ public SearchServiceStub getStub() {
/**
* Performs a search.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -258,8 +258,8 @@ public final SearchPagedResponse search(SearchRequest request) {
/**
* Performs a search.
*
- * This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
@@ -311,8 +311,8 @@ public final UnaryCallable This feature is only available for users who have Retail Search enabled. Please enable
- * Retail Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail
+ * Search on Cloud Console before using this feature.
*
* Sample code:
*
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ServingConfigServiceClient.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ServingConfigServiceClient.java
index 6f072e3124bf..9083d8018653 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ServingConfigServiceClient.java
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/ServingConfigServiceClient.java
@@ -367,7 +367,7 @@ public final ServingConfig createServingConfig(CreateServingConfigRequest reques
* }
*
* @param name Required. The resource name of the ServingConfig to delete. Format:
- * projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
+ * `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteServingConfig(ServingConfigName name) {
@@ -402,7 +402,7 @@ public final void deleteServingConfig(ServingConfigName name) {
* }
*
* @param name Required. The resource name of the ServingConfig to delete. Format:
- * projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
+ * `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteServingConfig(String name) {
@@ -602,7 +602,7 @@ public final ServingConfig updateServingConfig(UpdateServingConfigRequest reques
* }
*
* @param name Required. The resource name of the ServingConfig to get. Format:
- * projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
+ * `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ServingConfig getServingConfig(ServingConfigName name) {
@@ -635,7 +635,7 @@ public final ServingConfig getServingConfig(ServingConfigName name) {
* }
*
* @param name Required. The resource name of the ServingConfig to get. Format:
- * projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}
+ * `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ServingConfig getServingConfig(String name) {
@@ -732,7 +732,7 @@ public final UnaryCallable Operation.response is of type ImportResponse. Note that it is possible for a subset of the
- * items to be successfully inserted. Operation.metadata is of type ImportMetadata.
+ * `Operation.response` is of type `ImportResponse`. Note that it is possible for a subset of
+ * the items to be successfully inserted. `Operation.metadata` is of type `ImportMetadata`.
*
* Sample code:
*
@@ -470,8 +475,8 @@ public final OperationFuture Operation.response is of type ImportResponse. Note that it is possible for a subset of the
- * items to be successfully inserted. Operation.metadata is of type ImportMetadata.
+ * `Operation.response` is of type `ImportResponse`. Note that it is possible for a subset of
+ * the items to be successfully inserted. `Operation.metadata` is of type `ImportMetadata`.
*
* Sample code:
*
@@ -505,8 +510,8 @@ public final OperationFuture Operation.response is of type ImportResponse. Note that it is possible for a subset of the
- * items to be successfully inserted. Operation.metadata is of type ImportMetadata.
+ * `Operation.response` is of type `ImportResponse`. Note that it is possible for a subset of
+ * the items to be successfully inserted. `Operation.metadata` is of type `ImportMetadata`.
*
* Sample code:
*
@@ -536,11 +541,11 @@ public final UnaryCallable Sample code:
@@ -569,11 +574,11 @@ public final UnaryCallable Sample code:
@@ -602,11 +607,11 @@ public final UnaryCallable Sample code:
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/gapic_metadata.json b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/gapic_metadata.json
index 2cfd38ec602a..15b87963a7e9 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/gapic_metadata.json
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/gapic_metadata.json
@@ -13,6 +13,9 @@
"AddCatalogAttribute": {
"methods": ["addCatalogAttribute", "addCatalogAttributeCallable"]
},
+ "BatchRemoveCatalogAttributes": {
+ "methods": ["batchRemoveCatalogAttributes", "batchRemoveCatalogAttributesCallable"]
+ },
"GetAttributesConfig": {
"methods": ["getAttributesConfig", "getAttributesConfig", "getAttributesConfig", "getAttributesConfigCallable"]
},
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/package-info.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/package-info.java
index 6313a3385af9..317a979004ee 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/package-info.java
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/package-info.java
@@ -42,8 +42,8 @@
*
* Service Description: Auto-completion service for retail.
*
- * This feature is only available for users who have Retail Search enabled. Please enable Retail
- * Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail Search
+ * on Cloud Console before using this feature.
*
* Sample for CompletionServiceClient:
*
@@ -63,6 +63,7 @@
* .setDeviceType("deviceType781190832")
* .setDataset("dataset1443214456")
* .setMaxSuggestions(618824852)
+ * .setEnableAttributeSuggestions(true)
* .build();
* CompleteQueryResponse response = completionServiceClient.completeQuery(request);
* }
@@ -91,11 +92,11 @@
* ======================= ModelServiceClient =======================
*
* Service Description: Service for performing CRUD operations on models. Recommendation models
- * contain all the metadata necessary to generate a set of models for the Predict() api. A model is
- * queried indirectly via a ServingConfig, which associates a model with a given Placement (e.g.
+ * contain all the metadata necessary to generate a set of models for the `Predict()` API. A model
+ * is queried indirectly via a ServingConfig, which associates a model with a given Placement (e.g.
* Frequently Bought Together on Home Page).
*
- * This service allows customers to e.g.:
+ * This service allows you to do the following:
*
* Service Description: Service for search.
*
- * This feature is only available for users who have Retail Search enabled. Please enable Retail
- * Search on Cloud Console before using this feature.
+ * This feature is only available for users who have Retail Search enabled. Enable Retail Search
+ * on Cloud Console before using this feature.
*
* Sample for SearchServiceClient:
*
@@ -252,6 +253,7 @@
* WriteUserEventRequest.newBuilder()
* .setParent("parent-995424086")
* .setUserEvent(UserEvent.newBuilder().build())
+ * .setWriteAsync(true)
* .build();
* UserEvent response = userEventServiceClient.writeUserEvent(request);
* }
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/stub/CatalogServiceStub.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/stub/CatalogServiceStub.java
index 88ac6f552fd1..35c2204ff022 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/stub/CatalogServiceStub.java
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/stub/CatalogServiceStub.java
@@ -23,6 +23,8 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.retail.v2alpha.AddCatalogAttributeRequest;
import com.google.cloud.retail.v2alpha.AttributesConfig;
+import com.google.cloud.retail.v2alpha.BatchRemoveCatalogAttributesRequest;
+import com.google.cloud.retail.v2alpha.BatchRemoveCatalogAttributesResponse;
import com.google.cloud.retail.v2alpha.Catalog;
import com.google.cloud.retail.v2alpha.CompletionConfig;
import com.google.cloud.retail.v2alpha.GetAttributesConfigRequest;
@@ -98,6 +100,12 @@ public UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (CatalogServiceClient catalogServiceClient = CatalogServiceClient.create()) {
+ * BatchRemoveCatalogAttributesRequest request =
+ * BatchRemoveCatalogAttributesRequest.newBuilder()
+ * .setAttributesConfig(
+ * AttributesConfigName.of("[PROJECT]", "[LOCATION]", "[CATALOG]").toString())
+ * .addAllAttributeKeys(new ArrayList
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final BatchRemoveCatalogAttributesResponse batchRemoveCatalogAttributes(
+ BatchRemoveCatalogAttributesRequest request) {
+ return batchRemoveCatalogAttributesCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Removes all specified [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute]s from
+ * the [AttributesConfig][google.cloud.retail.v2alpha.AttributesConfig].
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (CatalogServiceClient catalogServiceClient = CatalogServiceClient.create()) {
+ * BatchRemoveCatalogAttributesRequest request =
+ * BatchRemoveCatalogAttributesRequest.newBuilder()
+ * .setAttributesConfig(
+ * AttributesConfigName.of("[PROJECT]", "[LOCATION]", "[CATALOG]").toString())
+ * .addAllAttributeKeys(new ArrayList
+ */
+ public final UnaryCallable<
+ BatchRemoveCatalogAttributesRequest, BatchRemoveCatalogAttributesResponse>
+ batchRemoveCatalogAttributesCallable() {
+ return stub.batchRemoveCatalogAttributesCallable();
+ }
+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Replaces the specified [CatalogAttribute][google.cloud.retail.v2alpha.CatalogAttribute] in the
diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceSettings.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceSettings.java
index 94369d62b22e..274ddda1ac97 100644
--- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceSettings.java
+++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/CatalogServiceSettings.java
@@ -132,6 +132,13 @@ public UnaryCallSettings
*
*