Skip to content

Commit a4d7679

Browse files
1 parent ecaecf8 commit a4d7679

27 files changed

+1811
-27
lines changed

clients/google-api-services-ces/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-ces</artifactId>
25-
<version>v1-rev20260325-2.0.0</version>
25+
<version>v1-rev20260408-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-ces:v1-rev20260325-2.0.0'
38+
implementation 'com.google.apis:google-api-services-ces:v1-rev20260408-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AgentTool.java

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

33+
/**
34+
* Optional. The resource name of the agent that is the entry point of the tool. Format:
35+
* `projects/{project}/locations/{location}/agents/{agent}`
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String agent;
40+
3341
/**
3442
* Optional. Description of the tool's purpose.
3543
* The value may be {@code null}.
@@ -45,13 +53,32 @@ public final class AgentTool extends com.google.api.client.json.GenericJson {
4553
private java.lang.String name;
4654

4755
/**
48-
* Optional. The resource name of the root agent that is the entry point of the tool. Format:
49-
* `projects/{project}/locations/{location}/agents/{agent}`
56+
* Optional. Deprecated: Use `agent` instead. The resource name of the root agent that is the
57+
* entry point of the tool. Format: `projects/{project}/locations/{location}/agents/{agent}`
5058
* The value may be {@code null}.
5159
*/
5260
@com.google.api.client.util.Key
5361
private java.lang.String rootAgent;
5462

63+
/**
64+
* Optional. The resource name of the agent that is the entry point of the tool. Format:
65+
* `projects/{project}/locations/{location}/agents/{agent}`
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getAgent() {
69+
return agent;
70+
}
71+
72+
/**
73+
* Optional. The resource name of the agent that is the entry point of the tool. Format:
74+
* `projects/{project}/locations/{location}/agents/{agent}`
75+
* @param agent agent or {@code null} for none
76+
*/
77+
public AgentTool setAgent(java.lang.String agent) {
78+
this.agent = agent;
79+
return this;
80+
}
81+
5582
/**
5683
* Optional. Description of the tool's purpose.
5784
* @return value or {@code null} for none
@@ -87,17 +114,17 @@ public AgentTool setName(java.lang.String name) {
87114
}
88115

89116
/**
90-
* Optional. The resource name of the root agent that is the entry point of the tool. Format:
91-
* `projects/{project}/locations/{location}/agents/{agent}`
117+
* Optional. Deprecated: Use `agent` instead. The resource name of the root agent that is the
118+
* entry point of the tool. Format: `projects/{project}/locations/{location}/agents/{agent}`
92119
* @return value or {@code null} for none
93120
*/
94121
public java.lang.String getRootAgent() {
95122
return rootAgent;
96123
}
97124

