From e32d4403719658be055e1f0d1b1a14d172ee7d38 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Sat, 22 Aug 2026 17:33:44 -0700
Subject: [PATCH] chore: regenerate aiplatform client
---
.../v1/2.0.0/README.md | 4 +-
.../services/aiplatform/v1/Aiplatform.java | 592 ++++++++++++++++++
.../model/GoogleCloudAiplatformV1Agent.java | 18 +-
...dAiplatformV1AudioTranscriptionConfig.java | 36 ++
.../GoogleCloudAiplatformV1GatewayConfig.java | 21 +-
...rmV1OnlineEvaluatorCloudObservability.java | 24 +
...aluatorCloudObservabilitySessionScope.java | 97 +++
...vabilitySessionScopeInactivityTrigger.java | 72 +++
...oudObservabilitySessionScopePredicate.java | 210 +++++++
.../GoogleCloudAiplatformV1RagChunk.java | 48 ++
...AiplatformV1RayClusterAutoscalingSpec.java | 99 +++
.../GoogleCloudAiplatformV1RayMetricSpec.java | 30 +
.../model/GoogleCloudAiplatformV1RaySpec.java | 24 +
...oudAiplatformV1SandboxEnvironmentSpec.java | 24 +
...andboxEnvironmentSpecShellEnvironment.java | 42 ++
...tformV1SchemaPromptSpecAppBuilderData.java | 30 +
.../v1/2.0.0/pom.xml | 4 +-
.../v1/README.md | 4 +-
.../v1beta1/2.0.0/README.md | 4 +-
.../aiplatform/v1beta1/Aiplatform.java | 48 +-
...iVertexV1beta1EnvironmentConfigSource.java | 12 +-
...iVertexV1beta1FileSearchResultContent.java | 6 +-
.../GenaiVertexV1beta1GenerationConfig.java | 36 +-
.../model/GenaiVertexV1beta1Interaction.java | 51 +-
...gStoreConfigRagRetrievalConfigRanking.java | 6 +-
...a => GenaiVertexV1beta1SpeakerConfig.java} | 33 +-
...GenaiVertexV1beta1TranscriptionConfig.java | 39 ++
.../v1beta1/model/GenaiVertexV1beta1Turn.java | 114 ----
.../model/GenaiVertexV1beta1VideoContent.java | 42 ++
...texV1beta1VideoContentMediaProcessing.java | 63 ++
...eta1VideoContentStaticMediaProcessing.java | 120 ++++
...GenaiVertexV1beta1VideoResponseFormat.java | 30 +-
.../GoogleCloudAiplatformV1beta1Agent.java | 18 +-
...atformV1beta1AudioTranscriptionConfig.java | 36 ++
...leCloudAiplatformV1beta1GatewayConfig.java | 21 +-
...eta1OnlineEvaluatorCloudObservability.java | 24 +
...aluatorCloudObservabilitySessionScope.java | 97 +++
...vabilitySessionScopeInactivityTrigger.java | 72 +++
...oudObservabilitySessionScopePredicate.java | 210 +++++++
.../GoogleCloudAiplatformV1beta1Part.java | 27 +
...tformV1beta1RayClusterAutoscalingSpec.java | 99 +++
...leCloudAiplatformV1beta1RayMetricSpec.java | 30 +
.../GoogleCloudAiplatformV1beta1RaySpec.java | 24 +
...platformV1beta1SandboxEnvironmentSpec.java | 24 +
...andboxEnvironmentSpecShellEnvironment.java | 42 ++
...V1beta1SchemaPromptSpecAppBuilderData.java | 30 +
...loudAiplatformV1beta1XmanagerInstance.java | 24 +
...ogleCloudAiplatformV1beta1XprofConfig.java | 66 ++
.../v1beta1/2.0.0/pom.xml | 4 +-
.../v1beta1/README.md | 4 +-
50 files changed, 2583 insertions(+), 252 deletions(-)
create mode 100644 clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope.java
create mode 100644 clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger.java
create mode 100644 clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate.java
create mode 100644 clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RayClusterAutoscalingSpec.java
create mode 100644 clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment.java
rename clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/{GenaiVertexV1beta1TurnList.java => GenaiVertexV1beta1SpeakerConfig.java} (60%)
delete mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Turn.java
create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContentMediaProcessing.java
create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContentStaticMediaProcessing.java
create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope.java
create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger.java
create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate.java
create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RayClusterAutoscalingSpec.java
create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecShellEnvironment.java
create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1XprofConfig.java
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/README.md b/clients/google-api-services-aiplatform/v1/2.0.0/README.md
index cfcf39eee92..4fc4c7b7dbb 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/README.md
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
The typical use is:
+ *
+ * {@code Aiplatform aiplatform = new Aiplatform(...);}
+ * {@code Aiplatform.Responses.List request = aiplatform.responses().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public Responses responses() {
+ return new Responses();
+ }
+
+ /**
+ * The "responses" collection of methods.
+ */
+ public class Responses {
+
+ /**
+ * Deletes the response from the endpoint.
+ *
+ * Create a request for the method "responses.delete".
+ *
+ * This request holds the parameters needed by the aiplatform server. After setting any optional
+ * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. The name of the Response resource to be deleted. Format:
+ * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}`
+ * @return the request
+ */
+ public Delete delete(java.lang.String name) throws java.io.IOException {
+ Delete result = new Delete(name);
+ initialize(result);
+ return result;
+ }
+
+ public class Delete extends AiplatformRequest{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. The name of the Response resource to be deleted. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(Aiplatform.this, "DELETE", REST_PATH, null, com.google.api.services.aiplatform.v1.model.GoogleApiHttpBody.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/responses/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the Response resource to be deleted. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the Response resource to be deleted. Format: + `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the Response resource to be deleted. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + */ + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/responses/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets the response from the endpoint. + * + * Create a request for the method "responses.get". + * + * This request holds the parameters needed by the aiplatform server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the Response resource. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends AiplatformRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. The name of the Response resource. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(Aiplatform.this, "GET", REST_PATH, null, com.google.api.services.aiplatform.v1.model.GoogleApiHttpBody.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/responses/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the Response resource. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the Response resource. Format: + `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the Response resource. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/responses/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + + } } /** * An accessor for creating requests from the EvaluationItems collection. @@ -121849,6 +122156,291 @@ public Compact set(String parameterName, Object value) { return (Compact) super.set(parameterName, value); } } + /** + * Deletes the response from the endpoint. + * + * Create a request for the method "responses.delete". + * + * This request holds the parameters needed by the aiplatform server. After setting any optional + * parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the Response resource to be deleted. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends AiplatformRequest{@link + * Delete#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. The name of the Response resource to be deleted. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(Aiplatform.this, "DELETE", REST_PATH, null, com.google.api.services.aiplatform.v1.model.GoogleApiHttpBody.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/v1/responses/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the Response resource to be deleted. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the Response resource to be deleted. Format: + `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the Response resource to be deleted. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + */ + public Delete setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/v1/responses/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets the response from the endpoint. + * + * Create a request for the method "responses.get". + * + * This request holds the parameters needed by the aiplatform server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the Response resource. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + * @return the request + */ + public Get get(java.lang.String name) throws java.io.IOException { + Get result = new Get(name); + initialize(result); + return result; + } + + public class Get extends AiplatformRequest+ * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.
+ * + * @param name Required. The name of the Response resource. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(Aiplatform.this, "GET", REST_PATH, null, com.google.api.services.aiplatform.v1.model.GoogleApiHttpBody.class); + this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/v1/responses/[^/]+$"); + } + } + + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } + + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } + + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } + + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } + + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } + + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } + + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } + + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } + + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } + + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } + + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } + + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } + + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the Response resource. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the Response resource. Format: + `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the Response resource. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}/responses/{response}` + */ + public Get setName(java.lang.String name) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), + "Parameter name must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/v1/responses/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } } } diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Agent.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Agent.java index 8515fb8b48f..60457b36950 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Agent.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Agent.java @@ -30,7 +30,11 @@ public final class GoogleCloudAiplatformV1Agent extends com.google.api.client.json.GenericJson { /** - * Required. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` + * Required. Immutable. The base agent for the agent. Supported values: * `antigravity- + * preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of + * agent this is gets derived from this field when the agent is created and is recorded then; + * nothing recomputes it afterwards, so a later change would leave the agent described as one kind + * and behaving as another. Create a new agent instead. * The value may be {@code null}. */ @com.google.api.client.util.Key("base_agent") @@ -112,7 +116,11 @@ public final class GoogleCloudAiplatformV1Agent extends com.google.api.client.js private String updated; /** - * Required. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` + * Required. Immutable. The base agent for the agent. Supported values: * `antigravity- + * preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of + * agent this is gets derived from this field when the agent is created and is recorded then; + * nothing recomputes it afterwards, so a later change would leave the agent described as one kind + * and behaving as another. Create a new agent instead. * @return value or {@code null} for none */ public java.lang.String getBaseAgent() { @@ -120,7 +128,11 @@ public java.lang.String getBaseAgent() { } /** - * Required. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` + * Required. Immutable. The base agent for the agent. Supported values: * `antigravity- + * preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of + * agent this is gets derived from this field when the agent is created and is recorded then; + * nothing recomputes it afterwards, so a later change would leave the agent described as one kind + * and behaving as another. Create a new agent instead. * @param baseAgent baseAgent or {@code null} for none */ public GoogleCloudAiplatformV1Agent setBaseAgent(java.lang.String baseAgent) { diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfig.java index d8690a73bb8..7c4723f2ab8 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfig.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfig.java @@ -76,6 +76,17 @@ public final class GoogleCloudAiplatformV1AudioTranscriptionConfig extends com.g @com.google.api.client.util.Key private GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints languageHints; + /** + * Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`. If unspecified, + * defaults to `VERBATIM` transcription. In `SMART` mode, the model performs disfluency removal + * (eliminating filler words, repetitions, and false starts), light grammatical cleanup, automatic + * formatting (paragraphs, bullet points, numbered lists), and minor user edits (inline self- + * corrections). Timestamps and diarization are incompatible with mode `SMART`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mode; + /** * Optional. Configures word-level timestamp generation. * The value may be {@code null}. @@ -195,6 +206,31 @@ public GoogleCloudAiplatformV1AudioTranscriptionConfig setLanguageHints(GoogleCl return this; } + /** + * Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`. If unspecified, + * defaults to `VERBATIM` transcription. In `SMART` mode, the model performs disfluency removal + * (eliminating filler words, repetitions, and false starts), light grammatical cleanup, automatic + * formatting (paragraphs, bullet points, numbered lists), and minor user edits (inline self- + * corrections). Timestamps and diarization are incompatible with mode `SMART`. + * @return value or {@code null} for none + */ + public java.lang.String getMode() { + return mode; + } + + /** + * Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`. If unspecified, + * defaults to `VERBATIM` transcription. In `SMART` mode, the model performs disfluency removal + * (eliminating filler words, repetitions, and false starts), light grammatical cleanup, automatic + * formatting (paragraphs, bullet points, numbered lists), and minor user edits (inline self- + * corrections). Timestamps and diarization are incompatible with mode `SMART`. + * @param mode mode or {@code null} for none + */ + public GoogleCloudAiplatformV1AudioTranscriptionConfig setMode(java.lang.String mode) { + this.mode = mode; + return this; + } + /** * Optional. Configures word-level timestamp generation. * @return value or {@code null} for none diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GatewayConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GatewayConfig.java index c4d62e1f300..7d75c022b7f 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GatewayConfig.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GatewayConfig.java @@ -49,7 +49,12 @@ public final class GoogleCloudAiplatformV1GatewayConfig extends com.google.api.c private java.lang.String dnsRecord; /** - * Optional. FQDN of the private DNS zone to create DNS record set for PSC endpoint. + * Optional. Name of the private Cloud DNS managed zone in which to create the gateway's A-record. + * This is the managed zone's own name, not its DNS name: for a zone serving `example.internal.`, + * this field takes the zone name, such as `my-private-zone`. The zone's DNS name is combined with + * a generated per-gateway label to form the record's fully qualified name, which must stay within + * the 255-octet DNS limit. If the full name is too long, gateway provisioning fails when it + * attempts to create the DNS record. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -138,7 +143,12 @@ public GoogleCloudAiplatformV1GatewayConfig setDnsRecord(java.lang.String dnsRec } /** - * Optional. FQDN of the private DNS zone to create DNS record set for PSC endpoint. + * Optional. Name of the private Cloud DNS managed zone in which to create the gateway's A-record. + * This is the managed zone's own name, not its DNS name: for a zone serving `example.internal.`, + * this field takes the zone name, such as `my-private-zone`. The zone's DNS name is combined with + * a generated per-gateway label to form the record's fully qualified name, which must stay within + * the 255-octet DNS limit. If the full name is too long, gateway provisioning fails when it + * attempts to create the DNS record. * @return value or {@code null} for none */ public java.lang.String getDnsZoneName() { @@ -146,7 +156,12 @@ public java.lang.String getDnsZoneName() { } /** - * Optional. FQDN of the private DNS zone to create DNS record set for PSC endpoint. + * Optional. Name of the private Cloud DNS managed zone in which to create the gateway's A-record. + * This is the managed zone's own name, not its DNS name: for a zone serving `example.internal.`, + * this field takes the zone name, such as `my-private-zone`. The zone's DNS name is combined with + * a generated per-gateway label to form the record's fully qualified name, which must stay within + * the 255-octet DNS limit. If the full name is too long, gateway provisioning fails when it + * attempts to create the DNS record. * @param dnsZoneName dnsZoneName or {@code null} for none */ public GoogleCloudAiplatformV1GatewayConfig setDnsZoneName(java.lang.String dnsZoneName) { diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability.java index c2aad0991bf..025ce296d09 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability.java @@ -45,6 +45,13 @@ public final class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability exte @com.google.api.client.util.Key private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityOpenTelemetry openTelemetry; + /** + * Scope online evaluation to OTel sessions (i.e. group of traces with the same conversation ID). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope sessionScope; + /** * Scope online evaluation to single traces. * The value may be {@code null}. @@ -96,6 +103,23 @@ public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability setOpenTelemetry return this; } + /** + * Scope online evaluation to OTel sessions (i.e. group of traces with the same conversation ID). + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope getSessionScope() { + return sessionScope; + } + + /** + * Scope online evaluation to OTel sessions (i.e. group of traces with the same conversation ID). + * @param sessionScope sessionScope or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability setSessionScope(GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope sessionScope) { + this.sessionScope = sessionScope; + return this; + } + /** * Scope online evaluation to single traces. * @return value or {@code null} for none diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope.java new file mode 100644 index 00000000000..2b3af90f5c7 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope.java @@ -0,0 +1,97 @@ +/* + * 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.aiplatform.v1.model; + +/** + * If chosen, the online evaluator will evaluate sessions matching specified `filter`. A session is + * a group of traces with a common `gen_ai.conversation.id`. + * + *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 Agent Platform 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 GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope extends com.google.api.client.json.GenericJson { + + /** + * Optional. A list of predicates to filter sessions. Multiple predicates are combined using AND. + * The maximum number of predicates is 10. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Agent Platform 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 GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger extends com.google.api.client.json.GenericJson { + + /** + * Required. The amount of time that must pass with no new traces before a session is considered + * ready for evaluation. This is a required field if InactivityTrigger is used. The value must be + * a positive duration no greater than 7 days (604800 seconds). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String threshold; + + /** + * Required. The amount of time that must pass with no new traces before a session is considered + * ready for evaluation. This is a required field if InactivityTrigger is used. The value must be + * a positive duration no greater than 7 days (604800 seconds). + * @return value or {@code null} for none + */ + public String getThreshold() { + return threshold; + } + + /** + * Required. The amount of time that must pass with no new traces before a session is considered + * ready for evaluation. This is a required field if InactivityTrigger is used. The value must be + * a positive duration no greater than 7 days (604800 seconds). + * @param threshold threshold or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger setThreshold(String threshold) { + this.threshold = threshold; + return this; + } + + @Override + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger clone() { + return (GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate.java new file mode 100644 index 00000000000..c041cb5d4dd --- /dev/null +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate.java @@ -0,0 +1,210 @@ +/* + * 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.aiplatform.v1.model; + +/** + * Defines a single filter predicate. + * + *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 Agent Platform 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 GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate extends com.google.api.client.json.GenericJson { + + /** + * Filter on the duration of a session (in seconds). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate duration; + + /** + * Filter on the number of LLM call errors within a session. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate modelCallErrors; + + /** + * Filter on the number of underlying LLM calls within a session. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate modelCalls; + + /** + * Filter on the number of tool call errors within a session. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate toolCallErrors; + + /** + * Filter on the number of underlying tool calls within a session. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate toolCalls; + + /** + * Filter on the total token usage within a session. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate totalTokenUsage; + + /** + * Filter on the number of user turns within a session. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate userTurns; + + /** + * Filter on the duration of a session (in seconds). + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate getDuration() { + return duration; + } + + /** + * Filter on the duration of a session (in seconds). + * @param duration duration or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate setDuration(GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate duration) { + this.duration = duration; + return this; + } + + /** + * Filter on the number of LLM call errors within a session. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate getModelCallErrors() { + return modelCallErrors; + } + + /** + * Filter on the number of LLM call errors within a session. + * @param modelCallErrors modelCallErrors or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate setModelCallErrors(GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate modelCallErrors) { + this.modelCallErrors = modelCallErrors; + return this; + } + + /** + * Filter on the number of underlying LLM calls within a session. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate getModelCalls() { + return modelCalls; + } + + /** + * Filter on the number of underlying LLM calls within a session. + * @param modelCalls modelCalls or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate setModelCalls(GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate modelCalls) { + this.modelCalls = modelCalls; + return this; + } + + /** + * Filter on the number of tool call errors within a session. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate getToolCallErrors() { + return toolCallErrors; + } + + /** + * Filter on the number of tool call errors within a session. + * @param toolCallErrors toolCallErrors or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate setToolCallErrors(GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate toolCallErrors) { + this.toolCallErrors = toolCallErrors; + return this; + } + + /** + * Filter on the number of underlying tool calls within a session. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate getToolCalls() { + return toolCalls; + } + + /** + * Filter on the number of underlying tool calls within a session. + * @param toolCalls toolCalls or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate setToolCalls(GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate toolCalls) { + this.toolCalls = toolCalls; + return this; + } + + /** + * Filter on the total token usage within a session. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate getTotalTokenUsage() { + return totalTokenUsage; + } + + /** + * Filter on the total token usage within a session. + * @param totalTokenUsage totalTokenUsage or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate setTotalTokenUsage(GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate totalTokenUsage) { + this.totalTokenUsage = totalTokenUsage; + return this; + } + + /** + * Filter on the number of user turns within a session. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate getUserTurns() { + return userTurns; + } + + /** + * Filter on the number of user turns within a session. + * @param userTurns userTurns or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate setUserTurns(GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate userTurns) { + this.userTurns = userTurns; + return this; + } + + @Override + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate clone() { + return (GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RagChunk.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RagChunk.java index 6c3294cef91..93a4bb2c6fd 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RagChunk.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RagChunk.java @@ -29,6 +29,20 @@ @SuppressWarnings("javadoc") public final class GoogleCloudAiplatformV1RagChunk extends com.google.api.client.json.GenericJson { + /** + * The ID of the chunk. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String chunkId; + + /** + * The ID of the file that the chunk belongs to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String fileId; + /** * If populated, represents where the chunk starts and ends in the document. * The value may be {@code null}. @@ -43,6 +57,40 @@ public final class GoogleCloudAiplatformV1RagChunk extends com.google.api.client @com.google.api.client.util.Key private java.lang.String text; + /** + * The ID of the chunk. + * @return value or {@code null} for none + */ + public java.lang.String getChunkId() { + return chunkId; + } + + /** + * The ID of the chunk. + * @param chunkId chunkId or {@code null} for none + */ + public GoogleCloudAiplatformV1RagChunk setChunkId(java.lang.String chunkId) { + this.chunkId = chunkId; + return this; + } + + /** + * The ID of the file that the chunk belongs to. + * @return value or {@code null} for none + */ + public java.lang.String getFileId() { + return fileId; + } + + /** + * The ID of the file that the chunk belongs to. + * @param fileId fileId or {@code null} for none + */ + public GoogleCloudAiplatformV1RagChunk setFileId(java.lang.String fileId) { + this.fileId = fileId; + return this; + } + /** * If populated, represents where the chunk starts and ends in the document. * @return value or {@code null} for none diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RayClusterAutoscalingSpec.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RayClusterAutoscalingSpec.java new file mode 100644 index 00000000000..457fee66e2e --- /dev/null +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RayClusterAutoscalingSpec.java @@ -0,0 +1,99 @@ +/* + * 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.aiplatform.v1.model; + +/** + * Ray cluster level autoscaling configuration. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Agent Platform 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 GoogleCloudAiplatformV1RayClusterAutoscalingSpec extends com.google.api.client.json.GenericJson { + + /** + * Optional. The number of minutes that need to pass before an idle worker node is removed by the + * autoscaler. Default is 5 mins. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long idleTimeoutMinutes; + + /** + * Optional. The number of nodes allowed to be pending as a multiple of the current number of + * nodes. [OSS Ray reference](https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring- + * autoscaling.html#upscaling-and-downscaling-speed) + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long upscalingSpeed; + + /** + * Optional. The number of minutes that need to pass before an idle worker node is removed by the + * autoscaler. Default is 5 mins. + * @return value or {@code null} for none + */ + public java.lang.Long getIdleTimeoutMinutes() { + return idleTimeoutMinutes; + } + + /** + * Optional. The number of minutes that need to pass before an idle worker node is removed by the + * autoscaler. Default is 5 mins. + * @param idleTimeoutMinutes idleTimeoutMinutes or {@code null} for none + */ + public GoogleCloudAiplatformV1RayClusterAutoscalingSpec setIdleTimeoutMinutes(java.lang.Long idleTimeoutMinutes) { + this.idleTimeoutMinutes = idleTimeoutMinutes; + return this; + } + + /** + * Optional. The number of nodes allowed to be pending as a multiple of the current number of + * nodes. [OSS Ray reference](https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring- + * autoscaling.html#upscaling-and-downscaling-speed) + * @return value or {@code null} for none + */ + public java.lang.Long getUpscalingSpeed() { + return upscalingSpeed; + } + + /** + * Optional. The number of nodes allowed to be pending as a multiple of the current number of + * nodes. [OSS Ray reference](https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring- + * autoscaling.html#upscaling-and-downscaling-speed) + * @param upscalingSpeed upscalingSpeed or {@code null} for none + */ + public GoogleCloudAiplatformV1RayClusterAutoscalingSpec setUpscalingSpeed(java.lang.Long upscalingSpeed) { + this.upscalingSpeed = upscalingSpeed; + return this; + } + + @Override + public GoogleCloudAiplatformV1RayClusterAutoscalingSpec set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1RayClusterAutoscalingSpec) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1RayClusterAutoscalingSpec clone() { + return (GoogleCloudAiplatformV1RayClusterAutoscalingSpec) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RayMetricSpec.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RayMetricSpec.java index b0c80837502..cfb34b41dce 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RayMetricSpec.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RayMetricSpec.java @@ -36,6 +36,15 @@ public final class GoogleCloudAiplatformV1RayMetricSpec extends com.google.api.c @com.google.api.client.util.Key private java.lang.Boolean disabled; + /** + * Optional. Flag to enable the Ray usage stats collection by Anyscale. + * https://docs.ray.io/en/latest/cluster/usage-stats.html#usage-stats-collection Disable by + * default. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableUsageStatsCollection; + /** * Optional. Flag to disable the Ray metrics collection. * @return value or {@code null} for none @@ -53,6 +62,27 @@ public GoogleCloudAiplatformV1RayMetricSpec setDisabled(java.lang.Boolean disabl return this; } + /** + * Optional. Flag to enable the Ray usage stats collection by Anyscale. + * https://docs.ray.io/en/latest/cluster/usage-stats.html#usage-stats-collection Disable by + * default. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableUsageStatsCollection() { + return enableUsageStatsCollection; + } + + /** + * Optional. Flag to enable the Ray usage stats collection by Anyscale. + * https://docs.ray.io/en/latest/cluster/usage-stats.html#usage-stats-collection Disable by + * default. + * @param enableUsageStatsCollection enableUsageStatsCollection or {@code null} for none + */ + public GoogleCloudAiplatformV1RayMetricSpec setEnableUsageStatsCollection(java.lang.Boolean enableUsageStatsCollection) { + this.enableUsageStatsCollection = enableUsageStatsCollection; + return this; + } + @Override public GoogleCloudAiplatformV1RayMetricSpec set(String fieldName, Object value) { return (GoogleCloudAiplatformV1RayMetricSpec) super.set(fieldName, value); diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RaySpec.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RaySpec.java index 7614adbed45..c33d48bad61 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RaySpec.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1RaySpec.java @@ -51,6 +51,13 @@ public final class GoogleCloudAiplatformV1RaySpec extends com.google.api.client. @com.google.api.client.util.Key private java.lang.String imageUri; + /** + * Optional. Optional Ray autoscaling configurations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1RayClusterAutoscalingSpec rayClusterAutoscalingSpec; + /** * Optional. OSS Ray logging configurations. * The value may be {@code null}. @@ -121,6 +128,23 @@ public GoogleCloudAiplatformV1RaySpec setImageUri(java.lang.String imageUri) { return this; } + /** + * Optional. Optional Ray autoscaling configurations. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1RayClusterAutoscalingSpec getRayClusterAutoscalingSpec() { + return rayClusterAutoscalingSpec; + } + + /** + * Optional. Optional Ray autoscaling configurations. + * @param rayClusterAutoscalingSpec rayClusterAutoscalingSpec or {@code null} for none + */ + public GoogleCloudAiplatformV1RaySpec setRayClusterAutoscalingSpec(GoogleCloudAiplatformV1RayClusterAutoscalingSpec rayClusterAutoscalingSpec) { + this.rayClusterAutoscalingSpec = rayClusterAutoscalingSpec; + return this; + } + /** * Optional. OSS Ray logging configurations. * @return value or {@code null} for none diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentSpec.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentSpec.java index c7aa9fd8667..95efdfd8f1d 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentSpec.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentSpec.java @@ -36,6 +36,13 @@ public final class GoogleCloudAiplatformV1SandboxEnvironmentSpec extends com.goo @com.google.api.client.util.Key private GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment codeExecutionEnvironment; + /** + * Optional. The shell environment for executing shell commands and scripts. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment shellEnvironment; + /** * Optional. The code execution environment. * @return value or {@code null} for none @@ -53,6 +60,23 @@ public GoogleCloudAiplatformV1SandboxEnvironmentSpec setCodeExecutionEnvironment return this; } + /** + * Optional. The shell environment for executing shell commands and scripts. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment getShellEnvironment() { + return shellEnvironment; + } + + /** + * Optional. The shell environment for executing shell commands and scripts. + * @param shellEnvironment shellEnvironment or {@code null} for none + */ + public GoogleCloudAiplatformV1SandboxEnvironmentSpec setShellEnvironment(GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment shellEnvironment) { + this.shellEnvironment = shellEnvironment; + return this; + } + @Override public GoogleCloudAiplatformV1SandboxEnvironmentSpec set(String fieldName, Object value) { return (GoogleCloudAiplatformV1SandboxEnvironmentSpec) super.set(fieldName, value); diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment.java new file mode 100644 index 00000000000..2cfa2162b35 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment.java @@ -0,0 +1,42 @@ +/* + * 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.aiplatform.v1.model; + +/** + * The shell environment. + * + *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 Agent Platform 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 GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment extends com.google.api.client.json.GenericJson { + + @Override + public GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment clone() { + return (GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData.java index 08a459075b2..c3a0c40fbc2 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData.java @@ -38,6 +38,15 @@ public final class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData extends @com.google.api.client.util.Key private java.lang.String codeRepositoryState; + /** + * Optional. The Cloud Run regions in which the application is currently deployed. Used to + * rediscover and redeploy the app in the regions it already runs in, which may differ from the + * prompt's location. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Agent Platform 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 GenaiVertexV1beta1VideoContentMediaProcessing extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key("static") + private GenaiVertexV1beta1VideoContentStaticMediaProcessing static__; + + /** + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1VideoContentStaticMediaProcessing getStatic() { + return static__; + } + + /** + * @param static__ static__ or {@code null} for none + */ + public GenaiVertexV1beta1VideoContentMediaProcessing setStatic(GenaiVertexV1beta1VideoContentStaticMediaProcessing static__) { + this.static__ = static__; + return this; + } + + @Override + public GenaiVertexV1beta1VideoContentMediaProcessing set(String fieldName, Object value) { + return (GenaiVertexV1beta1VideoContentMediaProcessing) super.set(fieldName, value); + } + + @Override + public GenaiVertexV1beta1VideoContentMediaProcessing clone() { + return (GenaiVertexV1beta1VideoContentMediaProcessing) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContentStaticMediaProcessing.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContentStaticMediaProcessing.java new file mode 100644 index 00000000000..d5e78c0a731 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContentStaticMediaProcessing.java @@ -0,0 +1,120 @@ +/* + * 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.aiplatform.v1beta1.model; + +/** + * Model definition for GenaiVertexV1beta1VideoContentStaticMediaProcessing. + * + *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 Agent Platform 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 GenaiVertexV1beta1VideoContentStaticMediaProcessing extends com.google.api.client.json.GenericJson { + + /** + * Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, + * e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String endOffset; + + /** + * Optional. Video frame-rate sampling density. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Double fps; + + /** + * Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' + * suffix, e.g., "10.5s". Must be non-negative. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String startOffset; + + /** + * Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, + * e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set. + * @return value or {@code null} for none + */ + public String getEndOffset() { + return endOffset; + } + + /** + * Optional. Segment end time. Specified as a decimal number of seconds followed by an 's' suffix, + * e.g., "30s". Must be non-negative and greater than `start_offset` if `start_offset` is set. + * @param endOffset endOffset or {@code null} for none + */ + public GenaiVertexV1beta1VideoContentStaticMediaProcessing setEndOffset(String endOffset) { + this.endOffset = endOffset; + return this; + } + + /** + * Optional. Video frame-rate sampling density. + * @return value or {@code null} for none + */ + public java.lang.Double getFps() { + return fps; + } + + /** + * Optional. Video frame-rate sampling density. + * @param fps fps or {@code null} for none + */ + public GenaiVertexV1beta1VideoContentStaticMediaProcessing setFps(java.lang.Double fps) { + this.fps = fps; + return this; + } + + /** + * Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' + * suffix, e.g., "10.5s". Must be non-negative. + * @return value or {@code null} for none + */ + public String getStartOffset() { + return startOffset; + } + + /** + * Optional. Segment start time. Specified as a decimal number of seconds followed by an 's' + * suffix, e.g., "10.5s". Must be non-negative. + * @param startOffset startOffset or {@code null} for none + */ + public GenaiVertexV1beta1VideoContentStaticMediaProcessing setStartOffset(String startOffset) { + this.startOffset = startOffset; + return this; + } + + @Override + public GenaiVertexV1beta1VideoContentStaticMediaProcessing set(String fieldName, Object value) { + return (GenaiVertexV1beta1VideoContentStaticMediaProcessing) super.set(fieldName, value); + } + + @Override + public GenaiVertexV1beta1VideoContentStaticMediaProcessing clone() { + return (GenaiVertexV1beta1VideoContentStaticMediaProcessing) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoResponseFormat.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoResponseFormat.java index fe2c1adecaf..963f4035de8 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoResponseFormat.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoResponseFormat.java @@ -51,12 +51,19 @@ public final class GenaiVertexV1beta1VideoResponseFormat extends com.google.api. private String duration; /** - * The GCS URI to store the video output. Required for Vertex if delivery mode is URI. + * The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String gcsUri; + /** + * The video output resolution. Defaults to 720p. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String resolution; + /** * The aspect ratio for the video output. * @return value or {@code null} for none @@ -109,7 +116,7 @@ public GenaiVertexV1beta1VideoResponseFormat setDuration(String duration) { } /** - * The GCS URI to store the video output. Required for Vertex if delivery mode is URI. + * The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI. * @return value or {@code null} for none */ public java.lang.String getGcsUri() { @@ -117,7 +124,7 @@ public java.lang.String getGcsUri() { } /** - * The GCS URI to store the video output. Required for Vertex if delivery mode is URI. + * The Cloud Storage URI to store the video output. Required for Vertex if delivery mode is URI. * @param gcsUri gcsUri or {@code null} for none */ public GenaiVertexV1beta1VideoResponseFormat setGcsUri(java.lang.String gcsUri) { @@ -125,6 +132,23 @@ public GenaiVertexV1beta1VideoResponseFormat setGcsUri(java.lang.String gcsUri) return this; } + /** + * The video output resolution. Defaults to 720p. + * @return value or {@code null} for none + */ + public java.lang.String getResolution() { + return resolution; + } + + /** + * The video output resolution. Defaults to 720p. + * @param resolution resolution or {@code null} for none + */ + public GenaiVertexV1beta1VideoResponseFormat setResolution(java.lang.String resolution) { + this.resolution = resolution; + return this; + } + @Override public GenaiVertexV1beta1VideoResponseFormat set(String fieldName, Object value) { return (GenaiVertexV1beta1VideoResponseFormat) super.set(fieldName, value); diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Agent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Agent.java index e5f88a69e13..53cce93f1b5 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Agent.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Agent.java @@ -30,7 +30,11 @@ public final class GoogleCloudAiplatformV1beta1Agent extends com.google.api.client.json.GenericJson { /** - * Required. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` + * Required. Immutable. The base agent for the agent. Supported values: * `antigravity- + * preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of + * agent this is gets derived from this field when the agent is created and is recorded then; + * nothing recomputes it afterwards, so a later change would leave the agent described as one kind + * and behaving as another. Create a new agent instead. * The value may be {@code null}. */ @com.google.api.client.util.Key("base_agent") @@ -112,7 +116,11 @@ public final class GoogleCloudAiplatformV1beta1Agent extends com.google.api.clie private String updated; /** - * Required. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` + * Required. Immutable. The base agent for the agent. Supported values: * `antigravity- + * preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of + * agent this is gets derived from this field when the agent is created and is recorded then; + * nothing recomputes it afterwards, so a later change would leave the agent described as one kind + * and behaving as another. Create a new agent instead. * @return value or {@code null} for none */ public java.lang.String getBaseAgent() { @@ -120,7 +128,11 @@ public java.lang.String getBaseAgent() { } /** - * Required. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` + * Required. Immutable. The base agent for the agent. Supported values: * `antigravity- + * preview-05-2026` Immutable: `UpdateAgent` rejects a change, including clearing it. The kind of + * agent this is gets derived from this field when the agent is created and is recorded then; + * nothing recomputes it afterwards, so a later change would leave the agent described as one kind + * and behaving as another. Create a new agent instead. * @param baseAgent baseAgent or {@code null} for none */ public GoogleCloudAiplatformV1beta1Agent setBaseAgent(java.lang.String baseAgent) { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfig.java index a6499a4be95..3b9cc0e87d6 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfig.java @@ -76,6 +76,17 @@ public final class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig extends @com.google.api.client.util.Key private GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints languageHints; + /** + * Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`. If unspecified, + * defaults to `VERBATIM` transcription. In `SMART` mode, the model performs disfluency removal + * (eliminating filler words, repetitions, and false starts), light grammatical cleanup, automatic + * formatting (paragraphs, bullet points, numbered lists), and minor user edits (inline self- + * corrections). Timestamps and diarization are incompatible with mode `SMART`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mode; + /** * Optional. Configures word-level timestamp generation. * The value may be {@code null}. @@ -195,6 +206,31 @@ public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setLanguageHints(Goo return this; } + /** + * Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`. If unspecified, + * defaults to `VERBATIM` transcription. In `SMART` mode, the model performs disfluency removal + * (eliminating filler words, repetitions, and false starts), light grammatical cleanup, automatic + * formatting (paragraphs, bullet points, numbered lists), and minor user edits (inline self- + * corrections). Timestamps and diarization are incompatible with mode `SMART`. + * @return value or {@code null} for none + */ + public java.lang.String getMode() { + return mode; + } + + /** + * Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`. If unspecified, + * defaults to `VERBATIM` transcription. In `SMART` mode, the model performs disfluency removal + * (eliminating filler words, repetitions, and false starts), light grammatical cleanup, automatic + * formatting (paragraphs, bullet points, numbered lists), and minor user edits (inline self- + * corrections). Timestamps and diarization are incompatible with mode `SMART`. + * @param mode mode or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setMode(java.lang.String mode) { + this.mode = mode; + return this; + } + /** * Optional. Configures word-level timestamp generation. * @return value or {@code null} for none diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GatewayConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GatewayConfig.java index b377a2b21f1..f333dac6d3b 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GatewayConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GatewayConfig.java @@ -49,7 +49,12 @@ public final class GoogleCloudAiplatformV1beta1GatewayConfig extends com.google. private java.lang.String dnsRecord; /** - * Optional. FQDN of the private DNS zone to create DNS record set for PSC endpoint. + * Optional. Name of the private Cloud DNS managed zone in which to create the gateway's A-record. + * This is the managed zone's own name, not its DNS name: for a zone serving `example.internal.`, + * this field takes the zone name, such as `my-private-zone`. The zone's DNS name is combined with + * a generated per-gateway label to form the record's fully qualified name, which must stay within + * the 255-octet DNS limit. If the full name is too long, gateway provisioning fails when it + * attempts to create the DNS record. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -138,7 +143,12 @@ public GoogleCloudAiplatformV1beta1GatewayConfig setDnsRecord(java.lang.String d } /** - * Optional. FQDN of the private DNS zone to create DNS record set for PSC endpoint. + * Optional. Name of the private Cloud DNS managed zone in which to create the gateway's A-record. + * This is the managed zone's own name, not its DNS name: for a zone serving `example.internal.`, + * this field takes the zone name, such as `my-private-zone`. The zone's DNS name is combined with + * a generated per-gateway label to form the record's fully qualified name, which must stay within + * the 255-octet DNS limit. If the full name is too long, gateway provisioning fails when it + * attempts to create the DNS record. * @return value or {@code null} for none */ public java.lang.String getDnsZoneName() { @@ -146,7 +156,12 @@ public java.lang.String getDnsZoneName() { } /** - * Optional. FQDN of the private DNS zone to create DNS record set for PSC endpoint. + * Optional. Name of the private Cloud DNS managed zone in which to create the gateway's A-record. + * This is the managed zone's own name, not its DNS name: for a zone serving `example.internal.`, + * this field takes the zone name, such as `my-private-zone`. The zone's DNS name is combined with + * a generated per-gateway label to form the record's fully qualified name, which must stay within + * the 255-octet DNS limit. If the full name is too long, gateway provisioning fails when it + * attempts to create the DNS record. * @param dnsZoneName dnsZoneName or {@code null} for none */ public GoogleCloudAiplatformV1beta1GatewayConfig setDnsZoneName(java.lang.String dnsZoneName) { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservability.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservability.java index 61edb804b3b..33d779ba05b 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservability.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservability.java @@ -45,6 +45,13 @@ public final class GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservability @com.google.api.client.util.Key private GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityOpenTelemetry openTelemetry; + /** + * Scope online evaluation to OTel sessions (i.e. group of traces with the same conversation ID). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope sessionScope; + /** * Scope online evaluation to single traces. * The value may be {@code null}. @@ -96,6 +103,23 @@ public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservability setOpenTele return this; } + /** + * Scope online evaluation to OTel sessions (i.e. group of traces with the same conversation ID). + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope getSessionScope() { + return sessionScope; + } + + /** + * Scope online evaluation to OTel sessions (i.e. group of traces with the same conversation ID). + * @param sessionScope sessionScope or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservability setSessionScope(GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope sessionScope) { + this.sessionScope = sessionScope; + return this; + } + /** * Scope online evaluation to single traces. * @return value or {@code null} for none diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope.java new file mode 100644 index 00000000000..020c0c65fb1 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope.java @@ -0,0 +1,97 @@ +/* + * 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.aiplatform.v1beta1.model; + +/** + * If chosen, the online evaluator will evaluate sessions matching specified `filter`. A session is + * a group of traces with a common `gen_ai.conversation.id`. + * + *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 Agent Platform 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 GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope extends com.google.api.client.json.GenericJson { + + /** + * Optional. A list of predicates to filter sessions. Multiple predicates are combined using AND. + * The maximum number of predicates is 10. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Agent Platform 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 GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger extends com.google.api.client.json.GenericJson { + + /** + * Required. The amount of time that must pass with no new traces before a session is considered + * ready for evaluation. This is a required field if InactivityTrigger is used. The value must be + * a positive duration no greater than 7 days (604800 seconds). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String threshold; + + /** + * Required. The amount of time that must pass with no new traces before a session is considered + * ready for evaluation. This is a required field if InactivityTrigger is used. The value must be + * a positive duration no greater than 7 days (604800 seconds). + * @return value or {@code null} for none + */ + public String getThreshold() { + return threshold; + } + + /** + * Required. The amount of time that must pass with no new traces before a session is considered + * ready for evaluation. This is a required field if InactivityTrigger is used. The value must be + * a positive duration no greater than 7 days (604800 seconds). + * @param threshold threshold or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger setThreshold(String threshold) { + this.threshold = threshold; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger clone() { + return (GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate.java new file mode 100644 index 00000000000..38c0bb6cb7a --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate.java @@ -0,0 +1,210 @@ +/* + * 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.aiplatform.v1beta1.model; + +/** + * Defines a single filter predicate. + * + *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 Agent Platform 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 GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate extends com.google.api.client.json.GenericJson { + + /** + * Filter on the duration of a session (in seconds). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate duration; + + /** + * Filter on the number of LLM call errors within a session. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate modelCallErrors; + + /** + * Filter on the number of underlying LLM calls within a session. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate modelCalls; + + /** + * Filter on the number of tool call errors within a session. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate toolCallErrors; + + /** + * Filter on the number of underlying tool calls within a session. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate toolCalls; + + /** + * Filter on the total token usage within a session. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate totalTokenUsage; + + /** + * Filter on the number of user turns within a session. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate userTurns; + + /** + * Filter on the duration of a session (in seconds). + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate getDuration() { + return duration; + } + + /** + * Filter on the duration of a session (in seconds). + * @param duration duration or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate setDuration(GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate duration) { + this.duration = duration; + return this; + } + + /** + * Filter on the number of LLM call errors within a session. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate getModelCallErrors() { + return modelCallErrors; + } + + /** + * Filter on the number of LLM call errors within a session. + * @param modelCallErrors modelCallErrors or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate setModelCallErrors(GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate modelCallErrors) { + this.modelCallErrors = modelCallErrors; + return this; + } + + /** + * Filter on the number of underlying LLM calls within a session. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate getModelCalls() { + return modelCalls; + } + + /** + * Filter on the number of underlying LLM calls within a session. + * @param modelCalls modelCalls or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate setModelCalls(GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate modelCalls) { + this.modelCalls = modelCalls; + return this; + } + + /** + * Filter on the number of tool call errors within a session. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate getToolCallErrors() { + return toolCallErrors; + } + + /** + * Filter on the number of tool call errors within a session. + * @param toolCallErrors toolCallErrors or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate setToolCallErrors(GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate toolCallErrors) { + this.toolCallErrors = toolCallErrors; + return this; + } + + /** + * Filter on the number of underlying tool calls within a session. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate getToolCalls() { + return toolCalls; + } + + /** + * Filter on the number of underlying tool calls within a session. + * @param toolCalls toolCalls or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate setToolCalls(GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate toolCalls) { + this.toolCalls = toolCalls; + return this; + } + + /** + * Filter on the total token usage within a session. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate getTotalTokenUsage() { + return totalTokenUsage; + } + + /** + * Filter on the total token usage within a session. + * @param totalTokenUsage totalTokenUsage or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate setTotalTokenUsage(GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate totalTokenUsage) { + this.totalTokenUsage = totalTokenUsage; + return this; + } + + /** + * Filter on the number of user turns within a session. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate getUserTurns() { + return userTurns; + } + + /** + * Filter on the number of user turns within a session. + * @param userTurns userTurns or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate setUserTurns(GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilityNumericPredicate userTurns) { + this.userTurns = userTurns; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate clone() { + return (GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopePredicate) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Part.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Part.java index a701bc879a5..739272cce12 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Part.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Part.java @@ -87,6 +87,14 @@ public final class GoogleCloudAiplatformV1beta1Part extends com.google.api.clien @com.google.api.client.util.Key private GoogleCloudAiplatformV1beta1Blob inlineData; + /** + * Optional. How the model processes this part's media for understanding. Only meaningful for + * video parts (`inline_data` or `file_data` with video mime). Non-video parts ignore this field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mediaProcessing; + /** * per part media resolution. Media resolution for the input media. * The value may be {@code null}. @@ -254,6 +262,25 @@ public GoogleCloudAiplatformV1beta1Part setInlineData(GoogleCloudAiplatformV1bet return this; } + /** + * Optional. How the model processes this part's media for understanding. Only meaningful for + * video parts (`inline_data` or `file_data` with video mime). Non-video parts ignore this field. + * @return value or {@code null} for none + */ + public java.lang.String getMediaProcessing() { + return mediaProcessing; + } + + /** + * Optional. How the model processes this part's media for understanding. Only meaningful for + * video parts (`inline_data` or `file_data` with video mime). Non-video parts ignore this field. + * @param mediaProcessing mediaProcessing or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1Part setMediaProcessing(java.lang.String mediaProcessing) { + this.mediaProcessing = mediaProcessing; + return this; + } + /** * per part media resolution. Media resolution for the input media. * @return value or {@code null} for none diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RayClusterAutoscalingSpec.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RayClusterAutoscalingSpec.java new file mode 100644 index 00000000000..836e5e5b4ef --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RayClusterAutoscalingSpec.java @@ -0,0 +1,99 @@ +/* + * 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.aiplatform.v1beta1.model; + +/** + * Ray cluster level autoscaling configuration. + * + *This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Agent Platform 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 GoogleCloudAiplatformV1beta1RayClusterAutoscalingSpec extends com.google.api.client.json.GenericJson { + + /** + * Optional. The number of minutes that need to pass before an idle worker node is removed by the + * autoscaler. Default is 5 mins. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long idleTimeoutMinutes; + + /** + * Optional. The number of nodes allowed to be pending as a multiple of the current number of + * nodes. [OSS Ray reference](https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring- + * autoscaling.html#upscaling-and-downscaling-speed) + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.lang.Long upscalingSpeed; + + /** + * Optional. The number of minutes that need to pass before an idle worker node is removed by the + * autoscaler. Default is 5 mins. + * @return value or {@code null} for none + */ + public java.lang.Long getIdleTimeoutMinutes() { + return idleTimeoutMinutes; + } + + /** + * Optional. The number of minutes that need to pass before an idle worker node is removed by the + * autoscaler. Default is 5 mins. + * @param idleTimeoutMinutes idleTimeoutMinutes or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1RayClusterAutoscalingSpec setIdleTimeoutMinutes(java.lang.Long idleTimeoutMinutes) { + this.idleTimeoutMinutes = idleTimeoutMinutes; + return this; + } + + /** + * Optional. The number of nodes allowed to be pending as a multiple of the current number of + * nodes. [OSS Ray reference](https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring- + * autoscaling.html#upscaling-and-downscaling-speed) + * @return value or {@code null} for none + */ + public java.lang.Long getUpscalingSpeed() { + return upscalingSpeed; + } + + /** + * Optional. The number of nodes allowed to be pending as a multiple of the current number of + * nodes. [OSS Ray reference](https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring- + * autoscaling.html#upscaling-and-downscaling-speed) + * @param upscalingSpeed upscalingSpeed or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1RayClusterAutoscalingSpec setUpscalingSpeed(java.lang.Long upscalingSpeed) { + this.upscalingSpeed = upscalingSpeed; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1RayClusterAutoscalingSpec set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1RayClusterAutoscalingSpec) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1RayClusterAutoscalingSpec clone() { + return (GoogleCloudAiplatformV1beta1RayClusterAutoscalingSpec) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RayMetricSpec.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RayMetricSpec.java index 0e8f46207a1..399dec9d852 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RayMetricSpec.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RayMetricSpec.java @@ -36,6 +36,15 @@ public final class GoogleCloudAiplatformV1beta1RayMetricSpec extends com.google. @com.google.api.client.util.Key private java.lang.Boolean disabled; + /** + * Optional. Flag to enable the Ray usage stats collection by Anyscale. + * https://docs.ray.io/en/latest/cluster/usage-stats.html#usage-stats-collection Disable by + * default. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean enableUsageStatsCollection; + /** * Optional. Flag to disable the Ray metrics collection. * @return value or {@code null} for none @@ -53,6 +62,27 @@ public GoogleCloudAiplatformV1beta1RayMetricSpec setDisabled(java.lang.Boolean d return this; } + /** + * Optional. Flag to enable the Ray usage stats collection by Anyscale. + * https://docs.ray.io/en/latest/cluster/usage-stats.html#usage-stats-collection Disable by + * default. + * @return value or {@code null} for none + */ + public java.lang.Boolean getEnableUsageStatsCollection() { + return enableUsageStatsCollection; + } + + /** + * Optional. Flag to enable the Ray usage stats collection by Anyscale. + * https://docs.ray.io/en/latest/cluster/usage-stats.html#usage-stats-collection Disable by + * default. + * @param enableUsageStatsCollection enableUsageStatsCollection or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1RayMetricSpec setEnableUsageStatsCollection(java.lang.Boolean enableUsageStatsCollection) { + this.enableUsageStatsCollection = enableUsageStatsCollection; + return this; + } + @Override public GoogleCloudAiplatformV1beta1RayMetricSpec set(String fieldName, Object value) { return (GoogleCloudAiplatformV1beta1RayMetricSpec) super.set(fieldName, value); diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RaySpec.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RaySpec.java index efb2c69e6e4..bd7fe74f36f 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RaySpec.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RaySpec.java @@ -64,6 +64,13 @@ public final class GoogleCloudAiplatformV1beta1RaySpec extends com.google.api.cl com.google.api.client.util.Data.nullOf(GoogleCloudAiplatformV1beta1NfsMount.class); } + /** + * Optional. Optional Ray autoscaling configurations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1RayClusterAutoscalingSpec rayClusterAutoscalingSpec; + /** * Optional. OSS Ray logging configurations. * The value may be {@code null}. @@ -151,6 +158,23 @@ public GoogleCloudAiplatformV1beta1RaySpec setNfsMounts(java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Agent Platform 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 GoogleCloudAiplatformV1beta1XprofConfig extends com.google.api.client.json.GenericJson { + + /** + * Required. User-owned Cloud Storage bucket (gs://) in the user project. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String gcsBucketUri; + + /** + * Required. User-owned Cloud Storage bucket (gs://) in the user project. + * @return value or {@code null} for none + */ + public java.lang.String getGcsBucketUri() { + return gcsBucketUri; + } + + /** + * Required. User-owned Cloud Storage bucket (gs://) in the user project. + * @param gcsBucketUri gcsBucketUri or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1XprofConfig setGcsBucketUri(java.lang.String gcsBucketUri) { + this.gcsBucketUri = gcsBucketUri; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1XprofConfig set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1XprofConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1XprofConfig clone() { + return (GoogleCloudAiplatformV1beta1XprofConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/pom.xml b/clients/google-api-services-aiplatform/v1beta1/2.0.0/pom.xml index 09e3e9e0981..7d168c3b5a8 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@