From 676db214c74970bd4c01a2f1c73e589357a37718 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Fri, 14 Aug 2026 17:34:32 -0700 Subject: [PATCH] chore: regenerate discoveryengine client --- .../v1/2.0.0/README.md | 4 +- ...leCloudDiscoveryengineV1SearchRequest.java | 33 +++++++ ...ineV1SearchRequestRelevanceFilterSpec.java | 90 +++++++++++++++++++ ...vanceFilterSpecRelevanceThresholdSpec.java | 90 +++++++++++++++++++ ...eryengineV1SearchResponseSearchResult.java | 27 ++++++ ...hResponseSearchResultRetrievalSignals.java | 90 +++++++++++++++++++ ...iSettingsModelConfigInfoResolvedModel.java | 30 +++++++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- .../v1alpha/2.0.0/README.md | 4 +- ...iSettingsModelConfigInfoResolvedModel.java | 30 +++++++ .../v1alpha/2.0.0/pom.xml | 4 +- .../v1alpha/README.md | 4 +- .../v1beta/2.0.0/README.md | 4 +- ...ngineV1betaSearchResponseSearchResult.java | 27 ++++++ ...hResponseSearchResultRetrievalSignals.java | 90 +++++++++++++++++++ .../v1beta/2.0.0/pom.xml | 4 +- .../v1beta/README.md | 4 +- 18 files changed, 525 insertions(+), 18 deletions(-) create mode 100644 clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec.java create mode 100644 clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec.java create mode 100644 clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals.java create mode 100644 clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals.java diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1/2.0.0/README.md index 3d8d7fc087d..ee2557cf050 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/README.md +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1-rev20260802-2.0.0 + v1-rev20260809-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260802-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260809-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequest.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequest.java index 8a4f7c3e5b6..596b979bf7e 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequest.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequest.java @@ -326,6 +326,16 @@ public final class GoogleCloudDiscoveryengineV1SearchRequest extends com.google. @com.google.api.client.util.Key private java.lang.String rankingExpressionBackend; + /** + * Optional. The granular relevance filtering specification. If not specified, the global + * `relevance_threshold` will be used for all sub-searches. If specified, this overrides the + * global `relevance_threshold` to use thresholds on a per sub-search basis. This feature is + * currently supported only for custom and site search. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec relevanceFilterSpec; + /** * Optional. The specification for returning the relevance score. * The value may be {@code null}. @@ -1097,6 +1107,29 @@ public GoogleCloudDiscoveryengineV1SearchRequest setRankingExpressionBackend(jav return this; } + /** + * Optional. The granular relevance filtering specification. If not specified, the global + * `relevance_threshold` will be used for all sub-searches. If specified, this overrides the + * global `relevance_threshold` to use thresholds on a per sub-search basis. This feature is + * currently supported only for custom and site search. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec getRelevanceFilterSpec() { + return relevanceFilterSpec; + } + + /** + * Optional. The granular relevance filtering specification. If not specified, the global + * `relevance_threshold` will be used for all sub-searches. If specified, this overrides the + * global `relevance_threshold` to use thresholds on a per sub-search basis. This feature is + * currently supported only for custom and site search. + * @param relevanceFilterSpec relevanceFilterSpec or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1SearchRequest setRelevanceFilterSpec(GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec relevanceFilterSpec) { + this.relevanceFilterSpec = relevanceFilterSpec; + return this; + } + /** * Optional. The specification for returning the relevance score. * @return value or {@code null} for none diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec.java new file mode 100644 index 00000000000..8f3f049d104 --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1.model; + +/** + * Relevance filtering specification. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec extends com.google.api.client.json.GenericJson { + + /** + * Optional. Relevance filtering threshold specification for keyword search. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec keywordSearchThreshold; + + /** + * Optional. Relevance filtering threshold specification for semantic search. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec semanticSearchThreshold; + + /** + * Optional. Relevance filtering threshold specification for keyword search. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec getKeywordSearchThreshold() { + return keywordSearchThreshold; + } + + /** + * Optional. Relevance filtering threshold specification for keyword search. + * @param keywordSearchThreshold keywordSearchThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec setKeywordSearchThreshold(GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec keywordSearchThreshold) { + this.keywordSearchThreshold = keywordSearchThreshold; + return this; + } + + /** + * Optional. Relevance filtering threshold specification for semantic search. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec getSemanticSearchThreshold() { + return semanticSearchThreshold; + } + + /** + * Optional. Relevance filtering threshold specification for semantic search. + * @param semanticSearchThreshold semanticSearchThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec setSemanticSearchThreshold(GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec semanticSearchThreshold) { + this.semanticSearchThreshold = semanticSearchThreshold; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec clone() { + return (GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpec) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec.java new file mode 100644 index 00000000000..35b0d33fadd --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1.model; + +/** + * Specification for relevance filtering on a specific sub-search. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec extends com.google.api.client.json.GenericJson { + + /** + * Pre-defined relevance threshold for the sub-search. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String relevanceThreshold; + + /** + * Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0]. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float semanticRelevanceThreshold; + + /** + * Pre-defined relevance threshold for the sub-search. + * @return value or {@code null} for none + */ + public java.lang.String getRelevanceThreshold() { + return relevanceThreshold; + } + + /** + * Pre-defined relevance threshold for the sub-search. + * @param relevanceThreshold relevanceThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec setRelevanceThreshold(java.lang.String relevanceThreshold) { + this.relevanceThreshold = relevanceThreshold; + return this; + } + + /** + * Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0]. + * @return value or {@code null} for none + */ + public java.lang.Float getSemanticRelevanceThreshold() { + return semanticRelevanceThreshold; + } + + /** + * Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0]. + * @param semanticRelevanceThreshold semanticRelevanceThreshold or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec setSemanticRelevanceThreshold(java.lang.Float semanticRelevanceThreshold) { + this.semanticRelevanceThreshold = semanticRelevanceThreshold; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec clone() { + return (GoogleCloudDiscoveryengineV1SearchRequestRelevanceFilterSpecRelevanceThresholdSpec) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchResponseSearchResult.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchResponseSearchResult.java index 09388d4bc70..af886cb6999 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchResponseSearchResult.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchResponseSearchResult.java @@ -72,6 +72,14 @@ public final class GoogleCloudDiscoveryengineV1SearchResponseSearchResult extend @com.google.api.client.util.Key private GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals rankSignals; + /** + * Optional. A set of signals used by the relevance filter meant for use to fine-tune the + * relevance filter thresholds. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals retrievalSignals; + /** * The chunk data in the search response if the SearchRequest.ContentSearchSpec.search_result_mode * is set to CHUNKS. @@ -161,6 +169,25 @@ public GoogleCloudDiscoveryengineV1SearchResponseSearchResult setRankSignals(Goo return this; } + /** + * Optional. A set of signals used by the relevance filter meant for use to fine-tune the + * relevance filter thresholds. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals getRetrievalSignals() { + return retrievalSignals; + } + + /** + * Optional. A set of signals used by the relevance filter meant for use to fine-tune the + * relevance filter thresholds. + * @param retrievalSignals retrievalSignals or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1SearchResponseSearchResult setRetrievalSignals(GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals retrievalSignals) { + this.retrievalSignals = retrievalSignals; + return this; + } + @Override public GoogleCloudDiscoveryengineV1SearchResponseSearchResult set(String fieldName, Object value) { return (GoogleCloudDiscoveryengineV1SearchResponseSearchResult) super.set(fieldName, value); diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals.java new file mode 100644 index 00000000000..853d538014b --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1.model; + +/** + * Contains a set of signals used by the relevance filter. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals extends com.google.api.client.json.GenericJson { + + /** + * Optional. Indicates how the result was retrieved. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List retrievalSources; + + /** + * Optional. Relevance score used by the filter when semantic_relevance_threshold is set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float semanticRelevanceScore; + + /** + * Optional. Indicates how the result was retrieved. + * @return value or {@code null} for none + */ + public java.util.List getRetrievalSources() { + return retrievalSources; + } + + /** + * Optional. Indicates how the result was retrieved. + * @param retrievalSources retrievalSources or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals setRetrievalSources(java.util.List retrievalSources) { + this.retrievalSources = retrievalSources; + return this; + } + + /** + * Optional. Relevance score used by the filter when semantic_relevance_threshold is set. + * @return value or {@code null} for none + */ + public java.lang.Float getSemanticRelevanceScore() { + return semanticRelevanceScore; + } + + /** + * Optional. Relevance score used by the filter when semantic_relevance_threshold is set. + * @param semanticRelevanceScore semanticRelevanceScore or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals setSemanticRelevanceScore(java.lang.Float semanticRelevanceScore) { + this.semanticRelevanceScore = semanticRelevanceScore; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals clone() { + return (GoogleCloudDiscoveryengineV1SearchResponseSearchResultRetrievalSignals) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModel.java b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModel.java index 118745fbc52..80795d58cbe 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModel.java +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModel.java @@ -71,6 +71,15 @@ public final class GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfig @com.google.api.client.util.Key private java.lang.Boolean isPreview; + /** + * Output only. Short label shown in the compact selector bar chip (e.g. `3.x Flash`) as opposed + * to the full `display_name` (`Gemini 3.x Flash`). Falls back to `display_name` when the backend + * registry does not specify a distinct short label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + /** * Output only. Unique identifier of the model (e.g. `gemini-2.5-flash`, `gemini-3.1-pro- * preview`). This is the same identifier that clients pass back to the assistant service to @@ -178,6 +187,27 @@ public GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolved return this; } + /** + * Output only. Short label shown in the compact selector bar chip (e.g. `3.x Flash`) as opposed + * to the full `display_name` (`Gemini 3.x Flash`). Falls back to `display_name` when the backend + * registry does not specify a distinct short label. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Output only. Short label shown in the compact selector bar chip (e.g. `3.x Flash`) as opposed + * to the full `display_name` (`Gemini 3.x Flash`). Falls back to `display_name` when the backend + * registry does not specify a distinct short label. + * @param label label or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModel setLabel(java.lang.String label) { + this.label = label; + return this; + } + /** * Output only. Unique identifier of the model (e.g. `gemini-2.5-flash`, `gemini-3.1-pro- * preview`). This is the same identifier that clients pass back to the assistant service to diff --git a/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml index de4fb7129b6..e6e5703def1 100644 --- a/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml +++ b/clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-discoveryengine - v1-rev20260802-2.0.0 - Discovery Engine API v1-rev20260802-2.0.0 + v1-rev20260809-2.0.0 + Discovery Engine API v1-rev20260809-2.0.0 jar 2011 diff --git a/clients/google-api-services-discoveryengine/v1/README.md b/clients/google-api-services-discoveryengine/v1/README.md index 3d8d7fc087d..ee2557cf050 100644 --- a/clients/google-api-services-discoveryengine/v1/README.md +++ b/clients/google-api-services-discoveryengine/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1-rev20260802-2.0.0 + v1-rev20260809-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260802-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260809-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md index 89b615b98bc..eb1d66ec76d 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1alpha-rev20260802-2.0.0 + v1alpha-rev20260809-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20260802-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20260809-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModel.java b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModel.java index 37863c9907f..6ae69880df7 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModel.java +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModel.java @@ -71,6 +71,15 @@ public final class GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelC @com.google.api.client.util.Key private java.lang.Boolean isPreview; + /** + * Output only. Short label shown in the compact selector bar chip (e.g. `3.x Flash`) as opposed + * to the full `display_name` (`Gemini 3.x Flash`). Falls back to `display_name` when the backend + * registry does not specify a distinct short label. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String label; + /** * Output only. Unique identifier of the model (e.g. `gemini-2.5-flash`, `gemini-3.1-pro- * preview`). This is the same identifier that clients pass back to the assistant service to @@ -178,6 +187,27 @@ public GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoRes return this; } + /** + * Output only. Short label shown in the compact selector bar chip (e.g. `3.x Flash`) as opposed + * to the full `display_name` (`Gemini 3.x Flash`). Falls back to `display_name` when the backend + * registry does not specify a distinct short label. + * @return value or {@code null} for none + */ + public java.lang.String getLabel() { + return label; + } + + /** + * Output only. Short label shown in the compact selector bar chip (e.g. `3.x Flash`) as opposed + * to the full `display_name` (`Gemini 3.x Flash`). Falls back to `display_name` when the backend + * registry does not specify a distinct short label. + * @param label label or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModel setLabel(java.lang.String label) { + this.label = label; + return this; + } + /** * Output only. Unique identifier of the model (e.g. `gemini-2.5-flash`, `gemini-3.1-pro- * preview`). This is the same identifier that clients pass back to the assistant service to diff --git a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml index e8b59fd784a..99a397a71a4 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml +++ b/clients/google-api-services-discoveryengine/v1alpha/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-discoveryengine - v1alpha-rev20260802-2.0.0 - Discovery Engine API v1alpha-rev20260802-2.0.0 + v1alpha-rev20260809-2.0.0 + Discovery Engine API v1alpha-rev20260809-2.0.0 jar 2011 diff --git a/clients/google-api-services-discoveryengine/v1alpha/README.md b/clients/google-api-services-discoveryengine/v1alpha/README.md index 89b615b98bc..eb1d66ec76d 100644 --- a/clients/google-api-services-discoveryengine/v1alpha/README.md +++ b/clients/google-api-services-discoveryengine/v1alpha/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1alpha-rev20260802-2.0.0 + v1alpha-rev20260809-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20260802-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20260809-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md b/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md index dc073e745d9..52416d2dc78 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1beta-rev20260802-2.0.0 + v1beta-rev20260809-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20260802-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20260809-2.0.0' } ``` diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult.java index d351504b49c..0033163db95 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult.java +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult.java @@ -72,6 +72,14 @@ public final class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult ex @com.google.api.client.util.Key private GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals rankSignals; + /** + * Optional. A set of signals used by the relevance filter meant for use to fine-tune the + * relevance filter thresholds. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals retrievalSignals; + /** * The chunk data in the search response if the SearchRequest.ContentSearchSpec.search_result_mode * is set to CHUNKS. @@ -161,6 +169,25 @@ public GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult setRankSignals return this; } + /** + * Optional. A set of signals used by the relevance filter meant for use to fine-tune the + * relevance filter thresholds. + * @return value or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals getRetrievalSignals() { + return retrievalSignals; + } + + /** + * Optional. A set of signals used by the relevance filter meant for use to fine-tune the + * relevance filter thresholds. + * @param retrievalSignals retrievalSignals or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult setRetrievalSignals(GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals retrievalSignals) { + this.retrievalSignals = retrievalSignals; + return this; + } + @Override public GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult set(String fieldName, Object value) { return (GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult) super.set(fieldName, value); diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals.java b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals.java new file mode 100644 index 00000000000..52b380f820a --- /dev/null +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/com/google/api/services/discoveryengine/v1beta/model/GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.discoveryengine.v1beta.model; + +/** + * Contains a set of signals used by the relevance filter. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals extends com.google.api.client.json.GenericJson { + + /** + * Optional. Indicates how the result was retrieved. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List retrievalSources; + + /** + * Optional. Relevance score used by the filter when semantic_relevance_threshold is set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Float semanticRelevanceScore; + + /** + * Optional. Indicates how the result was retrieved. + * @return value or {@code null} for none + */ + public java.util.List getRetrievalSources() { + return retrievalSources; + } + + /** + * Optional. Indicates how the result was retrieved. + * @param retrievalSources retrievalSources or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals setRetrievalSources(java.util.List retrievalSources) { + this.retrievalSources = retrievalSources; + return this; + } + + /** + * Optional. Relevance score used by the filter when semantic_relevance_threshold is set. + * @return value or {@code null} for none + */ + public java.lang.Float getSemanticRelevanceScore() { + return semanticRelevanceScore; + } + + /** + * Optional. Relevance score used by the filter when semantic_relevance_threshold is set. + * @param semanticRelevanceScore semanticRelevanceScore or {@code null} for none + */ + public GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals setSemanticRelevanceScore(java.lang.Float semanticRelevanceScore) { + this.semanticRelevanceScore = semanticRelevanceScore; + return this; + } + + @Override + public GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals set(String fieldName, Object value) { + return (GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals) super.set(fieldName, value); + } + + @Override + public GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals clone() { + return (GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRetrievalSignals) super.clone(); + } + +} diff --git a/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml b/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml index 0cb0b4502bc..c1118815a9c 100644 --- a/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml +++ b/clients/google-api-services-discoveryengine/v1beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-discoveryengine - v1beta-rev20260802-2.0.0 - Discovery Engine API v1beta-rev20260802-2.0.0 + v1beta-rev20260809-2.0.0 + Discovery Engine API v1beta-rev20260809-2.0.0 jar 2011 diff --git a/clients/google-api-services-discoveryengine/v1beta/README.md b/clients/google-api-services-discoveryengine/v1beta/README.md index dc073e745d9..52416d2dc78 100644 --- a/clients/google-api-services-discoveryengine/v1beta/README.md +++ b/clients/google-api-services-discoveryengine/v1beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-discoveryengine - v1beta-rev20260802-2.0.0 + v1beta-rev20260809-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20260802-2.0.0' + implementation 'com.google.apis:google-api-services-discoveryengine:v1beta-rev20260809-2.0.0' } ```