98125
/**
99-
* Optional. The resource name of the root agent that is the entry point of the tool. Format:
100-
* `projects/{project}/locations/{location}/agents/{agent}`
126+
* Optional. Deprecated: Use `agent` instead. The resource name of the root agent that is the
127+
* entry point of the tool. Format: `projects/{project}/locations/{location}/agents/{agent}`
101128
* @param rootAgent rootAgent or {@code null} for none
102129
*/
103130
public AgentTool setRootAgent(java.lang.String rootAgent) {

clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ConversationLoggingSettings.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ public final class ConversationLoggingSettings extends com.google.api.client.jso
3737
@com.google.api.client.util.Key
3838
private java.lang.Boolean disableConversationLogging;
3939

40+
/**
41+
* Optional. Controls the retention window for the conversation. If not set, the conversation will
42+
* be retained for 365 days.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private String retentionWindow;
47+
4048
/**
4149
* Optional. Whether to disable conversation logging for the sessions.
4250
* @return value or {@code null} for none
@@ -54,6 +62,25 @@ public ConversationLoggingSettings setDisableConversationLogging(java.lang.Boole
5462
return this;
5563
}
5664

65+
/**
66+
* Optional. Controls the retention window for the conversation. If not set, the conversation will
67+
* be retained for 365 days.
68+
* @return value or {@code null} for none
69+
*/
70+
public String getRetentionWindow() {
71+
return retentionWindow;
72+
}
73+
74+
/**
75+
* Optional. Controls the retention window for the conversation. If not set, the conversation will
76+
* be retained for 365 days.
77+
* @param retentionWindow retentionWindow or {@code null} for none
78+
*/
79+
public ConversationLoggingSettings setRetentionWindow(String retentionWindow) {
80+
this.retentionWindow = retentionWindow;
81+
return this;
82+
}
83+
5784
@Override
5885
public ConversationLoggingSettings set(String fieldName, Object value) {
5986
return (ConversationLoggingSettings) super.set(fieldName, value);

clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ErrorHandlingSettings.java

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

33+
/**
34+
* Optional. Configuration for ending the session in case of system errors (e.g. LLM errors).
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private ErrorHandlingSettingsEndSessionConfig endSessionConfig;
39+
3340
/**
3441
* Optional. The strategy to use for error handling.
3542
* The value may be {@code null}.
3643
*/
3744
@com.google.api.client.util.Key
3845
private java.lang.String errorHandlingStrategy;
3946

47+
/**
48+
* Optional. Configuration for handling fallback responses.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private ErrorHandlingSettingsFallbackResponseConfig fallbackResponseConfig;
53+
54+
/**
55+
* Optional. Configuration for ending the session in case of system errors (e.g. LLM errors).
56+
* @return value or {@code null} for none
57+
*/
58+
public ErrorHandlingSettingsEndSessionConfig getEndSessionConfig() {
59+
return endSessionConfig;
60+
}
61+
62+
/**
63+
* Optional. Configuration for ending the session in case of system errors (e.g. LLM errors).
64+
* @param endSessionConfig endSessionConfig or {@code null} for none
65+
*/
66+
public ErrorHandlingSettings setEndSessionConfig(ErrorHandlingSettingsEndSessionConfig endSessionConfig) {
67+
this.endSessionConfig = endSessionConfig;
68+
return this;
69+
}
70+
4071
/**
4172
* Optional. The strategy to use for error handling.
4273
* @return value or {@code null} for none
@@ -54,6 +85,23 @@ public ErrorHandlingSettings setErrorHandlingStrategy(java.lang.String errorHand
5485
return this;
5586
}
5687

88+
/**
89+
* Optional. Configuration for handling fallback responses.
90+
* @return value or {@code null} for none
91+
*/
92+
public ErrorHandlingSettingsFallbackResponseConfig getFallbackResponseConfig() {
93+
return fallbackResponseConfig;
94+
}
95+
96+
/**
97+
* Optional. Configuration for handling fallback responses.
98+
* @param fallbackResponseConfig fallbackResponseConfig or {@code null} for none
99+
*/
100+
public ErrorHandlingSettings setFallbackResponseConfig(ErrorHandlingSettingsFallbackResponseConfig fallbackResponseConfig) {
101+
this.fallbackResponseConfig = fallbackResponseConfig;
102+
return this;
103+
}
104+
57105
@Override
58106
public ErrorHandlingSettings set(String fieldName, Object value) {
59107
return (ErrorHandlingSettings) super.set(fieldName, value);
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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.ces.v1.model;
18+
19+
/**
20+
* Configuration for ending the session in case of system errors (e.g. LLM errors).
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 Gemini Enterprise for Customer Experience API. For a
24+
* 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 ErrorHandlingSettingsEndSessionConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Whether to escalate the session in EndSession. If session is escalated, metadata in
35+
* EndSession will contain `session_escalated = true`. See https://docs.cloud.google.com/customer-
36+
* engagement-ai/conversational-agents/ps/deploy/google-telephony-
37+
* platform#transfer_a_call_to_a_human_agent for details.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.Boolean escalateSession;
42+
43+
/**
44+
* Optional. Whether to escalate the session in EndSession. If session is escalated, metadata in
45+
* EndSession will contain `session_escalated = true`. See https://docs.cloud.google.com/customer-
46+
* engagement-ai/conversational-agents/ps/deploy/google-telephony-
47+
* platform#transfer_a_call_to_a_human_agent for details.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.Boolean getEscalateSession() {
51+
return escalateSession;
52+
}
53+
54+
/**
55+
* Optional. Whether to escalate the session in EndSession. If session is escalated, metadata in
56+
* EndSession will contain `session_escalated = true`. See https://docs.cloud.google.com/customer-
57+
* engagement-ai/conversational-agents/ps/deploy/google-telephony-
58+
* platform#transfer_a_call_to_a_human_agent for details.
59+
* @param escalateSession escalateSession or {@code null} for none
60+
*/
61+
public ErrorHandlingSettingsEndSessionConfig setEscalateSession(java.lang.Boolean escalateSession) {
62+
this.escalateSession = escalateSession;
63+
return this;
64+
}
65+
66+
@Override
67+
public ErrorHandlingSettingsEndSessionConfig set(String fieldName, Object value) {
68+
return (ErrorHandlingSettingsEndSessionConfig) super.set(fieldName, value);
69+
}
70+
71+
@Override
72+
public ErrorHandlingSettingsEndSessionConfig clone() {
73+
return (ErrorHandlingSettingsEndSessionConfig) super.clone();
74+
}
75+
76+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
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.ces.v1.model;
18+
19+
/**
20+
* Configuration for handling fallback responses.
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 Gemini Enterprise for Customer Experience API. For a
24+
* 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 ErrorHandlingSettingsFallbackResponseConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The fallback messages in case of system errors (e.g. LLM errors), mapped by
35+
* [supported language code](https://docs.cloud.google.com/customer-engagement-ai/conversational-
36+
* agents/ps/reference/language).
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.util.Map<String, java.lang.String> customFallbackMessages;
41+
42+
/**
43+
* Optional. The maximum number of fallback attempts to make before the agent emitting EndSession
44+
* Signal.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.Integer maxFallbackAttempts;
49+
50+
/**
51+
* Optional. The fallback messages in case of system errors (e.g. LLM errors), mapped by
52+
* [supported language code](https://docs.cloud.google.com/customer-engagement-ai/conversational-
53+
* agents/ps/reference/language).
54+
* @return value or {@code null} for none
55+
*/
56+
public java.util.Map<String, java.lang.String> getCustomFallbackMessages() {
57+
return customFallbackMessages;
58+
}
59+
60+
/**
61+
* Optional. The fallback messages in case of system errors (e.g. LLM errors), mapped by
62+
* [supported language code](https://docs.cloud.google.com/customer-engagement-ai/conversational-
63+
* agents/ps/reference/language).
64+
* @param customFallbackMessages customFallbackMessages or {@code null} for none
65+
*/
66+
public ErrorHandlingSettingsFallbackResponseConfig setCustomFallbackMessages(java.util.Map<String, java.lang.String> customFallbackMessages) {
67+
this.customFallbackMessages = customFallbackMessages;
68+
return this;
69+
}
70+
71+
/**
72+
* Optional. The maximum number of fallback attempts to make before the agent emitting EndSession
73+
* Signal.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.Integer getMaxFallbackAttempts() {
77+
return maxFallbackAttempts;
78+
}
79+
80+
/**
81+
* Optional. The maximum number of fallback attempts to make before the agent emitting EndSession
82+
* Signal.
83+
* @param maxFallbackAttempts maxFallbackAttempts or {@code null} for none
84+
*/
85+
public ErrorHandlingSettingsFallbackResponseConfig setMaxFallbackAttempts(java.lang.Integer maxFallbackAttempts) {
86+
this.maxFallbackAttempts = maxFallbackAttempts;
87+
return this;
88+
}
89+
90+
@Override
91+
public ErrorHandlingSettingsFallbackResponseConfig set(String fieldName, Object value) {
92+
return (ErrorHandlingSettingsFallbackResponseConfig) super.set(fieldName, value);
93+
}
94+
95+
@Override
96+
public ErrorHandlingSettingsFallbackResponseConfig clone() {
97+
return (ErrorHandlingSettingsFallbackResponseConfig) super.clone();
98+
}
99+
100+
}

0 commit comments

Comments
 (0)