Skip to content

Commit ec2bd70

Browse files
chore: regenerate discoveryengine client
1 parent 230ff3a commit ec2bd70

File tree

43 files changed

+2284
-27
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

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

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ public class DiscoveryEngineScopes {
2929
/** Search your organization's data in the Cloud Search index. */
3030
public static final String CLOUD_SEARCH_QUERY = "https://www.googleapis.com/auth/cloud_search.query";
3131

32+
/** View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf.. */
33+
public static final String DISCOVERYENGINE_ASSIST_READWRITE = "https://www.googleapis.com/auth/discoveryengine.assist.readwrite";
34+
35+
/** View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data.. */
36+
public static final String DISCOVERYENGINE_READWRITE = "https://www.googleapis.com/auth/discoveryengine.readwrite";
37+
3238
/**
3339
* Returns an unmodifiable set that contains all scopes declared by this class.
3440
*
@@ -38,6 +44,8 @@ public static java.util.Set<String> all() {
3844
java.util.Set<String> set = new java.util.HashSet<String>();
3945
set.add(CLOUD_PLATFORM);
4046
set.add(CLOUD_SEARCH_QUERY);
47+
set.add(DISCOVERYENGINE_ASSIST_READWRITE);
48+
set.add(DISCOVERYENGINE_READWRITE);
4149
return java.util.Collections.unmodifiableSet(set);
4250
}
4351

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
@SuppressWarnings("javadoc")
3131
public final class GoogleCloudDiscoveryengineV1AssistantGroundedContent extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Source attribution of the generated content. See also https://cloud.google.com/vertex-
35+
* ai/generative-ai/docs/learn/overview#citation_check
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private GoogleCloudDiscoveryengineV1CitationMetadata citationMetadata;
40+
3341
/**
3442
* The content.
3543
* The value may be {@code null}.
@@ -44,6 +52,25 @@ public final class GoogleCloudDiscoveryengineV1AssistantGroundedContent extends
4452
@com.google.api.client.util.Key
4553
private GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata textGroundingMetadata;
4654

55+
/**
56+
* Source attribution of the generated content. See also https://cloud.google.com/vertex-
57+
* ai/generative-ai/docs/learn/overview#citation_check
58+
* @return value or {@code null} for none
59+
*/
60+
public GoogleCloudDiscoveryengineV1CitationMetadata getCitationMetadata() {
61+
return citationMetadata;
62+
}
63+
64+
/**
65+
* Source attribution of the generated content. See also https://cloud.google.com/vertex-
66+
* ai/generative-ai/docs/learn/overview#citation_check
67+
* @param citationMetadata citationMetadata or {@code null} for none
68+
*/
69+
public GoogleCloudDiscoveryengineV1AssistantGroundedContent setCitationMetadata(GoogleCloudDiscoveryengineV1CitationMetadata citationMetadata) {
70+
this.citationMetadata = citationMetadata;
71+
return this;
72+
}
73+
4774
/**
4875
* The content.
4976
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
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+
* Source attributions for content.
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 GoogleCloudDiscoveryengineV1Citation extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. End index into the content.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Integer endIndex;
38+
39+
/**
40+
* Output only. License of the attribution.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String license;
45+
46+
/**
47+
* Output only. Publication date of the attribution.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private GoogleTypeDate publicationDate;
52+
53+
/**
54+
* Output only. Start index into the content.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.lang.Integer startIndex;
59+
60+
/**
61+
* Output only. Title of the attribution.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.String title;
66+
67+
/**
68+
* Output only. Url reference of the attribution.
69+
* The value may be {@code null}.
70+
*/
71+
@com.google.api.client.util.Key
72+
private java.lang.String uri;
73+
74+
/**
75+
* Output only. End index into the content.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.Integer getEndIndex() {
79+
return endIndex;
80+
}
81+
82+
/**
83+
* Output only. End index into the content.
84+
* @param endIndex endIndex or {@code null} for none
85+
*/
86+
public GoogleCloudDiscoveryengineV1Citation setEndIndex(java.lang.Integer endIndex) {
87+
this.endIndex = endIndex;
88+
return this;
89+
}
90+
91+
/**
92+
* Output only. License of the attribution.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.lang.String getLicense() {
96+
return license;
97+
}
98+
99+
/**
100+
* Output only. License of the attribution.
101+
* @param license license or {@code null} for none
102+
*/
103+
public GoogleCloudDiscoveryengineV1Citation setLicense(java.lang.String license) {
104+
this.license = license;
105+
return this;
106+
}
107+
108+
/**
109+
* Output only. Publication date of the attribution.
110+
* @return value or {@code null} for none
111+
*/
112+
public GoogleTypeDate getPublicationDate() {
113+
return publicationDate;
114+
}
115+
116+
/**
117+
* Output only. Publication date of the attribution.
118+
* @param publicationDate publicationDate or {@code null} for none
119+
*/
120+
public GoogleCloudDiscoveryengineV1Citation setPublicationDate(GoogleTypeDate publicationDate) {
121+
this.publicationDate = publicationDate;
122+
return this;
123+
}
124+
125+
/**
126+
* Output only. Start index into the content.
127+
* @return value or {@code null} for none
128+
*/
129+
public java.lang.Integer getStartIndex() {
130+
return startIndex;
131+
}
132+
133+
/**
134+
* Output only. Start index into the content.
135+
* @param startIndex startIndex or {@code null} for none
136+
*/
137+
public GoogleCloudDiscoveryengineV1Citation setStartIndex(java.lang.Integer startIndex) {
138+
this.startIndex = startIndex;
139+
return this;
140+
}
141+
142+
/**
143+
* Output only. Title of the attribution.
144+
* @return value or {@code null} for none
145+
*/
146+
public java.lang.String getTitle() {
147+
return title;
148+
}
149+
150+
/**
151+
* Output only. Title of the attribution.
152+
* @param title title or {@code null} for none
153+
*/
154+
public GoogleCloudDiscoveryengineV1Citation setTitle(java.lang.String title) {
155+
this.title = title;
156+
return this;
157+
}
158+
159+
/**
160+
* Output only. Url reference of the attribution.
161+
* @return value or {@code null} for none
162+
*/
163+
public java.lang.String getUri() {
164+
return uri;
165+
}
166+
167+
/**
168+
* Output only. Url reference of the attribution.
169+
* @param uri uri or {@code null} for none
170+
*/
171+
public GoogleCloudDiscoveryengineV1Citation setUri(java.lang.String uri) {
172+
this.uri = uri;
173+
return this;
174+
}
175+
176+
@Override
177+
public GoogleCloudDiscoveryengineV1Citation set(String fieldName, Object value) {
178+
return (GoogleCloudDiscoveryengineV1Citation) super.set(fieldName, value);
179+
}
180+
181+
@Override
182+
public GoogleCloudDiscoveryengineV1Citation clone() {
183+
return (GoogleCloudDiscoveryengineV1Citation) super.clone();
184+
}
185+
186+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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+
* A collection of source attributions for a piece of content.
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 GoogleCloudDiscoveryengineV1CitationMetadata extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. List of citations.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GoogleCloudDiscoveryengineV1Citation> citations;
38+
39+
static {
40+
// hack to force ProGuard to consider GoogleCloudDiscoveryengineV1Citation used, since otherwise it would be stripped out
41+
// see https://github.com/google/google-api-java-client/issues/543
42+
com.google.api.client.util.Data.nullOf(GoogleCloudDiscoveryengineV1Citation.class);
43+
}
44+
45+
/**
46+
* Output only. List of citations.
47+
* @return value or {@code null} for none
48+
*/
49+
public java.util.List<GoogleCloudDiscoveryengineV1Citation> getCitations() {
50+
return citations;
51+
}
52+
53+
/**
54+
* Output only. List of citations.
55+
* @param citations citations or {@code null} for none
56+
*/
57+
public GoogleCloudDiscoveryengineV1CitationMetadata setCitations(java.util.List<GoogleCloudDiscoveryengineV1Citation> citations) {
58+
this.citations = citations;
59+
return this;
60+
}
61+
62+
@Override
63+
public GoogleCloudDiscoveryengineV1CitationMetadata set(String fieldName, Object value) {
64+
return (GoogleCloudDiscoveryengineV1CitationMetadata) super.set(fieldName, value);
65+
}
66+
67+
@Override
68+
public GoogleCloudDiscoveryengineV1CitationMetadata clone() {
69+
return (GoogleCloudDiscoveryengineV1CitationMetadata) super.clone();
70+
}
71+
72+
}

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

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

60+
/**
61+
* Output only. Whether the license config is for Gemini bundle.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.Boolean geminiBundle;
66+
6067
/**
6168
* Required. Number of licenses purchased.
6269
* The value may be {@code null}.
@@ -168,6 +175,23 @@ public GoogleCloudDiscoveryengineV1LicenseConfig setFreeTrial(java.lang.Boolean
168175
return this;
169176
}
170177

178+
/**
179+
* Output only. Whether the license config is for Gemini bundle.
180+
* @return value or {@code null} for none
181+
*/
182+
public java.lang.Boolean getGeminiBundle() {
183+
return geminiBundle;
184+
}
185+
186+
/**
187+
* Output only. Whether the license config is for Gemini bundle.
188+
* @param geminiBundle geminiBundle or {@code null} for none
189+
*/
190+
public GoogleCloudDiscoveryengineV1LicenseConfig setGeminiBundle(java.lang.Boolean geminiBundle) {
191+
this.geminiBundle = geminiBundle;
192+
return this;
193+
}
194+
171195
/**
172196
* Required. Number of licenses purchased.
173197
* @return value or {@code null} for none

0 commit comments

Comments
 (0)