diff --git a/clients/google-api-services-ces/v1/2.0.0/README.md b/clients/google-api-services-ces/v1/2.0.0/README.md index 327e608f036..657da61e722 100644 --- a/clients/google-api-services-ces/v1/2.0.0/README.md +++ b/clients/google-api-services-ces/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-ces - v1-rev20260806-2.0.0 + v1-rev20260824-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1-rev20260806-2.0.0' + implementation 'com.google.apis:google-api-services-ces:v1-rev20260824-2.0.0' } ``` diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/CustomerEngagementSuite.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/CustomerEngagementSuite.java index f7ce6c1f914..1c7e1c61502 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/CustomerEngagementSuite.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/CustomerEngagementSuite.java @@ -3866,22 +3866,6 @@ public Get setSource(java.lang.String source) { return this; } - /** Optional. The view specifying which fields in the response should be populated. */ - @com.google.api.client.util.Key - private java.lang.String view; - - /** Optional. The view specifying which fields in the response should be populated. - */ - public java.lang.String getView() { - return view; - } - - /** Optional. The view specifying which fields in the response should be populated. */ - public Get setView(java.lang.String view) { - this.view = view; - return this; - } - @Override public Get set(String parameterName, Object value) { return (Get) super.set(parameterName, value); @@ -5316,6 +5300,147 @@ public Send set(String parameterName, Object value) { return (Send) super.set(parameterName, value); } } + /** + * Sends a streaming message to an agent, allowing for real-time interaction and status updates. + * Streaming version of `SendMessage` + * + * Create a request for the method "message.stream". + * + * This request holds the parameters needed by the ces server. After setting any optional + * parameters, call the {@link Stream#execute()} method to invoke the remote operation. + * + * @param tenant Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. + * @param content the {@link com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest} + * @return the request + */ + public Stream stream(java.lang.String tenant, com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest content) throws java.io.IOException { + Stream result = new Stream(tenant, content); + initialize(result); + return result; + } + + public class Stream extends CustomerEngagementSuiteRequest { + + private static final String REST_PATH = "v1/{+tenant}/message:stream"; + + private final java.util.regex.Pattern TENANT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/apps/[^/]+/deployments/[^/]+$"); + + /** + * Sends a streaming message to an agent, allowing for real-time interaction and status updates. + * Streaming version of `SendMessage` + * + * Create a request for the method "message.stream". + * + * This request holds the parameters needed by the the ces server. After setting any optional + * parameters, call the {@link Stream#execute()} method to invoke the remote operation.

