Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

docs: users can self enroll retail search feature on cloud console #377

Merged
merged 2 commits into from
Mar 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file:
If you are using Gradle without BOM, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-retail:2.0.15'
implementation 'com.google.cloud:google-cloud-retail:2.0.16'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.0.15"
libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.0.16"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,10 +403,6 @@ public final UnaryCallable<UpdateCatalogRequest, Catalog> updateCatalogCallable(
* <li>UserEventService will only join events with products from branch {newBranch}.
* </ul>
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
*
* <p>Sample code:
*
* <pre>{@code
Expand Down Expand Up @@ -461,10 +457,6 @@ public final void setDefaultBranch(CatalogName catalog) {
* <li>UserEventService will only join events with products from branch {newBranch}.
* </ul>
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
*
* <p>Sample code:
*
* <pre>{@code
Expand Down Expand Up @@ -517,10 +509,6 @@ public final void setDefaultBranch(String catalog) {
* <li>UserEventService will only join events with products from branch {newBranch}.
* </ul>
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -531,6 +519,7 @@ public final void setDefaultBranch(String catalog) {
* .setBranchId(
* BranchName.of("[PROJECT]", "[LOCATION]", "[CATALOG]", "[BRANCH]").toString())
* .setNote("note3387378")
* .setForce(true)
* .build();
* catalogServiceClient.setDefaultBranch(request);
* }
Expand Down Expand Up @@ -576,10 +565,6 @@ public final void setDefaultBranch(SetDefaultBranchRequest request) {
* <li>UserEventService will only join events with products from branch {newBranch}.
* </ul>
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -590,6 +575,7 @@ public final void setDefaultBranch(SetDefaultBranchRequest request) {
* .setBranchId(
* BranchName.of("[PROJECT]", "[LOCATION]", "[CATALOG]", "[BRANCH]").toString())
* .setNote("note3387378")
* .setForce(true)
* .build();
* ApiFuture<Empty> future = catalogServiceClient.setDefaultBranchCallable().futureCall(request);
* // Do something.
Expand All @@ -607,10 +593,6 @@ public final UnaryCallable<SetDefaultBranchRequest, Empty> setDefaultBranchCalla
* [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch]
* method under a specified parent catalog.
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
*
* <p>Sample code:
*
* <pre>{@code
Expand Down Expand Up @@ -638,10 +620,6 @@ public final GetDefaultBranchResponse getDefaultBranch(CatalogName catalog) {
* [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch]
* method under a specified parent catalog.
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -667,10 +645,6 @@ public final GetDefaultBranchResponse getDefaultBranch(String catalog) {
* [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch]
* method under a specified parent catalog.
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
*
* <p>Sample code:
*
* <pre>{@code
Expand All @@ -696,10 +670,6 @@ public final GetDefaultBranchResponse getDefaultBranch(GetDefaultBranchRequest r
* [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch]
* method under a specified parent catalog.
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
*
* <p>Sample code:
*
* <pre>{@code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@
/**
* Service Description: Auto-completion service for retail.
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a form
* [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in using
* Retail Search.
* <p>This feature is only available for users who have Retail Search enabled. Please enable Retail
* Search on Cloud Console before using this feature.
*
* <p>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:
Expand Down Expand Up @@ -173,9 +172,8 @@ public final OperationsClient getOperationsClient() {
/**
* Completes the specified prefix with keyword suggestions.
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
* <p>This feature is only available for users who have Retail Search enabled. Please enable
* Retail Search on Cloud Console before using this feature.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -206,9 +204,8 @@ public final CompleteQueryResponse completeQuery(CompleteQueryRequest request) {
/**
* Completes the specified prefix with keyword suggestions.
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
* <p>This feature is only available for users who have Retail Search enabled. Please enable
* Retail Search on Cloud Console before using this feature.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -239,11 +236,13 @@ public final UnaryCallable<CompleteQueryRequest, CompleteQueryResponse> complete
/**
* Bulk import of processed completion dataset.
*
* <p>Request processing may be synchronous. Partial updating is not supported.
* <p>Request processing is asynchronous. Partial updating is not supported.
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
* <p>The operation is successfully finished only after the imported suggestions are indexed
* successfully and ready for serving. The process takes hours.
*
* <p>This feature is only available for users who have Retail Search enabled. Please enable
* Retail Search on Cloud Console before using this feature.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -272,11 +271,13 @@ public final UnaryCallable<CompleteQueryRequest, CompleteQueryResponse> complete
/**
* Bulk import of processed completion dataset.
*
* <p>Request processing may be synchronous. Partial updating is not supported.
* <p>Request processing is asynchronous. Partial updating is not supported.
*
* <p>The operation is successfully finished only after the imported suggestions are indexed
* successfully and ready for serving. The process takes hours.
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
* <p>This feature is only available for users who have Retail Search enabled. Please enable
* Retail Search on Cloud Console before using this feature.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -305,11 +306,13 @@ public final UnaryCallable<CompleteQueryRequest, CompleteQueryResponse> complete
/**
* Bulk import of processed completion dataset.
*
* <p>Request processing may be synchronous. Partial updating is not supported.
* <p>Request processing is asynchronous. Partial updating is not supported.
*
* <p>The operation is successfully finished only after the imported suggestions are indexed
* successfully and ready for serving. The process takes hours.
*
* <p>This feature is only available for users who have Retail Search enabled. Please submit a
* form [here](https://cloud.google.com/contact) to contact cloud sales if you are interested in
* using Retail Search.
* <p>This feature is only available for users who have Retail Search enabled. Please enable
* Retail Search on Cloud Console before using this feature.
*
* <p>Sample code:
*
Expand Down
Loading