Skip to content

Commit a72a043

Browse files
1 parent ef2df60 commit a72a043

114 files changed

Lines changed: 6382 additions & 288 deletions

File tree

Some content is hidden

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

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-rev20260322-2.0.0</version>
25+
<version>v1-rev20260406-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-rev20260322-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20260406-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: 805 additions & 60 deletions
Large diffs are not rendered by default.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ public class DiscoveryEngineScopes {
3535
/** 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.. */
3636
public static final String DISCOVERYENGINE_READWRITE = "https://www.googleapis.com/auth/discoveryengine.readwrite";
3737

38+
/** Interact with Discovery Engine API products, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, on your behalf. It will also allow the app to view all data that you have access to when you use or interact with a Discovery Engine API product.. */
39+
public static final String DISCOVERYENGINE_SERVING_READWRITE = "https://www.googleapis.com/auth/discoveryengine.serving.readwrite";
40+
3841
/**
3942
* Returns an unmodifiable set that contains all scopes declared by this class.
4043
*
@@ -46,6 +49,7 @@ public static java.util.Set<String> all() {
4649
set.add(CLOUD_SEARCH_QUERY);
4750
set.add(DISCOVERYENGINE_ASSIST_READWRITE);
4851
set.add(DISCOVERYENGINE_READWRITE);
52+
set.add(DISCOVERYENGINE_SERVING_READWRITE);
4953
return java.util.Collections.unmodifiableSet(set);
5054
}
5155

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class GoogleCloudDiscoveryengineV1ActionConfig extends com.google.a
3636
@com.google.api.client.util.Key
3737
private java.util.Map<String, java.lang.Object> actionParams;
3838

39+
/**
40+
* Optional. Whether to create a BAP connection for the connector.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.Boolean createBapConnection;
45+
3946
/**
4047
* Output only. The connector contains the necessary parameters and is configured to support
4148
* actions.
@@ -93,6 +100,23 @@ public GoogleCloudDiscoveryengineV1ActionConfig setActionParams(java.util.Map<St
93100
return this;
94101
}
95102

103+
/**
104+
* Optional. Whether to create a BAP connection for the connector.
105+
* @return value or {@code null} for none
106+
*/
107+
public java.lang.Boolean getCreateBapConnection() {
108+
return createBapConnection;
109+
}
110+
111+
/**
112+
* Optional. Whether to create a BAP connection for the connector.
113+
* @param createBapConnection createBapConnection or {@code null} for none
114+
*/
115+
public GoogleCloudDiscoveryengineV1ActionConfig setCreateBapConnection(java.lang.Boolean createBapConnection) {
116+
this.createBapConnection = createBapConnection;
117+
return this;
118+
}
119+
96120
/**
97121
* Output only. The connector contains the necessary parameters and is configured to support
98122
* actions.

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

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

32+
/**
33+
* The time when the reply was created.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private String createTime;
38+
3239
/**
3340
* Possibly grounded response text or media from the assistant.
3441
* The value may be {@code null}.
3542
*/
3643
@com.google.api.client.util.Key
3744
private GoogleCloudDiscoveryengineV1AssistantGroundedContent groundedContent;
3845

46+
/**
47+
* The time when the reply was created.
48+
* @return value or {@code null} for none
49+
*/
50+
public String getCreateTime() {
51+
return createTime;
52+
}
53+
54+
/**
55+
* The time when the reply was created.
56+
* @param createTime createTime or {@code null} for none
57+
*/
58+
public GoogleCloudDiscoveryengineV1AssistAnswerReply setCreateTime(String createTime) {
59+
this.createTime = createTime;
60+
return this;
61+
}
62+
3963
/**
4064
* Possibly grounded response text or media from the assistant.
4165
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
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+
* Request message for LicenseConfigService.DistributeLicenseConfig method.
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 GoogleCloudDiscoveryengineV1DistributeLicenseConfigRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Distribute seats to this license config instead of creating a new one. If not
34+
* specified, a new license config will be created from the billing account license config.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String licenseConfigId;
39+
40+
/**
41+
* Required. The number of licenses to distribute.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
45+
private java.lang.Long licenseCount;
46+
47+
/**
48+
* Required. The target GCP project region to distribute the license config to.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String location;
53+
54+
/**
55+
* Required. The target GCP project number to distribute the license config to.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
59+
private java.lang.Long projectNumber;
60+
61+
/**
62+
* Optional. Distribute seats to this license config instead of creating a new one. If not
63+
* specified, a new license config will be created from the billing account license config.
64+
* @return value or {@code null} for none
65+
*/
66+
public java.lang.String getLicenseConfigId() {
67+
return licenseConfigId;
68+
}
69+
70+
/**
71+
* Optional. Distribute seats to this license config instead of creating a new one. If not
72+
* specified, a new license config will be created from the billing account license config.
73+
* @param licenseConfigId licenseConfigId or {@code null} for none
74+
*/
75+
public GoogleCloudDiscoveryengineV1DistributeLicenseConfigRequest setLicenseConfigId(java.lang.String licenseConfigId) {
76+
this.licenseConfigId = licenseConfigId;
77+
return this;
78+
}
79+
80+
/**
81+
* Required. The number of licenses to distribute.
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.Long getLicenseCount() {
85+
return licenseCount;
86+
}
87+
88+
/**
89+
* Required. The number of licenses to distribute.
90+
* @param licenseCount licenseCount or {@code null} for none
91+
*/
92+
public GoogleCloudDiscoveryengineV1DistributeLicenseConfigRequest setLicenseCount(java.lang.Long licenseCount) {
93+
this.licenseCount = licenseCount;
94+
return this;
95+
}
96+
97+
/**
98+
* Required. The target GCP project region to distribute the license config to.
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.String getLocation() {
102+
return location;
103+
}
104+
105+
/**
106+
* Required. The target GCP project region to distribute the license config to.
107+
* @param location location or {@code null} for none
108+
*/
109+
public GoogleCloudDiscoveryengineV1DistributeLicenseConfigRequest setLocation(java.lang.String location) {
110+
this.location = location;
111+
return this;
112+
}
113+
114+
/**
115+
* Required. The target GCP project number to distribute the license config to.
116+
* @return value or {@code null} for none
117+
*/
118+
public java.lang.Long getProjectNumber() {
119+
return projectNumber;
120+
}
121+
122+
/**
123+
* Required. The target GCP project number to distribute the license config to.
124+
* @param projectNumber projectNumber or {@code null} for none
125+
*/
126+
public GoogleCloudDiscoveryengineV1DistributeLicenseConfigRequest setProjectNumber(java.lang.Long projectNumber) {
127+
this.projectNumber = projectNumber;
128+
return this;
129+
}
130+
131+
@Override
132+
public GoogleCloudDiscoveryengineV1DistributeLicenseConfigRequest set(String fieldName, Object value) {
133+
return (GoogleCloudDiscoveryengineV1DistributeLicenseConfigRequest) super.set(fieldName, value);
134+
}
135+
136+
@Override
137+
public GoogleCloudDiscoveryengineV1DistributeLicenseConfigRequest clone() {
138+
return (GoogleCloudDiscoveryengineV1DistributeLicenseConfigRequest) super.clone();
139+
}
140+
141+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* Response message for LicenseConfigService.DistributeLicenseConfig method.
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 GoogleCloudDiscoveryengineV1DistributeLicenseConfigResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The updated or created LicenseConfig.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudDiscoveryengineV1LicenseConfig licenseConfig;
38+
39+
/**
40+
* The updated or created LicenseConfig.
41+
* @return value or {@code null} for none
42+
*/
43+
public GoogleCloudDiscoveryengineV1LicenseConfig getLicenseConfig() {
44+
return licenseConfig;
45+
}
46+
47+
/**
48+
* The updated or created LicenseConfig.
49+
* @param licenseConfig licenseConfig or {@code null} for none
50+
*/
51+
public GoogleCloudDiscoveryengineV1DistributeLicenseConfigResponse setLicenseConfig(GoogleCloudDiscoveryengineV1LicenseConfig licenseConfig) {
52+
this.licenseConfig = licenseConfig;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudDiscoveryengineV1DistributeLicenseConfigResponse set(String fieldName, Object value) {
58+
return (GoogleCloudDiscoveryengineV1DistributeLicenseConfigResponse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudDiscoveryengineV1DistributeLicenseConfigResponse clone() {
63+
return (GoogleCloudDiscoveryengineV1DistributeLicenseConfigResponse) super.clone();
64+
}
65+
66+
}

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ public final class GoogleCloudDiscoveryengineV1Engine extends com.google.api.cli
129129
* `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-
130130
* sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-
131131
* sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload`
132-
* * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`
132+
* * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` *
133+
* `disable-canvas` * `disable-canvas-workspace`
133134
* The value may be {@code null}.
134135
*/
135136
@com.google.api.client.util.Key
@@ -454,7 +455,8 @@ public GoogleCloudDiscoveryengineV1Engine setDisplayName(java.lang.String displa
454455
* `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-
455456
* sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-
456457
* sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload`
457-
* * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`
458+
* * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` *
459+
* `disable-canvas` * `disable-canvas-workspace`
458460
* @return value or {@code null} for none
459461
*/
460462
public java.util.Map<String, java.lang.String> getFeatures() {
@@ -468,7 +470,8 @@ public java.util.Map<String, java.lang.String> getFeatures() {
468470
* `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-
469471
* sharing` * `personalization-memory` * `personalization-suggested-highlights` * `disable-agent-
470472
* sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload`
471-
* * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails`
473+
* * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` *
474+
* `disable-canvas` * `disable-canvas-workspace`
472475
* @param features features or {@code null} for none
473476
*/
474477
public GoogleCloudDiscoveryengineV1Engine setFeatures(java.util.Map<String, java.lang.String> features) {

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
@@ -87,6 +87,13 @@ public final class GoogleCloudDiscoveryengineV1LicenseConfig extends com.google.
8787
@com.google.api.client.util.Key
8888
private java.lang.String name;
8989

90+
/**
91+
* Optional. Scheduled update configuration.
92+
* The value may be {@code null}.
93+
*/
94+
@com.google.api.client.util.Key
95+
private GoogleCloudDiscoveryengineV1LicenseConfigScheduledUpdate scheduledUpdate;
96+
9097
/**
9198
* Required. The start date.
9299
* The value may be {@code null}.
@@ -255,6 +262,23 @@ public GoogleCloudDiscoveryengineV1LicenseConfig setName(java.lang.String name)
255262
return this;
256263
}
257264

265+
/**
266+
* Optional. Scheduled update configuration.
267+
* @return value or {@code null} for none
268+
*/
269+
public GoogleCloudDiscoveryengineV1LicenseConfigScheduledUpdate getScheduledUpdate() {
270+
return scheduledUpdate;
271+
}
272+
273+
/**
274+
* Optional. Scheduled update configuration.
275+
* @param scheduledUpdate scheduledUpdate or {@code null} for none
276+
*/
277+
public GoogleCloudDiscoveryengineV1LicenseConfig setScheduledUpdate(GoogleCloudDiscoveryengineV1LicenseConfigScheduledUpdate scheduledUpdate) {
278+
this.scheduledUpdate = scheduledUpdate;
279+
return this;
280+
}
281+
258282
/**
259283
* Required. The start date.
260284
* @return value or {@code null} for none

0 commit comments

Comments
 (0)