Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-ces/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-ces</artifactId>
<version>v1-rev20261016-2.9.2</version>
<version>v1-rev20261106-2.9.2</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* <p> 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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -129,15 +137,15 @@ 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() {
return gcsUri;
}

/**
* 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) {
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ public final class AssistantConfirmationRequest extends com.google.api.client.js
@com.google.api.client.util.Key
private java.util.List<OptionQuestionsChunkQuestion> 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<AssistantConfirmationRequestTarget> targets;

/**
* Name of the tool call the agent paused on (e.g. "update_app"), for the card header. Unset for
* pure questions.
Expand Down Expand Up @@ -235,6 +243,25 @@ public AssistantConfirmationRequest setQuestions(java.util.List<OptionQuestionsC
return this;
}

/**
* 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.
* @return value or {@code null} for none
*/
public java.util.List<AssistantConfirmationRequestTarget> 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<AssistantConfirmationRequestTarget> 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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -62,15 +64,19 @@ 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<ExperimentConfigVersionReleaseTrafficAllocation> getTrafficAllocations() {
return trafficAllocations;
}

/**
* 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<ExperimentConfigVersionReleaseTrafficAllocation> trafficAllocations) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -89,15 +90,17 @@ 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() {
return trafficPercentage;
}

/**
* 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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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() {
Expand All @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -166,15 +166,15 @@ 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() {
return artifactChunk;
}

/**
* 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) {
Expand Down
Loading
Loading