From f768ec84752f0d395d9eada113cb7d3bf17ee75c Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 10 Nov 2026 16:55:37 -0800 Subject: [PATCH] chore: regenerate ces client --- .../v1/2.0.0/README.md | 4 +- .../services/ces/v1/model/ArtifactChunk.java | 35 +++- .../model/AssistantConfirmationRequest.java | 27 +++ .../AssistantConfirmationRequestTarget.java | 142 +++++++++++++ .../model/ExperimentConfigVersionRelease.java | 12 +- ...ConfigVersionReleaseTrafficAllocation.java | 9 +- .../ces/v1/model/ExportAppRequest.java | 6 +- .../model/StreamChatAiAssistantResponse.java | 6 +- .../api/services/ces/v1/model/ToolCall.java | 30 +++ .../services/ces/v1/model/ToolResponse.java | 24 +++ .../ces/v1/model/TurnCompletedEvent.java | 27 +++ .../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/model/ArtifactChunk.java | 35 +++- .../model/AssistantConfirmationRequest.java | 27 +++ .../AssistantConfirmationRequestTarget.java | 142 +++++++++++++ .../ces/v1beta/model/AssistantSession.java | 27 +++ .../model/EvaluationResultScenarioResult.java | 24 +++ ...onResultScenarioResultMilestoneResult.java | 115 +++++++++++ .../ces/v1beta/model/EvaluationScenario.java | 24 +++ .../model/EvaluationScenarioMilestone.java | 192 ++++++++++++++++++ .../model/ExperimentConfigVersionRelease.java | 12 +- ...ConfigVersionReleaseTrafficAllocation.java | 9 +- .../ces/v1beta/model/ExportAppRequest.java | 6 +- .../model/StreamChatAiAssistantResponse.java | 6 +- .../services/ces/v1beta/model/ToolCall.java | 30 +++ .../ces/v1beta/model/ToolResponse.java | 24 +++ .../ces/v1beta/model/TurnCompletedEvent.java | 27 +++ .../ces/v1beta/model/TypedPayload.java | 4 +- .../v1beta/2.0.0/pom.xml | 4 +- .../google-api-services-ces/v1beta/README.md | 4 +- 32 files changed, 1001 insertions(+), 45 deletions(-) create mode 100644 clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AssistantConfirmationRequestTarget.java create mode 100644 clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/AssistantConfirmationRequestTarget.java create mode 100644 clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResultScenarioResultMilestoneResult.java create mode 100644 clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationScenarioMilestone.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 eb8eaf04443..a9da64e475a 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-rev20261016-2.9.2 + v1-rev20261106-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1-rev20261016-2.9.2' + implementation 'com.google.apis:google-api-services-ces:v1-rev20261106-2.9.2' } ``` diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ArtifactChunk.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ArtifactChunk.java index 955a0941c61..49675459733 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ArtifactChunk.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ArtifactChunk.java @@ -19,7 +19,7 @@ /** * A streamed fragment of a document artifact (e.g. a markdown TDD) that the assistant is * generating. Content deltas stream while the document is being written so clients can render a - * live preview; the FINALIZED chunk carries the GCS URI once the file has been persisted. + * live preview; the FINALIZED chunk carries the Cloud Storage URI once the file has been persisted. * *

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 @@ -55,7 +55,7 @@ public final class ArtifactChunk extends com.google.api.client.json.GenericJson private java.lang.String displayName; /** - * The GCS object the artifact was persisted to. Set on FINALIZED chunks. + * The Cloud Storage object the artifact was persisted to. Set on FINALIZED chunks. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -75,6 +75,14 @@ public final class ArtifactChunk extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String state; + /** + * Output only. The app this artifact was produced for, when it was produced for one. Format: + * `projects/{project}/locations/{location}/apps/{app}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetApp; + /** * Identifier of the artifact, stable across all chunks of one artifact within the stream. * @return value or {@code null} for none @@ -129,7 +137,7 @@ public ArtifactChunk setDisplayName(java.lang.String displayName) { } /** - * The GCS object the artifact was persisted to. Set on FINALIZED chunks. + * The Cloud Storage object the artifact was persisted to. Set on FINALIZED chunks. * @return value or {@code null} for none */ public java.lang.String getGcsUri() { @@ -137,7 +145,7 @@ public java.lang.String getGcsUri() { } /** - * The GCS object the artifact was persisted to. Set on FINALIZED chunks. + * The Cloud Storage object the artifact was persisted to. Set on FINALIZED chunks. * @param gcsUri gcsUri or {@code null} for none */ public ArtifactChunk setGcsUri(java.lang.String gcsUri) { @@ -179,6 +187,25 @@ public ArtifactChunk setState(java.lang.String state) { return this; } + /** + * Output only. The app this artifact was produced for, when it was produced for one. Format: + * `projects/{project}/locations/{location}/apps/{app}` + * @return value or {@code null} for none + */ + public java.lang.String getTargetApp() { + return targetApp; + } + + /** + * Output only. The app this artifact was produced for, when it was produced for one. Format: + * `projects/{project}/locations/{location}/apps/{app}` + * @param targetApp targetApp or {@code null} for none + */ + public ArtifactChunk setTargetApp(java.lang.String targetApp) { + this.targetApp = targetApp; + return this; + } + @Override public ArtifactChunk set(String fieldName, Object value) { return (ArtifactChunk) super.set(fieldName, value); diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AssistantConfirmationRequest.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AssistantConfirmationRequest.java index b00070a5319..89ff4e58d10 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AssistantConfirmationRequest.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AssistantConfirmationRequest.java @@ -90,6 +90,14 @@ public final class AssistantConfirmationRequest extends com.google.api.client.js @com.google.api.client.util.Key private java.util.List questions; + /** + * Everything the confirmed action will change, so the console can render "Update 2 apps" and one + * badge per app. Empty for legacy single-target cards. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List targets; + /** * Name of the tool call the agent paused on (e.g. "update_app"), for the card header. Unset for * pure questions. @@ -235,6 +243,25 @@ public AssistantConfirmationRequest setQuestions(java.util.List getTargets() { + return targets; + } + + /** + * Everything the confirmed action will change, so the console can render "Update 2 apps" and one + * badge per app. Empty for legacy single-target cards. + * @param targets targets or {@code null} for none + */ + public AssistantConfirmationRequest setTargets(java.util.List targets) { + this.targets = targets; + return this; + } + /** * Name of the tool call the agent paused on (e.g. "update_app"), for the card header. Unset for * pure questions. diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AssistantConfirmationRequestTarget.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AssistantConfirmationRequestTarget.java new file mode 100644 index 00000000000..4dff73806fa --- /dev/null +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/AssistantConfirmationRequestTarget.java @@ -0,0 +1,142 @@ +/* + * 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; + +/** + * One resource the confirmed action will change. + * + *

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 AssistantConfirmationRequestTarget extends com.google.api.client.json.GenericJson { + + /** + * The action, e.g. `CREATE`, `UPDATE`, `DELETE`, `COPY`, `LINK`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String action; + + /** + * Display name of the resource or app, for the card. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * The resource that will change, as a full resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resource; + + /** + * The app the resource belongs to, or empty for a location-scoped action such as creating an app. + * Format: `projects/{project}/locations/{location}/apps/{app}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetApp; + + /** + * The action, e.g. `CREATE`, `UPDATE`, `DELETE`, `COPY`, `LINK`. + * @return value or {@code null} for none + */ + public java.lang.String getAction() { + return action; + } + + /** + * The action, e.g. `CREATE`, `UPDATE`, `DELETE`, `COPY`, `LINK`. + * @param action action or {@code null} for none + */ + public AssistantConfirmationRequestTarget setAction(java.lang.String action) { + this.action = action; + return this; + } + + /** + * Display name of the resource or app, for the card. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Display name of the resource or app, for the card. + * @param displayName displayName or {@code null} for none + */ + public AssistantConfirmationRequestTarget setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * The resource that will change, as a full resource name. + * @return value or {@code null} for none + */ + public java.lang.String getResource() { + return resource; + } + + /** + * The resource that will change, as a full resource name. + * @param resource resource or {@code null} for none + */ + public AssistantConfirmationRequestTarget setResource(java.lang.String resource) { + this.resource = resource; + return this; + } + + /** + * The app the resource belongs to, or empty for a location-scoped action such as creating an app. + * Format: `projects/{project}/locations/{location}/apps/{app}` + * @return value or {@code null} for none + */ + public java.lang.String getTargetApp() { + return targetApp; + } + + /** + * The app the resource belongs to, or empty for a location-scoped action such as creating an app. + * Format: `projects/{project}/locations/{location}/apps/{app}` + * @param targetApp targetApp or {@code null} for none + */ + public AssistantConfirmationRequestTarget setTargetApp(java.lang.String targetApp) { + this.targetApp = targetApp; + return this; + } + + @Override + public AssistantConfirmationRequestTarget set(String fieldName, Object value) { + return (AssistantConfirmationRequestTarget) super.set(fieldName, value); + } + + @Override + public AssistantConfirmationRequestTarget clone() { + return (AssistantConfirmationRequestTarget) super.clone(); + } + +} diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ExperimentConfigVersionRelease.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ExperimentConfigVersionRelease.java index d3b3a698d0b..7e8ad98f405 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ExperimentConfigVersionRelease.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ExperimentConfigVersionRelease.java @@ -38,7 +38,9 @@ public final class ExperimentConfigVersionRelease extends com.google.api.client. private java.lang.String state; /** - * Optional. Traffic allocations for the version release. + * Optional. Traffic allocations for the version release. When non-empty, the `traffic_percentage` + * values across all allocations must sum to `100`, representing the split of remaining non-study + * traffic. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -62,7 +64,9 @@ public ExperimentConfigVersionRelease setState(java.lang.String state) { } /** - * Optional. Traffic allocations for the version release. + * Optional. Traffic allocations for the version release. When non-empty, the `traffic_percentage` + * values across all allocations must sum to `100`, representing the split of remaining non-study + * traffic. * @return value or {@code null} for none */ public java.util.List getTrafficAllocations() { @@ -70,7 +74,9 @@ public java.util.List getTraffi } /** - * Optional. Traffic allocations for the version release. + * Optional. Traffic allocations for the version release. When non-empty, the `traffic_percentage` + * values across all allocations must sum to `100`, representing the split of remaining non-study + * traffic. * @param trafficAllocations trafficAllocations or {@code null} for none */ public ExperimentConfigVersionRelease setTrafficAllocations(java.util.List trafficAllocations) { diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ExperimentConfigVersionReleaseTrafficAllocation.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ExperimentConfigVersionReleaseTrafficAllocation.java index fbef4493ba9..ae3915ab3b7 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ExperimentConfigVersionReleaseTrafficAllocation.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ExperimentConfigVersionReleaseTrafficAllocation.java @@ -46,7 +46,8 @@ public final class ExperimentConfigVersionReleaseTrafficAllocation extends com.g private java.lang.String id; /** - * Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100. + * Optional. Traffic percentage of the traffic allocation, relative to the remaining non-study + * traffic. Must be between `0` and `100`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -89,7 +90,8 @@ public ExperimentConfigVersionReleaseTrafficAllocation setId(java.lang.String id } /** - * Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100. + * Optional. Traffic percentage of the traffic allocation, relative to the remaining non-study + * traffic. Must be between `0` and `100`. * @return value or {@code null} for none */ public java.lang.Integer getTrafficPercentage() { @@ -97,7 +99,8 @@ public java.lang.Integer getTrafficPercentage() { } /** - * Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100. + * Optional. Traffic percentage of the traffic allocation, relative to the remaining non-study + * traffic. Must be between `0` and `100`. * @param trafficPercentage trafficPercentage or {@code null} for none */ public ExperimentConfigVersionReleaseTrafficAllocation setTrafficPercentage(java.lang.Integer trafficPercentage) { diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ExportAppRequest.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ExportAppRequest.java index 6947b25b5dd..7856b9e2a30 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ExportAppRequest.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ExportAppRequest.java @@ -48,7 +48,7 @@ public final class ExportAppRequest extends com.google.api.client.json.GenericJs /** * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which to * export the app. The format of this URI must be `gs:`. The exported app archive will be written - * directly to the specified GCS object. + * directly to the specified Cloud Storage object. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -93,7 +93,7 @@ public ExportAppRequest setExportFormat(java.lang.String exportFormat) { /** * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which to * export the app. The format of this URI must be `gs:`. The exported app archive will be written - * directly to the specified GCS object. + * directly to the specified Cloud Storage object. * @return value or {@code null} for none */ public java.lang.String getGcsUri() { @@ -103,7 +103,7 @@ public java.lang.String getGcsUri() { /** * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which to * export the app. The format of this URI must be `gs:`. The exported app archive will be written - * directly to the specified GCS object. + * directly to the specified Cloud Storage object. * @param gcsUri gcsUri or {@code null} for none */ public ExportAppRequest setGcsUri(java.lang.String gcsUri) { diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/StreamChatAiAssistantResponse.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/StreamChatAiAssistantResponse.java index ae6aae7ad2a..9be5a9186e0 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/StreamChatAiAssistantResponse.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/StreamChatAiAssistantResponse.java @@ -31,7 +31,7 @@ public final class StreamChatAiAssistantResponse extends com.google.api.client.json.GenericJson { /** - * Generated-document artifact event (live preview deltas + final GCS pointer). + * Generated-document artifact event (live preview deltas + final Cloud Storage pointer). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -166,7 +166,7 @@ public final class StreamChatAiAssistantResponse extends com.google.api.client.j private UiEvent uiEvent; /** - * Generated-document artifact event (live preview deltas + final GCS pointer). + * Generated-document artifact event (live preview deltas + final Cloud Storage pointer). * @return value or {@code null} for none */ public ArtifactChunk getArtifactChunk() { @@ -174,7 +174,7 @@ public ArtifactChunk getArtifactChunk() { } /** - * Generated-document artifact event (live preview deltas + final GCS pointer). + * Generated-document artifact event (live preview deltas + final Cloud Storage pointer). * @param artifactChunk artifactChunk or {@code null} for none */ public StreamChatAiAssistantResponse setArtifactChunk(ArtifactChunk artifactChunk) { diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolCall.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolCall.java index 751c3bd7b73..1f0a8843160 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolCall.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolCall.java @@ -69,6 +69,15 @@ public final class ToolCall extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String parentToolCallId; + /** + * Output only. The app this call targets, derived by the assistant from the call's resource + * arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session- + * local tools. Set only in project-scoped assistant sessions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetApp; + /** * Optional. The name of the tool to execute. Format: * `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` @@ -177,6 +186,27 @@ public ToolCall setParentToolCallId(java.lang.String parentToolCallId) { return this; } + /** + * Output only. The app this call targets, derived by the assistant from the call's resource + * arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session- + * local tools. Set only in project-scoped assistant sessions. + * @return value or {@code null} for none + */ + public java.lang.String getTargetApp() { + return targetApp; + } + + /** + * Output only. The app this call targets, derived by the assistant from the call's resource + * arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session- + * local tools. Set only in project-scoped assistant sessions. + * @param targetApp targetApp or {@code null} for none + */ + public ToolCall setTargetApp(java.lang.String targetApp) { + this.targetApp = targetApp; + return this; + } + /** * Optional. The name of the tool to execute. Format: * `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolResponse.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolResponse.java index 315fbda716b..5e17cf39fb9 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolResponse.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/ToolResponse.java @@ -70,6 +70,13 @@ public final class ToolResponse extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.Map response; + /** + * Output only. The app the executed tool targeted; mirrors ToolCall.target_app. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetApp; + /** * Optional. The name of the tool to execute. Format: * `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` @@ -180,6 +187,23 @@ public ToolResponse setResponse(java.util.Map response return this; } + /** + * Output only. The app the executed tool targeted; mirrors ToolCall.target_app. + * @return value or {@code null} for none + */ + public java.lang.String getTargetApp() { + return targetApp; + } + + /** + * Output only. The app the executed tool targeted; mirrors ToolCall.target_app. + * @param targetApp targetApp or {@code null} for none + */ + public ToolResponse setTargetApp(java.lang.String targetApp) { + this.targetApp = targetApp; + return this; + } + /** * Optional. The name of the tool to execute. Format: * `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` diff --git a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/TurnCompletedEvent.java b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/TurnCompletedEvent.java index 3cce73bf2f3..f1376473771 100644 --- a/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/TurnCompletedEvent.java +++ b/clients/google-api-services-ces/v1/2.0.0/com/google/api/services/ces/v1/model/TurnCompletedEvent.java @@ -45,6 +45,14 @@ public final class TurnCompletedEvent extends com.google.api.client.json.Generic @com.google.api.client.util.Key private java.lang.String reason; + /** + * Apps this turn targeted or changed, so the console can refresh exactly those apps' stores. + * Project-scoped sessions only. Format: `projects/{project}/locations/{location}/apps/{app}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List touchedApps; + /** * Identifier of the turn that ended; matches TurnResumeSnapshot.turn_id and * ActiveTurnInfo.turn_id. @@ -89,6 +97,25 @@ public TurnCompletedEvent setReason(java.lang.String reason) { return this; } + /** + * Apps this turn targeted or changed, so the console can refresh exactly those apps' stores. + * Project-scoped sessions only. Format: `projects/{project}/locations/{location}/apps/{app}` + * @return value or {@code null} for none + */ + public java.util.List getTouchedApps() { + return touchedApps; + } + + /** + * Apps this turn targeted or changed, so the console can refresh exactly those apps' stores. + * Project-scoped sessions only. Format: `projects/{project}/locations/{location}/apps/{app}` + * @param touchedApps touchedApps or {@code null} for none + */ + public TurnCompletedEvent setTouchedApps(java.util.List touchedApps) { + this.touchedApps = touchedApps; + return this; + } + /** * Identifier of the turn that ended; matches TurnResumeSnapshot.turn_id and * ActiveTurnInfo.turn_id. 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 810e493ac5a..0bcd955f3f4 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-rev20261016-2.9.2 - Gemini Enterprise for Customer Experience API v1-rev20261016-2.9.2 + v1-rev20261106-2.9.2 + Gemini Enterprise for Customer Experience API v1-rev20261106-2.9.2 jar 2011 diff --git a/clients/google-api-services-ces/v1/README.md b/clients/google-api-services-ces/v1/README.md index eb8eaf04443..a9da64e475a 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-rev20261016-2.9.2 + v1-rev20261106-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1-rev20261016-2.9.2' + implementation 'com.google.apis:google-api-services-ces:v1-rev20261106-2.9.2' } ``` 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 cfbecb40906..d1c2b6bfd92 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-rev20261016-2.9.2 + v1beta-rev20261106-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1beta-rev20261016-2.9.2' + implementation 'com.google.apis:google-api-services-ces:v1beta-rev20261106-2.9.2' } ``` diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ArtifactChunk.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ArtifactChunk.java index c447871d352..59d659fc952 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ArtifactChunk.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ArtifactChunk.java @@ -19,7 +19,7 @@ /** * A streamed fragment of a document artifact (e.g. a markdown TDD) that the assistant is * generating. Content deltas stream while the document is being written so clients can render a - * live preview; the FINALIZED chunk carries the GCS URI once the file has been persisted. + * live preview; the FINALIZED chunk carries the Cloud Storage URI once the file has been persisted. * *

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 @@ -55,7 +55,7 @@ public final class ArtifactChunk extends com.google.api.client.json.GenericJson private java.lang.String displayName; /** - * The GCS object the artifact was persisted to. Set on FINALIZED chunks. + * The Cloud Storage object the artifact was persisted to. Set on FINALIZED chunks. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -75,6 +75,14 @@ public final class ArtifactChunk extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String state; + /** + * Output only. The app this artifact was produced for, when it was produced for one. Format: + * `projects/{project}/locations/{location}/apps/{app}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetApp; + /** * Identifier of the artifact, stable across all chunks of one artifact within the stream. * @return value or {@code null} for none @@ -129,7 +137,7 @@ public ArtifactChunk setDisplayName(java.lang.String displayName) { } /** - * The GCS object the artifact was persisted to. Set on FINALIZED chunks. + * The Cloud Storage object the artifact was persisted to. Set on FINALIZED chunks. * @return value or {@code null} for none */ public java.lang.String getGcsUri() { @@ -137,7 +145,7 @@ public java.lang.String getGcsUri() { } /** - * The GCS object the artifact was persisted to. Set on FINALIZED chunks. + * The Cloud Storage object the artifact was persisted to. Set on FINALIZED chunks. * @param gcsUri gcsUri or {@code null} for none */ public ArtifactChunk setGcsUri(java.lang.String gcsUri) { @@ -179,6 +187,25 @@ public ArtifactChunk setState(java.lang.String state) { return this; } + /** + * Output only. The app this artifact was produced for, when it was produced for one. Format: + * `projects/{project}/locations/{location}/apps/{app}` + * @return value or {@code null} for none + */ + public java.lang.String getTargetApp() { + return targetApp; + } + + /** + * Output only. The app this artifact was produced for, when it was produced for one. Format: + * `projects/{project}/locations/{location}/apps/{app}` + * @param targetApp targetApp or {@code null} for none + */ + public ArtifactChunk setTargetApp(java.lang.String targetApp) { + this.targetApp = targetApp; + return this; + } + @Override public ArtifactChunk set(String fieldName, Object value) { return (ArtifactChunk) super.set(fieldName, value); diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/AssistantConfirmationRequest.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/AssistantConfirmationRequest.java index 78eb9394809..5c021d4122b 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/AssistantConfirmationRequest.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/AssistantConfirmationRequest.java @@ -90,6 +90,14 @@ public final class AssistantConfirmationRequest extends com.google.api.client.js @com.google.api.client.util.Key private java.util.List questions; + /** + * Everything the confirmed action will change, so the console can render "Update 2 apps" and one + * badge per app. Empty for legacy single-target cards. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List targets; + /** * Name of the tool call the agent paused on (e.g. "update_app"), for the card header. Unset for * pure questions. @@ -235,6 +243,25 @@ public AssistantConfirmationRequest setQuestions(java.util.List getTargets() { + return targets; + } + + /** + * Everything the confirmed action will change, so the console can render "Update 2 apps" and one + * badge per app. Empty for legacy single-target cards. + * @param targets targets or {@code null} for none + */ + public AssistantConfirmationRequest setTargets(java.util.List targets) { + this.targets = targets; + return this; + } + /** * Name of the tool call the agent paused on (e.g. "update_app"), for the card header. Unset for * pure questions. diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/AssistantConfirmationRequestTarget.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/AssistantConfirmationRequestTarget.java new file mode 100644 index 00000000000..d8eaf1dcf3d --- /dev/null +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/AssistantConfirmationRequestTarget.java @@ -0,0 +1,142 @@ +/* + * 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; + +/** + * One resource the confirmed action will change. + * + *

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 AssistantConfirmationRequestTarget extends com.google.api.client.json.GenericJson { + + /** + * The action, e.g. `CREATE`, `UPDATE`, `DELETE`, `COPY`, `LINK`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String action; + + /** + * Display name of the resource or app, for the card. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * The resource that will change, as a full resource name. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resource; + + /** + * The app the resource belongs to, or empty for a location-scoped action such as creating an app. + * Format: `projects/{project}/locations/{location}/apps/{app}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetApp; + + /** + * The action, e.g. `CREATE`, `UPDATE`, `DELETE`, `COPY`, `LINK`. + * @return value or {@code null} for none + */ + public java.lang.String getAction() { + return action; + } + + /** + * The action, e.g. `CREATE`, `UPDATE`, `DELETE`, `COPY`, `LINK`. + * @param action action or {@code null} for none + */ + public AssistantConfirmationRequestTarget setAction(java.lang.String action) { + this.action = action; + return this; + } + + /** + * Display name of the resource or app, for the card. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Display name of the resource or app, for the card. + * @param displayName displayName or {@code null} for none + */ + public AssistantConfirmationRequestTarget setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * The resource that will change, as a full resource name. + * @return value or {@code null} for none + */ + public java.lang.String getResource() { + return resource; + } + + /** + * The resource that will change, as a full resource name. + * @param resource resource or {@code null} for none + */ + public AssistantConfirmationRequestTarget setResource(java.lang.String resource) { + this.resource = resource; + return this; + } + + /** + * The app the resource belongs to, or empty for a location-scoped action such as creating an app. + * Format: `projects/{project}/locations/{location}/apps/{app}` + * @return value or {@code null} for none + */ + public java.lang.String getTargetApp() { + return targetApp; + } + + /** + * The app the resource belongs to, or empty for a location-scoped action such as creating an app. + * Format: `projects/{project}/locations/{location}/apps/{app}` + * @param targetApp targetApp or {@code null} for none + */ + public AssistantConfirmationRequestTarget setTargetApp(java.lang.String targetApp) { + this.targetApp = targetApp; + return this; + } + + @Override + public AssistantConfirmationRequestTarget set(String fieldName, Object value) { + return (AssistantConfirmationRequestTarget) super.set(fieldName, value); + } + + @Override + public AssistantConfirmationRequestTarget clone() { + return (AssistantConfirmationRequestTarget) super.clone(); + } + +} diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/AssistantSession.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/AssistantSession.java index faeb9bc1a7c..f63215b1d69 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/AssistantSession.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/AssistantSession.java @@ -102,6 +102,14 @@ public final class AssistantSession extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private java.lang.String state; + /** + * Output only. Apps this session has targeted or changed (project-scoped sessions only), for + * history tags. Format: `projects/{project}/locations/{location}/apps/{app}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List touchedApps; + /** * Output only. The time the assistant session was last updated. * The value may be {@code null}. @@ -275,6 +283,25 @@ public AssistantSession setState(java.lang.String state) { return this; } + /** + * Output only. Apps this session has targeted or changed (project-scoped sessions only), for + * history tags. Format: `projects/{project}/locations/{location}/apps/{app}` + * @return value or {@code null} for none + */ + public java.util.List getTouchedApps() { + return touchedApps; + } + + /** + * Output only. Apps this session has targeted or changed (project-scoped sessions only), for + * history tags. Format: `projects/{project}/locations/{location}/apps/{app}` + * @param touchedApps touchedApps or {@code null} for none + */ + public AssistantSession setTouchedApps(java.util.List touchedApps) { + this.touchedApps = touchedApps; + return this; + } + /** * Output only. The time the assistant session was last updated. * @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/EvaluationResultScenarioResult.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResultScenarioResult.java index 242573e8cfc..6d3cd63a4de 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResultScenarioResult.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResultScenarioResult.java @@ -84,6 +84,13 @@ public final class EvaluationResultScenarioResult extends com.google.api.client. com.google.api.client.util.Data.nullOf(EvaluationResultHallucinationResult.class); } + /** + * Output only. The results of each milestone in the scenario. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List milestoneResults; + /** * Output only. The outcome of the rubric. * The value may be {@code null}. @@ -228,6 +235,23 @@ public EvaluationResultScenarioResult setHallucinationResult(java.util.List getMilestoneResults() { + return milestoneResults; + } + + /** + * Output only. The results of each milestone in the scenario. + * @param milestoneResults milestoneResults or {@code null} for none + */ + public EvaluationResultScenarioResult setMilestoneResults(java.util.List milestoneResults) { + this.milestoneResults = milestoneResults; + return this; + } + /** * Output only. The outcome of the rubric. * @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/EvaluationResultScenarioResultMilestoneResult.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResultScenarioResultMilestoneResult.java new file mode 100644 index 00000000000..78491a5a2b2 --- /dev/null +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationResultScenarioResultMilestoneResult.java @@ -0,0 +1,115 @@ +/* + * 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; + +/** + * Represents the result of a milestone execution. + * + *

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 EvaluationResultScenarioResultMilestoneResult extends com.google.api.client.json.GenericJson { + + /** + * Output only. The justification for the current status. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String justification; + + /** + * Output only. The milestone being tracked. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private EvaluationScenarioMilestone milestone; + + /** + * Output only. The current status of the milestone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String status; + + /** + * Output only. The justification for the current status. + * @return value or {@code null} for none + */ + public java.lang.String getJustification() { + return justification; + } + + /** + * Output only. The justification for the current status. + * @param justification justification or {@code null} for none + */ + public EvaluationResultScenarioResultMilestoneResult setJustification(java.lang.String justification) { + this.justification = justification; + return this; + } + + /** + * Output only. The milestone being tracked. + * @return value or {@code null} for none + */ + public EvaluationScenarioMilestone getMilestone() { + return milestone; + } + + /** + * Output only. The milestone being tracked. + * @param milestone milestone or {@code null} for none + */ + public EvaluationResultScenarioResultMilestoneResult setMilestone(EvaluationScenarioMilestone milestone) { + this.milestone = milestone; + return this; + } + + /** + * Output only. The current status of the milestone. + * @return value or {@code null} for none + */ + public java.lang.String getStatus() { + return status; + } + + /** + * Output only. The current status of the milestone. + * @param status status or {@code null} for none + */ + public EvaluationResultScenarioResultMilestoneResult setStatus(java.lang.String status) { + this.status = status; + return this; + } + + @Override + public EvaluationResultScenarioResultMilestoneResult set(String fieldName, Object value) { + return (EvaluationResultScenarioResultMilestoneResult) super.set(fieldName, value); + } + + @Override + public EvaluationResultScenarioResultMilestoneResult clone() { + return (EvaluationResultScenarioResultMilestoneResult) super.clone(); + } + +} diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationScenario.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationScenario.java index f71fd94d130..b6bed2080c5 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationScenario.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationScenario.java @@ -47,6 +47,13 @@ public final class EvaluationScenario extends com.google.api.client.json.Generic @com.google.api.client.util.Key private java.lang.Integer maxTurns; + /** + * Optional. The milestones for this scenario. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List milestones; + /** * Required. The rubrics to score the scenario against. * The value may be {@code null}. @@ -147,6 +154,23 @@ public EvaluationScenario setMaxTurns(java.lang.Integer maxTurns) { return this; } + /** + * Optional. The milestones for this scenario. + * @return value or {@code null} for none + */ + public java.util.List getMilestones() { + return milestones; + } + + /** + * Optional. The milestones for this scenario. + * @param milestones milestones or {@code null} for none + */ + public EvaluationScenario setMilestones(java.util.List milestones) { + this.milestones = milestones; + return this; + } + /** * Required. The rubrics to score the scenario against. * @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/EvaluationScenarioMilestone.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationScenarioMilestone.java new file mode 100644 index 00000000000..14916be5716 --- /dev/null +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/EvaluationScenarioMilestone.java @@ -0,0 +1,192 @@ +/* + * 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; + +/** + * Represents a single milestone in the scenario. Used to guide the behaviour of the user simulator + * to follow a protocol. The user simulator executes the milestone sequentially and only proceeds to + * the next one if the success_criteria of that milestone is achieved. + * + *

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 EvaluationScenarioMilestone extends com.google.api.client.json.GenericJson { + + /** + * Optional. An event input to send instead of dynamic generation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Event event; + + /** + * Required. The goal of the milestone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String goal; + + /** + * Optional. The maximum number of turns for this milestone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Integer maxTurnCount; + + /** + * Optional. The guidelines the agent should follow during the conversation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String protocol; + + /** + * Optional. A static utterance that the simulator will send exactly, instead of dynamically + * generating user input. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String staticUtterance; + + /** + * Optional. The success criteria of the milestone. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String successCriteria; + + /** + * Optional. An event input to send instead of dynamic generation. + * @return value or {@code null} for none + */ + public Event getEvent() { + return event; + } + + /** + * Optional. An event input to send instead of dynamic generation. + * @param event event or {@code null} for none + */ + public EvaluationScenarioMilestone setEvent(Event event) { + this.event = event; + return this; + } + + /** + * Required. The goal of the milestone. + * @return value or {@code null} for none + */ + public java.lang.String getGoal() { + return goal; + } + + /** + * Required. The goal of the milestone. + * @param goal goal or {@code null} for none + */ + public EvaluationScenarioMilestone setGoal(java.lang.String goal) { + this.goal = goal; + return this; + } + + /** + * Optional. The maximum number of turns for this milestone. + * @return value or {@code null} for none + */ + public java.lang.Integer getMaxTurnCount() { + return maxTurnCount; + } + + /** + * Optional. The maximum number of turns for this milestone. + * @param maxTurnCount maxTurnCount or {@code null} for none + */ + public EvaluationScenarioMilestone setMaxTurnCount(java.lang.Integer maxTurnCount) { + this.maxTurnCount = maxTurnCount; + return this; + } + + /** + * Optional. The guidelines the agent should follow during the conversation. + * @return value or {@code null} for none + */ + public java.lang.String getProtocol() { + return protocol; + } + + /** + * Optional. The guidelines the agent should follow during the conversation. + * @param protocol protocol or {@code null} for none + */ + public EvaluationScenarioMilestone setProtocol(java.lang.String protocol) { + this.protocol = protocol; + return this; + } + + /** + * Optional. A static utterance that the simulator will send exactly, instead of dynamically + * generating user input. + * @return value or {@code null} for none + */ + public java.lang.String getStaticUtterance() { + return staticUtterance; + } + + /** + * Optional. A static utterance that the simulator will send exactly, instead of dynamically + * generating user input. + * @param staticUtterance staticUtterance or {@code null} for none + */ + public EvaluationScenarioMilestone setStaticUtterance(java.lang.String staticUtterance) { + this.staticUtterance = staticUtterance; + return this; + } + + /** + * Optional. The success criteria of the milestone. + * @return value or {@code null} for none + */ + public java.lang.String getSuccessCriteria() { + return successCriteria; + } + + /** + * Optional. The success criteria of the milestone. + * @param successCriteria successCriteria or {@code null} for none + */ + public EvaluationScenarioMilestone setSuccessCriteria(java.lang.String successCriteria) { + this.successCriteria = successCriteria; + return this; + } + + @Override + public EvaluationScenarioMilestone set(String fieldName, Object value) { + return (EvaluationScenarioMilestone) super.set(fieldName, value); + } + + @Override + public EvaluationScenarioMilestone clone() { + return (EvaluationScenarioMilestone) super.clone(); + } + +} diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ExperimentConfigVersionRelease.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ExperimentConfigVersionRelease.java index 38c63c237aa..245837cbd0d 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ExperimentConfigVersionRelease.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ExperimentConfigVersionRelease.java @@ -38,7 +38,9 @@ public final class ExperimentConfigVersionRelease extends com.google.api.client. private java.lang.String state; /** - * Optional. Traffic allocations for the version release. + * Optional. Traffic allocations for the version release. When non-empty, the `traffic_percentage` + * values across all allocations must sum to `100`, representing the split of remaining non-study + * traffic. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -62,7 +64,9 @@ public ExperimentConfigVersionRelease setState(java.lang.String state) { } /** - * Optional. Traffic allocations for the version release. + * Optional. Traffic allocations for the version release. When non-empty, the `traffic_percentage` + * values across all allocations must sum to `100`, representing the split of remaining non-study + * traffic. * @return value or {@code null} for none */ public java.util.List getTrafficAllocations() { @@ -70,7 +74,9 @@ public java.util.List getTraffi } /** - * Optional. Traffic allocations for the version release. + * Optional. Traffic allocations for the version release. When non-empty, the `traffic_percentage` + * values across all allocations must sum to `100`, representing the split of remaining non-study + * traffic. * @param trafficAllocations trafficAllocations or {@code null} for none */ public ExperimentConfigVersionRelease setTrafficAllocations(java.util.List trafficAllocations) { diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ExperimentConfigVersionReleaseTrafficAllocation.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ExperimentConfigVersionReleaseTrafficAllocation.java index db73edf1d41..2c5fe57c337 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ExperimentConfigVersionReleaseTrafficAllocation.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ExperimentConfigVersionReleaseTrafficAllocation.java @@ -46,7 +46,8 @@ public final class ExperimentConfigVersionReleaseTrafficAllocation extends com.g private java.lang.String id; /** - * Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100. + * Optional. Traffic percentage of the traffic allocation, relative to the remaining non-study + * traffic. Must be between `0` and `100`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -89,7 +90,8 @@ public ExperimentConfigVersionReleaseTrafficAllocation setId(java.lang.String id } /** - * Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100. + * Optional. Traffic percentage of the traffic allocation, relative to the remaining non-study + * traffic. Must be between `0` and `100`. * @return value or {@code null} for none */ public java.lang.Integer getTrafficPercentage() { @@ -97,7 +99,8 @@ public java.lang.Integer getTrafficPercentage() { } /** - * Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100. + * Optional. Traffic percentage of the traffic allocation, relative to the remaining non-study + * traffic. Must be between `0` and `100`. * @param trafficPercentage trafficPercentage or {@code null} for none */ public ExperimentConfigVersionReleaseTrafficAllocation setTrafficPercentage(java.lang.Integer trafficPercentage) { diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ExportAppRequest.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ExportAppRequest.java index 3b00b39d542..e787ee8df46 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ExportAppRequest.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ExportAppRequest.java @@ -48,7 +48,7 @@ public final class ExportAppRequest extends com.google.api.client.json.GenericJs /** * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which to * export the app. The format of this URI must be `gs:`. The exported app archive will be written - * directly to the specified GCS object. + * directly to the specified Cloud Storage object. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -93,7 +93,7 @@ public ExportAppRequest setExportFormat(java.lang.String exportFormat) { /** * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which to * export the app. The format of this URI must be `gs:`. The exported app archive will be written - * directly to the specified GCS object. + * directly to the specified Cloud Storage object. * @return value or {@code null} for none */ public java.lang.String getGcsUri() { @@ -103,7 +103,7 @@ public java.lang.String getGcsUri() { /** * Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which to * export the app. The format of this URI must be `gs:`. The exported app archive will be written - * directly to the specified GCS object. + * directly to the specified Cloud Storage object. * @param gcsUri gcsUri or {@code null} for none */ public ExportAppRequest setGcsUri(java.lang.String gcsUri) { diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/StreamChatAiAssistantResponse.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/StreamChatAiAssistantResponse.java index b6025c1c00c..d09ba4d1dc8 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/StreamChatAiAssistantResponse.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/StreamChatAiAssistantResponse.java @@ -31,7 +31,7 @@ public final class StreamChatAiAssistantResponse extends com.google.api.client.json.GenericJson { /** - * Generated-document artifact event (live preview deltas + final GCS pointer). + * Generated-document artifact event (live preview deltas + final Cloud Storage pointer). * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -166,7 +166,7 @@ public final class StreamChatAiAssistantResponse extends com.google.api.client.j private UiEvent uiEvent; /** - * Generated-document artifact event (live preview deltas + final GCS pointer). + * Generated-document artifact event (live preview deltas + final Cloud Storage pointer). * @return value or {@code null} for none */ public ArtifactChunk getArtifactChunk() { @@ -174,7 +174,7 @@ public ArtifactChunk getArtifactChunk() { } /** - * Generated-document artifact event (live preview deltas + final GCS pointer). + * Generated-document artifact event (live preview deltas + final Cloud Storage pointer). * @param artifactChunk artifactChunk or {@code null} for none */ public StreamChatAiAssistantResponse setArtifactChunk(ArtifactChunk artifactChunk) { diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ToolCall.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ToolCall.java index 885406d22dd..8cd8063e55d 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ToolCall.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ToolCall.java @@ -69,6 +69,15 @@ public final class ToolCall extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String parentToolCallId; + /** + * Output only. The app this call targets, derived by the assistant from the call's resource + * arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session- + * local tools. Set only in project-scoped assistant sessions. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetApp; + /** * Optional. The name of the tool to execute. Format: * `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` @@ -177,6 +186,27 @@ public ToolCall setParentToolCallId(java.lang.String parentToolCallId) { return this; } + /** + * Output only. The app this call targets, derived by the assistant from the call's resource + * arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session- + * local tools. Set only in project-scoped assistant sessions. + * @return value or {@code null} for none + */ + public java.lang.String getTargetApp() { + return targetApp; + } + + /** + * Output only. The app this call targets, derived by the assistant from the call's resource + * arguments: an app resource name, `PROJECT` for location-scoped tools, or empty for session- + * local tools. Set only in project-scoped assistant sessions. + * @param targetApp targetApp or {@code null} for none + */ + public ToolCall setTargetApp(java.lang.String targetApp) { + this.targetApp = targetApp; + return this; + } + /** * Optional. The name of the tool to execute. Format: * `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ToolResponse.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ToolResponse.java index d69b0288f92..68b3816fce6 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ToolResponse.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/ToolResponse.java @@ -70,6 +70,13 @@ public final class ToolResponse extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.util.Map response; + /** + * Output only. The app the executed tool targeted; mirrors ToolCall.target_app. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetApp; + /** * Optional. The name of the tool to execute. Format: * `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` @@ -180,6 +187,23 @@ public ToolResponse setResponse(java.util.Map response return this; } + /** + * Output only. The app the executed tool targeted; mirrors ToolCall.target_app. + * @return value or {@code null} for none + */ + public java.lang.String getTargetApp() { + return targetApp; + } + + /** + * Output only. The app the executed tool targeted; mirrors ToolCall.target_app. + * @param targetApp targetApp or {@code null} for none + */ + public ToolResponse setTargetApp(java.lang.String targetApp) { + this.targetApp = targetApp; + return this; + } + /** * Optional. The name of the tool to execute. Format: * `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/TurnCompletedEvent.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/TurnCompletedEvent.java index 782babe4379..9f158f6ddec 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/TurnCompletedEvent.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/TurnCompletedEvent.java @@ -45,6 +45,14 @@ public final class TurnCompletedEvent extends com.google.api.client.json.Generic @com.google.api.client.util.Key private java.lang.String reason; + /** + * Apps this turn targeted or changed, so the console can refresh exactly those apps' stores. + * Project-scoped sessions only. Format: `projects/{project}/locations/{location}/apps/{app}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List touchedApps; + /** * Identifier of the turn that ended; matches TurnResumeSnapshot.turn_id and * ActiveTurnInfo.turn_id. @@ -89,6 +97,25 @@ public TurnCompletedEvent setReason(java.lang.String reason) { return this; } + /** + * Apps this turn targeted or changed, so the console can refresh exactly those apps' stores. + * Project-scoped sessions only. Format: `projects/{project}/locations/{location}/apps/{app}` + * @return value or {@code null} for none + */ + public java.util.List getTouchedApps() { + return touchedApps; + } + + /** + * Apps this turn targeted or changed, so the console can refresh exactly those apps' stores. + * Project-scoped sessions only. Format: `projects/{project}/locations/{location}/apps/{app}` + * @param touchedApps touchedApps or {@code null} for none + */ + public TurnCompletedEvent setTouchedApps(java.util.List touchedApps) { + this.touchedApps = touchedApps; + return this; + } + /** * Identifier of the turn that ended; matches TurnResumeSnapshot.turn_id and * ActiveTurnInfo.turn_id. diff --git a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/TypedPayload.java b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/TypedPayload.java index 0eebf8169cf..2117697b500 100644 --- a/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/TypedPayload.java +++ b/clients/google-api-services-ces/v1beta/2.0.0/com/google/api/services/ces/v1beta/model/TypedPayload.java @@ -17,7 +17,9 @@ package com.google.api.services.ces.v1beta.model; /** - * Payload with a type. + * Payload with a type. Used by the assistant history (`AssistantChunk`) and by the streaming + * `typed_payload` event; lives here because both assistant_service.proto and session_service.proto + * need it. * *

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/pom.xml b/clients/google-api-services-ces/v1beta/2.0.0/pom.xml index 833b7fa6e01..f8e87dd4f8e 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-rev20261016-2.9.2 - Gemini Enterprise for Customer Experience API v1beta-rev20261016-2.9.2 + v1beta-rev20261106-2.9.2 + Gemini Enterprise for Customer Experience API v1beta-rev20261106-2.9.2 jar 2011 diff --git a/clients/google-api-services-ces/v1beta/README.md b/clients/google-api-services-ces/v1beta/README.md index cfbecb40906..d1c2b6bfd92 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-rev20261016-2.9.2 + v1beta-rev20261106-2.9.2 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-ces:v1beta-rev20261016-2.9.2' + implementation 'com.google.apis:google-api-services-ces:v1beta-rev20261106-2.9.2' } ```