Skip to content

Commit 0f0be27

Browse files
1 parent b0ce1c2 commit 0f0be27

File tree

34 files changed

+1187
-1108
lines changed

34 files changed

+1187
-1108
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-rev20260310-2.0.0</version>
25+
<version>v1-rev20260317-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-rev20260310-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260317-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: 30 additions & 330 deletions
Large diffs are not rendered by default.

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ public final class GoogleCloudDiscoveryengineV1AnswerReference extends com.googl
3636
@com.google.api.client.util.Key
3737
private GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo chunkInfo;
3838

39-
/**
40-
* Output only. The search queries that produced this reference.
41-
* The value may be {@code null}.
42-
*/
43-
@com.google.api.client.util.Key
44-
private java.util.List<java.lang.String> queries;
45-
4639
/**
4740
* Structured document information.
4841
* The value may be {@code null}.
@@ -74,23 +67,6 @@ public GoogleCloudDiscoveryengineV1AnswerReference setChunkInfo(GoogleCloudDisco
7467
return this;
7568
}
7669

77-
/**
78-
* Output only. The search queries that produced this reference.
79-
* @return value or {@code null} for none
80-
*/
81-
public java.util.List<java.lang.String> getQueries() {
82-
return queries;
83-
}
84-
85-
/**
86-
* Output only. The search queries that produced this reference.
87-
* @param queries queries or {@code null} for none
88-
*/
89-
public GoogleCloudDiscoveryengineV1AnswerReference setQueries(java.util.List<java.lang.String> queries) {
90-
this.queries = queries;
91-
return this;
92-
}
93-
9470
/**
9571
* Structured document information.
9672
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,13 @@ public final class GoogleCloudDiscoveryengineV1DataConnector extends com.google.
146146
@com.google.api.client.util.Key
147147
private java.util.List<GoogleCloudDiscoveryengineV1DestinationConfig> destinationConfigs;
148148

149+
/**
150+
* Output only. The dynamic tools fetched for this connector.
151+
* The value may be {@code null}.
152+
*/
153+
@com.google.api.client.util.Key
154+
private java.util.List<GoogleCloudDiscoveryengineV1DynamicTool> dynamicTools;
155+
149156
/**
150157
* Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN
151158
* derived from the customer provided instance URL and default per connector type FQDNs. Note:
@@ -634,6 +641,23 @@ public GoogleCloudDiscoveryengineV1DataConnector setDestinationConfigs(java.util
634641
return this;
635642
}
636643

644+
/**
645+
* Output only. The dynamic tools fetched for this connector.
646+
* @return value or {@code null} for none
647+
*/
648+
public java.util.List<GoogleCloudDiscoveryengineV1DynamicTool> getDynamicTools() {
649+
return dynamicTools;
650+
}
651+
652+
/**
653+
* Output only. The dynamic tools fetched for this connector.
654+
* @param dynamicTools dynamicTools or {@code null} for none
655+
*/
656+
public GoogleCloudDiscoveryengineV1DataConnector setDynamicTools(java.util.List<GoogleCloudDiscoveryengineV1DynamicTool> dynamicTools) {
657+
this.dynamicTools = dynamicTools;
658+
return this;
659+
}
660+
637661
/**
638662
* Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN
639663
* derived from the customer provided instance URL and default per connector type FQDNs. Note:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
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+
* Configuration for dynamic tools.
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 GoogleCloudDiscoveryengineV1DynamicTool extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The description of the tool.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String description;
38+
39+
/**
40+
* Optional. The display name of the tool.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String displayName;
45+
46+
/**
47+
* Optional. Whether the tool is enabled.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.Boolean enabled;
52+
53+
/**
54+
* Required. The name of the tool.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.String name;
59+
60+
/**
61+
* Optional. The description of the tool.
62+
* @return value or {@code null} for none
63+
*/
64+
public java.lang.String getDescription() {
65+
return description;
66+
}
67+
68+
/**
69+
* Optional. The description of the tool.
70+
* @param description description or {@code null} for none
71+
*/
72+
public GoogleCloudDiscoveryengineV1DynamicTool setDescription(java.lang.String description) {
73+
this.description = description;
74+
return this;
75+
}
76+
77+
/**
78+
* Optional. The display name of the tool.
79+
* @return value or {@code null} for none
80+
*/
81+
public java.lang.String getDisplayName() {
82+
return displayName;
83+
}
84+
85+
/**
86+
* Optional. The display name of the tool.
87+
* @param displayName displayName or {@code null} for none
88+
*/
89+
public GoogleCloudDiscoveryengineV1DynamicTool setDisplayName(java.lang.String displayName) {
90+
this.displayName = displayName;
91+
return this;
92+
}
93+
94+
/**
95+
* Optional. Whether the tool is enabled.
96+
* @return value or {@code null} for none
97+
*/
98+
public java.lang.Boolean getEnabled() {
99+
return enabled;
100+
}
101+
102+
/**
103+
* Optional. Whether the tool is enabled.
104+
* @param enabled enabled or {@code null} for none
105+
*/
106+
public GoogleCloudDiscoveryengineV1DynamicTool setEnabled(java.lang.Boolean enabled) {
107+
this.enabled = enabled;
108+
return this;
109+
}
110+
111+
/**
112+
* Required. The name of the tool.
113+
* @return value or {@code null} for none
114+
*/
115+
public java.lang.String getName() {
116+
return name;
117+
}
118+
119+
/**
120+
* Required. The name of the tool.
121+
* @param name name or {@code null} for none
122+
*/
123+
public GoogleCloudDiscoveryengineV1DynamicTool setName(java.lang.String name) {
124+
this.name = name;
125+
return this;
126+
}
127+
128+
@Override
129+
public GoogleCloudDiscoveryengineV1DynamicTool set(String fieldName, Object value) {
130+
return (GoogleCloudDiscoveryengineV1DynamicTool) super.set(fieldName, value);
131+
}
132+
133+
@Override
134+
public GoogleCloudDiscoveryengineV1DynamicTool clone() {
135+
return (GoogleCloudDiscoveryengineV1DynamicTool) super.clone();
136+
}
137+
138+
}

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,14 @@ public final class GoogleCloudDiscoveryengineV1SearchRequest extends com.google.
145145
@com.google.api.client.util.Key
146146
private GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec naturalLanguageQueryUnderstandingSpec;
147147

