Skip to content

Commit cb8973f

Browse files
1 parent 5257d53 commit cb8973f

20 files changed

+240
-54
lines changed

clients/google-api-services-discoveryengine/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-discoveryengine</artifactId>
25-
<version>v1-rev20250609-2.0.0</version>
25+
<version>v1-rev20250617-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20250609-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20250617-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1SessionTurn.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ public final class GoogleCloudDiscoveryengineV1SessionTurn extends com.google.ap
5454
@com.google.api.client.util.Key
5555
private GoogleCloudDiscoveryengineV1Query query;
5656

57+
/**
58+
* Optional. Represents metadata related to the query config, for example LLM model and version
59+
* used, model parameters (temperature, grounding parameters, etc.). The prefix "google." is
60+
* reserved for Google-developed functionality.
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private java.util.Map<String, java.lang.String> queryConfig;
65+
5766
/**
5867
* Optional. The resource name of the answer to the user query. Only set if the answer generation
5968
* (/answer API call) happened in this turn.
@@ -113,6 +122,27 @@ public GoogleCloudDiscoveryengineV1SessionTurn setQuery(GoogleCloudDiscoveryengi
113122
return this;
114123
}
115124

125+
/**
126+
* Optional. Represents metadata related to the query config, for example LLM model and version
127+
* used, model parameters (temperature, grounding parameters, etc.). The prefix "google." is
128+
* reserved for Google-developed functionality.
129+
* @return value or {@code null} for none
130+
*/
131+
public java.util.Map<String, java.lang.String> getQueryConfig() {
132+
return queryConfig;
133+
}
134+
135+
/**
136+
* Optional. Represents metadata related to the query config, for example LLM model and version
137+
* used, model parameters (temperature, grounding parameters, etc.). The prefix "google." is
138+
* reserved for Google-developed functionality.
139+
* @param queryConfig queryConfig or {@code null} for none
140+
*/
141+
public GoogleCloudDiscoveryengineV1SessionTurn setQueryConfig(java.util.Map<String, java.lang.String> queryConfig) {
142+
this.queryConfig = queryConfig;
143+
return this;
144+
}
145+
116146
@Override
117147
public GoogleCloudDiscoveryengineV1SessionTurn set(String fieldName, Object value) {
118148
return (GoogleCloudDiscoveryengineV1SessionTurn) super.set(fieldName, value);

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,10 @@ public final class GoogleCloudDiscoveryengineV1alphaSearchRequest extends com.go
276276
* conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the
277277
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
278278
* suggests that the result is more likely to satisfy the user's query and intent, making it a
279-
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `base_rank`:
280-
* the default rank of the result
279+
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank *
280+
* `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine
281+
* the keyword-based overlap between the query and the document. * `base_rank`: the default rank
282+
* of the result
281283
* The value may be {@code null}.
282284
*/
283285
@com.google.api.client.util.Key
@@ -943,8 +945,10 @@ public GoogleCloudDiscoveryengineV1alphaSearchRequest setQueryExpansionSpec(Goog
943945
* conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the
944946
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
945947
* suggests that the result is more likely to satisfy the user's query and intent, making it a
946-
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `base_rank`:
947-
* the default rank of the result
948+
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank *
949+
* `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine
950+
* the keyword-based overlap between the query and the document. * `base_rank`: the default rank
951+
* of the result
948952
* @return value or {@code null} for none
949953
*/
950954
public java.lang.String getRankingExpression() {
@@ -989,8 +993,10 @@ public java.lang.String getRankingExpression() {
989993
* conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the
990994
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
991995
* suggests that the result is more likely to satisfy the user's query and intent, making it a
992-
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `base_rank`:
993-
* the default rank of the result
996+
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank *
997+
* `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine
998+
* the keyword-based overlap between the query and the document. * `base_rank`: the default rank
999+
* of the result
9941000
* @param rankingExpression rankingExpression or {@code null} for none
9951001
*/
9961002
public GoogleCloudDiscoveryengineV1alphaSearchRequest setRankingExpression(java.lang.String rankingExpression) {

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1alphaSessionTurn.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ public final class GoogleCloudDiscoveryengineV1alphaSessionTurn extends com.goog
5454
@com.google.api.client.util.Key
5555
private GoogleCloudDiscoveryengineV1alphaQuery query;
5656

57+
/**
58+
* Optional. Represents metadata related to the query config, for example LLM model and version
59+
* used, model parameters (temperature, grounding parameters, etc.). The prefix "google." is
60+
* reserved for Google-developed functionality.
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private java.util.Map<String, java.lang.String> queryConfig;
65+
5766
/**
5867
* Optional. The resource name of the answer to the user query. Only set if the answer generation
5968
* (/answer API call) happened in this turn.
@@ -113,6 +122,27 @@ public GoogleCloudDiscoveryengineV1alphaSessionTurn setQuery(GoogleCloudDiscover
113122
return this;
114123
}
115124

125+
/**
126+
* Optional. Represents metadata related to the query config, for example LLM model and version
127+
* used, model parameters (temperature, grounding parameters, etc.). The prefix "google." is
128+
* reserved for Google-developed functionality.
129+
* @return value or {@code null} for none
130+
*/
131+
public java.util.Map<String, java.lang.String> getQueryConfig() {
132+
return queryConfig;
133+
}
134+
135+
/**
136+
* Optional. Represents metadata related to the query config, for example LLM model and version
137+
* used, model parameters (temperature, grounding parameters, etc.). The prefix "google." is
138+
* reserved for Google-developed functionality.
139+
* @param queryConfig queryConfig or {@code null} for none
140+
*/
141+
public GoogleCloudDiscoveryengineV1alphaSessionTurn setQueryConfig(java.util.Map<String, java.lang.String> queryConfig) {
142+
this.queryConfig = queryConfig;
143+
return this;
144+
}
145+
116146
@Override
117147
public GoogleCloudDiscoveryengineV1alphaSessionTurn set(String fieldName, Object value) {
118148
return (GoogleCloudDiscoveryengineV1alphaSessionTurn) super.set(fieldName, value);

clients/google-api-services-discoveryengine/v1/2.0.0/com/google/api/services/discoveryengine/v1/model/GoogleCloudDiscoveryengineV1betaSearchRequest.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,10 @@ public final class GoogleCloudDiscoveryengineV1betaSearchRequest extends com.goo
268268
* conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the
269269
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
270270
* suggests that the result is more likely to satisfy the user's query and intent, making it a
271-
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `base_rank`:
272-
* the default rank of the result
271+
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank *
272+
* `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine
273+
* the keyword-based overlap between the query and the document. * `base_rank`: the default rank
274+
* of the result
273275
* The value may be {@code null}.
274276
*/
275277
@com.google.api.client.util.Key
@@ -907,8 +909,10 @@ public GoogleCloudDiscoveryengineV1betaSearchRequest setQueryExpansionSpec(Googl
907909
* conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the
908910
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
909911
* suggests that the result is more likely to satisfy the user's query and intent, making it a
910-
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `base_rank`:
911-
* the default rank of the result
912+
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank *
913+
* `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine
914+
* the keyword-based overlap between the query and the document. * `base_rank`: the default rank
915+
* of the result
912916
* @return value or {@code null} for none
913917
*/
914918
public java.lang.String getRankingExpression() {
@@ -953,8 +957,10 @@ public java.lang.String getRankingExpression() {
953957
* conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the
954958
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
955959
* suggests that the result is more likely to satisfy the user's query and intent, making it a
956-
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `base_rank`:
957-
* the default rank of the result
960+
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank *
961+
* `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine
962+
* the keyword-based overlap between the query and the document. * `base_rank`: the default rank
963+
* of the result
958964
* @param rankingExpression rankingExpression or {@code null} for none
959965
*/
960966
public GoogleCloudDiscoveryengineV1betaSearchRequest setRankingExpression(java.lang.String rankingExpression) {

clients/google-api-services-discoveryengine/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-discoveryengine</artifactId>
11-
<version>v1-rev20250609-2.0.0</version>
12-
<name>Discovery Engine API v1-rev20250609-2.0.0</name>
11+
<version>v1-rev20250617-2.0.0</version>
12+
<name>Discovery Engine API v1-rev20250617-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-discoveryengine/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-discoveryengine</artifactId>
25-
<version>v1-rev20250609-2.0.0</version>
25+
<version>v1-rev20250617-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20250609-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20250617-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-discoveryengine/v1alpha/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-discoveryengine</artifactId>
25-
<version>v1alpha-rev20250609-2.0.0</version>
25+
<version>v1alpha-rev20250617-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20250609-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20250617-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaSearchRequest.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,10 @@ public final class GoogleCloudDiscoveryengineV1alphaSearchRequest extends com.go
276276
* conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the
277277
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
278278
* suggests that the result is more likely to satisfy the user's query and intent, making it a
279-
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `base_rank`:
280-
* the default rank of the result
279+
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank *
280+
* `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine
281+
* the keyword-based overlap between the query and the document. * `base_rank`: the default rank
282+
* of the result
281283
* The value may be {@code null}.
282284
*/
283285
@com.google.api.client.util.Key
@@ -943,8 +945,10 @@ public GoogleCloudDiscoveryengineV1alphaSearchRequest setQueryExpansionSpec(Goog
943945
* conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the
944946
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
945947
* suggests that the result is more likely to satisfy the user's query and intent, making it a
946-
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `base_rank`:
947-
* the default rank of the result
948+
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank *
949+
* `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine
950+
* the keyword-based overlap between the query and the document. * `base_rank`: the default rank
951+
* of the result
948952
* @return value or {@code null} for none
949953
*/
950954
public java.lang.String getRankingExpression() {
@@ -989,8 +993,10 @@ public java.lang.String getRankingExpression() {
989993
* conversion rate adjustment as a rank use predicted Click-through rate (pCTR) to gauge the
990994
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
991995
* suggests that the result is more likely to satisfy the user's query and intent, making it a
992-
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank * `base_rank`:
993-
* the default rank of the result
996+
* valuable signal for ranking. * `freshness_rank`: freshness adjustment as a rank *
997+
* `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google model to determine
998+
* the keyword-based overlap between the query and the document. * `base_rank`: the default rank
999+
* of the result
9941000
* @param rankingExpression rankingExpression or {@code null} for none
9951001
*/
9961002
public GoogleCloudDiscoveryengineV1alphaSearchRequest setRankingExpression(java.lang.String rankingExpression) {

clients/google-api-services-discoveryengine/v1alpha/2.0.0/com/google/api/services/discoveryengine/v1alpha/model/GoogleCloudDiscoveryengineV1alphaSessionTurn.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ public final class GoogleCloudDiscoveryengineV1alphaSessionTurn extends com.goog
5454
@com.google.api.client.util.Key
5555
private GoogleCloudDiscoveryengineV1alphaQuery query;
5656

57+
/**
58+
* Optional. Represents metadata related to the query config, for example LLM model and version
59+
* used, model parameters (temperature, grounding parameters, etc.). The prefix "google." is
60+
* reserved for Google-developed functionality.
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private java.util.Map<String, java.lang.String> queryConfig;
65+
5766
/**
5867
* Optional. The resource name of the answer to the user query. Only set if the answer generation
5968
* (/answer API call) happened in this turn.
@@ -113,6 +122,27 @@ public GoogleCloudDiscoveryengineV1alphaSessionTurn setQuery(GoogleCloudDiscover
113122
return this;
114123
}
115124

125+
/**
126+
* Optional. Represents metadata related to the query config, for example LLM model and version
127+
* used, model parameters (temperature, grounding parameters, etc.). The prefix "google." is
128+
* reserved for Google-developed functionality.
129+
* @return value or {@code null} for none
130+
*/
131+
public java.util.Map<String, java.lang.String> getQueryConfig() {
132+
return queryConfig;
133+
}
134+
135+
/**
136+
* Optional. Represents metadata related to the query config, for example LLM model and version
137+
* used, model parameters (temperature, grounding parameters, etc.). The prefix "google." is
138+
* reserved for Google-developed functionality.
139+
* @param queryConfig queryConfig or {@code null} for none
140+
*/
141+
public GoogleCloudDiscoveryengineV1alphaSessionTurn setQueryConfig(java.util.Map<String, java.lang.String> queryConfig) {
142+
this.queryConfig = queryConfig;
143+
return this;
144+
}
145+
116146
@Override
117147
public GoogleCloudDiscoveryengineV1alphaSessionTurn set(String fieldName, Object value) {
118148
return (GoogleCloudDiscoveryengineV1alphaSessionTurn) super.set(fieldName, value);

0 commit comments

Comments
 (0)