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: com.google.apis google-api-services-aiplatform - v1-rev20260808-2.0.0 + v1-rev20260815-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260808-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260815-2.0.0' } ``` diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java index 2cd7d1ec670..55f4b0c294f 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java @@ -58148,6 +58148,313 @@ public Wait set(String parameterName, Object value) { } } + /** + * An accessor for creating requests from the Responses collection. + * + *

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 { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/responses/[^/]+$"); + + /** + * Deletes the response from the endpoint. + * + * Create a request for the method "responses.delete". + * + * This request holds the parameters needed by the the aiplatform server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + *

{@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 { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/endpoints/[^/]+/responses/[^/]+$"); + + /** + * Gets the response from the endpoint. + * + * Create a request for the method "responses.get". + * + * This request holds the parameters needed by the the aiplatform server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@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 { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/publishers/[^/]+/v1/responses/[^/]+$"); + + /** + * Deletes the response from the endpoint. + * + * Create a request for the method "responses.delete". + * + * This request holds the parameters needed by the the aiplatform server. After setting any + * optional parameters, call the {@link Delete#execute()} method to invoke the remote operation. + *

{@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 { + + private static final String REST_PATH = "v1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/publishers/[^/]+/v1/responses/[^/]+$"); + + /** + * Gets the response from the endpoint. + * + * Create a request for the method "responses.get". + * + * This request holds the parameters needed by the the aiplatform server. After setting any + * optional parameters, call the {@link Get#execute()} method to invoke the remote operation.

+ * {@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.List filter; + + /** + * Session is considered ready for evaluation when there are no new traces for a specified period + * of inactivity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger inactivityTrigger; + + /** + * Optional. A list of predicates to filter sessions. Multiple predicates are combined using AND. + * The maximum number of predicates is 10. + * @return value or {@code null} for none + */ + public java.util.List getFilter() { + return filter; + } + + /** + * Optional. A list of predicates to filter sessions. Multiple predicates are combined using AND. + * The maximum number of predicates is 10. + * @param filter filter or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope setFilter(java.util.List filter) { + this.filter = filter; + return this; + } + + /** + * Session is considered ready for evaluation when there are no new traces for a specified period + * of inactivity. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger getInactivityTrigger() { + return inactivityTrigger; + } + + /** + * Session is considered ready for evaluation when there are no new traces for a specified period + * of inactivity. + * @param inactivityTrigger inactivityTrigger or {@code null} for none + */ + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope setInactivityTrigger(GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger inactivityTrigger) { + this.inactivityTrigger = inactivityTrigger; + return this; + } + + @Override + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope clone() { + return (GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger.java new file mode 100644 index 00000000000..e86bb569713 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger.java @@ -0,0 +1,72 @@ +/* + * 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; + +/** + * Configuration for inactivity based session completion. + * + *

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 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.List deployedRegions; + /** * Optional. Framework used to build the application. * The value may be {@code null}. @@ -73,6 +82,27 @@ public GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData setCodeRepositorySt return this; } + /** + * 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. + * @return value or {@code null} for none + */ + public java.util.List getDeployedRegions() { + return deployedRegions; + } + + /** + * 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. + * @param deployedRegions deployedRegions or {@code null} for none + */ + public GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData setDeployedRegions(java.util.List deployedRegions) { + this.deployedRegions = deployedRegions; + return this; + } + /** * Optional. Framework used to build the application. * @return value or {@code null} for none diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/pom.xml b/clients/google-api-services-aiplatform/v1/2.0.0/pom.xml index 4ca6da08709..23f4ee2517d 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/pom.xml +++ b/clients/google-api-services-aiplatform/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-aiplatform - v1-rev20260808-2.0.0 - Agent Platform API v1-rev20260808-2.0.0 + v1-rev20260815-2.0.0 + Agent Platform API v1-rev20260815-2.0.0 jar 2011 diff --git a/clients/google-api-services-aiplatform/v1/README.md b/clients/google-api-services-aiplatform/v1/README.md index cfcf39eee92..4fc4c7b7dbb 100644 --- a/clients/google-api-services-aiplatform/v1/README.md +++ b/clients/google-api-services-aiplatform/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-aiplatform - v1-rev20260808-2.0.0 + v1-rev20260815-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260808-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260815-2.0.0' } ``` diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/README.md b/clients/google-api-services-aiplatform/v1beta1/2.0.0/README.md index 106e93c1cc3..f9461fd31f6 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-aiplatform - v1beta1-rev20260808-2.0.0 + v1beta1-rev20260815-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260808-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260815-2.0.0' } ``` diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/Aiplatform.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/Aiplatform.java index 7aa65b7d6a3..85ba39af3ee 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/Aiplatform.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/Aiplatform.java @@ -28590,56 +28590,56 @@ public GetPoll setName(java.lang.String name) { return this; } - /** Optional. If true, includes the input in the response. */ + /** If true, includes the input in the response. */ @com.google.api.client.util.Key private java.lang.Boolean includeInput; - /** Optional. If true, includes the input in the response. + /** If true, includes the input in the response. */ public java.lang.Boolean getIncludeInput() { return includeInput; } - /** Optional. If true, includes the input in the response. */ + /** If true, includes the input in the response. */ public GetPoll setIncludeInput(java.lang.Boolean includeInput) { this.includeInput = includeInput; return this; } /** - * Optional. If set, resumes the interaction stream from the chunk after the event marked by - * the event id. Can only be used if `stream` is true. + * If set, resumes the interaction stream from the chunk after the event marked by the event + * id. Can only be used if `stream` is true. */ @com.google.api.client.util.Key private java.lang.String lastEventId; - /** Optional. If set, resumes the interaction stream from the chunk after the event marked by the event - id. Can only be used if `stream` is true. + /** If set, resumes the interaction stream from the chunk after the event marked by the event id. Can + only be used if `stream` is true. */ public java.lang.String getLastEventId() { return lastEventId; } /** - * Optional. If set, resumes the interaction stream from the chunk after the event marked by - * the event id. Can only be used if `stream` is true. + * If set, resumes the interaction stream from the chunk after the event marked by the event + * id. Can only be used if `stream` is true. */ public GetPoll setLastEventId(java.lang.String lastEventId) { this.lastEventId = lastEventId; return this; } - /** Optional. If true, streams the interaction events as Server-Sent Events. */ + /** If true, streams the interaction events as Server-Sent Events. */ @com.google.api.client.util.Key private java.lang.Boolean stream; - /** Optional. If true, streams the interaction events as Server-Sent Events. + /** If true, streams the interaction events as Server-Sent Events. */ public java.lang.Boolean getStream() { return stream; } - /** Optional. If true, streams the interaction events as Server-Sent Events. */ + /** If true, streams the interaction events as Server-Sent Events. */ public GetPoll setStream(java.lang.Boolean stream) { this.stream = stream; return this; @@ -28784,56 +28784,56 @@ public GetStream setName(java.lang.String name) { return this; } - /** Optional. If true, includes the input in the response. */ + /** If true, includes the input in the response. */ @com.google.api.client.util.Key private java.lang.Boolean includeInput; - /** Optional. If true, includes the input in the response. + /** If true, includes the input in the response. */ public java.lang.Boolean getIncludeInput() { return includeInput; } - /** Optional. If true, includes the input in the response. */ + /** If true, includes the input in the response. */ public GetStream setIncludeInput(java.lang.Boolean includeInput) { this.includeInput = includeInput; return this; } /** - * Optional. If set, resumes the interaction stream from the chunk after the event marked by - * the event id. Can only be used if `stream` is true. + * If set, resumes the interaction stream from the chunk after the event marked by the event + * id. Can only be used if `stream` is true. */ @com.google.api.client.util.Key private java.lang.String lastEventId; - /** Optional. If set, resumes the interaction stream from the chunk after the event marked by the event - id. Can only be used if `stream` is true. + /** If set, resumes the interaction stream from the chunk after the event marked by the event id. Can + only be used if `stream` is true. */ public java.lang.String getLastEventId() { return lastEventId; } /** - * Optional. If set, resumes the interaction stream from the chunk after the event marked by - * the event id. Can only be used if `stream` is true. + * If set, resumes the interaction stream from the chunk after the event marked by the event + * id. Can only be used if `stream` is true. */ public GetStream setLastEventId(java.lang.String lastEventId) { this.lastEventId = lastEventId; return this; } - /** Optional. If true, streams the interaction events as Server-Sent Events. */ + /** If true, streams the interaction events as Server-Sent Events. */ @com.google.api.client.util.Key private java.lang.Boolean stream; - /** Optional. If true, streams the interaction events as Server-Sent Events. + /** If true, streams the interaction events as Server-Sent Events. */ public java.lang.Boolean getStream() { return stream; } - /** Optional. If true, streams the interaction events as Server-Sent Events. */ + /** If true, streams the interaction events as Server-Sent Events. */ public GetStream setStream(java.lang.Boolean stream) { this.stream = stream; return this; diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigSource.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigSource.java index 509d9934c86..aa718b8eb89 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigSource.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigSource.java @@ -44,8 +44,8 @@ public final class GenaiVertexV1beta1EnvironmentConfigSource extends com.google. private java.lang.String encoding; /** - * The source of the environment. For GCS, this is the GCS path. For GitHub, this is the GitHub - * path. + * The source of the environment. For Cloud Storage, this is the Cloud Storage path. For GitHub, + * this is the GitHub path. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -99,8 +99,8 @@ public GenaiVertexV1beta1EnvironmentConfigSource setEncoding(java.lang.String en } /** - * The source of the environment. For GCS, this is the GCS path. For GitHub, this is the GitHub - * path. + * The source of the environment. For Cloud Storage, this is the Cloud Storage path. For GitHub, + * this is the GitHub path. * @return value or {@code null} for none */ public java.lang.String getSource() { @@ -108,8 +108,8 @@ public java.lang.String getSource() { } /** - * The source of the environment. For GCS, this is the GCS path. For GitHub, this is the GitHub - * path. + * The source of the environment. For Cloud Storage, this is the Cloud Storage path. For GitHub, + * this is the GitHub path. * @param source source or {@code null} for none */ public GenaiVertexV1beta1EnvironmentConfigSource setSource(java.lang.String source) { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FileSearchResultContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FileSearchResultContent.java index 0dcd1718c4c..c6165436934 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FileSearchResultContent.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FileSearchResultContent.java @@ -30,14 +30,14 @@ public final class GenaiVertexV1beta1FileSearchResultContent extends com.google.api.client.json.GenericJson { /** - * Optional. The results of the File Search. + * The results of the File Search. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List result; /** - * Optional. The results of the File Search. + * The results of the File Search. * @return value or {@code null} for none */ public java.util.List getResult() { @@ -45,7 +45,7 @@ public java.util.List } /** - * Optional. The results of the File Search. + * The results of the File Search. * @param result result or {@code null} for none */ public GenaiVertexV1beta1FileSearchResultContent setResult(java.util.List result) { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GenerationConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GenerationConfig.java index 748cf81ca5d..ed7b1a16c3c 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GenerationConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GenerationConfig.java @@ -51,18 +51,18 @@ public final class GenaiVertexV1beta1GenerationConfig extends com.google.api.cli private java.lang.Integer seed; /** - * Configuration for speech interaction. + * A list of character sequences that will stop output interaction. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.util.List speechConfig; + private java.util.List stopSequences; /** - * A list of character sequences that will stop output interaction. + * Speech and multi-speaker configuration. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.util.List stopSequences; + private GenaiVertexV1beta1SpeakerConfig structuredSpeechConfig; /** * Controls the randomness of the output. @@ -172,36 +172,36 @@ public GenaiVertexV1beta1GenerationConfig setSeed(java.lang.Integer seed) { } /** - * Configuration for speech interaction. + * A list of character sequences that will stop output interaction. * @return value or {@code null} for none */ - public java.util.List getSpeechConfig() { - return speechConfig; + public java.util.List getStopSequences() { + return stopSequences; } /** - * Configuration for speech interaction. - * @param speechConfig speechConfig or {@code null} for none + * A list of character sequences that will stop output interaction. + * @param stopSequences stopSequences or {@code null} for none */ - public GenaiVertexV1beta1GenerationConfig setSpeechConfig(java.util.List speechConfig) { - this.speechConfig = speechConfig; + public GenaiVertexV1beta1GenerationConfig setStopSequences(java.util.List stopSequences) { + this.stopSequences = stopSequences; return this; } /** - * A list of character sequences that will stop output interaction. + * Speech and multi-speaker configuration. * @return value or {@code null} for none */ - public java.util.List getStopSequences() { - return stopSequences; + public GenaiVertexV1beta1SpeakerConfig getStructuredSpeechConfig() { + return structuredSpeechConfig; } /** - * A list of character sequences that will stop output interaction. - * @param stopSequences stopSequences or {@code null} for none + * Speech and multi-speaker configuration. + * @param structuredSpeechConfig structuredSpeechConfig or {@code null} for none */ - public GenaiVertexV1beta1GenerationConfig setStopSequences(java.util.List stopSequences) { - this.stopSequences = stopSequences; + public GenaiVertexV1beta1GenerationConfig setStructuredSpeechConfig(GenaiVertexV1beta1SpeakerConfig structuredSpeechConfig) { + this.structuredSpeechConfig = structuredSpeechConfig; return this; } diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Interaction.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Interaction.java index 3bb50677bec..32c2d513917 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Interaction.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Interaction.java @@ -94,11 +94,10 @@ public final class GenaiVertexV1beta1Interaction extends com.google.api.client.j private java.lang.String id; /** - * Optional. The labels with user-defined metadata for the request. It is used for billing and - * reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) - * and can only contain lowercase letters, numeric characters, underscores, and dashes. - * International characters are allowed. Label values are optional. Label keys must start with a - * letter. + * The labels with user-defined metadata for the request. It is used for billing and reporting + * only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can + * only contain lowercase letters, numeric characters, underscores, and dashes. International + * characters are allowed. Label values are optional. Label keys must start with a letter. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -245,13 +244,6 @@ public final class GenaiVertexV1beta1Interaction extends com.google.api.client.j @com.google.api.client.util.Key private java.util.List tools; - /** - * The turns for the interaction. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1TurnList turnList; - /** * Required. Output only. The time at which the response was last updated in ISO 8601 format * (YYYY-MM-DDThh:mm:ssZ). @@ -408,11 +400,10 @@ public GenaiVertexV1beta1Interaction setId(java.lang.String id) { } /** - * Optional. The labels with user-defined metadata for the request. It is used for billing and - * reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) - * and can only contain lowercase letters, numeric characters, underscores, and dashes. - * International characters are allowed. Label values are optional. Label keys must start with a - * letter. + * The labels with user-defined metadata for the request. It is used for billing and reporting + * only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can + * only contain lowercase letters, numeric characters, underscores, and dashes. International + * characters are allowed. Label values are optional. Label keys must start with a letter. * @return value or {@code null} for none */ public java.util.Map getLabels() { @@ -420,11 +411,10 @@ public java.util.Map getLabels() { } /** - * Optional. The labels with user-defined metadata for the request. It is used for billing and - * reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) - * and can only contain lowercase letters, numeric characters, underscores, and dashes. - * International characters are allowed. Label values are optional. Label keys must start with a - * letter. + * The labels with user-defined metadata for the request. It is used for billing and reporting + * only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can + * only contain lowercase letters, numeric characters, underscores, and dashes. International + * characters are allowed. Label values are optional. Label keys must start with a letter. * @param labels labels or {@code null} for none */ public GenaiVertexV1beta1Interaction setLabels(java.util.Map labels) { @@ -759,23 +749,6 @@ public GenaiVertexV1beta1Interaction setTools(java.util.List 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: @@ -27,43 +27,40 @@ * @author Google, Inc. */ @SuppressWarnings("javadoc") -public final class GenaiVertexV1beta1TurnList extends com.google.api.client.json.GenericJson { +public final class GenaiVertexV1beta1SpeakerConfig extends com.google.api.client.json.GenericJson { /** + * Individual speaker configurations. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.util.List turns; - - static { - // hack to force ProGuard to consider GenaiVertexV1beta1Turn used, since otherwise it would be stripped out - // see https://github.com/google/google-api-java-client/issues/543 - com.google.api.client.util.Data.nullOf(GenaiVertexV1beta1Turn.class); - } + private java.util.List speakers; /** + * Individual speaker configurations. * @return value or {@code null} for none */ - public java.util.List getTurns() { - return turns; + public java.util.List getSpeakers() { + return speakers; } /** - * @param turns turns or {@code null} for none + * Individual speaker configurations. + * @param speakers speakers or {@code null} for none */ - public GenaiVertexV1beta1TurnList setTurns(java.util.List turns) { - this.turns = turns; + public GenaiVertexV1beta1SpeakerConfig setSpeakers(java.util.List speakers) { + this.speakers = speakers; return this; } @Override - public GenaiVertexV1beta1TurnList set(String fieldName, Object value) { - return (GenaiVertexV1beta1TurnList) super.set(fieldName, value); + public GenaiVertexV1beta1SpeakerConfig set(String fieldName, Object value) { + return (GenaiVertexV1beta1SpeakerConfig) super.set(fieldName, value); } @Override - public GenaiVertexV1beta1TurnList clone() { - return (GenaiVertexV1beta1TurnList) super.clone(); + public GenaiVertexV1beta1SpeakerConfig clone() { + return (GenaiVertexV1beta1SpeakerConfig) super.clone(); } } diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1TranscriptionConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1TranscriptionConfig.java index 00d3a626d9a..11604de3199 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1TranscriptionConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1TranscriptionConfig.java @@ -59,6 +59,18 @@ public final class GenaiVertexV1beta1TranscriptionConfig extends com.google.api. @com.google.api.client.util.Key private java.util.List languageCodes; + /** + * 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 (`timestamp_granularities`) and diarization (`diarization_mode`) are + * incompatible with mode `SMART`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mode; + /** * Optional. The granularity of timestamps to include in the transcription output. Supported * values: "word". If empty, no timestamps are generated. @@ -139,6 +151,33 @@ public GenaiVertexV1beta1TranscriptionConfig setLanguageCodes(java.util.List 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 GenaiVertexV1beta1Turn extends com.google.api.client.json.GenericJson { - - /** - * The content of the turn. An array of Content objects. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ContentList contentList; - - /** - * The content of the turn. A single string. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String contentString; - - /** - * The originator of this turn. Must be user for input or model for model output. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String role; - - /** - * The content of the turn. An array of Content objects. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ContentList getContentList() { - return contentList; - } - - /** - * The content of the turn. An array of Content objects. - * @param contentList contentList or {@code null} for none - */ - public GenaiVertexV1beta1Turn setContentList(GenaiVertexV1beta1ContentList contentList) { - this.contentList = contentList; - return this; - } - - /** - * The content of the turn. A single string. - * @return value or {@code null} for none - */ - public java.lang.String getContentString() { - return contentString; - } - - /** - * The content of the turn. A single string. - * @param contentString contentString or {@code null} for none - */ - public GenaiVertexV1beta1Turn setContentString(java.lang.String contentString) { - this.contentString = contentString; - return this; - } - - /** - * The originator of this turn. Must be user for input or model for model output. - * @return value or {@code null} for none - */ - public java.lang.String getRole() { - return role; - } - - /** - * The originator of this turn. Must be user for input or model for model output. - * @param role role or {@code null} for none - */ - public GenaiVertexV1beta1Turn setRole(java.lang.String role) { - this.role = role; - return this; - } - - @Override - public GenaiVertexV1beta1Turn set(String fieldName, Object value) { - return (GenaiVertexV1beta1Turn) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1Turn clone() { - return (GenaiVertexV1beta1Turn) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContent.java index 1388b7dffd4..68f2e5bbbba 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContent.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContent.java @@ -44,6 +44,18 @@ public final class GenaiVertexV1beta1VideoContent extends com.google.api.client. @com.google.api.client.util.Key private java.lang.String mimeTypeString; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GenaiVertexV1beta1VideoContentMediaProcessing processingConfig; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String processingType; + /** * The resolution of the media. * The value may be {@code null}. @@ -122,6 +134,36 @@ public GenaiVertexV1beta1VideoContent setMimeTypeString(java.lang.String mimeTyp return this; } + /** + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1VideoContentMediaProcessing getProcessingConfig() { + return processingConfig; + } + + /** + * @param processingConfig processingConfig or {@code null} for none + */ + public GenaiVertexV1beta1VideoContent setProcessingConfig(GenaiVertexV1beta1VideoContentMediaProcessing processingConfig) { + this.processingConfig = processingConfig; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getProcessingType() { + return processingType; + } + + /** + * @param processingType processingType or {@code null} for none + */ + public GenaiVertexV1beta1VideoContent setProcessingType(java.lang.String processingType) { + this.processingType = processingType; + return this; + } + /** * The resolution of the 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/GenaiVertexV1beta1VideoContentMediaProcessing.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContentMediaProcessing.java new file mode 100644 index 00000000000..f5793457a09 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1VideoContentMediaProcessing.java @@ -0,0 +1,63 @@ +/* + * 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 GenaiVertexV1beta1VideoContentMediaProcessing. + * + *

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 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.List filter; + + /** + * Session is considered ready for evaluation when there are no new traces for a specified period + * of inactivity. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger inactivityTrigger; + + /** + * Optional. A list of predicates to filter sessions. Multiple predicates are combined using AND. + * The maximum number of predicates is 10. + * @return value or {@code null} for none + */ + public java.util.List getFilter() { + return filter; + } + + /** + * Optional. A list of predicates to filter sessions. Multiple predicates are combined using AND. + * The maximum number of predicates is 10. + * @param filter filter or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope setFilter(java.util.List filter) { + this.filter = filter; + return this; + } + + /** + * Session is considered ready for evaluation when there are no new traces for a specified period + * of inactivity. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger getInactivityTrigger() { + return inactivityTrigger; + } + + /** + * Session is considered ready for evaluation when there are no new traces for a specified period + * of inactivity. + * @param inactivityTrigger inactivityTrigger or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope setInactivityTrigger(GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger inactivityTrigger) { + this.inactivityTrigger = inactivityTrigger; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope clone() { + return (GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScope) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger.java new file mode 100644 index 00000000000..0407c3c991b --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger.java @@ -0,0 +1,72 @@ +/* + * 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; + +/** + * Configuration for inactivity based session completion. + * + *

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 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.List 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 GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecShellEnvironment extends com.google.api.client.json.GenericJson { + + @Override + public GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecShellEnvironment set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecShellEnvironment) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecShellEnvironment clone() { + return (GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecShellEnvironment) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData.java index fd951d6105a..306ff3d2192 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData.java @@ -38,6 +38,15 @@ public final class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData ex @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.List deployedRegions; + /** * Optional. Framework used to build the application. * The value may be {@code null}. @@ -73,6 +82,27 @@ public GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData setCodeReposit return this; } + /** + * 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. + * @return value or {@code null} for none + */ + public java.util.List getDeployedRegions() { + return deployedRegions; + } + + /** + * 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. + * @param deployedRegions deployedRegions or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData setDeployedRegions(java.util.List deployedRegions) { + this.deployedRegions = deployedRegions; + return this; + } + /** * Optional. Framework used to build the application. * @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/GoogleCloudAiplatformV1beta1XmanagerInstance.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1XmanagerInstance.java index 9b3e6875aad..ec9d15b9421 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1XmanagerInstance.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1XmanagerInstance.java @@ -95,6 +95,13 @@ public final class GoogleCloudAiplatformV1beta1XmanagerInstance extends com.goog @com.google.api.client.util.Key private String updateTime; + /** + * Optional. If set, the XmanagerInstance will be set up for managed XProf. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1XprofConfig xprofConfig; + /** * Output only. gRPC API endpoint for Experiment State Server (ESS). * @return value or {@code null} for none @@ -254,6 +261,23 @@ public GoogleCloudAiplatformV1beta1XmanagerInstance setUpdateTime(String updateT return this; } + /** + * Optional. If set, the XmanagerInstance will be set up for managed XProf. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1XprofConfig getXprofConfig() { + return xprofConfig; + } + + /** + * Optional. If set, the XmanagerInstance will be set up for managed XProf. + * @param xprofConfig xprofConfig or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1XmanagerInstance setXprofConfig(GoogleCloudAiplatformV1beta1XprofConfig xprofConfig) { + this.xprofConfig = xprofConfig; + return this; + } + @Override public GoogleCloudAiplatformV1beta1XmanagerInstance set(String fieldName, Object value) { return (GoogleCloudAiplatformV1beta1XmanagerInstance) super.set(fieldName, value); diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1XprofConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1XprofConfig.java new file mode 100644 index 00000000000..f12de497cd8 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1XprofConfig.java @@ -0,0 +1,66 @@ +/* + * 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; + +/** + * XprofConfig contains the configuration for managed XProf. + * + *

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 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 @@ com.google.apis google-api-services-aiplatform - v1beta1-rev20260808-2.0.0 - Agent Platform API v1beta1-rev20260808-2.0.0 + v1beta1-rev20260815-2.0.0 + Agent Platform API v1beta1-rev20260815-2.0.0 jar 2011 diff --git a/clients/google-api-services-aiplatform/v1beta1/README.md b/clients/google-api-services-aiplatform/v1beta1/README.md index 106e93c1cc3..f9461fd31f6 100644 --- a/clients/google-api-services-aiplatform/v1beta1/README.md +++ b/clients/google-api-services-aiplatform/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-aiplatform - v1beta1-rev20260808-2.0.0 + v1beta1-rev20260815-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260808-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260815-2.0.0' } ```