148+
/**
149+
* Optional. The maximum number of results to retrieve from each data store. If not specified, it
150+
* will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit.
151+
* The value may be {@code null}.
152+
*/
153+
@com.google.api.client.util.Key
154+
private java.lang.Integer numResultsPerDataStore;
155+
148156
/**
149157
* A 0-indexed integer that specifies the current offset (that is, starting result location,
150158
* amongst the Documents deemed by the API as relevant) in search results. This field is only
@@ -662,6 +670,25 @@ public GoogleCloudDiscoveryengineV1SearchRequest setNaturalLanguageQueryUndersta
662670
return this;
663671
}
664672

673+
/**
674+
* Optional. The maximum number of results to retrieve from each data store. If not specified, it
675+
* will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit.
676+
* @return value or {@code null} for none
677+
*/
678+
public java.lang.Integer getNumResultsPerDataStore() {
679+
return numResultsPerDataStore;
680+
}
681+
682+
/**
683+
* Optional. The maximum number of results to retrieve from each data store. If not specified, it
684+
* will use the SearchRequest.DataStoreSpec.num_results if provided, otherwise there is no limit.
685+
* @param numResultsPerDataStore numResultsPerDataStore or {@code null} for none
686+
*/
687+
public GoogleCloudDiscoveryengineV1SearchRequest setNumResultsPerDataStore(java.lang.Integer numResultsPerDataStore) {
688+
this.numResultsPerDataStore = numResultsPerDataStore;
689+
return this;
690+
}
691+
665692
/**
666693
* A 0-indexed integer that specifies the current offset (that is, starting result location,
667694
* amongst the Documents deemed by the API as relevant) in search results. This field is only

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ public final class GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec extend
6565
@com.google.api.client.util.Key
6666
private java.lang.String filter;
6767

68+
/**
69+
* Optional. The maximum number of results to retrieve from this data store. If not specified, it
70+
* will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit.
71+
* If both this field and SearchRequest.num_results_per_data_store are specified, this field will
72+
* be used.
73+
* The value may be {@code null}.
74+
*/
75+
@com.google.api.client.util.Key
76+
private java.lang.Integer numResults;
77+
6878
/**
6979
* Optional. Boost specification to boost certain documents. For more information on boosting, see
7080
* [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
@@ -147,6 +157,29 @@ public GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec setFilter(java.lan
147157
return this;
148158
}
149159

160+
/**
161+
* Optional. The maximum number of results to retrieve from this data store. If not specified, it
162+
* will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit.
163+
* If both this field and SearchRequest.num_results_per_data_store are specified, this field will
164+
* be used.
165+
* @return value or {@code null} for none
166+
*/
167+
public java.lang.Integer getNumResults() {
168+
return numResults;
169+
}
170+
171+
/**
172+
* Optional. The maximum number of results to retrieve from this data store. If not specified, it
173+
* will use the SearchRequest.num_results_per_data_store if provided, otherwise there is no limit.
174+
* If both this field and SearchRequest.num_results_per_data_store are specified, this field will
175+
* be used.
176+
* @param numResults numResults or {@code null} for none
177+
*/
178+
public GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec setNumResults(java.lang.Integer numResults) {
179+
this.numResults = numResults;
180+
return this;
181+
}
182+
150183
@Override
151184
public GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec set(String fieldName, Object value) {
152185
return (GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec) super.set(fieldName, value);

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public final class GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest extends
4141
* Required. The ID to use for the Collection, which will become the final component of the
4242
* Collection's resource name. A new Collection is created as part of the DataConnector setup.
4343
* DataConnector is a singleton resource under Collection, managing all DataStores of the
44-
* Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard
45-
* with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
44+
* Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a
45+
* length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
4646
* The value may be {@code null}.
4747
*/
4848
@com.google.api.client.util.Key
@@ -78,8 +78,8 @@ public GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest setCollectionDispla
7878
* Required. The ID to use for the Collection, which will become the final component of the
7979
* Collection's resource name. A new Collection is created as part of the DataConnector setup.
8080
* DataConnector is a singleton resource under Collection, managing all DataStores of the
81-
* Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard
82-
* with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
81+
* Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a
82+
* length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
8383
* @return value or {@code null} for none
8484
*/
8585
public java.lang.String getCollectionId() {
@@ -90,8 +90,8 @@ public java.lang.String getCollectionId() {
9090
* Required. The ID to use for the Collection, which will become the final component of the
9191
* Collection's resource name. A new Collection is created as part of the DataConnector setup.
9292
* DataConnector is a singleton resource under Collection, managing all DataStores of the
93-
* Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard
94-
* with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
93+
* Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a
94+
* length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
9595
* @param collectionId collectionId or {@code null} for none
9696
*/
9797
public GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest setCollectionId(java.lang.String collectionId) {

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ public final class GoogleCloudDiscoveryengineV1alphaAnswerReference extends com.
3636
@com.google.api.client.util.Key
3737
private GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo chunkInfo;
3838

39-
/**
40-
* Output only. The search queries that produced this reference.
41-
* The value may be {@code null}.
42-
*/
43-
@com.google.api.client.util.Key
44-
private java.util.List<java.lang.String> queries;
45-
4639
/**
4740
* Structured document information.
4841
* The value may be {@code null}.
@@ -74,23 +67,6 @@ public GoogleCloudDiscoveryengineV1alphaAnswerReference setChunkInfo(GoogleCloud
7467
return this;
7568
}
7669

77-
/**
78-
* Output only. The search queries that produced this reference.
79-
* @return value or {@code null} for none
80-
*/
81-
public java.util.List<java.lang.String> getQueries() {
82-
return queries;
83-
}
84-
85-
/**
86-
* Output only. The search queries that produced this reference.
87-
* @param queries queries or {@code null} for none
88-
*/
89-
public GoogleCloudDiscoveryengineV1alphaAnswerReference setQueries(java.util.List<java.lang.String> queries) {
90-
this.queries = queries;
91-
return this;
92-
}
93-
9470
/**
9571
* Structured document information.
9672
* @return value or {@code null} for none

0 commit comments

Comments
 (0)