Skip to content

Commit c2c3215

Browse files
1 parent 7184858 commit c2c3215

File tree

60 files changed

+2616
-201
lines changed

Some content is hidden

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

60 files changed

+2616
-201
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-rev20250521-2.0.0</version>
25+
<version>v1-rev20250604-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-rev20250521-2.0.0'
38+
implementation 'com.google.apis:google-api-services-discoveryengine:v1-rev20250604-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: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ public GetCmekConfig set(String parameterName, Object value) {
478478
*
479479
* @param name Required. The name of the CmekConfig of the form
480480
* `projects/{project}/locations/{location}/cmekConfig` or
481-
* `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
481+
* `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
482482
* @param content the {@link com.google.api.services.discoveryengine.v1.model.GoogleCloudDiscoveryengineV1CmekConfig}
483483
* @return the request
484484
*/
@@ -510,7 +510,7 @@ public class UpdateCmekConfig extends DiscoveryEngineRequest<com.google.api.serv
510510
*
511511
* @param name Required. The name of the CmekConfig of the form
512512
* `projects/{project}/locations/{location}/cmekConfig` or
513-
* `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
513+
* `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
514514
* @param content the {@link com.google.api.services.discoveryengine.v1.model.GoogleCloudDiscoveryengineV1CmekConfig}
515515
* @since 1.13
516516
*/
@@ -582,14 +582,14 @@ public UpdateCmekConfig setUploadProtocol(java.lang.String uploadProtocol) {
582582
/**
583583
* Required. The name of the CmekConfig of the form
584584
* `projects/{project}/locations/{location}/cmekConfig` or
585-
* `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
585+
* `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
586586
*/
587587
@com.google.api.client.util.Key
588588
private java.lang.String name;
589589

590590
/** Required. The name of the CmekConfig of the form
591591
`projects/{project}/locations/{location}/cmekConfig` or
592-
`projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
592+
`projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
593593
*/
594594
public java.lang.String getName() {
595595
return name;
@@ -598,7 +598,7 @@ public java.lang.String getName() {
598598
/**
599599
* Required. The name of the CmekConfig of the form
600600
* `projects/{project}/locations/{location}/cmekConfig` or
601-
* `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
601+
* `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
602602
*/
603603
public UpdateCmekConfig setName(java.lang.String name) {
604604
if (!getSuppressPatternChecks()) {
@@ -1116,7 +1116,7 @@ public List set(String parameterName, Object value) {
11161116
*
11171117
* @param name Required. The name of the CmekConfig of the form
11181118
* `projects/{project}/locations/{location}/cmekConfig` or
1119-
* `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
1119+
* `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
11201120
* @param content the {@link com.google.api.services.discoveryengine.v1.model.GoogleCloudDiscoveryengineV1CmekConfig}
11211121
* @return the request
11221122
*/
@@ -1148,7 +1148,7 @@ public class Patch extends DiscoveryEngineRequest<com.google.api.services.discov
11481148
*
11491149
* @param name Required. The name of the CmekConfig of the form
11501150
* `projects/{project}/locations/{location}/cmekConfig` or
1151-
* `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
1151+
* `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
11521152
* @param content the {@link com.google.api.services.discoveryengine.v1.model.GoogleCloudDiscoveryengineV1CmekConfig}
11531153
* @since 1.13
11541154
*/
@@ -1220,14 +1220,14 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
12201220
/**
12211221
* Required. The name of the CmekConfig of the form
12221222
* `projects/{project}/locations/{location}/cmekConfig` or
1223-
* `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
1223+
* `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
12241224
*/
12251225
@com.google.api.client.util.Key
12261226
private java.lang.String name;
12271227

12281228
/** Required. The name of the CmekConfig of the form
12291229
`projects/{project}/locations/{location}/cmekConfig` or
1230-
`projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
1230+
`projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
12311231
*/
12321232
public java.lang.String getName() {
12331233
return name;
@@ -1236,7 +1236,7 @@ public java.lang.String getName() {
12361236
/**
12371237
* Required. The name of the CmekConfig of the form
12381238
* `projects/{project}/locations/{location}/cmekConfig` or
1239-
* `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`.
1239+
* `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
12401240
*/
12411241
public Patch setName(java.lang.String name) {
12421242
if (!getSuppressPatternChecks()) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
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+
* Metadata related to the progress of the UserLicenseService.BatchUpdateUserLicenses operation.
21+
* This will be returned by the google.longrunning.Operation.metadata field.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Operation create time.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String createTime;
39+
40+
/**
41+
* Count of user licenses that failed to be updated.
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 failureCount;
46+
47+
/**
48+
* Count of user licenses successfully updated.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
52+
private java.lang.Long successCount;
53+
54+
/**
55+
* Operation last update time. If the operation is done, this is also the finish time.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private String updateTime;
60+
61+
/**
62+
* Operation create time.
63+
* @return value or {@code null} for none
64+
*/
65+
public String getCreateTime() {
66+
return createTime;
67+
}
68+
69+
/**
70+
* Operation create time.
71+
* @param createTime createTime or {@code null} for none
72+
*/
73+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata setCreateTime(String createTime) {
74+
this.createTime = createTime;
75+
return this;
76+
}
77+
78+
/**
79+
* Count of user licenses that failed to be updated.
80+
* @return value or {@code null} for none
81+
*/
82+
public java.lang.Long getFailureCount() {
83+
return failureCount;
84+
}
85+
86+
/**
87+
* Count of user licenses that failed to be updated.
88+
* @param failureCount failureCount or {@code null} for none
89+
*/
90+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata setFailureCount(java.lang.Long failureCount) {
91+
this.failureCount = failureCount;
92+
return this;
93+
}
94+
95+
/**
96+
* Count of user licenses successfully updated.
97+
* @return value or {@code null} for none
98+
*/
99+
public java.lang.Long getSuccessCount() {
100+
return successCount;
101+
}
102+
103+
/**
104+
* Count of user licenses successfully updated.
105+
* @param successCount successCount or {@code null} for none
106+
*/
107+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata setSuccessCount(java.lang.Long successCount) {
108+
this.successCount = successCount;
109+
return this;
110+
}
111+
112+
/**
113+
* Operation last update time. If the operation is done, this is also the finish time.
114+
* @return value or {@code null} for none
115+
*/
116+
public String getUpdateTime() {
117+
return updateTime;
118+
}
119+
120+
/**
121+
* Operation last update time. If the operation is done, this is also the finish time.
122+
* @param updateTime updateTime or {@code null} for none
123+
*/
124+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata setUpdateTime(String updateTime) {
125+
this.updateTime = updateTime;
126+
return this;
127+
}
128+
129+
@Override
130+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata set(String fieldName, Object value) {
131+
return (GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata) super.set(fieldName, value);
132+
}
133+
134+
@Override
135+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata clone() {
136+
return (GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata) super.clone();
137+
}
138+
139+
}

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@ public final class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest ex
3737
@com.google.api.client.util.Key
3838
private java.lang.Boolean deleteUnassignedUserLicenses;
3939

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-
4740
/**
4841
* The inline source for the input content for document embeddings.
4942
* The value may be {@code null}.
@@ -70,23 +63,6 @@ public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest setDeleteUnass
7063
return this;
7164
}
7265

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-
9066
/**
9167
* The inline source for the input content for document embeddings.
9268
* @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+
* Response 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 GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A sample of errors encountered while processing the request.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GoogleRpcStatus> errorSamples;
38+
39+
/**
40+
* UserLicenses successfully updated.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<GoogleCloudDiscoveryengineV1UserLicense> userLicenses;
45+
46+
/**
47+
* A sample of errors encountered while processing the request.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.util.List<GoogleRpcStatus> getErrorSamples() {
51+
return errorSamples;
52+
}
53+
54+
/**
55+
* A sample of errors encountered while processing the request.
56+
* @param errorSamples errorSamples or {@code null} for none
57+
*/
58+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse setErrorSamples(java.util.List<GoogleRpcStatus> errorSamples) {
59+
this.errorSamples = errorSamples;
60+
return this;
61+
}
62+
63+
/**
64+
* UserLicenses successfully updated.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.util.List<GoogleCloudDiscoveryengineV1UserLicense> getUserLicenses() {
68+
return userLicenses;
69+
}
70+
71+
/**
72+
* UserLicenses successfully updated.
73+
* @param userLicenses userLicenses or {@code null} for none
74+
*/
75+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse setUserLicenses(java.util.List<GoogleCloudDiscoveryengineV1UserLicense> userLicenses) {
76+
this.userLicenses = userLicenses;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse set(String fieldName, Object value) {
82+
return (GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse clone() {
87+
return (GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse) super.clone();
88+
}
89+
90+
}

0 commit comments

Comments
 (0)