Skip to content

Commit 5777394

Browse files
1 parent 0e7edb3 commit 5777394

File tree

20 files changed

+820
-18
lines changed

20 files changed

+820
-18
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-rev20260227-2.0.0</version>
25+
<version>v1-rev20260304-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-rev20260227-2.0.0'
38+
implementation 'com.google.apis:google-api-services-ces:v1-rev20260304-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* <p>
2727
* For more information about this service, see the
28-
* <a href="https://cloud.google.com/customer-engagement-ai/conversational-agents/ps/reference" target="_blank">API Documentation</a>
28+
* <a href="https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps" target="_blank">API Documentation</a>
2929
* </p>
3030
*
3131
* <p>
@@ -6749,7 +6749,7 @@ public GenerateChatToken set(String parameterName, Object value) {
67496749
}
67506750
}
67516751
/**
6752-
* Initiates a single turn interaction with the CES agent within a session.
6752+
* Initiates a single-turn interaction with the CES agent within a session.
67536753
*
67546754
* Create a request for the method "sessions.runSession".
67556755
*
@@ -6775,7 +6775,7 @@ public class RunSession extends CustomerEngagementSuiteRequest<com.google.api.se
67756775
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/apps/[^/]+/sessions/[^/]+$");
67766776

67776777
/**
6778-
* Initiates a single turn interaction with the CES agent within a session.
6778+
* Initiates a single-turn interaction with the CES agent within a session.
67796779
*
67806780
* Create a request for the method "sessions.runSession".
67816781
*
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
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+
* Represents a tool that allows the agent to call another agent.
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 AgentTool extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Description of the tool's purpose.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String description;
39+
40+
/**
41+
* Required. The name of the agent tool.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String name;
46+
47+
/**
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}`
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String rootAgent;
54+
55+
/**
56+
* Optional. Description of the tool's purpose.
57+
* @return value or {@code null} for none
58+
*/
59+
public java.lang.String getDescription() {
60+
return description;
61+
}
62+
63+
/**
64+
* Optional. Description of the tool's purpose.
65+
* @param description description or {@code null} for none
66+
*/
67+
public AgentTool setDescription(java.lang.String description) {
68+
this.description = description;
69+
return this;
70+
}
71+
72+
/**
73+
* Required. The name of the agent tool.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.lang.String getName() {
77+
return name;
78+
}
79+
80+
/**
81+
* Required. The name of the agent tool.
82+
* @param name name or {@code null} for none
83+
*/
84+
public AgentTool setName(java.lang.String name) {
85+
this.name = name;
86+
return this;
87+
}
88+
89+
/**
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}`
92+
* @return value or {@code null} for none
93+
*/
94+
public java.lang.String getRootAgent() {
95+
return rootAgent;
96+
}
97+
98+
/**
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}`
101+
* @param rootAgent rootAgent or {@code null} for none
102+
*/
103+
public AgentTool setRootAgent(java.lang.String rootAgent) {
104+
this.rootAgent = rootAgent;
105+
return this;
106+
}
107+
108+
@Override
109+
public AgentTool set(String fieldName, Object value) {
110+
return (AgentTool) super.set(fieldName, value);
111+
}
112+
113+
@Override
114+
public AgentTool clone() {
115+
return (AgentTool) super.clone();
116+
}
117+
118+
}

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ public final class ExecuteToolRequest extends com.google.api.client.json.Generic
3737
@com.google.api.client.util.Key
3838
private java.util.Map<String, java.lang.Object> args;
3939

