Skip to content

Commit 1d1bdc8

Browse files
1 parent 8b83b47 commit 1d1bdc8

File tree

30 files changed

+917
-126
lines changed

30 files changed

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

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11096,21 +11096,21 @@ public List setParent(java.lang.String parent) {
1109611096

1109711097
/**
1109811098
* A filter to apply on the list results. The supported features are: user_pseudo_id,
11099-
* state. Example: "user_pseudo_id = some_id"
11099+
* state, starred. Examples: "user_pseudo_id = some_id" "starred = true"
1110011100
*/
1110111101
@com.google.api.client.util.Key
1110211102
private java.lang.String filter;
1110311103

11104-
/** A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example:
11105-
"user_pseudo_id = some_id"
11104+
/** A filter to apply on the list results. The supported features are: user_pseudo_id, state, starred.
11105+
Examples: "user_pseudo_id = some_id" "starred = true"
1110611106
*/
1110711107
public java.lang.String getFilter() {
1110811108
return filter;
1110911109
}
1111011110

1111111111
/**
1111211112
* A filter to apply on the list results. The supported features are: user_pseudo_id,
11113-
* state. Example: "user_pseudo_id = some_id"
11113+
* state, starred. Examples: "user_pseudo_id = some_id" "starred = true"
1111411114
*/
1111511115
public List setFilter(java.lang.String filter) {
1111611116
this.filter = filter;
@@ -20405,21 +20405,21 @@ public List setParent(java.lang.String parent) {
2040520405

2040620406
/**
2040720407
* A filter to apply on the list results. The supported features are: user_pseudo_id,
20408-
* state. Example: "user_pseudo_id = some_id"
20408+
* state, starred. Examples: "user_pseudo_id = some_id" "starred = true"
2040920409
*/
2041020410
@com.google.api.client.util.Key
2041120411
private java.lang.String filter;
2041220412

20413-
/** A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example:
20414-
"user_pseudo_id = some_id"
20413+
/** A filter to apply on the list results. The supported features are: user_pseudo_id, state, starred.
20414+
Examples: "user_pseudo_id = some_id" "starred = true"
2041520415
*/
2041620416
public java.lang.String getFilter() {
2041720417
return filter;
2041820418
}
2041920419

2042020420
/**
2042120421
* A filter to apply on the list results. The supported features are: user_pseudo_id,
20422-
* state. Example: "user_pseudo_id = some_id"
20422+
* state, starred. Examples: "user_pseudo_id = some_id" "starred = true"
2042320423
*/
2042420424
public List setFilter(java.lang.String filter) {
2042520425
this.filter = filter;
@@ -29939,21 +29939,21 @@ public List setParent(java.lang.String parent) {
2993929939

2994029940
/**
2994129941
* A filter to apply on the list results. The supported features are: user_pseudo_id,
29942-
* state. Example: "user_pseudo_id = some_id"
29942+
* state, starred. Examples: "user_pseudo_id = some_id" "starred = true"
2994329943
*/
2994429944
@com.google.api.client.util.Key
2994529945
private java.lang.String filter;
2994629946

29947-
/** A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example:
29948-
"user_pseudo_id = some_id"
29947+
/** A filter to apply on the list results. The supported features are: user_pseudo_id, state, starred.
29948+
Examples: "user_pseudo_id = some_id" "starred = true"
2994929949
*/
2995029950
public java.lang.String getFilter() {
2995129951
return filter;
2995229952
}
2995329953

2995429954
/**
2995529955
* A filter to apply on the list results. The supported features are: user_pseudo_id,
29956-
* state. Example: "user_pseudo_id = some_id"
29956+
* state, starred. Examples: "user_pseudo_id = some_id" "starred = true"
2995729957
*/
2995829958
public List setFilter(java.lang.String filter) {
2995929959
this.filter = filter;

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncCon
3636
@com.google.api.client.util.Key
3737
private java.lang.String realtimeSyncSecret;
3838

39+
/**
40+
* Optional. Streaming error details.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError streamingError;
45+
3946
/**
4047
* Optional. Webhook url for the connector to specify additional params for realtime sync.
4148
* The value may be {@code null}.
@@ -60,6 +67,23 @@ public GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig setRealt
6067
return this;
6168
}
6269

70+
/**
71+
* Optional. Streaming error details.
72+
* @return value or {@code null} for none
73+
*/
74+
public GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError getStreamingError() {
75+
return streamingError;
76+
}
77+
78+
/**
79+
* Optional. Streaming error details.
80+
* @param streamingError streamingError or {@code null} for none
81+
*/
82+
public GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig setStreamingError(GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError streamingError) {
83+
this.streamingError = streamingError;
84+
return this;
85+
}
86+
6387
/**
6488
* Optional. Webhook url for the connector to specify additional params for realtime sync.
6589
* @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+
* Streaming error details.
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 GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Error details.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleRpcStatus error;
38+
39+
/**
40+
* Optional. Streaming error.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String streamingErrorReason;
45+
46+
/**
47+
* Optional. Error details.
48+
* @return value or {@code null} for none
49+
*/
50+
public GoogleRpcStatus getError() {
51+
return error;
52+
}
53+
54+
/**
55+
* Optional. Error details.
56+
* @param error error or {@code null} for none
57+
*/
58+
public GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError setError(GoogleRpcStatus error) {
59+
this.error = error;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. Streaming error.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getStreamingErrorReason() {
68+
return streamingErrorReason;
69+
}
70+
71+
/**
72+
* Optional. Streaming error.
73+
* @param streamingErrorReason streamingErrorReason or {@code null} for none
74+
*/
75+
public GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError setStreamingErrorReason(java.lang.String streamingErrorReason) {
76+
this.streamingErrorReason = streamingErrorReason;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError set(String fieldName, Object value) {
82+
return (GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError clone() {
87+
return (GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError) super.clone();
88+
}
89+
90+
}

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

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

3232
/**
33-
* A filter to apply on the list results. The supported features are: user_pseudo_id, state.
34-
* Example: "user_pseudo_id = some_id"
33+
* A filter to apply on the list results. The supported features are: user_pseudo_id, state,
34+
* starred. Examples: "user_pseudo_id = some_id" "starred = true"
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
@@ -71,17 +71,17 @@ public final class GoogleCloudDiscoveryengineV1alphaListSessionsRequest extends
7171
private java.lang.String parent;
7272

7373
/**
74-
* A filter to apply on the list results. The supported features are: user_pseudo_id, state.
75-
* Example: "user_pseudo_id = some_id"
74+
* A filter to apply on the list results. The supported features are: user_pseudo_id, state,
75+
* starred. Examples: "user_pseudo_id = some_id" "starred = true"
7676
* @return value or {@code null} for none
7777
*/
7878
public java.lang.String getFilter() {
7979
return filter;
8080
}
8181

8282
/**
83-
* A filter to apply on the list results. The supported features are: user_pseudo_id, state.
84-
* Example: "user_pseudo_id = some_id"
83+
* A filter to apply on the list results. The supported features are: user_pseudo_id, state,
84+
* starred. Examples: "user_pseudo_id = some_id" "starred = true"
8585
* @param filter filter or {@code null} for none
8686
*/
8787
public GoogleCloudDiscoveryengineV1alphaListSessionsRequest setFilter(java.lang.String filter) {

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

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,10 @@ public final class GoogleCloudDiscoveryengineV1alphaSearchRequest extends com.go
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
279279
* 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
280+
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
281+
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
282+
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
283+
* document. * `base_rank`: the default rank of the result
283284
* The value may be {@code null}.
284285
*/
285286
@com.google.api.client.util.Key
@@ -946,9 +947,10 @@ public GoogleCloudDiscoveryengineV1alphaSearchRequest setQueryExpansionSpec(Goog
946947
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
947948
* suggests that the result is more likely to satisfy the user's query and intent, making it a
948949
* 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
950+
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
951+
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
952+
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
953+
* document. * `base_rank`: the default rank of the result
952954
* @return value or {@code null} for none
953955
*/
954956
public java.lang.String getRankingExpression() {
@@ -994,9 +996,10 @@ public java.lang.String getRankingExpression() {
994996
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
995997
* suggests that the result is more likely to satisfy the user's query and intent, making it a
996998
* 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
999+
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
1000+
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
1001+
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
1002+
* document. * `base_rank`: the default rank of the result
10001003
* @param rankingExpression rankingExpression or {@code null} for none
10011004
*/
10021005
public GoogleCloudDiscoveryengineV1alphaSearchRequest setRankingExpression(java.lang.String rankingExpression) {

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

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,10 @@ public final class GoogleCloudDiscoveryengineV1betaSearchRequest extends com.goo
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
271271
* 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
272+
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
273+
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
274+
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
275+
* document. * `base_rank`: the default rank of the result
275276
* The value may be {@code null}.
276277
*/
277278
@com.google.api.client.util.Key
@@ -910,9 +911,10 @@ public GoogleCloudDiscoveryengineV1betaSearchRequest setQueryExpansionSpec(Googl
910911
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
911912
* suggests that the result is more likely to satisfy the user's query and intent, making it a
912913
* 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
914+
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
915+
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
916+
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
917+
* document. * `base_rank`: the default rank of the result
916918
* @return value or {@code null} for none
917919
*/
918920
public java.lang.String getRankingExpression() {
@@ -958,9 +960,10 @@ public java.lang.String getRankingExpression() {
958960
* relevance and attractiveness of a search result from a user's perspective. A higher pCTR
959961
* suggests that the result is more likely to satisfy the user's query and intent, making it a
960962
* 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
963+
* `document_age`: The time in hours elapsed since the document was last updated, a floating-point
964+
* number (e.g., 0.25 means 15 minutes). * `topicality_rank`: topicality adjustment as a rank.
965+
* Uses proprietary Google model to determine the keyword-based overlap between the query and the
966+
* document. * `base_rank`: the default rank of the result
964967
* @param rankingExpression rankingExpression or {@code null} for none
965968
*/
966969
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-rev20250701-2.0.0</version>
12-
<name>Discovery Engine API v1-rev20250701-2.0.0</name>
11+
<version>v1-rev20250706-2.0.0</version>
12+
<name>Discovery Engine API v1-rev20250706-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-rev20250701-2.0.0</version>
25+
<version>v1-rev20250706-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-rev20250701-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20250706-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-rev20250701-2.0.0</version>
25+
<version>v1alpha-rev20250706-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-rev20250701-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1alpha-rev20250706-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)