From 44b928dae05c35ac9526df51aff70cc8b213f0be Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 20 Oct 2026 18:11:26 -0700 Subject: [PATCH] chore: regenerate ces client --- .../v1/2.0.0/README.md | 4 +- .../ces/v1/CustomerEngagementSuite.java | 20 ++--- .../ces/v1/model/AssistantSuggestion.java | 2 +- .../ces/v1/model/GuardrailContentFilter.java | 33 ++++++++ .../ces/v1/model/GuardrailLlmPolicy.java | 9 ++- .../ces/v1/model/LanguageSettings.java | 6 +- .../ces/v1/model/LoggingSettings.java | 39 ++++++++++ .../ces/v1/model/RedactionConfig.java | 6 +- .../services/ces/v1/model/SessionConfig.java | 78 ++++++++++++++++--- .../services/ces/v1/model/SessionInput.java | 51 ++++++++++++ .../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 | 24 +++--- .../ces/v1beta/model/AssistantSuggestion.java | 2 +- .../v1beta/model/GuardrailContentFilter.java | 33 ++++++++ .../ces/v1beta/model/GuardrailLlmPolicy.java | 9 ++- .../ces/v1beta/model/LanguageSettings.java | 6 +- .../ces/v1beta/model/LoggingSettings.java | 39 ++++++++++ .../ces/v1beta/model/RedactionConfig.java | 6 +- .../ces/v1beta/model/SessionConfig.java | 78 ++++++++++++++++--- .../ces/v1beta/model/SessionInput.java | 51 ++++++++++++ .../v1beta/2.0.0/pom.xml | 4 +- .../google-api-services-ces/v1beta/README.md | 4 +- 24 files changed, 444 insertions(+), 72 deletions(-) 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 4b109be3aab..a5dd4ee4597 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-rev20260924-2.0.0 + v1-rev20261016-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1-rev20260924-2.0.0' + implementation 'com.google.apis:google-api-services-ces:v1-rev20261016-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 c8926fc35fe..3bbe25b5aab 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 @@ -1151,10 +1151,10 @@ public ExportApp set(String parameterName, Object value) { } } /** - * Generates personalized onboarding suggestions for the AI assistant zero state: classifies the - * requesting user (new / exploring / returning) from their assistant-session history in the app and - * returns suggestion chips (resume a session, continue work, or start something new) to render - * before any message is sent. + * Generates personalized onboarding suggestions for the Arc zero state: classifies the requesting + * user (new / exploring / returning) from their assistant-session history in the app and returns + * suggestion chips (resume a session, continue work, or start something new) to render before any + * message is sent. * * Create a request for the method "apps.generateOnboardingSuggestions". * @@ -1181,10 +1181,10 @@ public class GenerateOnboardingSuggestions extends CustomerEngagementSuiteReques java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/apps/[^/]+$"); /** - * Generates personalized onboarding suggestions for the AI assistant zero state: classifies the - * requesting user (new / exploring / returning) from their assistant-session history in the app - * and returns suggestion chips (resume a session, continue work, or start something new) to - * render before any message is sent. + * Generates personalized onboarding suggestions for the Arc zero state: classifies the requesting + * user (new / exploring / returning) from their assistant-session history in the app and returns + * suggestion chips (resume a session, continue work, or start something new) to render before any + * message is sent. * * Create a request for the method "apps.generateOnboardingSuggestions". * @@ -3295,7 +3295,7 @@ public CancelAssistantTurn set(String parameterName, Object value) { } } /** - * Runs the Chat AI assistant agent for the specified assistant session in a streaming fashion. + * Runs Arc, the AI assistant, for the specified assistant session in a streaming fashion. * * Create a request for the method "assistantSessions.streamChatAiAssistant". * @@ -3322,7 +3322,7 @@ public class StreamChatAiAssistant extends CustomerEngagementSuiteRequest 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 diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/GuardrailContentFilter.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/GuardrailContentFilter.java index 207b99d085b..0c349130b8f 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/GuardrailContentFilter.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/GuardrailContentFilter.java @@ -65,6 +65,16 @@ public final class GuardrailContentFilter extends com.google.api.client.json.Gen @com.google.api.client.util.Key private java.lang.String matchType; + /** + * Optional. Entries of the sensitive words list that this guardrail allows. Only valid when + * match_type is SENSITIVE_WORDS. Each value must equal a list entry (case-insensitive, + * surrounding whitespace ignored); other values have no effect. Applies to this guardrail only. + * At most 1000 entries of up to 256 characters each. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List sensitiveWordsExemptions; + /** * Optional. List of banned phrases. Applies to both user inputs and agent responses. * @return value or {@code null} for none @@ -150,6 +160,29 @@ public GuardrailContentFilter setMatchType(java.lang.String matchType) { return this; } + /** + * Optional. Entries of the sensitive words list that this guardrail allows. Only valid when + * match_type is SENSITIVE_WORDS. Each value must equal a list entry (case-insensitive, + * surrounding whitespace ignored); other values have no effect. Applies to this guardrail only. + * At most 1000 entries of up to 256 characters each. + * @return value or {@code null} for none + */ + public java.util.List getSensitiveWordsExemptions() { + return sensitiveWordsExemptions; + } + + /** + * Optional. Entries of the sensitive words list that this guardrail allows. Only valid when + * match_type is SENSITIVE_WORDS. Each value must equal a list entry (case-insensitive, + * surrounding whitespace ignored); other values have no effect. Applies to this guardrail only. + * At most 1000 entries of up to 256 characters each. + * @param sensitiveWordsExemptions sensitiveWordsExemptions or {@code null} for none + */ + public GuardrailContentFilter setSensitiveWordsExemptions(java.util.List sensitiveWordsExemptions) { + this.sensitiveWordsExemptions = sensitiveWordsExemptions; + return this; + } + @Override public GuardrailContentFilter set(String fieldName, Object value) { return (GuardrailContentFilter) super.set(fieldName, value); diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/GuardrailLlmPolicy.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/GuardrailLlmPolicy.java index 3ace4e0dec0..e8c3a0237d5 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/GuardrailLlmPolicy.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/GuardrailLlmPolicy.java @@ -74,7 +74,8 @@ public final class GuardrailLlmPolicy extends com.google.api.client.json.Generic private java.lang.String policyScope; /** - * Required. Policy prompt. + * Required. Policy prompt. Supports session variable placeholders (`{var}`) as well as + * `{agent_system_instruction}` to inject the agent's resolved system instructions. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -180,7 +181,8 @@ public GuardrailLlmPolicy setPolicyScope(java.lang.String policyScope) { } /** - * Required. Policy prompt. + * Required. Policy prompt. Supports session variable placeholders (`{var}`) as well as + * `{agent_system_instruction}` to inject the agent's resolved system instructions. * @return value or {@code null} for none */ public java.lang.String getPrompt() { @@ -188,7 +190,8 @@ public java.lang.String getPrompt() { } /** - * Required. Policy prompt. + * Required. Policy prompt. Supports session variable placeholders (`{var}`) as well as + * `{agent_system_instruction}` to inject the agent's resolved system instructions. * @param prompt prompt or {@code null} for none */ public GuardrailLlmPolicy setPrompt(java.lang.String prompt) { diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LanguageSettings.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LanguageSettings.java index 306750402bf..b195b133ac0 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LanguageSettings.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LanguageSettings.java @@ -38,7 +38,7 @@ public final class LanguageSettings extends com.google.api.client.json.GenericJs private java.lang.String defaultLanguageCode; /** - * Optional. Enables multilingual support. If true, agents in the app will use pre-built + * Optional. Enables multilingual support. If `true`, agents in the app will use pre-built * instructions to improve handling of multilingual input. * The value may be {@code null}. */ @@ -83,7 +83,7 @@ public LanguageSettings setDefaultLanguageCode(java.lang.String defaultLanguageC } /** - * Optional. Enables multilingual support. If true, agents in the app will use pre-built + * Optional. Enables multilingual support. If `true`, agents in the app will use pre-built * instructions to improve handling of multilingual input. * @return value or {@code null} for none */ @@ -92,7 +92,7 @@ public java.lang.Boolean getEnableMultilingualSupport() { } /** - * Optional. Enables multilingual support. If true, agents in the app will use pre-built + * Optional. Enables multilingual support. If `true`, agents in the app will use pre-built * instructions to improve handling of multilingual input. * @param enableMultilingualSupport enableMultilingualSupport or {@code null} for none */ diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LoggingSettings.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LoggingSettings.java index ac65c4a7ffe..0c9c6258f18 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LoggingSettings.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/LoggingSettings.java @@ -83,6 +83,18 @@ public final class LoggingSettings extends com.google.api.client.json.GenericJso @com.google.api.client.util.Key private RedactionConfig redactionConfig; + /** + * Optional. Whether the app has to say what may be recorded before anything is kept. When true, a + * session starts with recording off and stays off until the client sends + * SessionInput.recording_control, which then decides every turn from that point on. This covers + * audio recording as well as conversation history, BigQuery export and Cloud Logging. When + * `false`, the default, the settings above decide on their own and the client does not have to + * send anything. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean requiredRecordingConsent; + /** * Optional. Configures an additional recording of unredacted audio. This can be used to maintain * a raw audio copy when audio redaction is enabled, typically for auditing or monitoring @@ -227,6 +239,33 @@ public LoggingSettings setRedactionConfig(RedactionConfig redactionConfig) { return this; } + /** + * Optional. Whether the app has to say what may be recorded before anything is kept. When true, a + * session starts with recording off and stays off until the client sends + * SessionInput.recording_control, which then decides every turn from that point on. This covers + * audio recording as well as conversation history, BigQuery export and Cloud Logging. When + * `false`, the default, the settings above decide on their own and the client does not have to + * send anything. + * @return value or {@code null} for none + */ + public java.lang.Boolean getRequiredRecordingConsent() { + return requiredRecordingConsent; + } + + /** + * Optional. Whether the app has to say what may be recorded before anything is kept. When true, a + * session starts with recording off and stays off until the client sends + * SessionInput.recording_control, which then decides every turn from that point on. This covers + * audio recording as well as conversation history, BigQuery export and Cloud Logging. When + * `false`, the default, the settings above decide on their own and the client does not have to + * send anything. + * @param requiredRecordingConsent requiredRecordingConsent or {@code null} for none + */ + public LoggingSettings setRequiredRecordingConsent(java.lang.Boolean requiredRecordingConsent) { + this.requiredRecordingConsent = requiredRecordingConsent; + return this; + } + /** * Optional. Configures an additional recording of unredacted audio. This can be used to maintain * a raw audio copy when audio redaction is enabled, typically for auditing or monitoring diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/RedactionConfig.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/RedactionConfig.java index 2aca805f28a..df4dc428f23 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/RedactionConfig.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/RedactionConfig.java @@ -40,7 +40,7 @@ public final class RedactionConfig extends com.google.api.client.json.GenericJso private java.lang.String deidentifyTemplate; /** - * Optional. If true, redaction will be applied in various logging scenarios, including + * Optional. If `true`, redaction will be applied in various logging scenarios, including * conversation history, Cloud Logging and audio recording. * The value may be {@code null}. */ @@ -78,7 +78,7 @@ public RedactionConfig setDeidentifyTemplate(java.lang.String deidentifyTemplate } /** - * Optional. If true, redaction will be applied in various logging scenarios, including + * Optional. If `true`, redaction will be applied in various logging scenarios, including * conversation history, Cloud Logging and audio recording. * @return value or {@code null} for none */ @@ -87,7 +87,7 @@ public java.lang.Boolean getEnableRedaction() { } /** - * Optional. If true, redaction will be applied in various logging scenarios, including + * Optional. If `true`, redaction will be applied in various logging scenarios, including * conversation history, Cloud Logging and audio recording. * @param enableRedaction enableRedaction or {@code null} for none */ 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 e58a1ade4ab..c65aeb489e8 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 @@ -39,9 +39,12 @@ public final class SessionConfig extends com.google.api.client.json.GenericJson private java.lang.String deployment; /** - * Optional. Whether to enable streaming text outputs from the model. By default, text outputs - * from the model are collected before sending to the client. NOTE: This is only supported for - * text (non-voice) sessions via StreamRunSession or BidiRunSession. + * Optional. Whether to stream text output from the model to the client incrementally as it is + * generated. Defaults to `false`. * When disabled, the model's text output is buffered, and each + * text output sent to the client is a complete sentence. Clients can render each text output on a + * new line. * When enabled, each text output may contain only part of a sentence. Clients should + * concatenate consecutive text outputs to render the complete response. NOTE: This is only + * supported for text (non-voice) sessions using StreamRunSession or BidiRunSession. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -79,6 +82,21 @@ public final class SessionConfig extends com.google.api.client.json.GenericJson com.google.api.client.util.Data.nullOf(Message.class); } + /** + * Optional. Whether to include LLM thought summaries in the session outputs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeLlmThoughtSummary; + + /** + * Optional. Whether to include intermediate processing update to the client. If enabled, the + * update will be sent back in SessionOutput.progress. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeProgressUpdate; + /** * Optional. Configuration for processing the input audio. * The value may be {@code null}. @@ -141,9 +159,12 @@ public SessionConfig setDeployment(java.lang.String deployment) { } /** - * Optional. Whether to enable streaming text outputs from the model. By default, text outputs - * from the model are collected before sending to the client. NOTE: This is only supported for - * text (non-voice) sessions via StreamRunSession or BidiRunSession. + * Optional. Whether to stream text output from the model to the client incrementally as it is + * generated. Defaults to `false`. * When disabled, the model's text output is buffered, and each + * text output sent to the client is a complete sentence. Clients can render each text output on a + * new line. * When enabled, each text output may contain only part of a sentence. Clients should + * concatenate consecutive text outputs to render the complete response. NOTE: This is only + * supported for text (non-voice) sessions using StreamRunSession or BidiRunSession. * @return value or {@code null} for none */ public java.lang.Boolean getEnableTextStreaming() { @@ -151,9 +172,12 @@ public java.lang.Boolean getEnableTextStreaming() { } /** - * Optional. Whether to enable streaming text outputs from the model. By default, text outputs - * from the model are collected before sending to the client. NOTE: This is only supported for - * text (non-voice) sessions via StreamRunSession or BidiRunSession. + * Optional. Whether to stream text output from the model to the client incrementally as it is + * generated. Defaults to `false`. * When disabled, the model's text output is buffered, and each + * text output sent to the client is a complete sentence. Clients can render each text output on a + * new line. * When enabled, each text output may contain only part of a sentence. Clients should + * concatenate consecutive text outputs to render the complete response. NOTE: This is only + * supported for text (non-voice) sessions using StreamRunSession or BidiRunSession. * @param enableTextStreaming enableTextStreaming or {@code null} for none */ public SessionConfig setEnableTextStreaming(java.lang.Boolean enableTextStreaming) { @@ -222,6 +246,42 @@ public SessionConfig setHistoricalContexts(java.util.List historicalCon return this; } + /** + * Optional. Whether to include LLM thought summaries in the session outputs. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeLlmThoughtSummary() { + return includeLlmThoughtSummary; + } + + /** + * Optional. Whether to include LLM thought summaries in the session outputs. + * @param includeLlmThoughtSummary includeLlmThoughtSummary or {@code null} for none + */ + public SessionConfig setIncludeLlmThoughtSummary(java.lang.Boolean includeLlmThoughtSummary) { + this.includeLlmThoughtSummary = includeLlmThoughtSummary; + return this; + } + + /** + * Optional. Whether to include intermediate processing update to the client. If enabled, the + * update will be sent back in SessionOutput.progress. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeProgressUpdate() { + return includeProgressUpdate; + } + + /** + * Optional. Whether to include intermediate processing update to the client. If enabled, the + * update will be sent back in SessionOutput.progress. + * @param includeProgressUpdate includeProgressUpdate or {@code null} for none + */ + public SessionConfig setIncludeProgressUpdate(java.lang.Boolean includeProgressUpdate) { + this.includeProgressUpdate = includeProgressUpdate; + return this; + } + /** * Optional. Configuration for processing the input audio. * @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/SessionInput.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionInput.java index da79f85cd73..d2f178d97b3 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionInput.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/SessionInput.java @@ -65,6 +65,22 @@ public final class SessionInput extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private Image image; + /** + * Optional. Whether the conversation may be recorded and logged from here on. Use this when the + * app, rather than the agent, decides what may be kept: for example when the end user has to + * consent to being recorded before anything about the call can be stored. The value stays in + * effect until the client sends a different one, so it only needs to be sent when the answer + * changes. Whatever is in effect when a turn completes decides that turn, both whether its audio + * reaches the recording bucket and whether its transcript reaches conversation history, BigQuery + * and Cloud Logging. It covers the agent's side of the turn as well as the end user's. Turns that + * complete before the client first sends this are recorded according to the app's logging + * settings, as though the field did not exist. If more than one input in the same request sets + * it, the last one wins. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String recordingControl; + /** * Optional. Text data from the end user. * The value may be {@code null}. @@ -212,6 +228,41 @@ public SessionInput setImage(Image image) { return this; } + /** + * Optional. Whether the conversation may be recorded and logged from here on. Use this when the + * app, rather than the agent, decides what may be kept: for example when the end user has to + * consent to being recorded before anything about the call can be stored. The value stays in + * effect until the client sends a different one, so it only needs to be sent when the answer + * changes. Whatever is in effect when a turn completes decides that turn, both whether its audio + * reaches the recording bucket and whether its transcript reaches conversation history, BigQuery + * and Cloud Logging. It covers the agent's side of the turn as well as the end user's. Turns that + * complete before the client first sends this are recorded according to the app's logging + * settings, as though the field did not exist. If more than one input in the same request sets + * it, the last one wins. + * @return value or {@code null} for none + */ + public java.lang.String getRecordingControl() { + return recordingControl; + } + + /** + * Optional. Whether the conversation may be recorded and logged from here on. Use this when the + * app, rather than the agent, decides what may be kept: for example when the end user has to + * consent to being recorded before anything about the call can be stored. The value stays in + * effect until the client sends a different one, so it only needs to be sent when the answer + * changes. Whatever is in effect when a turn completes decides that turn, both whether its audio + * reaches the recording bucket and whether its transcript reaches conversation history, BigQuery + * and Cloud Logging. It covers the agent's side of the turn as well as the end user's. Turns that + * complete before the client first sends this are recorded according to the app's logging + * settings, as though the field did not exist. If more than one input in the same request sets + * it, the last one wins. + * @param recordingControl recordingControl or {@code null} for none + */ + public SessionInput setRecordingControl(java.lang.String recordingControl) { + this.recordingControl = recordingControl; + return this; + } + /** * Optional. Text data from the end user. * @return value or {@code null} for none 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 c4a944cbaa9..d4e43d771c7 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-rev20260924-2.0.0 - Gemini Enterprise for Customer Experience API v1-rev20260924-2.0.0 + v1-rev20261016-2.0.0 + Gemini Enterprise for Customer Experience API v1-rev20261016-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 4b109be3aab..a5dd4ee4597 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-rev20260924-2.0.0 + v1-rev20261016-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1-rev20260924-2.0.0' + implementation 'com.google.apis:google-api-services-ces:v1-rev20261016-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 178a4ac3a20..aa9e6715139 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-rev20260924-2.0.0 + v1beta-rev20261016-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1beta-rev20260924-2.0.0' + implementation 'com.google.apis:google-api-services-ces:v1beta-rev20261016-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 8bcfb9b3d27..db2d304fd08 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 @@ -885,7 +885,7 @@ public Apps apps() { public class Apps { /** - * Runs the Chat AI assistant agent for the specified assistant session. + * Runs Arc, the AI assistant, for the specified assistant session. * * Create a request for the method "apps.chatAiAssistant". * @@ -910,7 +910,7 @@ public class ChatAiAssistant extends CustomerEngagementSuiteRequest 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 diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/GuardrailContentFilter.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/GuardrailContentFilter.java index 432bb91b9ce..e937ed799c0 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/GuardrailContentFilter.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/GuardrailContentFilter.java @@ -65,6 +65,16 @@ public final class GuardrailContentFilter extends com.google.api.client.json.Gen @com.google.api.client.util.Key private java.lang.String matchType; + /** + * Optional. Entries of the sensitive words list that this guardrail allows. Only valid when + * match_type is SENSITIVE_WORDS. Each value must equal a list entry (case-insensitive, + * surrounding whitespace ignored); other values have no effect. Applies to this guardrail only. + * At most 1000 entries of up to 256 characters each. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List sensitiveWordsExemptions; + /** * Optional. List of banned phrases. Applies to both user inputs and agent responses. * @return value or {@code null} for none @@ -150,6 +160,29 @@ public GuardrailContentFilter setMatchType(java.lang.String matchType) { return this; } + /** + * Optional. Entries of the sensitive words list that this guardrail allows. Only valid when + * match_type is SENSITIVE_WORDS. Each value must equal a list entry (case-insensitive, + * surrounding whitespace ignored); other values have no effect. Applies to this guardrail only. + * At most 1000 entries of up to 256 characters each. + * @return value or {@code null} for none + */ + public java.util.List getSensitiveWordsExemptions() { + return sensitiveWordsExemptions; + } + + /** + * Optional. Entries of the sensitive words list that this guardrail allows. Only valid when + * match_type is SENSITIVE_WORDS. Each value must equal a list entry (case-insensitive, + * surrounding whitespace ignored); other values have no effect. Applies to this guardrail only. + * At most 1000 entries of up to 256 characters each. + * @param sensitiveWordsExemptions sensitiveWordsExemptions or {@code null} for none + */ + public GuardrailContentFilter setSensitiveWordsExemptions(java.util.List sensitiveWordsExemptions) { + this.sensitiveWordsExemptions = sensitiveWordsExemptions; + return this; + } + @Override public GuardrailContentFilter set(String fieldName, Object value) { return (GuardrailContentFilter) super.set(fieldName, value); diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/GuardrailLlmPolicy.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/GuardrailLlmPolicy.java index ff02984e9f8..0abb584adc0 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/GuardrailLlmPolicy.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/GuardrailLlmPolicy.java @@ -74,7 +74,8 @@ public final class GuardrailLlmPolicy extends com.google.api.client.json.Generic private java.lang.String policyScope; /** - * Required. Policy prompt. + * Required. Policy prompt. Supports session variable placeholders (`{var}`) as well as + * `{agent_system_instruction}` to inject the agent's resolved system instructions. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -180,7 +181,8 @@ public GuardrailLlmPolicy setPolicyScope(java.lang.String policyScope) { } /** - * Required. Policy prompt. + * Required. Policy prompt. Supports session variable placeholders (`{var}`) as well as + * `{agent_system_instruction}` to inject the agent's resolved system instructions. * @return value or {@code null} for none */ public java.lang.String getPrompt() { @@ -188,7 +190,8 @@ public java.lang.String getPrompt() { } /** - * Required. Policy prompt. + * Required. Policy prompt. Supports session variable placeholders (`{var}`) as well as + * `{agent_system_instruction}` to inject the agent's resolved system instructions. * @param prompt prompt or {@code null} for none */ public GuardrailLlmPolicy setPrompt(java.lang.String prompt) { diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LanguageSettings.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LanguageSettings.java index 78d2092ab3a..8c2bdb7768b 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LanguageSettings.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LanguageSettings.java @@ -38,7 +38,7 @@ public final class LanguageSettings extends com.google.api.client.json.GenericJs private java.lang.String defaultLanguageCode; /** - * Optional. Enables multilingual support. If true, agents in the app will use pre-built + * Optional. Enables multilingual support. If `true`, agents in the app will use pre-built * instructions to improve handling of multilingual input. * The value may be {@code null}. */ @@ -83,7 +83,7 @@ public LanguageSettings setDefaultLanguageCode(java.lang.String defaultLanguageC } /** - * Optional. Enables multilingual support. If true, agents in the app will use pre-built + * Optional. Enables multilingual support. If `true`, agents in the app will use pre-built * instructions to improve handling of multilingual input. * @return value or {@code null} for none */ @@ -92,7 +92,7 @@ public java.lang.Boolean getEnableMultilingualSupport() { } /** - * Optional. Enables multilingual support. If true, agents in the app will use pre-built + * Optional. Enables multilingual support. If `true`, agents in the app will use pre-built * instructions to improve handling of multilingual input. * @param enableMultilingualSupport enableMultilingualSupport or {@code null} for none */ diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LoggingSettings.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LoggingSettings.java index 490653b6af6..c7f32ad8a20 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LoggingSettings.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/LoggingSettings.java @@ -83,6 +83,18 @@ public final class LoggingSettings extends com.google.api.client.json.GenericJso @com.google.api.client.util.Key private RedactionConfig redactionConfig; + /** + * Optional. Whether the app has to say what may be recorded before anything is kept. When true, a + * session starts with recording off and stays off until the client sends + * SessionInput.recording_control, which then decides every turn from that point on. This covers + * audio recording as well as conversation history, BigQuery export and Cloud Logging. When + * `false`, the default, the settings above decide on their own and the client does not have to + * send anything. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean requiredRecordingConsent; + /** * Optional. Configures an additional recording of unredacted audio. This can be used to maintain * a raw audio copy when audio redaction is enabled, typically for auditing or monitoring @@ -227,6 +239,33 @@ public LoggingSettings setRedactionConfig(RedactionConfig redactionConfig) { return this; } + /** + * Optional. Whether the app has to say what may be recorded before anything is kept. When true, a + * session starts with recording off and stays off until the client sends + * SessionInput.recording_control, which then decides every turn from that point on. This covers + * audio recording as well as conversation history, BigQuery export and Cloud Logging. When + * `false`, the default, the settings above decide on their own and the client does not have to + * send anything. + * @return value or {@code null} for none + */ + public java.lang.Boolean getRequiredRecordingConsent() { + return requiredRecordingConsent; + } + + /** + * Optional. Whether the app has to say what may be recorded before anything is kept. When true, a + * session starts with recording off and stays off until the client sends + * SessionInput.recording_control, which then decides every turn from that point on. This covers + * audio recording as well as conversation history, BigQuery export and Cloud Logging. When + * `false`, the default, the settings above decide on their own and the client does not have to + * send anything. + * @param requiredRecordingConsent requiredRecordingConsent or {@code null} for none + */ + public LoggingSettings setRequiredRecordingConsent(java.lang.Boolean requiredRecordingConsent) { + this.requiredRecordingConsent = requiredRecordingConsent; + return this; + } + /** * Optional. Configures an additional recording of unredacted audio. This can be used to maintain * a raw audio copy when audio redaction is enabled, typically for auditing or monitoring diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/RedactionConfig.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/RedactionConfig.java index b7834029f90..2ea477d25b9 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/RedactionConfig.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/RedactionConfig.java @@ -40,7 +40,7 @@ public final class RedactionConfig extends com.google.api.client.json.GenericJso private java.lang.String deidentifyTemplate; /** - * Optional. If true, redaction will be applied in various logging scenarios, including + * Optional. If `true`, redaction will be applied in various logging scenarios, including * conversation history, Cloud Logging and audio recording. * The value may be {@code null}. */ @@ -78,7 +78,7 @@ public RedactionConfig setDeidentifyTemplate(java.lang.String deidentifyTemplate } /** - * Optional. If true, redaction will be applied in various logging scenarios, including + * Optional. If `true`, redaction will be applied in various logging scenarios, including * conversation history, Cloud Logging and audio recording. * @return value or {@code null} for none */ @@ -87,7 +87,7 @@ public java.lang.Boolean getEnableRedaction() { } /** - * Optional. If true, redaction will be applied in various logging scenarios, including + * Optional. If `true`, redaction will be applied in various logging scenarios, including * conversation history, Cloud Logging and audio recording. * @param enableRedaction enableRedaction or {@code null} for none */ 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 db01b98ea56..56669a4fc1b 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 @@ -39,9 +39,12 @@ public final class SessionConfig extends com.google.api.client.json.GenericJson private java.lang.String deployment; /** - * Optional. Whether to enable streaming text outputs from the model. By default, text outputs - * from the model are collected before sending to the client. NOTE: This is only supported for - * text (non-voice) sessions via StreamRunSession or BidiRunSession. + * Optional. Whether to stream text output from the model to the client incrementally as it is + * generated. Defaults to `false`. * When disabled, the model's text output is buffered, and each + * text output sent to the client is a complete sentence. Clients can render each text output on a + * new line. * When enabled, each text output may contain only part of a sentence. Clients should + * concatenate consecutive text outputs to render the complete response. NOTE: This is only + * supported for text (non-voice) sessions using StreamRunSession or BidiRunSession. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -79,6 +82,21 @@ public final class SessionConfig extends com.google.api.client.json.GenericJson com.google.api.client.util.Data.nullOf(Message.class); } + /** + * Optional. Whether to include LLM thought summaries in the session outputs. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeLlmThoughtSummary; + + /** + * Optional. Whether to include intermediate processing update to the client. If enabled, the + * update will be sent back in SessionOutput.progress. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean includeProgressUpdate; + /** * Optional. Configuration for processing the input audio. * The value may be {@code null}. @@ -141,9 +159,12 @@ public SessionConfig setDeployment(java.lang.String deployment) { } /** - * Optional. Whether to enable streaming text outputs from the model. By default, text outputs - * from the model are collected before sending to the client. NOTE: This is only supported for - * text (non-voice) sessions via StreamRunSession or BidiRunSession. + * Optional. Whether to stream text output from the model to the client incrementally as it is + * generated. Defaults to `false`. * When disabled, the model's text output is buffered, and each + * text output sent to the client is a complete sentence. Clients can render each text output on a + * new line. * When enabled, each text output may contain only part of a sentence. Clients should + * concatenate consecutive text outputs to render the complete response. NOTE: This is only + * supported for text (non-voice) sessions using StreamRunSession or BidiRunSession. * @return value or {@code null} for none */ public java.lang.Boolean getEnableTextStreaming() { @@ -151,9 +172,12 @@ public java.lang.Boolean getEnableTextStreaming() { } /** - * Optional. Whether to enable streaming text outputs from the model. By default, text outputs - * from the model are collected before sending to the client. NOTE: This is only supported for - * text (non-voice) sessions via StreamRunSession or BidiRunSession. + * Optional. Whether to stream text output from the model to the client incrementally as it is + * generated. Defaults to `false`. * When disabled, the model's text output is buffered, and each + * text output sent to the client is a complete sentence. Clients can render each text output on a + * new line. * When enabled, each text output may contain only part of a sentence. Clients should + * concatenate consecutive text outputs to render the complete response. NOTE: This is only + * supported for text (non-voice) sessions using StreamRunSession or BidiRunSession. * @param enableTextStreaming enableTextStreaming or {@code null} for none */ public SessionConfig setEnableTextStreaming(java.lang.Boolean enableTextStreaming) { @@ -222,6 +246,42 @@ public SessionConfig setHistoricalContexts(java.util.List historicalCon return this; } + /** + * Optional. Whether to include LLM thought summaries in the session outputs. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeLlmThoughtSummary() { + return includeLlmThoughtSummary; + } + + /** + * Optional. Whether to include LLM thought summaries in the session outputs. + * @param includeLlmThoughtSummary includeLlmThoughtSummary or {@code null} for none + */ + public SessionConfig setIncludeLlmThoughtSummary(java.lang.Boolean includeLlmThoughtSummary) { + this.includeLlmThoughtSummary = includeLlmThoughtSummary; + return this; + } + + /** + * Optional. Whether to include intermediate processing update to the client. If enabled, the + * update will be sent back in SessionOutput.progress. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIncludeProgressUpdate() { + return includeProgressUpdate; + } + + /** + * Optional. Whether to include intermediate processing update to the client. If enabled, the + * update will be sent back in SessionOutput.progress. + * @param includeProgressUpdate includeProgressUpdate or {@code null} for none + */ + public SessionConfig setIncludeProgressUpdate(java.lang.Boolean includeProgressUpdate) { + this.includeProgressUpdate = includeProgressUpdate; + return this; + } + /** * Optional. Configuration for processing the input audio. * @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/SessionInput.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/SessionInput.java index 09a2249ca6d..7f706182dea 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/SessionInput.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/SessionInput.java @@ -65,6 +65,22 @@ public final class SessionInput extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private Image image; + /** + * Optional. Whether the conversation may be recorded and logged from here on. Use this when the + * app, rather than the agent, decides what may be kept: for example when the end user has to + * consent to being recorded before anything about the call can be stored. The value stays in + * effect until the client sends a different one, so it only needs to be sent when the answer + * changes. Whatever is in effect when a turn completes decides that turn, both whether its audio + * reaches the recording bucket and whether its transcript reaches conversation history, BigQuery + * and Cloud Logging. It covers the agent's side of the turn as well as the end user's. Turns that + * complete before the client first sends this are recorded according to the app's logging + * settings, as though the field did not exist. If more than one input in the same request sets + * it, the last one wins. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String recordingControl; + /** * Optional. Text data from the end user. * The value may be {@code null}. @@ -212,6 +228,41 @@ public SessionInput setImage(Image image) { return this; } + /** + * Optional. Whether the conversation may be recorded and logged from here on. Use this when the + * app, rather than the agent, decides what may be kept: for example when the end user has to + * consent to being recorded before anything about the call can be stored. The value stays in + * effect until the client sends a different one, so it only needs to be sent when the answer + * changes. Whatever is in effect when a turn completes decides that turn, both whether its audio + * reaches the recording bucket and whether its transcript reaches conversation history, BigQuery + * and Cloud Logging. It covers the agent's side of the turn as well as the end user's. Turns that + * complete before the client first sends this are recorded according to the app's logging + * settings, as though the field did not exist. If more than one input in the same request sets + * it, the last one wins. + * @return value or {@code null} for none + */ + public java.lang.String getRecordingControl() { + return recordingControl; + } + + /** + * Optional. Whether the conversation may be recorded and logged from here on. Use this when the + * app, rather than the agent, decides what may be kept: for example when the end user has to + * consent to being recorded before anything about the call can be stored. The value stays in + * effect until the client sends a different one, so it only needs to be sent when the answer + * changes. Whatever is in effect when a turn completes decides that turn, both whether its audio + * reaches the recording bucket and whether its transcript reaches conversation history, BigQuery + * and Cloud Logging. It covers the agent's side of the turn as well as the end user's. Turns that + * complete before the client first sends this are recorded according to the app's logging + * settings, as though the field did not exist. If more than one input in the same request sets + * it, the last one wins. + * @param recordingControl recordingControl or {@code null} for none + */ + public SessionInput setRecordingControl(java.lang.String recordingControl) { + this.recordingControl = recordingControl; + return this; + } + /** * Optional. Text data from the end user. * @return value or {@code null} for none 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 e51b2ce8784..1d24289e0fd 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-rev20260924-2.0.0 - Gemini Enterprise for Customer Experience API v1beta-rev20260924-2.0.0 + v1beta-rev20261016-2.0.0 + Gemini Enterprise for Customer Experience API v1beta-rev20261016-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 178a4ac3a20..aa9e6715139 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-rev20260924-2.0.0 + v1beta-rev20261016-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1beta-rev20260924-2.0.0' + implementation 'com.google.apis:google-api-services-ces:v1beta-rev20261016-2.0.0' } ```