40+
/**
41+
* Optional. The [ToolCallContext](https://docs.cloud.google.com/customer-engagement-
42+
* ai/conversational-agents/ps/tool/python#environment for details) to be passed to the Python
43+
* tool.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.util.Map<String, java.lang.Object> context;
48+
4049
/**
4150
* Optional. The name of the tool to execute. Format:
4251
* projects/{project}/locations/{location}/apps/{app}/tools/{tool}
@@ -77,6 +86,27 @@ public ExecuteToolRequest setArgs(java.util.Map<String, java.lang.Object> args)
7786
return this;
7887
}
7988

89+
/**
90+
* Optional. The [ToolCallContext](https://docs.cloud.google.com/customer-engagement-
91+
* ai/conversational-agents/ps/tool/python#environment for details) to be passed to the Python
92+
* tool.
93+
* @return value or {@code null} for none
94+
*/
95+
public java.util.Map<String, java.lang.Object> getContext() {
96+
return context;
97+
}
98+
99+
/**
100+
* Optional. The [ToolCallContext](https://docs.cloud.google.com/customer-engagement-
101+
* ai/conversational-agents/ps/tool/python#environment for details) to be passed to the Python
102+
* tool.
103+
* @param context context or {@code null} for none
104+
*/
105+
public ExecuteToolRequest setContext(java.util.Map<String, java.lang.Object> context) {
106+
this.context = context;
107+
return this;
108+
}
109+
80110
/**
81111
* Optional. The name of the tool to execute. Format:
82112
* projects/{project}/locations/{location}/apps/{app}/tools/{tool}

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

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

33+
/**
34+
* Optional. The resource name of the app version to export. Format:
35+
* `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String appVersion;
40+
3341
/**
3442
* Required. The format to export the app in.
3543
* The value may be {@code null}.
@@ -46,6 +54,25 @@ public final class ExportAppRequest extends com.google.api.client.json.GenericJs
4654
@com.google.api.client.util.Key
4755
private java.lang.String gcsUri;
4856

57+
/**
58+
* Optional. The resource name of the app version to export. Format:
59+
* `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.
60+
* @return value or {@code null} for none
61+
*/
62+
public java.lang.String getAppVersion() {
63+
return appVersion;
64+
}
65+
66+
/**
67+
* Optional. The resource name of the app version to export. Format:
68+
* `projects/{project}/locations/{location}/apps/{app}/versions/{version}`.
69+
* @param appVersion appVersion or {@code null} for none
70+
*/
71+
public ExportAppRequest setAppVersion(java.lang.String appVersion) {
72+
this.appVersion = appVersion;
73+
return this;
74+
}
75+
4976
/**
5077
* Required. The format to export the app in.
5178
* @return value or {@code null} for none

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

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

33+
/**
34+
* Optional. The agent tool.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private AgentTool agentTool;
39+
3340
/**
3441
* Optional. The client function.
3542
* The value may be {@code null}.
@@ -164,6 +171,23 @@ public final class Tool extends com.google.api.client.json.GenericJson {
164171
@com.google.api.client.util.Key
165172
private WidgetTool widgetTool;
166173

174+
/**
175+
* Optional. The agent tool.
176+
* @return value or {@code null} for none
177+
*/
178+
public AgentTool getAgentTool() {
179+
return agentTool;
180+
}
181+
182+
/**
183+
* Optional. The agent tool.
184+
* @param agentTool agentTool or {@code null} for none
185+
*/
186+
public Tool setAgentTool(AgentTool agentTool) {
187+
this.agentTool = agentTool;
188+
return this;
189+
}
190+
167191
/**
168192
* Optional. The client function.
169193
* @return value or {@code null} for none

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

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@
3232
@SuppressWarnings("javadoc")
3333
public final class WidgetTool extends com.google.api.client.json.GenericJson {
3434

35+
/**
36+
* Optional. The mapping that defines how data from a source tool is mapped to the widget's input
37+
* parameters.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private WidgetToolDataMapping dataMapping;
42+
3543
/**
3644
* Optional. The description of the widget tool.
3745
* The value may be {@code null}.
@@ -53,13 +61,39 @@ public final class WidgetTool extends com.google.api.client.json.GenericJson {
5361
@com.google.api.client.util.Key
5462
private Schema parameters;
5563

64+
/**
65+
* Optional. Configuration for rendering the widget.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.util.Map<String, java.lang.Object> uiConfig;
70+
5671
/**
5772
* Optional. The type of the widget tool. If not specified, the default type will be CUSTOMIZED.
5873
* The value may be {@code null}.
5974
*/
6075
@com.google.api.client.util.Key
6176
private java.lang.String widgetType;
6277

78+
/**
79+
* Optional. The mapping that defines how data from a source tool is mapped to the widget's input
80+
* parameters.
81+
* @return value or {@code null} for none
82+
*/
83+
public WidgetToolDataMapping getDataMapping() {
84+
return dataMapping;
85+
}
86+
87+
/**
88+
* Optional. The mapping that defines how data from a source tool is mapped to the widget's input
89+
* parameters.
90+
* @param dataMapping dataMapping or {@code null} for none
91+
*/
92+
public WidgetTool setDataMapping(WidgetToolDataMapping dataMapping) {
93+
this.dataMapping = dataMapping;
94+
return this;
95+
}
96+
6397
/**
6498
* Optional. The description of the widget tool.
6599
* @return value or {@code null} for none
@@ -111,6 +145,23 @@ public WidgetTool setParameters(Schema parameters) {
111145
return this;
112146
}
113147

148+
/**
149+
* Optional. Configuration for rendering the widget.
150+
* @return value or {@code null} for none
151+
*/
152+
public java.util.Map<String, java.lang.Object> getUiConfig() {
153+
return uiConfig;
154+
}
155+
156+
/**
157+
* Optional. Configuration for rendering the widget.
158+
* @param uiConfig uiConfig or {@code null} for none
159+
*/
160+
public WidgetTool setUiConfig(java.util.Map<String, java.lang.Object> uiConfig) {
161+
this.uiConfig = uiConfig;
162+
return this;
163+
}
164+
114165
/**
115166
* Optional. The type of the widget tool. If not specified, the default type will be CUSTOMIZED.
116167
* @return value or {@code null} for none

0 commit comments

Comments
 (0)