From 5b59d42532218143a6e390576e386be91cd5bbbf Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 1 Aug 2026 18:13:07 -0700 Subject: [PATCH] chore: regenerate ces client --- .../v1/2.0.0/README.md | 4 +- .../ces/v1/model/ConversationTurn.java | 27 +++++ .../v1/model/DataStoreToolModalityConfig.java | 24 ++++ .../v1/model/DataStoreToolSnippetsConfig.java | 67 ++++++++++ .../model/ImportAppRequestImportOptions.java | 27 +++++ .../services/ces/v1/model/SessionConfig.java | 24 ++++ .../ces/v1/model/SynthesizeSpeechConfig.java | 33 ++--- .../google-api-services-ces/v1/2.0.0/pom.xml | 4 +- clients/google-api-services-ces/v1/README.md | 4 +- .../v1beta/2.0.0/README.md | 4 +- .../ces/v1beta/CustomerEngagementSuite.java | 114 +++++++++++++----- .../ces/v1beta/model/ConversationTurn.java | 27 +++++ .../model/DataStoreToolModalityConfig.java | 24 ++++ .../model/DataStoreToolSnippetsConfig.java | 67 ++++++++++ .../services/ces/v1beta/model/Deployment.java | 57 +++++++++ .../ces/v1beta/model/EvaluationResult.java | 54 +++++++++ ...ationResultUserGoalSatisfactionResult.java | 18 +-- .../model/ImportAppRequestImportOptions.java | 27 +++++ .../v1beta/model/LfA2aV1AgentInterface.java | 18 ++- .../LfA2aV1TaskPushNotificationConfig.java | 9 +- .../v1beta/model/RunEvaluationRequest.java | 12 +- .../ces/v1beta/model/SessionConfig.java | 24 ++++ .../v1beta/model/SynthesizeSpeechConfig.java | 51 ++++++-- .../v1beta/2.0.0/pom.xml | 4 +- .../google-api-services-ces/v1beta/README.md | 4 +- 25 files changed, 638 insertions(+), 90 deletions(-) create mode 100644 clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStoreToolSnippetsConfig.java create mode 100644 clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/DataStoreToolSnippetsConfig.java 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 94f2c6dca2a..55d3c7f67a0 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-rev20260715-2.0.0 + v1-rev20260730-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1-rev20260715-2.0.0' + implementation 'com.google.apis:google-api-services-ces:v1-rev20260730-2.0.0' } ``` 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 dd31029417b..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 @@ -45,6 +45,14 @@ public final class ConversationTurn extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private Span rootSpan; + /** + * Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated + * when word error rate metrics are enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userIntendedText; + /** * Optional. List of messages in the conversation turn, including user input, agent responses and * intermediate events during the processing. @@ -81,6 +89,25 @@ public ConversationTurn setRootSpan(Span rootSpan) { return this; } + /** + * Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated + * when word error rate metrics are enabled. + * @return value or {@code null} for none + */ + public java.lang.String getUserIntendedText() { + return userIntendedText; + } + + /** + * Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated + * when word error rate metrics are enabled. + * @param userIntendedText userIntendedText or {@code null} for none + */ + public ConversationTurn setUserIntendedText(java.lang.String userIntendedText) { + this.userIntendedText = userIntendedText; + return this; + } + @Override public ConversationTurn set(String fieldName, Object value) { return (ConversationTurn) super.set(fieldName, value); diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStoreToolModalityConfig.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStoreToolModalityConfig.java index e3d4a442552..7280c3966c9 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStoreToolModalityConfig.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStoreToolModalityConfig.java @@ -51,6 +51,13 @@ public final class DataStoreToolModalityConfig extends com.google.api.client.jso @com.google.api.client.util.Key private DataStoreToolRewriterConfig rewriterConfig; + /** + * Optional. The snippets configuration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DataStoreToolSnippetsConfig snippetsConfig; + /** * Optional. The summarization config. * The value may be {@code null}. @@ -109,6 +116,23 @@ public DataStoreToolModalityConfig setRewriterConfig(DataStoreToolRewriterConfig return this; } + /** + * Optional. The snippets configuration. + * @return value or {@code null} for none + */ + public DataStoreToolSnippetsConfig getSnippetsConfig() { + return snippetsConfig; + } + + /** + * Optional. The snippets configuration. + * @param snippetsConfig snippetsConfig or {@code null} for none + */ + public DataStoreToolModalityConfig setSnippetsConfig(DataStoreToolSnippetsConfig snippetsConfig) { + this.snippetsConfig = snippetsConfig; + return this; + } + /** * Optional. The summarization config. * @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/DataStoreToolSnippetsConfig.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStoreToolSnippetsConfig.java new file mode 100644 index 00000000000..a44fabe7080 --- /dev/null +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/DataStoreToolSnippetsConfig.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; + +/** + * Snippets configuration. + * + *

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 DataStoreToolSnippetsConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Whether snippets are enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableSnippets; + + /** + * Optional. Whether snippets are enabled. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableSnippets() { + return enableSnippets; + } + + /** + * Optional. Whether snippets are enabled. + * @param enableSnippets enableSnippets or {@code null} for none + */ + public DataStoreToolSnippetsConfig setEnableSnippets(java.lang.Boolean enableSnippets) { + this.enableSnippets = enableSnippets; + return this; + } + + @Override + public DataStoreToolSnippetsConfig set(String fieldName, Object value) { + return (DataStoreToolSnippetsConfig) super.set(fieldName, value); + } + + @Override + public DataStoreToolSnippetsConfig clone() { + return (DataStoreToolSnippetsConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ImportAppRequestImportOptions.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ImportAppRequestImportOptions.java index d23d668c199..386500aa6df 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ImportAppRequestImportOptions.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ImportAppRequestImportOptions.java @@ -38,6 +38,14 @@ public final class ImportAppRequestImportOptions extends com.google.api.client.j @com.google.api.client.util.Key private java.lang.String conflictResolutionStrategy; + /** + * Optional. Flag for dry-running the import process. If set to true, the import process will only + * perform validations and will not make any changes to the existing app or create a new one. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + /** * Optional. The strategy to use when resolving conflicts during import. * @return value or {@code null} for none @@ -55,6 +63,25 @@ public ImportAppRequestImportOptions setConflictResolutionStrategy(java.lang.Str return this; } + /** + * Optional. Flag for dry-running the import process. If set to true, the import process will only + * perform validations and will not make any changes to the existing app or create a new one. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * Optional. Flag for dry-running the import process. If set to true, the import process will only + * perform validations and will not make any changes to the existing app or create a new one. + * @param validateOnly validateOnly or {@code null} for none + */ + public ImportAppRequestImportOptions setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + @Override public ImportAppRequestImportOptions set(String fieldName, Object value) { return (ImportAppRequestImportOptions) super.set(fieldName, value); diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionConfig.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionConfig.java index 2e06e04a485..e58a1ade4ab 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionConfig.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionConfig.java @@ -56,6 +56,13 @@ public final class SessionConfig extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String entryAgent; + /** + * Optional. Whether to exclude diagnostic info from the session output. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean excludeDiagnosticInfo; + /** * Optional. The historical context of the session, including user inputs, agent responses, and * other messages. Typically, CES agent would manage session automatically so client doesn't need @@ -175,6 +182,23 @@ public SessionConfig setEntryAgent(java.lang.String entryAgent) { return this; } + /** + * Optional. Whether to exclude diagnostic info from the session output. + * @return value or {@code null} for none + */ + public java.lang.Boolean getExcludeDiagnosticInfo() { + return excludeDiagnosticInfo; + } + + /** + * Optional. Whether to exclude diagnostic info from the session output. + * @param excludeDiagnosticInfo excludeDiagnosticInfo or {@code null} for none + */ + public SessionConfig setExcludeDiagnosticInfo(java.lang.Boolean excludeDiagnosticInfo) { + this.excludeDiagnosticInfo = excludeDiagnosticInfo; + return this; + } + /** * Optional. The historical context of the session, including user inputs, agent responses, and * other messages. Typically, CES agent would manage session automatically so client doesn't need diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SynthesizeSpeechConfig.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SynthesizeSpeechConfig.java index 38c91ebd350..b1ec5ad1296 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SynthesizeSpeechConfig.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SynthesizeSpeechConfig.java @@ -31,7 +31,8 @@ public final class SynthesizeSpeechConfig extends com.google.api.client.json.GenericJson { /** - * Optional. The Cloud Storage URI to the consent audio for voice cloning. + * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud + * Storage URI to the consent audio for voice cloning. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -72,17 +73,18 @@ public final class SynthesizeSpeechConfig extends com.google.api.client.json.Gen private java.lang.String voice; /** - * Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should - * be a mono-channel, 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp- - * sa-ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage - * object. + * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud + * Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, + * 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp-sa- + * ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage object. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String voiceSampleGcsUri; /** - * Optional. The Cloud Storage URI to the consent audio for voice cloning. + * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud + * Storage URI to the consent audio for voice cloning. * @return value or {@code null} for none */ public java.lang.String getConsentAudioGcsUri() { @@ -90,7 +92,8 @@ public java.lang.String getConsentAudioGcsUri() { } /** - * Optional. The Cloud Storage URI to the consent audio for voice cloning. + * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud + * Storage URI to the consent audio for voice cloning. * @param consentAudioGcsUri consentAudioGcsUri or {@code null} for none */ public SynthesizeSpeechConfig setConsentAudioGcsUri(java.lang.String consentAudioGcsUri) { @@ -179,10 +182,10 @@ public SynthesizeSpeechConfig setVoice(java.lang.String voice) { } /** - * Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should - * be a mono-channel, 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp- - * sa-ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage - * object. + * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud + * Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, + * 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp-sa- + * ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage object. * @return value or {@code null} for none */ public java.lang.String getVoiceSampleGcsUri() { @@ -190,10 +193,10 @@ public java.lang.String getVoiceSampleGcsUri() { } /** - * Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should - * be a mono-channel, 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp- - * sa-ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage - * object. + * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud + * Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, + * 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp-sa- + * ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage object. * @param voiceSampleGcsUri voiceSampleGcsUri or {@code null} for none */ public SynthesizeSpeechConfig setVoiceSampleGcsUri(java.lang.String voiceSampleGcsUri) { 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 0595e42a006..41278f4cfcc 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-rev20260715-2.0.0 - Gemini Enterprise for Customer Experience API v1-rev20260715-2.0.0 + v1-rev20260730-2.0.0 + Gemini Enterprise for Customer Experience API v1-rev20260730-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 94f2c6dca2a..55d3c7f67a0 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-rev20260715-2.0.0 + v1-rev20260730-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1-rev20260715-2.0.0' + implementation 'com.google.apis:google-api-services-ces:v1-rev20260730-2.0.0' } ``` diff --git a/clients/google-api-services-ces/v1beta/2.0.0/README.md b/clients/google-api-services-ces/v1beta/2.0.0/README.md index 3d3767cb115..30fe871d76f 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/README.md +++ b/clients/google-api-services-ces/v1beta/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 - v1beta-rev20260708-2.0.0 + v1beta-rev20260730-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1beta-rev20260708-2.0.0' + implementation 'com.google.apis:google-api-services-ces:v1beta-rev20260730-2.0.0' } ``` diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/CustomerEngagementSuite.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/CustomerEngagementSuite.java index e5194cda1f0..03fa79c7c31 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/CustomerEngagementSuite.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/CustomerEngagementSuite.java @@ -1740,7 +1740,8 @@ public Get set(String parameterName, Object value) { * parameters, call the {@link GetExtendedAgentCard#execute()} method to invoke the remote * operation. * - * @param tenant Optional. Tenant ID, provided as a path parameter. + * @param tenant Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. * @return the request */ public GetExtendedAgentCard getExtendedAgentCard(java.lang.String tenant) throws java.io.IOException { @@ -1767,7 +1768,8 @@ public class GetExtendedAgentCard extends CustomerEngagementSuiteRequest * - * @param tenant Optional. Tenant ID, provided as a path parameter. + * @param tenant Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. * @since 1.13 */ protected GetExtendedAgentCard(java.lang.String tenant) { @@ -1845,17 +1847,24 @@ public GetExtendedAgentCard setUploadProtocol(java.lang.String uploadProtocol) { return (GetExtendedAgentCard) super.setUploadProtocol(uploadProtocol); } - /** Optional. Tenant ID, provided as a path parameter. */ + /** + * 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. Tenant ID, provided as a path parameter. + /** 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. Tenant ID, provided as a path parameter. */ + /** + * Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. + */ public GetExtendedAgentCard setTenant(java.lang.String tenant) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(), @@ -5617,7 +5626,8 @@ public Get set(String parameterName, Object value) { * parameters, call the {@link GetExtendedAgentCard#execute()} method to invoke the remote * operation. * - * @param tenant Optional. Tenant ID, provided as a path parameter. + * @param tenant Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. * @return the request */ public GetExtendedAgentCard getExtendedAgentCard(java.lang.String tenant) throws java.io.IOException { @@ -5644,7 +5654,8 @@ public class GetExtendedAgentCard extends CustomerEngagementSuiteRequest * - * @param tenant Optional. Tenant ID, provided as a path parameter. + * @param tenant Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. * @since 1.13 */ protected GetExtendedAgentCard(java.lang.String tenant) { @@ -5722,17 +5733,24 @@ public GetExtendedAgentCard setUploadProtocol(java.lang.String uploadProtocol) { return (GetExtendedAgentCard) super.setUploadProtocol(uploadProtocol); } - /** Optional. Tenant ID, provided as a path parameter. */ + /** + * 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. Tenant ID, provided as a path parameter. + /** 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. Tenant ID, provided as a path parameter. */ + /** + * Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. + */ public GetExtendedAgentCard setTenant(java.lang.String tenant) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(), @@ -6151,7 +6169,8 @@ public class Message { * This request holds the parameters needed by the ces server. After setting any optional * parameters, call the {@link Send#execute()} method to invoke the remote operation. * - * @param tenant Optional. Tenant ID, provided as a path parameter. + * @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.v1beta.model.LfA2aV1SendMessageRequest} * @return the request */ @@ -6178,7 +6197,8 @@ public class Send extends CustomerEngagementSuiteRequest * - * @param tenant Optional. Tenant ID, provided as a path parameter. + * @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.v1beta.model.LfA2aV1SendMessageRequest} * @since 1.13 */ @@ -6247,17 +6267,24 @@ public Send setUploadProtocol(java.lang.String uploadProtocol) { return (Send) super.setUploadProtocol(uploadProtocol); } - /** Optional. Tenant ID, provided as a path parameter. */ + /** + * 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. Tenant ID, provided as a path parameter. + /** 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. Tenant ID, provided as a path parameter. */ + /** + * Optional. Opaque routing identifier. Must match the `tenant` value from the + * selected `AgentInterface` in the Agent Card when that field is set. + */ public Send setTenant(java.lang.String tenant) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(), @@ -12565,7 +12592,8 @@ public class Message { * This request holds the parameters needed by the ces server. After setting any optional * parameters, call the {@link Send#execute()} method to invoke the remote operation. * - * @param tenant Optional. Tenant ID, provided as a path parameter. + * @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.v1beta.model.LfA2aV1SendMessageRequest} * @return the request */ @@ -12592,7 +12620,8 @@ public class Send extends CustomerEngagementSuiteRequest * - * @param tenant Optional. Tenant ID, provided as a path parameter. + * @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.v1beta.model.LfA2aV1SendMessageRequest} * @since 1.13 */ @@ -12661,17 +12690,24 @@ public Send setUploadProtocol(java.lang.String uploadProtocol) { return (Send) super.setUploadProtocol(uploadProtocol); } - /** Optional. Tenant ID, provided as a path parameter. */ + /** + * 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. Tenant ID, provided as a path parameter. + /** 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. Tenant ID, provided as a path parameter. */ + /** + * Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. + */ public Send setTenant(java.lang.String tenant) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(), @@ -16437,7 +16473,8 @@ public Get set(String parameterName, Object value) { * parameters, call the {@link GetExtendedAgentCard#execute()} method to invoke the remote * operation. * - * @param tenant Optional. Tenant ID, provided as a path parameter. + * @param tenant Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. * @return the request */ public GetExtendedAgentCard getExtendedAgentCard(java.lang.String tenant) throws java.io.IOException { @@ -16464,7 +16501,8 @@ public class GetExtendedAgentCard extends CustomerEngagementSuiteRequest * - * @param tenant Optional. Tenant ID, provided as a path parameter. + * @param tenant Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. * @since 1.13 */ protected GetExtendedAgentCard(java.lang.String tenant) { @@ -16542,17 +16580,24 @@ public GetExtendedAgentCard setUploadProtocol(java.lang.String uploadProtocol) { return (GetExtendedAgentCard) super.setUploadProtocol(uploadProtocol); } - /** Optional. Tenant ID, provided as a path parameter. */ + /** + * 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. Tenant ID, provided as a path parameter. + /** 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. Tenant ID, provided as a path parameter. */ + /** + * Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. + */ public GetExtendedAgentCard setTenant(java.lang.String tenant) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(), @@ -16960,7 +17005,8 @@ public class Message { * This request holds the parameters needed by the ces server. After setting any optional * parameters, call the {@link Send#execute()} method to invoke the remote operation. * - * @param tenant Optional. Tenant ID, provided as a path parameter. + * @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.v1beta.model.LfA2aV1SendMessageRequest} * @return the request */ @@ -16987,7 +17033,8 @@ public class Send extends CustomerEngagementSuiteRequest * - * @param tenant Optional. Tenant ID, provided as a path parameter. + * @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.v1beta.model.LfA2aV1SendMessageRequest} * @since 1.13 */ @@ -17056,17 +17103,24 @@ public Send setUploadProtocol(java.lang.String uploadProtocol) { return (Send) super.setUploadProtocol(uploadProtocol); } - /** Optional. Tenant ID, provided as a path parameter. */ + /** + * 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. Tenant ID, provided as a path parameter. + /** 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. Tenant ID, provided as a path parameter. */ + /** + * Optional. Opaque routing identifier. Must match the `tenant` value from the + * selected `AgentInterface` in the Agent Card when that field is set. + */ public Send setTenant(java.lang.String tenant) { if (!getSuppressPatternChecks()) { com.google.api.client.util.Preconditions.checkArgument(TENANT_PATTERN.matcher(tenant).matches(), diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ConversationTurn.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ConversationTurn.java index 498089a7bb5..3d0ece86b52 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ConversationTurn.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ConversationTurn.java @@ -45,6 +45,14 @@ public final class ConversationTurn extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private Span rootSpan; + /** + * Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated + * when word error rate metrics are enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userIntendedText; + /** * Optional. List of messages in the conversation turn, including user input, agent responses and * intermediate events during the processing. @@ -81,6 +89,25 @@ public ConversationTurn setRootSpan(Span rootSpan) { return this; } + /** + * Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated + * when word error rate metrics are enabled. + * @return value or {@code null} for none + */ + public java.lang.String getUserIntendedText() { + return userIntendedText; + } + + /** + * Optional. The intended ground-truth text from the Simulated Caller (Polysynth). Only populated + * when word error rate metrics are enabled. + * @param userIntendedText userIntendedText or {@code null} for none + */ + public ConversationTurn setUserIntendedText(java.lang.String userIntendedText) { + this.userIntendedText = userIntendedText; + return this; + } + @Override public ConversationTurn set(String fieldName, Object value) { return (ConversationTurn) super.set(fieldName, value); diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/DataStoreToolModalityConfig.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/DataStoreToolModalityConfig.java index 8e35c0d8aad..8845f47ef0b 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/DataStoreToolModalityConfig.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/DataStoreToolModalityConfig.java @@ -51,6 +51,13 @@ public final class DataStoreToolModalityConfig extends com.google.api.client.jso @com.google.api.client.util.Key private DataStoreToolRewriterConfig rewriterConfig; + /** + * Optional. The snippets configuration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private DataStoreToolSnippetsConfig snippetsConfig; + /** * Optional. The summarization config. * The value may be {@code null}. @@ -109,6 +116,23 @@ public DataStoreToolModalityConfig setRewriterConfig(DataStoreToolRewriterConfig return this; } + /** + * Optional. The snippets configuration. + * @return value or {@code null} for none + */ + public DataStoreToolSnippetsConfig getSnippetsConfig() { + return snippetsConfig; + } + + /** + * Optional. The snippets configuration. + * @param snippetsConfig snippetsConfig or {@code null} for none + */ + public DataStoreToolModalityConfig setSnippetsConfig(DataStoreToolSnippetsConfig snippetsConfig) { + this.snippetsConfig = snippetsConfig; + return this; + } + /** * Optional. The summarization config. * @return value or {@code null} for none diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/DataStoreToolSnippetsConfig.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/DataStoreToolSnippetsConfig.java new file mode 100644 index 00000000000..cd9bb76759c --- /dev/null +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/DataStoreToolSnippetsConfig.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.v1beta.model; + +/** + * Snippets configuration. + * + *

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 DataStoreToolSnippetsConfig extends com.google.api.client.json.GenericJson { + + /** + * Optional. Whether snippets are enabled. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableSnippets; + + /** + * Optional. Whether snippets are enabled. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableSnippets() { + return enableSnippets; + } + + /** + * Optional. Whether snippets are enabled. + * @param enableSnippets enableSnippets or {@code null} for none + */ + public DataStoreToolSnippetsConfig setEnableSnippets(java.lang.Boolean enableSnippets) { + this.enableSnippets = enableSnippets; + return this; + } + + @Override + public DataStoreToolSnippetsConfig set(String fieldName, Object value) { + return (DataStoreToolSnippetsConfig) super.set(fieldName, value); + } + + @Override + public DataStoreToolSnippetsConfig clone() { + return (DataStoreToolSnippetsConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/Deployment.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/Deployment.java index ac9176eeed9..307a8316ffa 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/Deployment.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/Deployment.java @@ -84,6 +84,23 @@ public final class Deployment extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private InstagramCredentials instagramCredentials; + /** + * Optional. The modality of the deployment. Note: Deployment-level modality override is gated + * behind an allowlist. Contact the CXAS team to enable this field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String modality; + + /** + * Optional. Model settings for the deployment. Overrides model settings configured at the + * app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. + * Contact the CXAS team to enable this field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private ModelSettings modelSettings; + /** * Identifier. The resource name of the deployment. Format: * `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}` @@ -234,6 +251,46 @@ public Deployment setInstagramCredentials(InstagramCredentials instagramCredenti return this; } + /** + * Optional. The modality of the deployment. Note: Deployment-level modality override is gated + * behind an allowlist. Contact the CXAS team to enable this field. + * @return value or {@code null} for none + */ + public java.lang.String getModality() { + return modality; + } + + /** + * Optional. The modality of the deployment. Note: Deployment-level modality override is gated + * behind an allowlist. Contact the CXAS team to enable this field. + * @param modality modality or {@code null} for none + */ + public Deployment setModality(java.lang.String modality) { + this.modality = modality; + return this; + } + + /** + * Optional. Model settings for the deployment. Overrides model settings configured at the + * app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. + * Contact the CXAS team to enable this field. + * @return value or {@code null} for none + */ + public ModelSettings getModelSettings() { + return modelSettings; + } + + /** + * Optional. Model settings for the deployment. Overrides model settings configured at the + * app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. + * Contact the CXAS team to enable this field. + * @param modelSettings modelSettings or {@code null} for none + */ + public Deployment setModelSettings(ModelSettings modelSettings) { + this.modelSettings = modelSettings; + return this; + } + /** * Identifier. The resource name of the deployment. Format: * `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}` diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResult.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResult.java index b921fc79f53..d7075aba0ad 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResult.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResult.java @@ -155,6 +155,14 @@ public final class EvaluationResult extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private java.lang.String name; + /** + * Output only. The outcome metadata of the evaluation. Only populated if execution_state is + * COMPLETE. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String outcomeMetadata; + /** * Output only. The persona used to generate the conversation for the evaluation result. * The value may be {@code null}. @@ -162,6 +170,14 @@ public final class EvaluationResult extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private EvaluationPersona persona; + /** + * Output only. The root span of the evaluation execution, which includes information about each + * step of the evaluation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Span rootSpan; + /** * Output only. The outcome of a scenario evaluation. * The value may be {@code null}. @@ -470,6 +486,25 @@ public EvaluationResult setName(java.lang.String name) { return this; } + /** + * Output only. The outcome metadata of the evaluation. Only populated if execution_state is + * COMPLETE. + * @return value or {@code null} for none + */ + public java.lang.String getOutcomeMetadata() { + return outcomeMetadata; + } + + /** + * Output only. The outcome metadata of the evaluation. Only populated if execution_state is + * COMPLETE. + * @param outcomeMetadata outcomeMetadata or {@code null} for none + */ + public EvaluationResult setOutcomeMetadata(java.lang.String outcomeMetadata) { + this.outcomeMetadata = outcomeMetadata; + return this; + } + /** * Output only. The persona used to generate the conversation for the evaluation result. * @return value or {@code null} for none @@ -487,6 +522,25 @@ public EvaluationResult setPersona(EvaluationPersona persona) { return this; } + /** + * Output only. The root span of the evaluation execution, which includes information about each + * step of the evaluation. + * @return value or {@code null} for none + */ + public Span getRootSpan() { + return rootSpan; + } + + /** + * Output only. The root span of the evaluation execution, which includes information about each + * step of the evaluation. + * @param rootSpan rootSpan or {@code null} for none + */ + public EvaluationResult setRootSpan(Span rootSpan) { + this.rootSpan = rootSpan; + return this; + } + /** * Output only. The outcome of a scenario evaluation. * @return value or {@code null} for none diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResultUserGoalSatisfactionResult.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResultUserGoalSatisfactionResult.java index 3c2a9e5ddd0..11afbf44486 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResultUserGoalSatisfactionResult.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResultUserGoalSatisfactionResult.java @@ -38,15 +38,15 @@ public final class EvaluationResultUserGoalSatisfactionResult extends com.google private java.lang.String explanation; /** - * Output only. The label associated with each score. Score 1: User Task Satisfied Score 0: User - * Task Not Satisfied Score -1: User Task Unspecified + * Output only. The label associated with each score. Score 2: Graceful Handoff Score 1: User Task + * Satisfied Score 0: User Task Not Satisfied Score -1: User Task Unspecified * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String label; /** - * Output only. The user task satisfaction score. Can be -1, 0, 1. + * Output only. The user task satisfaction score. Can be -1, 0, 1, 2. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -70,8 +70,8 @@ public EvaluationResultUserGoalSatisfactionResult setExplanation(java.lang.Strin } /** - * Output only. The label associated with each score. Score 1: User Task Satisfied Score 0: User - * Task Not Satisfied Score -1: User Task Unspecified + * Output only. The label associated with each score. Score 2: Graceful Handoff Score 1: User Task + * Satisfied Score 0: User Task Not Satisfied Score -1: User Task Unspecified * @return value or {@code null} for none */ public java.lang.String getLabel() { @@ -79,8 +79,8 @@ public java.lang.String getLabel() { } /** - * Output only. The label associated with each score. Score 1: User Task Satisfied Score 0: User - * Task Not Satisfied Score -1: User Task Unspecified + * Output only. The label associated with each score. Score 2: Graceful Handoff Score 1: User Task + * Satisfied Score 0: User Task Not Satisfied Score -1: User Task Unspecified * @param label label or {@code null} for none */ public EvaluationResultUserGoalSatisfactionResult setLabel(java.lang.String label) { @@ -89,7 +89,7 @@ public EvaluationResultUserGoalSatisfactionResult setLabel(java.lang.String labe } /** - * Output only. The user task satisfaction score. Can be -1, 0, 1. + * Output only. The user task satisfaction score. Can be -1, 0, 1, 2. * @return value or {@code null} for none */ public java.lang.Integer getScore() { @@ -97,7 +97,7 @@ public java.lang.Integer getScore() { } /** - * Output only. The user task satisfaction score. Can be -1, 0, 1. + * Output only. The user task satisfaction score. Can be -1, 0, 1, 2. * @param score score or {@code null} for none */ public EvaluationResultUserGoalSatisfactionResult setScore(java.lang.Integer score) { diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ImportAppRequestImportOptions.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ImportAppRequestImportOptions.java index f533f2a76de..37ce4f43fad 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ImportAppRequestImportOptions.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ImportAppRequestImportOptions.java @@ -38,6 +38,14 @@ public final class ImportAppRequestImportOptions extends com.google.api.client.j @com.google.api.client.util.Key private java.lang.String conflictResolutionStrategy; + /** + * Optional. Flag for dry-running the import process. If set to true, the import process will only + * perform validations and will not make any changes to the existing app or create a new one. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean validateOnly; + /** * Optional. The strategy to use when resolving conflicts during import. * @return value or {@code null} for none @@ -55,6 +63,25 @@ public ImportAppRequestImportOptions setConflictResolutionStrategy(java.lang.Str return this; } + /** + * Optional. Flag for dry-running the import process. If set to true, the import process will only + * perform validations and will not make any changes to the existing app or create a new one. + * @return value or {@code null} for none + */ + public java.lang.Boolean getValidateOnly() { + return validateOnly; + } + + /** + * Optional. Flag for dry-running the import process. If set to true, the import process will only + * perform validations and will not make any changes to the existing app or create a new one. + * @param validateOnly validateOnly or {@code null} for none + */ + public ImportAppRequestImportOptions setValidateOnly(java.lang.Boolean validateOnly) { + this.validateOnly = validateOnly; + return this; + } + @Override public ImportAppRequestImportOptions set(String fieldName, Object value) { return (ImportAppRequestImportOptions) super.set(fieldName, value); diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LfA2aV1AgentInterface.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LfA2aV1AgentInterface.java index b3d9213bdf0..3a12a8a1e7b 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LfA2aV1AgentInterface.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LfA2aV1AgentInterface.java @@ -50,7 +50,11 @@ public final class LfA2aV1AgentInterface extends com.google.api.client.json.Gene private java.lang.String protocolVersion; /** - * Tenant ID to be used in the request when calling the agent. + * Optional. An opaque string used for routing requests to a specific agent or tenant when + * multiple agents are served behind a single A2A endpoint. When set, clients MUST include this + * value in the `tenant` field of all request messages sent to this interface. The server is + * responsible for interpreting the value and routing requests accordingly; the protocol does not + * define its format or semantics. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -105,7 +109,11 @@ public LfA2aV1AgentInterface setProtocolVersion(java.lang.String protocolVersion } /** - * Tenant ID to be used in the request when calling the agent. + * Optional. An opaque string used for routing requests to a specific agent or tenant when + * multiple agents are served behind a single A2A endpoint. When set, clients MUST include this + * value in the `tenant` field of all request messages sent to this interface. The server is + * responsible for interpreting the value and routing requests accordingly; the protocol does not + * define its format or semantics. * @return value or {@code null} for none */ public java.lang.String getTenant() { @@ -113,7 +121,11 @@ public java.lang.String getTenant() { } /** - * Tenant ID to be used in the request when calling the agent. + * Optional. An opaque string used for routing requests to a specific agent or tenant when + * multiple agents are served behind a single A2A endpoint. When set, clients MUST include this + * value in the `tenant` field of all request messages sent to this interface. The server is + * responsible for interpreting the value and routing requests accordingly; the protocol does not + * define its format or semantics. * @param tenant tenant or {@code null} for none */ public LfA2aV1AgentInterface setTenant(java.lang.String tenant) { diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LfA2aV1TaskPushNotificationConfig.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LfA2aV1TaskPushNotificationConfig.java index 4aae9df055d..1c51e871c6c 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LfA2aV1TaskPushNotificationConfig.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LfA2aV1TaskPushNotificationConfig.java @@ -53,7 +53,8 @@ public final class LfA2aV1TaskPushNotificationConfig extends com.google.api.clie private java.lang.String taskId; /** - * Optional. Tenant ID. + * Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -127,7 +128,8 @@ public LfA2aV1TaskPushNotificationConfig setTaskId(java.lang.String taskId) { } /** - * Optional. Tenant ID. + * Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. * @return value or {@code null} for none */ public java.lang.String getTenant() { @@ -135,7 +137,8 @@ public java.lang.String getTenant() { } /** - * Optional. Tenant ID. + * Optional. Opaque routing identifier. Must match the `tenant` value from the selected + * `AgentInterface` in the Agent Card when that field is set. * @param tenant tenant or {@code null} for none */ public LfA2aV1TaskPushNotificationConfig setTenant(java.lang.String tenant) { diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/RunEvaluationRequest.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/RunEvaluationRequest.java index 2ea86e3e344..af56054e376 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/RunEvaluationRequest.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/RunEvaluationRequest.java @@ -38,8 +38,8 @@ public final class RunEvaluationRequest extends com.google.api.client.json.Gener private java.lang.String app; /** - * Optional. The app version to evaluate. Format: - * `projects/{project}/locations/{location}/apps/{app}/versions/{version}` + * Optional. The app version to evaluate. At most one of `app_version` or `deployment` can be set. + * Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}` * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -154,8 +154,8 @@ public RunEvaluationRequest setApp(java.lang.String app) { } /** - * Optional. The app version to evaluate. Format: - * `projects/{project}/locations/{location}/apps/{app}/versions/{version}` + * Optional. The app version to evaluate. At most one of `app_version` or `deployment` can be set. + * Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}` * @return value or {@code null} for none */ public java.lang.String getAppVersion() { @@ -163,8 +163,8 @@ public java.lang.String getAppVersion() { } /** - * Optional. The app version to evaluate. Format: - * `projects/{project}/locations/{location}/apps/{app}/versions/{version}` + * Optional. The app version to evaluate. At most one of `app_version` or `deployment` can be set. + * Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}` * @param appVersion appVersion or {@code null} for none */ public RunEvaluationRequest setAppVersion(java.lang.String appVersion) { diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/SessionConfig.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/SessionConfig.java index 325ee071723..db01b98ea56 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/SessionConfig.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/SessionConfig.java @@ -56,6 +56,13 @@ public final class SessionConfig extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String entryAgent; + /** + * Optional. Whether to exclude diagnostic info from the session output. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean excludeDiagnosticInfo; + /** * Optional. The historical context of the session, including user inputs, agent responses, and * other messages. Typically, CES agent would manage session automatically so client doesn't need @@ -175,6 +182,23 @@ public SessionConfig setEntryAgent(java.lang.String entryAgent) { return this; } + /** + * Optional. Whether to exclude diagnostic info from the session output. + * @return value or {@code null} for none + */ + public java.lang.Boolean getExcludeDiagnosticInfo() { + return excludeDiagnosticInfo; + } + + /** + * Optional. Whether to exclude diagnostic info from the session output. + * @param excludeDiagnosticInfo excludeDiagnosticInfo or {@code null} for none + */ + public SessionConfig setExcludeDiagnosticInfo(java.lang.Boolean excludeDiagnosticInfo) { + this.excludeDiagnosticInfo = excludeDiagnosticInfo; + return this; + } + /** * Optional. The historical context of the session, including user inputs, agent responses, and * other messages. Typically, CES agent would manage session automatically so client doesn't need diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/SynthesizeSpeechConfig.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/SynthesizeSpeechConfig.java index efa467d35aa..f34c55d402a 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/SynthesizeSpeechConfig.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/SynthesizeSpeechConfig.java @@ -30,6 +30,14 @@ @SuppressWarnings("javadoc") public final class SynthesizeSpeechConfig extends com.google.api.client.json.GenericJson { + /** + * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud + * Storage URI to the consent audio for voice cloning. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String consentAudioGcsUri; + /** * Optional. The instruction used to synthesize speech when using a generative model. * The value may be {@code null}. @@ -65,15 +73,34 @@ public final class SynthesizeSpeechConfig extends com.google.api.client.json.Gen private java.lang.String voice; /** - * Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should - * be a mono-channel, 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp- - * sa-ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage - * object. + * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud + * Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, + * 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp-sa- + * ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage object. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String voiceSampleGcsUri; + /** + * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud + * Storage URI to the consent audio for voice cloning. + * @return value or {@code null} for none + */ + public java.lang.String getConsentAudioGcsUri() { + return consentAudioGcsUri; + } + + /** + * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud + * Storage URI to the consent audio for voice cloning. + * @param consentAudioGcsUri consentAudioGcsUri or {@code null} for none + */ + public SynthesizeSpeechConfig setConsentAudioGcsUri(java.lang.String consentAudioGcsUri) { + this.consentAudioGcsUri = consentAudioGcsUri; + return this; + } + /** * Optional. The instruction used to synthesize speech when using a generative model. * @return value or {@code null} for none @@ -155,10 +182,10 @@ public SynthesizeSpeechConfig setVoice(java.lang.String voice) { } /** - * Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should - * be a mono-channel, 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp- - * sa-ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage - * object. + * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud + * Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, + * 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp-sa- + * ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage object. * @return value or {@code null} for none */ public java.lang.String getVoiceSampleGcsUri() { @@ -166,10 +193,10 @@ public java.lang.String getVoiceSampleGcsUri() { } /** - * Optional. The Cloud Storage URI to the audio sample for voice cloning. The audio sample should - * be a mono-channel, 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp- - * sa-ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage - * object. + * Optional. Deprecated: Use `custom_voice_samples` in AudioProcessingConfig instead. The Cloud + * Storage URI to the audio sample for voice cloning. The audio sample should be a mono-channel, + * 24kHz WAV file. Note: Please make sure the CES service agent `service-@gcp-sa- + * ces.iam.gserviceaccount.com` has `storage.objects.get` permission to the Cloud Storage object. * @param voiceSampleGcsUri voiceSampleGcsUri or {@code null} for none */ public SynthesizeSpeechConfig setVoiceSampleGcsUri(java.lang.String voiceSampleGcsUri) { diff --git a/clients/google-api-services-ces/v1beta/2.0.0/pom.xml b/clients/google-api-services-ces/v1beta/2.0.0/pom.xml index da5f18212d2..872d7cc396b 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/pom.xml +++ b/clients/google-api-services-ces/v1beta/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-ces - v1beta-rev20260708-2.0.0 - Gemini Enterprise for Customer Experience API v1beta-rev20260708-2.0.0 + v1beta-rev20260730-2.0.0 + Gemini Enterprise for Customer Experience API v1beta-rev20260730-2.0.0 jar 2011 diff --git a/clients/google-api-services-ces/v1beta/README.md b/clients/google-api-services-ces/v1beta/README.md index 3d3767cb115..30fe871d76f 100644 --- a/clients/google-api-services-ces/v1beta/README.md +++ b/clients/google-api-services-ces/v1beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-ces - v1beta-rev20260708-2.0.0 + v1beta-rev20260730-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1beta-rev20260708-2.0.0' + implementation 'com.google.apis:google-api-services-ces:v1beta-rev20260730-2.0.0' } ```