Skip to content

Commit e2c7549

Browse files
1 parent 18339b6 commit e2c7549

28 files changed

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
@SuppressWarnings("javadoc")
3030
public final class GoogleCloudDiscoveryengineV1Principal extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* For 3P application identities which are not present in the customer identity provider.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String externalEntityId;
38+
3239
/**
3340
* Group identifier. For Google Workspace user account, group_id should be the google workspace
3441
* group email. For non-google identity provider user account, group_id is the mapped group
@@ -47,6 +54,23 @@ public final class GoogleCloudDiscoveryengineV1Principal extends com.google.api.
4754
@com.google.api.client.util.Key
4855
private java.lang.String userId;
4956

57+
/**
58+
* For 3P application identities which are not present in the customer identity provider.
59+
* @return value or {@code null} for none
60+
*/
61+
public java.lang.String getExternalEntityId() {
62+
return externalEntityId;
63+
}
64+
65+
/**
66+
* For 3P application identities which are not present in the customer identity provider.
67+
* @param externalEntityId externalEntityId or {@code null} for none
68+
*/
69+
public GoogleCloudDiscoveryengineV1Principal setExternalEntityId(java.lang.String externalEntityId) {
70+
this.externalEntityId = externalEntityId;
71+
return this;
72+
}
73+
5074
/**
5175
* Group identifier. For Google Workspace user account, group_id should be the google workspace
5276
* group email. For non-google identity provider user account, group_id is the mapped group

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

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

3232
/**
33-
* Unique Id for the query.
33+
* Output only. Unique Id for the query.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
@@ -44,15 +44,15 @@ public final class GoogleCloudDiscoveryengineV1Query extends com.google.api.clie
4444
private java.lang.String text;
4545

4646
/**
47-
* Unique Id for the query.
47+
* Output only. Unique Id for the query.
4848
* @return value or {@code null} for none
4949
*/
5050
public java.lang.String getQueryId() {
5151
return queryId;
5252
}
5353

