Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [discoveryengine] add site search engine service #10149

Merged
merged 2 commits into from
Jan 2, 2024
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 java-discoveryengine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.27.0</version>
<version>26.29.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-discoveryengine.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/0.26.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/0.28.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ public final ConverseConversationResponse converseConversation(String name, Text
* .setSafeSearch(true)
* .putAllUserLabels(new HashMap<String, String>())
* .setSummarySpec(SearchRequest.ContentSearchSpec.SummarySpec.newBuilder().build())
* .setFilter("filter-1274492040")
* .build();
* ConverseConversationResponse response =
* conversationalSearchServiceClient.converseConversation(request);
Expand Down Expand Up @@ -340,6 +341,7 @@ public final ConverseConversationResponse converseConversation(
* .setSafeSearch(true)
* .putAllUserLabels(new HashMap<String, String>())
* .setSummarySpec(SearchRequest.ContentSearchSpec.SummarySpec.newBuilder().build())
* .setFilter("filter-1274492040")
* .build();
* ApiFuture<ConverseConversationResponse> future =
* conversationalSearchServiceClient.converseConversationCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,8 @@ public final UnaryCallable<PauseEngineRequest, Engine> pauseEngineCallable() {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Resumes the training of an existing engine. Only applicable if [solution_type][] is
* Resumes the training of an existing engine. Only applicable if
* [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is
* [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
*
* <p>Sample code:
Expand Down Expand Up @@ -1059,7 +1060,8 @@ public final Engine resumeEngine(EngineName name) {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Resumes the training of an existing engine. Only applicable if [solution_type][] is
* Resumes the training of an existing engine. Only applicable if
* [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is
* [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
*
* <p>Sample code:
Expand Down Expand Up @@ -1087,7 +1089,8 @@ public final Engine resumeEngine(String name) {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Resumes the training of an existing engine. Only applicable if [solution_type][] is
* Resumes the training of an existing engine. Only applicable if
* [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is
* [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
*
* <p>Sample code:
Expand Down Expand Up @@ -1117,7 +1120,8 @@ public final Engine resumeEngine(ResumeEngineRequest request) {

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Resumes the training of an existing engine. Only applicable if [solution_type][] is
* Resumes the training of an existing engine. Only applicable if
* [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is
* [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].
*
* <p>Sample code:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
* .setPageToken("pageToken873572522")
* .setOffset(-1019779949)
* .setFilter("filter-1274492040")
* .setCanonicalFilter("canonicalFilter-722283124")
* .setOrderBy("orderBy-1207110587")
* .setUserInfo(UserInfo.newBuilder().build())
* .addAllFacetSpecs(new ArrayList<SearchRequest.FacetSpec>())
Expand Down Expand Up @@ -233,6 +234,7 @@ public SearchServiceStub getStub() {
* .setPageToken("pageToken873572522")
* .setOffset(-1019779949)
* .setFilter("filter-1274492040")
* .setCanonicalFilter("canonicalFilter-722283124")
* .setOrderBy("orderBy-1207110587")
* .setUserInfo(UserInfo.newBuilder().build())
* .addAllFacetSpecs(new ArrayList<SearchRequest.FacetSpec>())
Expand Down Expand Up @@ -289,6 +291,7 @@ public final SearchPagedResponse search(SearchRequest request) {
* .setPageToken("pageToken873572522")
* .setOffset(-1019779949)
* .setFilter("filter-1274492040")
* .setCanonicalFilter("canonicalFilter-722283124")
* .setOrderBy("orderBy-1207110587")
* .setUserInfo(UserInfo.newBuilder().build())
* .addAllFacetSpecs(new ArrayList<SearchRequest.FacetSpec>())
Expand Down Expand Up @@ -345,6 +348,7 @@ public final UnaryCallable<SearchRequest, SearchPagedResponse> searchPagedCallab
* .setPageToken("pageToken873572522")
* .setOffset(-1019779949)
* .setFilter("filter-1274492040")
* .setCanonicalFilter("canonicalFilter-722283124")
* .setOrderBy("orderBy-1207110587")
* .setUserInfo(UserInfo.newBuilder().build())
* .addAllFacetSpecs(new ArrayList<SearchRequest.FacetSpec>())
Expand Down
Loading
Loading