Skip to content

Commit ea9d7eb

Browse files
1 parent 90b5b2a commit ea9d7eb

File tree

17 files changed

+2052
-6
lines changed

17 files changed

+2052
-6
lines changed

clients/google-api-services-contactcenteraiplatform/v1alpha1/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-contactcenteraiplatform</artifactId>
25-
<version>v1alpha1-rev20251115-2.0.0</version>
25+
<version>v1alpha1-rev20251204-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-contactcenteraiplatform:v1alpha1-rev20251115-2.0.0'
38+
implementation 'com.google.apis:google-api-services-contactcenteraiplatform:v1alpha1-rev20251204-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-contactcenteraiplatform/v1alpha1/2.0.0/com/google/api/services/contactcenteraiplatform/v1alpha1/CCAIPlatform.java

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,147 @@ public Locations locations() {
173173
*/
174174
public class Locations {
175175

176+
/**
177+
* Generates shifts constrained by various parameters.
178+
*
179+
* Create a request for the method "locations.generateShifts".
180+
*
181+
* This request holds the parameters needed by the contactcenteraiplatform server. After setting
182+
* any optional parameters, call the {@link GenerateShifts#execute()} method to invoke the remote
183+
* operation.
184+
*
185+
* @param parent Required. Name of the parent resource associated with the request. Format:
186+
* projects/{project}/locations/{location}
187+
* @param content the {@link com.google.api.services.contactcenteraiplatform.v1alpha1.model.GenerateShiftsRequest}
188+
* @return the request
189+
*/
190+
public GenerateShifts generateShifts(java.lang.String parent, com.google.api.services.contactcenteraiplatform.v1alpha1.model.GenerateShiftsRequest content) throws java.io.IOException {
191+
GenerateShifts result = new GenerateShifts(parent, content);
192+
initialize(result);
193+
return result;
194+
}
195+
196+
public class GenerateShifts extends CCAIPlatformRequest<com.google.api.services.contactcenteraiplatform.v1alpha1.model.Operation> {
197+
198+
private static final String REST_PATH = "v1alpha1/{+parent}:generateShifts";
199+
200+
private final java.util.regex.Pattern PARENT_PATTERN =
201+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$");
202+
203+
/**
204+
* Generates shifts constrained by various parameters.
205+
*
206+
* Create a request for the method "locations.generateShifts".
207+
*
208+
* This request holds the parameters needed by the the contactcenteraiplatform server. After
209+
* setting any optional parameters, call the {@link GenerateShifts#execute()} method to invoke the
210+
* remote operation. <p> {@link GenerateShifts#initialize(com.google.api.client.googleapis.service
211+
* s.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
212+
* invoking the constructor. </p>
213+
*
214+
* @param parent Required. Name of the parent resource associated with the request. Format:
215+
* projects/{project}/locations/{location}
216+
* @param content the {@link com.google.api.services.contactcenteraiplatform.v1alpha1.model.GenerateShiftsRequest}
217+
* @since 1.13
218+
*/
219+
protected GenerateShifts(java.lang.String parent, com.google.api.services.contactcenteraiplatform.v1alpha1.model.GenerateShiftsRequest content) {
220+
super(CCAIPlatform.this, "POST", REST_PATH, content, com.google.api.services.contactcenteraiplatform.v1alpha1.model.Operation.class);
221+
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
222+
if (!getSuppressPatternChecks()) {
223+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
224+
"Parameter parent must conform to the pattern " +
225+
"^projects/[^/]+/locations/[^/]+$");
226+
}
227+
}
228+
229+
@Override
230+
public GenerateShifts set$Xgafv(java.lang.String $Xgafv) {
231+
return (GenerateShifts) super.set$Xgafv($Xgafv);
232+
}
233+
234+
@Override
235+
public GenerateShifts setAccessToken(java.lang.String accessToken) {
236+
return (GenerateShifts) super.setAccessToken(accessToken);
237+
}
238+
239+
@Override
240+
public GenerateShifts setAlt(java.lang.String alt) {
241+
return (GenerateShifts) super.setAlt(alt);
242+
}
243+
244+
@Override
245+
public GenerateShifts setCallback(java.lang.String callback) {
246+
return (GenerateShifts) super.setCallback(callback);
247+
}
248+
249+
@Override
250+
public GenerateShifts setFields(java.lang.String fields) {
251+
return (GenerateShifts) super.setFields(fields);
252+
}
253+
254+
@Override
255+
public GenerateShifts setKey(java.lang.String key) {
256+
return (GenerateShifts) super.setKey(key);
257+
}
258+
259+
@Override
260+
public GenerateShifts setOauthToken(java.lang.String oauthToken) {
261+
return (GenerateShifts) super.setOauthToken(oauthToken);
262+
}
263+
264+
@Override
265+
public GenerateShifts setPrettyPrint(java.lang.Boolean prettyPrint) {
266+
return (GenerateShifts) super.setPrettyPrint(prettyPrint);
267+
}
268+
269+
@Override
270+
public GenerateShifts setQuotaUser(java.lang.String quotaUser) {
271+
return (GenerateShifts) super.setQuotaUser(quotaUser);
272+
}
273+
274+
@Override
275+
public GenerateShifts setUploadType(java.lang.String uploadType) {
276+
return (GenerateShifts) super.setUploadType(uploadType);
277+
}
278+
279+
@Override
280+
public GenerateShifts setUploadProtocol(java.lang.String uploadProtocol) {
281+
return (GenerateShifts) super.setUploadProtocol(uploadProtocol);
282+
}
283+
284+
/**
285+
* Required. Name of the parent resource associated with the request. Format:
286+
* projects/{project}/locations/{location}
287+
*/
288+
@com.google.api.client.util.Key
289+
private java.lang.String parent;
290+
291+
/** Required. Name of the parent resource associated with the request. Format:
292+
projects/{project}/locations/{location}
293+
*/
294+
public java.lang.String getParent() {
295+
return parent;
296+
}
297+
298+
/**
299+
* Required. Name of the parent resource associated with the request. Format:
300+
* projects/{project}/locations/{location}
301+
*/
302+
public GenerateShifts setParent(java.lang.String parent) {
303+
if (!getSuppressPatternChecks()) {
304+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
305+
"Parameter parent must conform to the pattern " +
306+
"^projects/[^/]+/locations/[^/]+$");
307+
}
308+
this.parent = parent;
309+
return this;
310+
}
311+
312+
@Override
313+
public GenerateShifts set(String parameterName, Object value) {
314+
return (GenerateShifts) super.set(parameterName, value);
315+
}
316+
}
176317
/**
177318
* Gets information about a location.
178319
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
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.contactcenteraiplatform.v1alpha1.model;
18+
19+
/**
20+
* Represents a whole or partial calendar date, such as a birthday. The time of day and time zone
21+
* are either specified elsewhere or are insignificant. The date is relative to the Gregorian
22+
* Calendar. This can represent one of the following: * A full date, with non-zero year, month, and
23+
* day values. * A month and day, with a zero year (for example, an anniversary). * A year on its
24+
* own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit
25+
* card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime *
26+
* google.protobuf.Timestamp
27+
*
28+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
29+
* transmitted over HTTP when working with the Contact Center AI Platform API. For a detailed
30+
* explanation see:
31+
* <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>
32+
* </p>
33+
*
34+
* @author Google, Inc.
35+
*/
36+
@SuppressWarnings("javadoc")
37+
public final class Date extends com.google.api.client.json.GenericJson {
38+
39+
/**
40+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year
41+
* by itself or a year and month where the day isn't significant.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Integer day;
46+
47+
/**
48+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.Integer month;
53+
54+
/**
55+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.Integer year;
60+
61+
/**
62+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year
63+
* by itself or a year and month where the day isn't significant.
64+
* @return value or {@code null} for none
65+
*/
66+
public java.lang.Integer getDay() {
67+
return day;
68+
}
69+
70+
/**
71+
* Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year
72+
* by itself or a year and month where the day isn't significant.
73+
* @param day day or {@code null} for none
74+
*/
75+
public Date setDay(java.lang.Integer day) {
76+
this.day = day;
77+
return this;
78+
}
79+
80+
/**
81+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.Integer getMonth() {
85+
return month;
86+
}
87+
88+
/**
89+
* Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
90+
* @param month month or {@code null} for none
91+
*/
92+
public Date setMonth(java.lang.Integer month) {
93+
this.month = month;
94+
return this;
95+
}
96+
97+
/**
98+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.Integer getYear() {
102+
return year;
103+
}
104+
105+
/**
106+
* Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
107+
* @param year year or {@code null} for none
108+
*/
109+
public Date setYear(java.lang.Integer year) {
110+
this.year = year;
111+
return this;
112+
}
113+
114+
@Override
115+
public Date set(String fieldName, Object value) {
116+
return (Date) super.set(fieldName, value);
117+
}
118+
119+
@Override
120+
public Date clone() {
121+
return (Date) super.clone();
122+
}
123+
124+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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.contactcenteraiplatform.v1alpha1.model;
18+
19+
/**
20+
* List of dates.
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 Contact Center AI Platform API. For a detailed
24+
* 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 DateList extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Values in the list.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<Date> values;
39+
40+
static {
41+
// hack to force ProGuard to consider Date used, since otherwise it would be stripped out
42+
// see https://github.com/google/google-api-java-client/issues/543
43+
com.google.api.client.util.Data.nullOf(Date.class);
44+
}
45+
46+
/**
47+
* Optional. Values in the list.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.util.List<Date> getValues() {
51+
return values;
52+
}
53+
54+
/**
55+
* Optional. Values in the list.
56+
* @param values values or {@code null} for none
57+
*/
58+
public DateList setValues(java.util.List<Date> values) {
59+
this.values = values;
60+
return this;
61+
}
62+
63+
@Override
64+
public DateList set(String fieldName, Object value) {
65+
return (DateList) super.set(fieldName, value);
66+
}
67+
68+
@Override
69+
public DateList clone() {
70+
return (DateList) super.clone();
71+
}
72+
73+
}

0 commit comments

Comments
 (0)