5454
/**
55-
* Unique Id for the query.
55+
* Output only. Unique Id for the query.
5656
* @param queryId queryId or {@code null} for none
5757
*/
5858
public GoogleCloudDiscoveryengineV1Query setQueryId(java.lang.String queryId) {

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

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

3232
/**
33-
* The resource name of the answer to the user query. Only set if the answer generation (/answer
34-
* API call) happened in this turn.
33+
* Optional. The resource name of the answer to the user query. Only set if the answer generation
34+
* (/answer API call) happened in this turn.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
@@ -47,38 +47,25 @@ public final class GoogleCloudDiscoveryengineV1SessionTurn extends com.google.ap
4747
private GoogleCloudDiscoveryengineV1Answer detailedAnswer;
4848

4949
/**
50-
* The user query.
50+
* Optional. The user query. May not be set if this turn is merely regenerating an answer to a
51+
* different turn
5152
* The value may be {@code null}.
5253
*/
5354
@com.google.api.client.util.Key
5455
private GoogleCloudDiscoveryengineV1Query query;
5556

5657
/**
57-
* Optional. Represents metadata related to the query config, for example LLM model and version
58-
* used, model parameters (temperature, grounding parameters, etc.). We don't want to import
59-
* directly the [AnswerGenerationSpec] structure as this will serve a more general purpose and a
60-
* wider set of customers. This information is used in particular when rendering alternative
61-
* answers to the same prompt, providing visual information about how each answer was generated.
62-
* The prefix "google." will be reserved for the key, and 1P services (Answer, Assistant, etc.)
63-
* should always store their information with "google..". 3P services can use anything not
64-
* starting with "google."
65-
* The value may be {@code null}.
66-
*/
67-
@com.google.api.client.util.Key
68-
private java.util.Map<String, java.lang.String> queryConfigs;
69-
70-
/**
71-
* The resource name of the answer to the user query. Only set if the answer generation (/answer
72-
* API call) happened in this turn.
58+
* Optional. The resource name of the answer to the user query. Only set if the answer generation
59+
* (/answer API call) happened in this turn.
7360
* @return value or {@code null} for none
7461
*/
7562
public java.lang.String getAnswer() {
7663
return answer;
7764
}
7865

7966
/**
80-
* The resource name of the answer to the user query. Only set if the answer generation (/answer
81-
* API call) happened in this turn.
67+
* Optional. The resource name of the answer to the user query. Only set if the answer generation
68+
* (/answer API call) happened in this turn.
8269
* @param answer answer or {@code null} for none
8370
*/
8471
public GoogleCloudDiscoveryengineV1SessionTurn setAnswer(java.lang.String answer) {
@@ -108,53 +95,24 @@ public GoogleCloudDiscoveryengineV1SessionTurn setDetailedAnswer(GoogleCloudDisc
10895
}
10996

11097
/**
111-
* The user query.
98+
* Optional. The user query. May not be set if this turn is merely regenerating an answer to a
99+
* different turn
112100
* @return value or {@code null} for none
113101
*/
114102
public GoogleCloudDiscoveryengineV1Query getQuery() {
115103
return query;
116104
}
117105

118106
/**
119-
* The user query.
107+
* Optional. The user query. May not be set if this turn is merely regenerating an answer to a
108+
* different turn
120109
* @param query query or {@code null} for none
121110
*/
122111
public GoogleCloudDiscoveryengineV1SessionTurn setQuery(GoogleCloudDiscoveryengineV1Query query) {
123112
this.query = query;
124113
return this;
125114
}
126115

127-
/**
128-
* Optional. Represents metadata related to the query config, for example LLM model and version
129-
* used, model parameters (temperature, grounding parameters, etc.). We don't want to import
130-
* directly the [AnswerGenerationSpec] structure as this will serve a more general purpose and a
131-
* wider set of customers. This information is used in particular when rendering alternative
132-
* answers to the same prompt, providing visual information about how each answer was generated.
133-
* The prefix "google." will be reserved for the key, and 1P services (Answer, Assistant, etc.)
134-
* should always store their information with "google..". 3P services can use anything not
135-
* starting with "google."
136-
* @return value or {@code null} for none
137-
*/
138-
public java.util.Map<String, java.lang.String> getQueryConfigs() {
139-
return queryConfigs;
140-
}
141-
142-
/**
143-
* Optional. Represents metadata related to the query config, for example LLM model and version
144-
* used, model parameters (temperature, grounding parameters, etc.). We don't want to import
145-
* directly the [AnswerGenerationSpec] structure as this will serve a more general purpose and a
146-
* wider set of customers. This information is used in particular when rendering alternative
147-
* answers to the same prompt, providing visual information about how each answer was generated.
148-
* The prefix "google." will be reserved for the key, and 1P services (Answer, Assistant, etc.)
149-
* should always store their information with "google..". 3P services can use anything not
150-
* starting with "google."
151-
* @param queryConfigs queryConfigs or {@code null} for none
152-
*/
153-
public GoogleCloudDiscoveryengineV1SessionTurn setQueryConfigs(java.util.Map<String, java.lang.String> queryConfigs) {
154-
this.queryConfigs = queryConfigs;
155-
return this;
156-
}
157-
158116
@Override
159117
public GoogleCloudDiscoveryengineV1SessionTurn set(String fieldName, Object value) {
160118
return (GoogleCloudDiscoveryengineV1SessionTurn) super.set(fieldName, value);

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

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

3232
/**
33-
* Unique Id for the query.
33+
* Output only. Unique Id for the query.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
@@ -44,15 +44,15 @@ public final class GoogleCloudDiscoveryengineV1alphaQuery extends com.google.api
4444
private java.lang.String text;
4545

4646
/**
47-
* Unique Id for the query.
47+
* Output only. Unique Id for the query.
4848
* @return value or {@code null} for none
4949
*/
5050
public java.lang.String getQueryId() {
5151
return queryId;
5252
}
5353

5454
/**
55-
* Unique Id for the query.
55+
* Output only. Unique Id for the query.
5656
* @param queryId queryId or {@code null} for none
5757
*/
5858
public GoogleCloudDiscoveryengineV1alphaQuery setQueryId(java.lang.String queryId) {

0 commit comments

Comments
 (0)