{@link + * Stream#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param tenant Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. + * @param content the {@link com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest} + * @since 1.13 + */ + protected Stream(java.lang.String tenant, com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest content) { + super(CustomerEngagementSuite.this, "POST", REST_PATH, content, com.google.api.services.ces.v1.model.LfA2aV1StreamResponse.class); + this.tenant = com.google.api.client.util.Preconditions.checkNotNull(tenant, "Required parameter tenant must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(), + "Parameter tenant must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/apps/[^/]+/deployments/[^/]+$"); + } + } + + @Override + public Stream set$Xgafv(java.lang.String $Xgafv) { + return (Stream) super.set$Xgafv($Xgafv); + } + + @Override + public Stream setAccessToken(java.lang.String accessToken) { + return (Stream) super.setAccessToken(accessToken); + } + + @Override + public Stream setAlt(java.lang.String alt) { + return (Stream) super.setAlt(alt); + } + + @Override + public Stream setCallback(java.lang.String callback) { + return (Stream) super.setCallback(callback); + } + + @Override + public Stream setFields(java.lang.String fields) { + return (Stream) super.setFields(fields); + } + + @Override + public Stream setKey(java.lang.String key) { + return (Stream) super.setKey(key); + } + + @Override + public Stream setOauthToken(java.lang.String oauthToken) { + return (Stream) super.setOauthToken(oauthToken); + } + + @Override + public Stream setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Stream) super.setPrettyPrint(prettyPrint); + } + + @Override + public Stream setQuotaUser(java.lang.String quotaUser) { + return (Stream) super.setQuotaUser(quotaUser); + } + + @Override + public Stream setUploadType(java.lang.String uploadType) { + return (Stream) super.setUploadType(uploadType); + } + + @Override + public Stream setUploadProtocol(java.lang.String uploadProtocol) { + return (Stream) super.setUploadProtocol(uploadProtocol); + } + + /** + * Optional. Opaque routing identifier. Must match the `tenant` value from the + * selected `AgentInterface` in the Agent Card when that field is set. + */ + @com.google.api.client.util.Key + private java.lang.String tenant; + + /** Optional. Opaque routing identifier. Must match the `tenant` value from the selected + `AgentInterface` in the Agent Card when that field is set. + */ + public java.lang.String getTenant() { + return tenant; + } + + /** + * Optional. Opaque routing identifier. Must match the `tenant` value from the + * selected `AgentInterface` in the Agent Card when that field is set. + */ + public Stream setTenant(java.lang.String tenant) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(), + "Parameter tenant must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/apps/[^/]+/deployments/[^/]+$"); + } + this.tenant = tenant; + return this; + } + + @Override + public Stream set(String parameterName, Object value) { + return (Stream) super.set(parameterName, value); + } + } } } @@ -7231,6 +7356,147 @@ public Send set(String parameterName, Object value) { return (Send) super.set(parameterName, value); } } + /** + * Sends a streaming message to an agent, allowing for real-time interaction and status updates. + * Streaming version of `SendMessage` + * + * Create a request for the method "message.stream". + * + * This request holds the parameters needed by the ces server. After setting any optional + * parameters, call the {@link Stream#execute()} method to invoke the remote operation. + * + * @param tenant Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. + * @param content the {@link com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest} + * @return the request + */ + public Stream stream(java.lang.String tenant, com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest content) throws java.io.IOException { + Stream result = new Stream(tenant, content); + initialize(result); + return result; + } + + public class Stream extends CustomerEngagementSuiteRequest { + + private static final String REST_PATH = "v1/{+tenant}/message:stream"; + + private final java.util.regex.Pattern TENANT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/apps/[^/]+$"); + + /** + * Sends a streaming message to an agent, allowing for real-time interaction and status updates. + * Streaming version of `SendMessage` + * + * Create a request for the method "message.stream". + * + * This request holds the parameters needed by the the ces server. After setting any optional + * parameters, call the {@link Stream#execute()} method to invoke the remote operation.

{@link + * Stream#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param tenant Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. + * @param content the {@link com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest} + * @since 1.13 + */ + protected Stream(java.lang.String tenant, com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest content) { + super(CustomerEngagementSuite.this, "POST", REST_PATH, content, com.google.api.services.ces.v1.model.LfA2aV1StreamResponse.class); + this.tenant = com.google.api.client.util.Preconditions.checkNotNull(tenant, "Required parameter tenant must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(), + "Parameter tenant must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/apps/[^/]+$"); + } + } + + @Override + public Stream set$Xgafv(java.lang.String $Xgafv) { + return (Stream) super.set$Xgafv($Xgafv); + } + + @Override + public Stream setAccessToken(java.lang.String accessToken) { + return (Stream) super.setAccessToken(accessToken); + } + + @Override + public Stream setAlt(java.lang.String alt) { + return (Stream) super.setAlt(alt); + } + + @Override + public Stream setCallback(java.lang.String callback) { + return (Stream) super.setCallback(callback); + } + + @Override + public Stream setFields(java.lang.String fields) { + return (Stream) super.setFields(fields); + } + + @Override + public Stream setKey(java.lang.String key) { + return (Stream) super.setKey(key); + } + + @Override + public Stream setOauthToken(java.lang.String oauthToken) { + return (Stream) super.setOauthToken(oauthToken); + } + + @Override + public Stream setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Stream) super.setPrettyPrint(prettyPrint); + } + + @Override + public Stream setQuotaUser(java.lang.String quotaUser) { + return (Stream) super.setQuotaUser(quotaUser); + } + + @Override + public Stream setUploadType(java.lang.String uploadType) { + return (Stream) super.setUploadType(uploadType); + } + + @Override + public Stream setUploadProtocol(java.lang.String uploadProtocol) { + return (Stream) super.setUploadProtocol(uploadProtocol); + } + + /** + * Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. + */ + @com.google.api.client.util.Key + private java.lang.String tenant; + + /** Optional. Opaque routing identifier. Must match the `tenant` value from the selected + `AgentInterface` in the Agent Card when that field is set. + */ + public java.lang.String getTenant() { + return tenant; + } + + /** + * Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. + */ + public Stream setTenant(java.lang.String tenant) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(), + "Parameter tenant must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/apps/[^/]+$"); + } + this.tenant = tenant; + return this; + } + + @Override + public Stream set(String parameterName, Object value) { + return (Stream) super.set(parameterName, value); + } + } } /** @@ -10766,6 +11032,147 @@ public Send set(String parameterName, Object value) { return (Send) super.set(parameterName, value); } } + /** + * Sends a streaming message to an agent, allowing for real-time interaction and status updates. + * Streaming version of `SendMessage` + * + * Create a request for the method "message.stream". + * + * This request holds the parameters needed by the ces server. After setting any optional + * parameters, call the {@link Stream#execute()} method to invoke the remote operation. + * + * @param tenant Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. + * @param content the {@link com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest} + * @return the request + */ + public Stream stream(java.lang.String tenant, com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest content) throws java.io.IOException { + Stream result = new Stream(tenant, content); + initialize(result); + return result; + } + + public class Stream extends CustomerEngagementSuiteRequest { + + private static final String REST_PATH = "v1/{+tenant}/message:stream"; + + private final java.util.regex.Pattern TENANT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/apps/[^/]+/versions/[^/]+$"); + + /** + * Sends a streaming message to an agent, allowing for real-time interaction and status updates. + * Streaming version of `SendMessage` + * + * Create a request for the method "message.stream". + * + * This request holds the parameters needed by the the ces server. After setting any optional + * parameters, call the {@link Stream#execute()} method to invoke the remote operation.

{@link + * Stream#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param tenant Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. + * @param content the {@link com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest} + * @since 1.13 + */ + protected Stream(java.lang.String tenant, com.google.api.services.ces.v1.model.LfA2aV1SendMessageRequest content) { + super(CustomerEngagementSuite.this, "POST", REST_PATH, content, com.google.api.services.ces.v1.model.LfA2aV1StreamResponse.class); + this.tenant = com.google.api.client.util.Preconditions.checkNotNull(tenant, "Required parameter tenant must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(), + "Parameter tenant must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/apps/[^/]+/versions/[^/]+$"); + } + } + + @Override + public Stream set$Xgafv(java.lang.String $Xgafv) { + return (Stream) super.set$Xgafv($Xgafv); + } + + @Override + public Stream setAccessToken(java.lang.String accessToken) { + return (Stream) super.setAccessToken(accessToken); + } + + @Override + public Stream setAlt(java.lang.String alt) { + return (Stream) super.setAlt(alt); + } + + @Override + public Stream setCallback(java.lang.String callback) { + return (Stream) super.setCallback(callback); + } + + @Override + public Stream setFields(java.lang.String fields) { + return (Stream) super.setFields(fields); + } + + @Override + public Stream setKey(java.lang.String key) { + return (Stream) super.setKey(key); + } + + @Override + public Stream setOauthToken(java.lang.String oauthToken) { + return (Stream) super.setOauthToken(oauthToken); + } + + @Override + public Stream setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Stream) super.setPrettyPrint(prettyPrint); + } + + @Override + public Stream setQuotaUser(java.lang.String quotaUser) { + return (Stream) super.setQuotaUser(quotaUser); + } + + @Override + public Stream setUploadType(java.lang.String uploadType) { + return (Stream) super.setUploadType(uploadType); + } + + @Override + public Stream setUploadProtocol(java.lang.String uploadProtocol) { + return (Stream) super.setUploadProtocol(uploadProtocol); + } + + /** + * Optional. Opaque routing identifier. Must match the `tenant` value from the + * selected `AgentInterface` in the Agent Card when that field is set. + */ + @com.google.api.client.util.Key + private java.lang.String tenant; + + /** Optional. Opaque routing identifier. Must match the `tenant` value from the selected + `AgentInterface` in the Agent Card when that field is set. + */ + public java.lang.String getTenant() { + return tenant; + } + + /** + * Optional. Opaque routing identifier. Must match the `tenant` value from the + * selected `AgentInterface` in the Agent Card when that field is set. + */ + public Stream setTenant(java.lang.String tenant) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(), + "Parameter tenant must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/apps/[^/]+/versions/[^/]+$"); + } + this.tenant = tenant; + return this; + } + + @Override + public Stream set(String parameterName, Object value) { + return (Stream) super.set(parameterName, value); + } + } } } diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/App.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/App.java index 4de09345dae..bd5dcc40578 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/App.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/App.java @@ -53,6 +53,14 @@ public final class App extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private String createTime; + /** + * Optional. App-specific dashboard settings for linking and configuring Contact Center Insights + * dashboards. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DashboardSettings dashboardSettings; + /** * Optional. The data store settings for the app. * The value may be {@code null}. @@ -287,6 +295,25 @@ public App setCreateTime(String createTime) { return this; } + /** + * Optional. App-specific dashboard settings for linking and configuring Contact Center Insights + * dashboards. + * @return value or {@code null} for none + */ + public DashboardSettings getDashboardSettings() { + return dashboardSettings; + } + + /** + * Optional. App-specific dashboard settings for linking and configuring Contact Center Insights + * dashboards. + * @param dashboardSettings dashboardSettings or {@code null} for none + */ + public App setDashboardSettings(DashboardSettings dashboardSettings) { + this.dashboardSettings = dashboardSettings; + return this; + } + /** * Optional. The data store settings for the app. * @return value or {@code null} for none diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ConversationTurn.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ConversationTurn.java index da0eb46f2e6..9f320519efe 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ConversationTurn.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ConversationTurn.java @@ -38,14 +38,6 @@ public final class ConversationTurn extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private java.util.List messages; - /** - * Output only. The full dynamically resolved developer instruction generated from templates. This - * field is only populated on-demand when requested during history retrieval. It is not persisted. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String resolvedDeveloperInstruction; - /** * Optional. The root span of the action processing. * The value may be {@code null}. @@ -53,14 +45,6 @@ public final class ConversationTurn extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private Span rootSpan; - /** - * Optional. Variables or configurations referenced by the template engine during dynamic prompt - * generation. This allows reconstructing the exact prompt sent to the model for this turn. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.Map templateAttributes; - /** * Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated * when word error rate metrics are enabled. @@ -88,25 +72,6 @@ public ConversationTurn setMessages(java.util.List messages) { return this; } - /** - * Output only. The full dynamically resolved developer instruction generated from templates. This - * field is only populated on-demand when requested during history retrieval. It is not persisted. - * @return value or {@code null} for none - */ - public java.lang.String getResolvedDeveloperInstruction() { - return resolvedDeveloperInstruction; - } - - /** - * Output only. The full dynamically resolved developer instruction generated from templates. This - * field is only populated on-demand when requested during history retrieval. It is not persisted. - * @param resolvedDeveloperInstruction resolvedDeveloperInstruction or {@code null} for none - */ - public ConversationTurn setResolvedDeveloperInstruction(java.lang.String resolvedDeveloperInstruction) { - this.resolvedDeveloperInstruction = resolvedDeveloperInstruction; - return this; - } - /** * Optional. The root span of the action processing. * @return value or {@code null} for none @@ -124,25 +89,6 @@ public ConversationTurn setRootSpan(Span rootSpan) { return this; } - /** - * Optional. Variables or configurations referenced by the template engine during dynamic prompt - * generation. This allows reconstructing the exact prompt sent to the model for this turn. - * @return value or {@code null} for none - */ - public java.util.Map getTemplateAttributes() { - return templateAttributes; - } - - /** - * Optional. Variables or configurations referenced by the template engine during dynamic prompt - * generation. This allows reconstructing the exact prompt sent to the model for this turn. - * @param templateAttributes templateAttributes or {@code null} for none - */ - public ConversationTurn setTemplateAttributes(java.util.Map templateAttributes) { - this.templateAttributes = templateAttributes; - return this; - } - /** * Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated * when word error rate metrics are enabled. diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DashboardSettings.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DashboardSettings.java new file mode 100644 index 00000000000..a093120015c --- /dev/null +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DashboardSettings.java @@ -0,0 +1,73 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.ces.v1.model; + +/** + * Settings for dashboards associated with the app, that show up in the Monitoring view. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Gemini Enterprise for Customer Experience API. For a + * detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class DashboardSettings extends com.google.api.client.json.GenericJson { + + /** + * Optional. The resource name of the default Contact Center Insights dashboard associated with + * the app. This is the dashboard that will be displayed when users navigate to the Monitoring + * view for the app. Format: `projects/{project}/locations/{location}/dashboards/{dashboard}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String defaultDashboard; + + /** + * Optional. The resource name of the default Contact Center Insights dashboard associated with + * the app. This is the dashboard that will be displayed when users navigate to the Monitoring + * view for the app. Format: `projects/{project}/locations/{location}/dashboards/{dashboard}` + * @return value or {@code null} for none + */ + public java.lang.String getDefaultDashboard() { + return defaultDashboard; + } + + /** + * Optional. The resource name of the default Contact Center Insights dashboard associated with + * the app. This is the dashboard that will be displayed when users navigate to the Monitoring + * view for the app. Format: `projects/{project}/locations/{location}/dashboards/{dashboard}` + * @param defaultDashboard defaultDashboard or {@code null} for none + */ + public DashboardSettings setDefaultDashboard(java.lang.String defaultDashboard) { + this.defaultDashboard = defaultDashboard; + return this; + } + + @Override + public DashboardSettings set(String fieldName, Object value) { + return (DashboardSettings) super.set(fieldName, value); + } + + @Override + public DashboardSettings clone() { + return (DashboardSettings) super.clone(); + } + +} diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStoreToolSnippetsConfig.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStoreToolSnippetsConfig.java index a44fabe7080..b4f3e097347 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStoreToolSnippetsConfig.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStoreToolSnippetsConfig.java @@ -37,6 +37,14 @@ public final class DataStoreToolSnippetsConfig extends com.google.api.client.jso @com.google.api.client.util.Key private java.lang.Boolean enableSnippets; + /** + * Optional. Number of snippets to return per query. If unset, returns all snippets from the + * service by default. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer maxSnippets; + /** * Optional. Whether snippets are enabled. * @return value or {@code null} for none @@ -54,6 +62,25 @@ public DataStoreToolSnippetsConfig setEnableSnippets(java.lang.Boolean enableSni return this; } + /** + * Optional. Number of snippets to return per query. If unset, returns all snippets from the + * service by default. + * @return value or {@code null} for none + */ + public java.lang.Integer getMaxSnippets() { + return maxSnippets; + } + + /** + * Optional. Number of snippets to return per query. If unset, returns all snippets from the + * service by default. + * @param maxSnippets maxSnippets or {@code null} for none + */ + public DataStoreToolSnippetsConfig setMaxSnippets(java.lang.Integer maxSnippets) { + this.maxSnippets = maxSnippets; + return this; + } + @Override public DataStoreToolSnippetsConfig set(String fieldName, Object value) { return (DataStoreToolSnippetsConfig) super.set(fieldName, value); diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DeployChannelResponse.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DeployChannelResponse.java new file mode 100644 index 00000000000..f1ace94ff7b --- /dev/null +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DeployChannelResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.ces.v1.model; + +/** + * Response message for AgentService.DeployChannel. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Gemini Enterprise for Customer Experience API. For a + * detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class DeployChannelResponse extends com.google.api.client.json.GenericJson { + + /** + * The created deployment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Deployment deployment; + + /** + * The created deployment. + * @return value or {@code null} for none + */ + public Deployment getDeployment() { + return deployment; + } + + /** + * The created deployment. + * @param deployment deployment or {@code null} for none + */ + public DeployChannelResponse setDeployment(Deployment deployment) { + this.deployment = deployment; + return this; + } + + @Override + public DeployChannelResponse set(String fieldName, Object value) { + return (DeployChannelResponse) super.set(fieldName, value); + } + + @Override + public DeployChannelResponse clone() { + return (DeployChannelResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ImportAppRequest.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ImportAppRequest.java index 437689e39e2..fd5aa01eac6 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ImportAppRequest.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ImportAppRequest.java @@ -81,6 +81,20 @@ public final class ImportAppRequest extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private ImportAppRequestImportOptions importOptions; + /** + * Optional. Patch content as a JSON string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String jsonPatchContent; + + /** + * Optional. A Cloud Storage URI pointing to a JSON file containing the patches. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String jsonPatchGcsUri; + /** * Raw bytes representing the compressed zip file with the app folder structure. * @see #decodeAppContent() @@ -229,6 +243,40 @@ public ImportAppRequest setImportOptions(ImportAppRequestImportOptions importOpt return this; } + /** + * Optional. Patch content as a JSON string. + * @return value or {@code null} for none + */ + public java.lang.String getJsonPatchContent() { + return jsonPatchContent; + } + + /** + * Optional. Patch content as a JSON string. + * @param jsonPatchContent jsonPatchContent or {@code null} for none + */ + public ImportAppRequest setJsonPatchContent(java.lang.String jsonPatchContent) { + this.jsonPatchContent = jsonPatchContent; + return this; + } + + /** + * Optional. A Cloud Storage URI pointing to a JSON file containing the patches. + * @return value or {@code null} for none + */ + public java.lang.String getJsonPatchGcsUri() { + return jsonPatchGcsUri; + } + + /** + * Optional. A Cloud Storage URI pointing to a JSON file containing the patches. + * @param jsonPatchGcsUri jsonPatchGcsUri or {@code null} for none + */ + public ImportAppRequest setJsonPatchGcsUri(java.lang.String jsonPatchGcsUri) { + this.jsonPatchGcsUri = jsonPatchGcsUri; + return this; + } + @Override public ImportAppRequest set(String fieldName, Object value) { return (ImportAppRequest) super.set(fieldName, value); diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LfA2aV1StreamResponse.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LfA2aV1StreamResponse.java new file mode 100644 index 00000000000..c6909c8d82b --- /dev/null +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LfA2aV1StreamResponse.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.ces.v1.model; + +/** + * A wrapper object used in streaming operations to encapsulate different types of response data. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Gemini Enterprise for Customer Experience API. For a + * detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class LfA2aV1StreamResponse extends com.google.api.client.json.GenericJson { + + /** + * An event indicating a task artifact update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private LfA2aV1TaskArtifactUpdateEvent artifactUpdate; + + /** + * A Message object containing a message from the agent. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private LfA2aV1Message message; + + /** + * An event indicating a task status update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private LfA2aV1TaskStatusUpdateEvent statusUpdate; + + /** + * A Task object containing the current state of the task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private LfA2aV1Task task; + + /** + * An event indicating a task artifact update. + * @return value or {@code null} for none + */ + public LfA2aV1TaskArtifactUpdateEvent getArtifactUpdate() { + return artifactUpdate; + } + + /** + * An event indicating a task artifact update. + * @param artifactUpdate artifactUpdate or {@code null} for none + */ + public LfA2aV1StreamResponse setArtifactUpdate(LfA2aV1TaskArtifactUpdateEvent artifactUpdate) { + this.artifactUpdate = artifactUpdate; + return this; + } + + /** + * A Message object containing a message from the agent. + * @return value or {@code null} for none + */ + public LfA2aV1Message getMessage() { + return message; + } + + /** + * A Message object containing a message from the agent. + * @param message message or {@code null} for none + */ + public LfA2aV1StreamResponse setMessage(LfA2aV1Message message) { + this.message = message; + return this; + } + + /** + * An event indicating a task status update. + * @return value or {@code null} for none + */ + public LfA2aV1TaskStatusUpdateEvent getStatusUpdate() { + return statusUpdate; + } + + /** + * An event indicating a task status update. + * @param statusUpdate statusUpdate or {@code null} for none + */ + public LfA2aV1StreamResponse setStatusUpdate(LfA2aV1TaskStatusUpdateEvent statusUpdate) { + this.statusUpdate = statusUpdate; + return this; + } + + /** + * A Task object containing the current state of the task. + * @return value or {@code null} for none + */ + public LfA2aV1Task getTask() { + return task; + } + + /** + * A Task object containing the current state of the task. + * @param task task or {@code null} for none + */ + public LfA2aV1StreamResponse setTask(LfA2aV1Task task) { + this.task = task; + return this; + } + + @Override + public LfA2aV1StreamResponse set(String fieldName, Object value) { + return (LfA2aV1StreamResponse) super.set(fieldName, value); + } + + @Override + public LfA2aV1StreamResponse clone() { + return (LfA2aV1StreamResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LfA2aV1TaskArtifactUpdateEvent.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LfA2aV1TaskArtifactUpdateEvent.java new file mode 100644 index 00000000000..c15a4dd068b --- /dev/null +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LfA2aV1TaskArtifactUpdateEvent.java @@ -0,0 +1,190 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.ces.v1.model; + +/** + * A task delta where an artifact has been generated. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Gemini Enterprise for Customer Experience API. For a + * detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class LfA2aV1TaskArtifactUpdateEvent extends com.google.api.client.json.GenericJson { + + /** + * If true, the content of this artifact should be appended to a previously sent artifact with the + * same ID. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean append; + + /** + * Required. The artifact that was generated or updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private LfA2aV1Artifact artifact; + + /** + * Required. The ID of the context that this task belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String contextId; + + /** + * If true, this is the final chunk of the artifact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean lastChunk; + + /** + * Optional. Metadata associated with the artifact update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map metadata; + + /** + * Required. The ID of the task for this artifact. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taskId; + + /** + * If true, the content of this artifact should be appended to a previously sent artifact with the + * same ID. + * @return value or {@code null} for none + */ + public java.lang.Boolean getAppend() { + return append; + } + + /** + * If true, the content of this artifact should be appended to a previously sent artifact with the + * same ID. + * @param append append or {@code null} for none + */ + public LfA2aV1TaskArtifactUpdateEvent setAppend(java.lang.Boolean append) { + this.append = append; + return this; + } + + /** + * Required. The artifact that was generated or updated. + * @return value or {@code null} for none + */ + public LfA2aV1Artifact getArtifact() { + return artifact; + } + + /** + * Required. The artifact that was generated or updated. + * @param artifact artifact or {@code null} for none + */ + public LfA2aV1TaskArtifactUpdateEvent setArtifact(LfA2aV1Artifact artifact) { + this.artifact = artifact; + return this; + } + + /** + * Required. The ID of the context that this task belongs to. + * @return value or {@code null} for none + */ + public java.lang.String getContextId() { + return contextId; + } + + /** + * Required. The ID of the context that this task belongs to. + * @param contextId contextId or {@code null} for none + */ + public LfA2aV1TaskArtifactUpdateEvent setContextId(java.lang.String contextId) { + this.contextId = contextId; + return this; + } + + /** + * If true, this is the final chunk of the artifact. + * @return value or {@code null} for none + */ + public java.lang.Boolean getLastChunk() { + return lastChunk; + } + + /** + * If true, this is the final chunk of the artifact. + * @param lastChunk lastChunk or {@code null} for none + */ + public LfA2aV1TaskArtifactUpdateEvent setLastChunk(java.lang.Boolean lastChunk) { + this.lastChunk = lastChunk; + return this; + } + + /** + * Optional. Metadata associated with the artifact update. + * @return value or {@code null} for none + */ + public java.util.Map getMetadata() { + return metadata; + } + + /** + * Optional. Metadata associated with the artifact update. + * @param metadata metadata or {@code null} for none + */ + public LfA2aV1TaskArtifactUpdateEvent setMetadata(java.util.Map metadata) { + this.metadata = metadata; + return this; + } + + /** + * Required. The ID of the task for this artifact. + * @return value or {@code null} for none + */ + public java.lang.String getTaskId() { + return taskId; + } + + /** + * Required. The ID of the task for this artifact. + * @param taskId taskId or {@code null} for none + */ + public LfA2aV1TaskArtifactUpdateEvent setTaskId(java.lang.String taskId) { + this.taskId = taskId; + return this; + } + + @Override + public LfA2aV1TaskArtifactUpdateEvent set(String fieldName, Object value) { + return (LfA2aV1TaskArtifactUpdateEvent) super.set(fieldName, value); + } + + @Override + public LfA2aV1TaskArtifactUpdateEvent clone() { + return (LfA2aV1TaskArtifactUpdateEvent) super.clone(); + } + +} diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LfA2aV1TaskStatusUpdateEvent.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LfA2aV1TaskStatusUpdateEvent.java new file mode 100644 index 00000000000..4dd11d0c1d0 --- /dev/null +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LfA2aV1TaskStatusUpdateEvent.java @@ -0,0 +1,139 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.ces.v1.model; + +/** + * An event sent by the agent to notify the client of a change in a task's status. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Gemini Enterprise for Customer Experience API. For a + * detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class LfA2aV1TaskStatusUpdateEvent extends com.google.api.client.json.GenericJson { + + /** + * Required. The ID of the context that the task belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String contextId; + + /** + * Optional. Metadata associated with the task update. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map metadata; + + /** + * Required. The new status of the task. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private LfA2aV1TaskStatus status; + + /** + * Required. The ID of the task that has changed. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String taskId; + + /** + * Required. The ID of the context that the task belongs to. + * @return value or {@code null} for none + */ + public java.lang.String getContextId() { + return contextId; + } + + /** + * Required. The ID of the context that the task belongs to. + * @param contextId contextId or {@code null} for none + */ + public LfA2aV1TaskStatusUpdateEvent setContextId(java.lang.String contextId) { + this.contextId = contextId; + return this; + } + + /** + * Optional. Metadata associated with the task update. + * @return value or {@code null} for none + */ + public java.util.Map getMetadata() { + return metadata; + } + + /** + * Optional. Metadata associated with the task update. + * @param metadata metadata or {@code null} for none + */ + public LfA2aV1TaskStatusUpdateEvent setMetadata(java.util.Map metadata) { + this.metadata = metadata; + return this; + } + + /** + * Required. The new status of the task. + * @return value or {@code null} for none + */ + public LfA2aV1TaskStatus getStatus() { + return status; + } + + /** + * Required. The new status of the task. + * @param status status or {@code null} for none + */ + public LfA2aV1TaskStatusUpdateEvent setStatus(LfA2aV1TaskStatus status) { + this.status = status; + return this; + } + + /** + * Required. The ID of the task that has changed. + * @return value or {@code null} for none + */ + public java.lang.String getTaskId() { + return taskId; + } + + /** + * Required. The ID of the task that has changed. + * @param taskId taskId or {@code null} for none + */ + public LfA2aV1TaskStatusUpdateEvent setTaskId(java.lang.String taskId) { + this.taskId = taskId; + return this; + } + + @Override + public LfA2aV1TaskStatusUpdateEvent set(String fieldName, Object value) { + return (LfA2aV1TaskStatusUpdateEvent) super.set(fieldName, value); + } + + @Override + public LfA2aV1TaskStatusUpdateEvent clone() { + return (LfA2aV1TaskStatusUpdateEvent) super.clone(); + } + +} diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/RemoteAgentTool.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/RemoteAgentTool.java index a1fb952cc5d..5fe3aeef402 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/RemoteAgentTool.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/RemoteAgentTool.java @@ -37,6 +37,13 @@ public final class RemoteAgentTool extends com.google.api.client.json.GenericJso @com.google.api.client.util.Key private AgentCard agentCard; + /** + * Optional. Authentication configuration for calling the remote agent. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ApiAuthentication apiAuthentication; + /** * Required. The description of the tool. * The value may be {@code null}. @@ -68,6 +75,23 @@ public RemoteAgentTool setAgentCard(AgentCard agentCard) { return this; } + /** + * Optional. Authentication configuration for calling the remote agent. + * @return value or {@code null} for none + */ + public ApiAuthentication getApiAuthentication() { + return apiAuthentication; + } + + /** + * Optional. Authentication configuration for calling the remote agent. + * @param apiAuthentication apiAuthentication or {@code null} for none + */ + public RemoteAgentTool setApiAuthentication(ApiAuthentication apiAuthentication) { + this.apiAuthentication = apiAuthentication; + return this; + } + /** * Required. The description of the tool. * @return value or {@code null} for none diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionOutput.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionOutput.java index 88fd3b386b5..a7b97f38ebe 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionOutput.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionOutput.java @@ -73,6 +73,13 @@ public final class SessionOutput extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private GoogleSearchSuggestions googleSearchSuggestions; + /** + * Output image from the CES agent. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Image image; + /** * Custom payload with structured output from the CES agent. * The value may be {@code null}. @@ -242,6 +249,23 @@ public SessionOutput setGoogleSearchSuggestions(GoogleSearchSuggestions googleSe return this; } + /** + * Output image from the CES agent. + * @return value or {@code null} for none + */ + public Image getImage() { + return image; + } + + /** + * Output image from the CES agent. + * @param image image or {@code null} for none + */ + public SessionOutput setImage(Image image) { + this.image = image; + return this; + } + /** * Custom payload with structured output from the CES agent. * @return value or {@code null} for none diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolCall.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolCall.java index 602cb9e7941..751c3bd7b73 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolCall.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolCall.java @@ -30,6 +30,14 @@ @SuppressWarnings("javadoc") public final class ToolCall extends com.google.api.client.json.GenericJson { + /** + * Output only. Human-readable name of the agent that issued this call, e.g. "Contract Architect". + * Empty when the root agent issued it. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String agentName; + /** * Optional. The input parameters and values for the tool in JSON object format. * The value may be {@code null}. @@ -52,6 +60,15 @@ public final class ToolCall extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String id; + /** + * Output only. The id of the tool call that caused this one, when it was issued by a sub-agent + * working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub- + * agent's work under the call that started it instead of rendering every step as a sibling. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String parentToolCallId; + /** * Optional. The name of the tool to execute. Format: * `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` @@ -67,6 +84,25 @@ public final class ToolCall extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private ToolsetTool toolsetTool; + /** + * Output only. Human-readable name of the agent that issued this call, e.g. "Contract Architect". + * Empty when the root agent issued it. + * @return value or {@code null} for none + */ + public java.lang.String getAgentName() { + return agentName; + } + + /** + * Output only. Human-readable name of the agent that issued this call, e.g. "Contract Architect". + * Empty when the root agent issued it. + * @param agentName agentName or {@code null} for none + */ + public ToolCall setAgentName(java.lang.String agentName) { + this.agentName = agentName; + return this; + } + /** * Optional. The input parameters and values for the tool in JSON object format. * @return value or {@code null} for none @@ -120,6 +156,27 @@ public ToolCall setId(java.lang.String id) { return this; } + /** + * Output only. The id of the tool call that caused this one, when it was issued by a sub-agent + * working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub- + * agent's work under the call that started it instead of rendering every step as a sibling. + * @return value or {@code null} for none + */ + public java.lang.String getParentToolCallId() { + return parentToolCallId; + } + + /** + * Output only. The id of the tool call that caused this one, when it was issued by a sub-agent + * working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub- + * agent's work under the call that started it instead of rendering every step as a sibling. + * @param parentToolCallId parentToolCallId or {@code null} for none + */ + public ToolCall setParentToolCallId(java.lang.String parentToolCallId) { + this.parentToolCallId = parentToolCallId; + return this; + } + /** * Optional. The name of the tool to execute. Format: * `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolResponse.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolResponse.java index 39e1a489033..315fbda716b 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolResponse.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolResponse.java @@ -30,6 +30,14 @@ @SuppressWarnings("javadoc") public final class ToolResponse extends com.google.api.client.json.GenericJson { + /** + * Output only. Human-readable name of the agent that issued this call, e.g. "Contract Architect". + * Empty when the root agent issued it. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String agentName; + /** * Output only. Display name of the tool. * The value may be {@code null}. @@ -44,6 +52,15 @@ public final class ToolResponse extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String id; + /** + * Output only. The id of the tool call that caused this one, when it was issued by a sub-agent + * working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub- + * agent's work under the call that started it instead of rendering every step as a sibling. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String parentToolCallId; + /** * Required. The tool execution result in JSON object format. Use "output" key to specify tool * response and "error" key to specify error details (if any). If "output" and "error" keys are @@ -68,6 +85,25 @@ public final class ToolResponse extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private ToolsetTool toolsetTool; + /** + * Output only. Human-readable name of the agent that issued this call, e.g. "Contract Architect". + * Empty when the root agent issued it. + * @return value or {@code null} for none + */ + public java.lang.String getAgentName() { + return agentName; + } + + /** + * Output only. Human-readable name of the agent that issued this call, e.g. "Contract Architect". + * Empty when the root agent issued it. + * @param agentName agentName or {@code null} for none + */ + public ToolResponse setAgentName(java.lang.String agentName) { + this.agentName = agentName; + return this; + } + /** * Output only. Display name of the tool. * @return value or {@code null} for none @@ -102,6 +138,27 @@ public ToolResponse setId(java.lang.String id) { return this; } + /** + * Output only. The id of the tool call that caused this one, when it was issued by a sub-agent + * working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub- + * agent's work under the call that started it instead of rendering every step as a sibling. + * @return value or {@code null} for none + */ + public java.lang.String getParentToolCallId() { + return parentToolCallId; + } + + /** + * Output only. The id of the tool call that caused this one, when it was issued by a sub-agent + * working on behalf of a parent call. Empty for top-level calls. Lets a client group a sub- + * agent's work under the call that started it instead of rendering every step as a sibling. + * @param parentToolCallId parentToolCallId or {@code null} for none + */ + public ToolResponse setParentToolCallId(java.lang.String parentToolCallId) { + this.parentToolCallId = parentToolCallId; + return this; + } + /** * Required. The tool execution result in JSON object format. Use "output" key to specify tool * response and "error" key to specify error details (if any). If "output" and "error" keys are diff --git a/clients/google-api-services-ces/v1/2.0.0/pom.xml b/clients/google-api-services-ces/v1/2.0.0/pom.xml index 7a0c8a0f8dc..1638f791600 100644 --- a/clients/google-api-services-ces/v1/2.0.0/pom.xml +++ b/clients/google-api-services-ces/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-ces - v1-rev20260806-2.0.0 - Gemini Enterprise for Customer Experience API v1-rev20260806-2.0.0 + v1-rev20260824-2.0.0 + Gemini Enterprise for Customer Experience API v1-rev20260824-2.0.0 jar 2011 diff --git a/clients/google-api-services-ces/v1/README.md b/clients/google-api-services-ces/v1/README.md index 327e608f036..657da61e722 100644 --- a/clients/google-api-services-ces/v1/README.md +++ b/clients/google-api-services-ces/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-ces - v1-rev20260806-2.0.0 + v1-rev20260824-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1-rev20260806-2.0.0' + implementation 'com.google.apis:google-api-services-ces:v1-rev20260824-2.0.0' } ```