Skip to content

Commit 71abfbe

Browse files
1 parent a8a0289 commit 71abfbe

File tree

59 files changed

+4479
-276
lines changed

Some content is hidden

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

59 files changed

+4479
-276
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-rev20250425-2.0.0</version>
25+
<version>v1-rev20250508-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-rev20250425-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20250508-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: 420 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
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 UserLicenseService.BatchUpdateUserLicenses 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 GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. If true, if user licenses removed associated license config, the user license will be
34+
* deleted. By default which is false, the user license will be updated to unassigned state.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean deleteUnassignedUserLicenses;
39+
40+
/**
41+
* Cloud Storage location for the input content.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private GoogleCloudDiscoveryengineV1GcsSource gcsSource;
46+
47+
/**
48+
* The inline source for the input content for document embeddings.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource inlineSource;
53+
54+
/**
55+
* Optional. If true, if user licenses removed associated license config, the user license will be
56+
* deleted. By default which is false, the user license will be updated to unassigned state.
57+
* @return value or {@code null} for none
58+
*/
59+
public java.lang.Boolean getDeleteUnassignedUserLicenses() {
60+
return deleteUnassignedUserLicenses;
61+
}
62+
63+
/**
64+
* Optional. If true, if user licenses removed associated license config, the user license will be
65+
* deleted. By default which is false, the user license will be updated to unassigned state.
66+
* @param deleteUnassignedUserLicenses deleteUnassignedUserLicenses or {@code null} for none
67+
*/
68+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest setDeleteUnassignedUserLicenses(java.lang.Boolean deleteUnassignedUserLicenses) {
69+
this.deleteUnassignedUserLicenses = deleteUnassignedUserLicenses;
70+
return this;
71+
}
72+
73+
/**
74+
* Cloud Storage location for the input content.
75+
* @return value or {@code null} for none
76+
*/
77+
public GoogleCloudDiscoveryengineV1GcsSource getGcsSource() {
78+
return gcsSource;
79+
}
80+
81+
/**
82+
* Cloud Storage location for the input content.
83+
* @param gcsSource gcsSource or {@code null} for none
84+
*/
85+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest setGcsSource(GoogleCloudDiscoveryengineV1GcsSource gcsSource) {
86+
this.gcsSource = gcsSource;
87+
return this;
88+
}
89+
90+
/**
91+
* The inline source for the input content for document embeddings.
92+
* @return value or {@code null} for none
93+
*/
94+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource getInlineSource() {
95+
return inlineSource;
96+
}
97+
98+
/**
99+
* The inline source for the input content for document embeddings.
100+
* @param inlineSource inlineSource or {@code null} for none
101+
*/
102+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest setInlineSource(GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource inlineSource) {
103+
this.inlineSource = inlineSource;
104+
return this;
105+
}
106+
107+
@Override
108+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest set(String fieldName, Object value) {
109+
return (GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest) super.set(fieldName, value);
110+
}
111+
112+
@Override
113+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest clone() {
114+
return (GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest) super.clone();
115+
}
116+
117+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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+
* The inline source for the input config for BatchUpdateUserLicenses 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 GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The list of fields to update.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private String updateMask;
38+
39+
/**
40+
* Required. A list of user licenses to update. Each user license must have a valid
41+
* UserLicense.user_principal.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<GoogleCloudDiscoveryengineV1UserLicense> userLicenses;
46+
47+
/**
48+
* Optional. The list of fields to update.
49+
* @return value or {@code null} for none
50+
*/
51+
public String getUpdateMask() {
52+
return updateMask;
53+
}
54+
55+
/**
56+
* Optional. The list of fields to update.
57+
* @param updateMask updateMask or {@code null} for none
58+
*/
59+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource setUpdateMask(String updateMask) {
60+
this.updateMask = updateMask;
61+
return this;
62+
}
63+
64+
/**
65+
* Required. A list of user licenses to update. Each user license must have a valid
66+
* UserLicense.user_principal.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.util.List<GoogleCloudDiscoveryengineV1UserLicense> getUserLicenses() {
70+
return userLicenses;
71+
}
72+
73+
/**
74+
* Required. A list of user licenses to update. Each user license must have a valid
75+
* UserLicense.user_principal.
76+
* @param userLicenses userLicenses or {@code null} for none
77+
*/
78+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource setUserLicenses(java.util.List<GoogleCloudDiscoveryengineV1UserLicense> userLicenses) {
79+
this.userLicenses = userLicenses;
80+
return this;
81+
}
82+
83+
@Override
84+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource set(String fieldName, Object value) {
85+
return (GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource clone() {
90+
return (GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource) super.clone();
91+
}
92+
93+
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public final class GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim exten
6969

7070
/**
7171
* Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set
72-
* only when enable_claim_level_score is true.
72+
* only when `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true.
7373
* The value may be {@code null}.
7474
*/
7575
@com.google.api.client.util.Key
@@ -177,7 +177,7 @@ public GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim setGroundingCheck
177177

178178
/**
179179
* Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set
180-
* only when enable_claim_level_score is true.
180+
* only when `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true.
181181
* @return value or {@code null} for none
182182
*/
183183
public java.lang.Double getScore() {
@@ -186,7 +186,7 @@ public java.lang.Double getScore() {
186186

187187
/**
188188
* Confidence score for the claim in the answer candidate, in the range of [0, 1]. This is set
189-
* only when enable_claim_level_score is true.
189+
* only when `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true.
190190
* @param score score or {@code null} for none
191191
*/
192192
public GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim setScore(java.lang.Double score) {

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ public final class GoogleCloudDiscoveryengineV1Control extends com.google.api.cl
8282
private java.lang.String name;
8383

8484
/**
85-
* Promote certain links based on predefined trigger queries. This now only supports basic site
86-
* search.
85+
* Promote certain links based on predefined trigger queries.
8786
* The value may be {@code null}.
8887
*/
8988
@com.google.api.client.util.Key
@@ -229,17 +228,15 @@ public GoogleCloudDiscoveryengineV1Control setName(java.lang.String name) {
229228
}
230229

231230
/**
232-
* Promote certain links based on predefined trigger queries. This now only supports basic site
233-
* search.
231+
* Promote certain links based on predefined trigger queries.
234232
* @return value or {@code null} for none
235233
*/
236234
public GoogleCloudDiscoveryengineV1ControlPromoteAction getPromoteAction() {
237235
return promoteAction;
238236
}
239237

240238
/**
241-
* Promote certain links based on predefined trigger queries. This now only supports basic site
242-
* search.
239+
* Promote certain links based on predefined trigger queries.
243240
* @param promoteAction promoteAction or {@code null} for none
244241
*/
245242
public GoogleCloudDiscoveryengineV1Control setPromoteAction(GoogleCloudDiscoveryengineV1ControlPromoteAction promoteAction) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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 UserLicenseService.ListUserLicenses.
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 GoogleCloudDiscoveryengineV1ListUserLicensesResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
34+
* there are no subsequent pages.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String nextPageToken;
39+
40+
/**
41+
* All the customer's UserLicenses.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<GoogleCloudDiscoveryengineV1UserLicense> userLicenses;
46+
47+
/**
48+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
49+
* there are no subsequent pages.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.String getNextPageToken() {
53+
return nextPageToken;
54+
}
55+
56+
/**
57+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
58+
* there are no subsequent pages.
59+
* @param nextPageToken nextPageToken or {@code null} for none
60+
*/
61+
public GoogleCloudDiscoveryengineV1ListUserLicensesResponse setNextPageToken(java.lang.String nextPageToken) {
62+
this.nextPageToken = nextPageToken;
63+
return this;
64+
}
65+
66+
/**
67+
* All the customer's UserLicenses.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.util.List<GoogleCloudDiscoveryengineV1UserLicense> getUserLicenses() {
71+
return userLicenses;
72+
}
73+
74+
/**
75+
* All the customer's UserLicenses.
76+
* @param userLicenses userLicenses or {@code null} for none
77+
*/
78+
public GoogleCloudDiscoveryengineV1ListUserLicensesResponse setUserLicenses(java.util.List<GoogleCloudDiscoveryengineV1UserLicense> userLicenses) {
79+
this.userLicenses = userLicenses;
80+
return this;
81+
}
82+
83+
@Override
84+
public GoogleCloudDiscoveryengineV1ListUserLicensesResponse set(String fieldName, Object value) {
85+
return (GoogleCloudDiscoveryengineV1ListUserLicensesResponse) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public GoogleCloudDiscoveryengineV1ListUserLicensesResponse clone() {
90+
return (GoogleCloudDiscoveryengineV1ListUserLicensesResponse) super.clone();
91+
}
92+
93+
}

0 commit comments

Comments
 (0)