Skip to content

Commit 05f81e9

Browse files
1 parent 87fcc6d commit 05f81e9

36 files changed

Lines changed: 624 additions & 78 deletions

File tree

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-rev20260512-2.0.0</version>
25+
<version>v1-rev20260522-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-rev20260512-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260522-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,13 @@ public final class GoogleCloudDiscoveryengineV1SearchRequest extends com.google.
307307
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
308308
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
309309
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
310-
* document. * `base_rank`: the default rank of the result
310+
* document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the
311+
* media actor matches the query * `media_director_match`: whether the media director matches the
312+
* query * `media_genre_match`: whether the media genre matches the query *
313+
* `media_language_match`: whether the media language matches the query * `media_title_match`:
314+
* whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity
315+
* rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media
316+
* results
311317
* The value may be {@code null}.
312318
*/
313319
@com.google.api.client.util.Key
@@ -1005,7 +1011,13 @@ public GoogleCloudDiscoveryengineV1SearchRequest setQueryExpansionSpec(GoogleClo
10051011
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
10061012
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
10071013
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
1008-
* document. * `base_rank`: the default rank of the result
1014+
* document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the
1015+
* media actor matches the query * `media_director_match`: whether the media director matches the
1016+
* query * `media_genre_match`: whether the media genre matches the query *
1017+
* `media_language_match`: whether the media language matches the query * `media_title_match`:
1018+
* whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity
1019+
* rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media
1020+
* results
10091021
* @return value or {@code null} for none
10101022
*/
10111023
public java.lang.String getRankingExpression() {
@@ -1054,7 +1066,13 @@ public java.lang.String getRankingExpression() {
10541066
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
10551067
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
10561068
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
1057-
* document. * `base_rank`: the default rank of the result
1069+
* document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the
1070+
* media actor matches the query * `media_director_match`: whether the media director matches the
1071+
* query * `media_genre_match`: whether the media genre matches the query *
1072+
* `media_language_match`: whether the media language matches the query * `media_title_match`:
1073+
* whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity
1074+
* rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media
1075+
* results
10581076
* @param rankingExpression rankingExpression or {@code null} for none
10591077
*/
10601078
public GoogleCloudDiscoveryengineV1SearchRequest setRankingExpression(java.lang.String rankingExpression) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ public final class GoogleCloudDiscoveryengineV1StreamAssistResponse extends com.
5757
@com.google.api.client.util.Key
5858
private java.util.List<java.lang.String> invocationTools;
5959

60+
/**
61+
* The skills executed during the turn.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.util.List<GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill> invokedSkills;
66+
6067
/**
6168
* Session information. Only included in the final StreamAssistResponse of the response stream.
6269
* The value may be {@code null}.
@@ -129,6 +136,23 @@ public GoogleCloudDiscoveryengineV1StreamAssistResponse setInvocationTools(java.
129136
return this;
130137
}
131138

139+
/**
140+
* The skills executed during the turn.
141+
* @return value or {@code null} for none
142+
*/
143+
public java.util.List<GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill> getInvokedSkills() {
144+
return invokedSkills;
145+
}
146+
147+
/**
148+
* The skills executed during the turn.
149+
* @param invokedSkills invokedSkills or {@code null} for none
150+
*/
151+
public GoogleCloudDiscoveryengineV1StreamAssistResponse setInvokedSkills(java.util.List<GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill> invokedSkills) {
152+
this.invokedSkills = invokedSkills;
153+
return this;
154+
}
155+
132156
/**
133157
* Session information. Only included in the final StreamAssistResponse of the response stream.
134158
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.discoveryengine.v1.model;
18+
19+
/**
20+
* Represents a skill used during the assist call.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The display name of the skill.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String displayName;
38+
39+
/**
40+
* The resource name of the skill.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String name;
45+
46+
/**
47+
* The display name of the skill.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getDisplayName() {
51+
return displayName;
52+
}
53+
54+
/**
55+
* The display name of the skill.
56+
* @param displayName displayName or {@code null} for none
57+
*/
58+
public GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill setDisplayName(java.lang.String displayName) {
59+
this.displayName = displayName;
60+
return this;
61+
}
62+
63+
/**
64+
* The resource name of the skill.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getName() {
68+
return name;
69+
}
70+
71+
/**
72+
* The resource name of the skill.
73+
* @param name name or {@code null} for none
74+
*/
75+
public GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill setName(java.lang.String name) {
76+
this.name = name;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill set(String fieldName, Object value) {
82+
return (GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill clone() {
87+
return (GoogleCloudDiscoveryengineV1StreamAssistResponseInvokedSkill) super.clone();
88+
}
89+
90+
}

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
public final class GoogleCloudDiscoveryengineV1WorkspaceConfig extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Obfuscated Dasher customer ID.
33+
* Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP
34+
* organization at data store creation time; any value supplied in the request payload is ignored.
3435
* The value may be {@code null}.
3536
*/
3637
@com.google.api.client.util.Key
@@ -60,15 +61,17 @@ public final class GoogleCloudDiscoveryengineV1WorkspaceConfig extends com.googl
6061
private java.lang.String type;
6162

6263
/**
63-
* Obfuscated Dasher customer ID.
64+
* Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP
65+
* organization at data store creation time; any value supplied in the request payload is ignored.
6466
* @return value or {@code null} for none
6567
*/
6668
public java.lang.String getDasherCustomerId() {
6769
return dasherCustomerId;
6870
}
6971

7072
/**
71-
* Obfuscated Dasher customer ID.
73+
* Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP
74+
* organization at data store creation time; any value supplied in the request payload is ignored.
7275
* @param dasherCustomerId dasherCustomerId or {@code null} for none
7376
*/
7477
public GoogleCloudDiscoveryengineV1WorkspaceConfig setDasherCustomerId(java.lang.String dasherCustomerId) {

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ public final class GoogleCloudDiscoveryengineV1alphaFieldConfig extends com.goog
152152
* Optional. Specifies the importance of the field when `searchable_option` is
153153
* `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored.
154154
* If `searchable_option` is `SEARCHABLE_ENABLED` and this is
155-
* `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`.
155+
* `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more
156+
* information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-
157+
* builder/docs/configure-field-settings#weight-search).
156158
* The value may be {@code null}.
157159
*/
158160
@com.google.api.client.util.Key
@@ -445,7 +447,9 @@ public GoogleCloudDiscoveryengineV1alphaFieldConfig setSchemaOrgPaths(java.util.
445447
* Optional. Specifies the importance of the field when `searchable_option` is
446448
* `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored.
447449
* If `searchable_option` is `SEARCHABLE_ENABLED` and this is
448-
* `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`.
450+
* `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more
451+
* information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-
452+
* builder/docs/configure-field-settings#weight-search).
449453
* @return value or {@code null} for none
450454
*/
451455
public java.lang.String getSearchableFieldImportance() {
@@ -456,7 +460,9 @@ public java.lang.String getSearchableFieldImportance() {
456460
* Optional. Specifies the importance of the field when `searchable_option` is
457461
* `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored.
458462
* If `searchable_option` is `SEARCHABLE_ENABLED` and this is
459-
* `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`.
463+
* `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. For more
464+
* information, see [Weight searchable fields](https://cloud.google.com/generative-ai-app-
465+
* builder/docs/configure-field-settings#weight-search).
460466
* @param searchableFieldImportance searchableFieldImportance or {@code null} for none
461467
*/
462468
public GoogleCloudDiscoveryengineV1alphaFieldConfig setSearchableFieldImportance(java.lang.String searchableFieldImportance) {

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

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,13 @@ public final class GoogleCloudDiscoveryengineV1alphaSearchRequest extends com.go
335335
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
336336
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
337337
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
338-
* document. * `base_rank`: the default rank of the result
338+
* document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the
339+
* media actor matches the query * `media_director_match`: whether the media director matches the
340+
* query * `media_genre_match`: whether the media genre matches the query *
341+
* `media_language_match`: whether the media language matches the query * `media_title_match`:
342+
* whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity
343+
* rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media
344+
* results
339345
* The value may be {@code null}.
340346
*/
341347
@com.google.api.client.util.Key
@@ -1145,7 +1151,13 @@ public GoogleCloudDiscoveryengineV1alphaSearchRequest setQueryExpansionSpec(Goog
11451151
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
11461152
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
11471153
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
1148-
* document. * `base_rank`: the default rank of the result
1154+
* document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the
1155+
* media actor matches the query * `media_director_match`: whether the media director matches the
1156+
* query * `media_genre_match`: whether the media genre matches the query *
1157+
* `media_language_match`: whether the media language matches the query * `media_title_match`:
1158+
* whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity
1159+
* rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media
1160+
* results
11491161
* @return value or {@code null} for none
11501162
*/
11511163
public java.lang.String getRankingExpression() {
@@ -1194,7 +1206,13 @@ public java.lang.String getRankingExpression() {
11941206
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
11951207
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
11961208
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
1197-
* document. * `base_rank`: the default rank of the result
1209+
* document. * `base_rank`: the default rank of the result * `media_actor_match`: whether the
1210+
* media actor matches the query * `media_director_match`: whether the media director matches the
1211+
* query * `media_genre_match`: whether the media genre matches the query *
1212+
* `media_language_match`: whether the media language matches the query * `media_title_match`:
1213+
* whether the media title matches the query * `media_prefix_similarity_rank`: prefix similarity
1214+
* rank for media results * `media_semantic_similarity_rank`: semantic similarity rank for media
1215+
* results
11981216
* @param rankingExpression rankingExpression or {@code null} for none
11991217
*/
12001218
public GoogleCloudDiscoveryengineV1alphaSearchRequest setRankingExpression(java.lang.String rankingExpression) {

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
public final class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Obfuscated Dasher customer ID.
33+
* Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP
34+
* organization at data store creation time; any value supplied in the request payload is ignored.
3435
* The value may be {@code null}.
3536
*/
3637
@com.google.api.client.util.Key
@@ -60,15 +61,17 @@ public final class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig extends com.
6061
private java.lang.String type;
6162

6263
/**
63-
* Obfuscated Dasher customer ID.
64+
* Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP
65+
* organization at data store creation time; any value supplied in the request payload is ignored.
6466
* @return value or {@code null} for none
6567
*/
6668
public java.lang.String getDasherCustomerId() {
6769
return dasherCustomerId;
6870
}
6971

7072
/**
71-
* Obfuscated Dasher customer ID.
73+
* Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP
74+
* organization at data store creation time; any value supplied in the request payload is ignored.
7275
* @param dasherCustomerId dasherCustomerId or {@code null} for none
7376
*/
7477
public GoogleCloudDiscoveryengineV1alphaWorkspaceConfig setDasherCustomerId(java.lang.String dasherCustomerId) {

0 commit comments

Comments
 (0)