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 b43a0e69f16..187035f8edd 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-rev20260831-2.0.0 + v1-rev20260904-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260831-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260904-2.0.0' } ``` diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AgentTool.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AgentTool.java index 0a68b2451af..25b92246521 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AgentTool.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AgentTool.java @@ -38,8 +38,8 @@ public final class GoogleCloudAiplatformV1AgentTool extends com.google.api.clien private java.util.Map headers; /** - * Optional. The tool's GCP resource name, used to resolve the tool. Applicable when `type` is - * `mcp_server` or `endpoint` (a tool registered in Agent Registry), for example + * Optional. The tool's Google Cloud resource name, used to resolve the tool. Applicable when + * `type` is `mcp_server` or `endpoint` (a tool registered in Agent Registry), for example * `projects/{project}/locations/{location}/.../mcpServers/{id}` or * `projects/{project}/locations/{location}/.../endpoints/{id}`. * The value may be {@code null}. @@ -86,8 +86,8 @@ public GoogleCloudAiplatformV1AgentTool setHeaders(java.util.Mapcom.google.apis google-api-services-aiplatform - v1-rev20260831-2.0.0 - Agent Platform API v1-rev20260831-2.0.0 + v1-rev20260904-2.0.0 + Agent Platform API v1-rev20260904-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 b43a0e69f16..187035f8edd 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-rev20260831-2.0.0 + v1-rev20260904-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260831-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260904-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 7ac673411e1..2816801465c 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-rev20260831-2.0.0 + v1beta1-rev20260904-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260831-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260904-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 436fdea9f6c..ff1c76b1147 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 @@ -76234,6 +76234,853 @@ public Get set(String parameterName, Object value) { } } + /** + * An accessor for creating requests from the EvaluationExperiments collection. + * + *

The typical use is:

+ *
+       *   {@code Aiplatform aiplatform = new Aiplatform(...);}
+       *   {@code Aiplatform.EvaluationExperiments.List request = aiplatform.evaluationExperiments().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public EvaluationExperiments evaluationExperiments() { + return new EvaluationExperiments(); + } + + /** + * The "evaluationExperiments" collection of methods. + */ + public class EvaluationExperiments { + + /** + * Creates an Evaluation Experiment. + * + * Create a request for the method "evaluationExperiments.create". + * + * This request holds the parameters needed by the aiplatform server. After setting any optional + * parameters, call the {@link Create#execute()} method to invoke the remote operation. + * + * @param parent Required. The resource name of the Location to create the Evaluation Experiment in. Format: + * `projects/{project}/locations/{location}` + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1EvaluationExperiment} + * @return the request + */ + public Create create(java.lang.String parent, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1EvaluationExperiment content) throws java.io.IOException { + Create result = new Create(parent, content); + initialize(result); + return result; + } + + public class Create extends AiplatformRequest { + + private static final String REST_PATH = "v1beta1/{+parent}/evaluationExperiments"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Creates an Evaluation Experiment. + * + * Create a request for the method "evaluationExperiments.create". + * + * This request holds the parameters needed by the the aiplatform server. After setting any + * optional parameters, call the {@link Create#execute()} method to invoke the remote operation. + *

{@link + * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. The resource name of the Location to create the Evaluation Experiment in. Format: + * `projects/{project}/locations/{location}` + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1EvaluationExperiment} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1EvaluationExperiment content) { + super(Aiplatform.this, "POST", REST_PATH, content, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1EvaluationExperiment.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } + + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } + + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } + + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } + + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } + + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } + + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } + + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } + + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } + + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } + + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource name of the Location to create the Evaluation Experiment in. + * Format: `projects/{project}/locations/{location}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The resource name of the Location to create the Evaluation Experiment in. Format: + `projects/{project}/locations/{location}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The resource name of the Location to create the Evaluation Experiment in. + * Format: `projects/{project}/locations/{location}` + */ + public Create setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Deletes an Evaluation Experiment. + * + * Create a request for the method "evaluationExperiments.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 EvaluationExperiment resource to be deleted. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + * @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 = "v1beta1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/evaluationExperiments/[^/]+$"); + + /** + * Deletes an Evaluation Experiment. + * + * Create a request for the method "evaluationExperiments.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 EvaluationExperiment resource to be deleted. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(Aiplatform.this, "DELETE", REST_PATH, null, com.google.api.services.aiplatform.v1beta1.model.GoogleLongrunningOperation.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/[^/]+/evaluationExperiments/[^/]+$"); + } + } + + @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 EvaluationExperiment resource to be deleted. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the EvaluationExperiment resource to be deleted. Format: + `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the EvaluationExperiment resource to be deleted. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + */ + 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/[^/]+/evaluationExperiments/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets an Evaluation Experiment. + * + * Create a request for the method "evaluationExperiments.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 EvaluationExperiment resource. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + * @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 = "v1beta1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/evaluationExperiments/[^/]+$"); + + /** + * Gets an Evaluation Experiment. + * + * Create a request for the method "evaluationExperiments.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 EvaluationExperiment resource. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(Aiplatform.this, "GET", REST_PATH, null, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1EvaluationExperiment.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/[^/]+/evaluationExperiments/[^/]+$"); + } + } + + @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 EvaluationExperiment resource. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the EvaluationExperiment resource. Format: + `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the EvaluationExperiment resource. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + */ + 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/[^/]+/evaluationExperiments/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists Evaluation Experiments. + * + * Create a request for the method "evaluationExperiments.list". + * + * This request holds the parameters needed by the aiplatform server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The resource name of the Location from which to list the Evaluation Experiments. Format: + * `projects/{project}/locations/{location}` + * @return the request + */ + public List list(java.lang.String parent) throws java.io.IOException { + List result = new List(parent); + initialize(result); + return result; + } + + public class List extends AiplatformRequest { + + private static final String REST_PATH = "v1beta1/{+parent}/evaluationExperiments"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Lists Evaluation Experiments. + * + * Create a request for the method "evaluationExperiments.list". + * + * This request holds the parameters needed by the the aiplatform server. After setting any + * optional parameters, call the {@link List#execute()} method to invoke the remote operation.

+ * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} + * must be called to initialize this instance immediately after invoking the constructor.

+ * + * @param parent Required. The resource name of the Location from which to list the Evaluation Experiments. Format: + * `projects/{project}/locations/{location}` + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(Aiplatform.this, "GET", REST_PATH, null, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse.class); + this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + } + + @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 List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } + + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } + + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } + + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } + + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } + + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } + + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } + + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } + + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } + + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } + + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource name of the Location from which to list the Evaluation + * Experiments. Format: `projects/{project}/locations/{location}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The resource name of the Location from which to list the Evaluation Experiments. Format: + `projects/{project}/locations/{location}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The resource name of the Location from which to list the Evaluation + * Experiments. Format: `projects/{project}/locations/{location}` + */ + public List setParent(java.lang.String parent) { + if (!getSuppressPatternChecks()) { + com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), + "Parameter parent must conform to the pattern " + + "^projects/[^/]+/locations/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. Filter expression that matches a subset of the EvaluationExperiments to show. + * For field names both snake_case and camelCase are supported. For more information about + * filter syntax, see [AIP-160](https://google.aip.dev/160). + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Filter expression that matches a subset of the EvaluationExperiments to show. For field + names both snake_case and camelCase are supported. For more information about filter syntax, see + [AIP-160](https://google.aip.dev/160). + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. Filter expression that matches a subset of the EvaluationExperiments to show. + * For field names both snake_case and camelCase are supported. For more information about + * filter syntax, see [AIP-160](https://google.aip.dev/160). + */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** + * Optional. A comma-separated list of fields to order by, sorted in ascending order by + * default. Use `desc` after a field name for descending. + */ + @com.google.api.client.util.Key + private java.lang.String orderBy; + + /** Optional. A comma-separated list of fields to order by, sorted in ascending order by default. Use + `desc` after a field name for descending. + */ + public java.lang.String getOrderBy() { + return orderBy; + } + + /** + * Optional. A comma-separated list of fields to order by, sorted in ascending order by + * default. Use `desc` after a field name for descending. + */ + public List setOrderBy(java.lang.String orderBy) { + this.orderBy = orderBy; + return this; + } + + /** Optional. The maximum number of Evaluation Experiments to return. */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of Evaluation Experiments to return. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** Optional. The maximum number of Evaluation Experiments to return. */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A page token, received from a previous `ListEvaluationExperiments` call. + * Provide this to retrieve the subsequent page. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A page token, received from a previous `ListEvaluationExperiments` call. Provide this to + retrieve the subsequent page. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A page token, received from a previous `ListEvaluationExperiments` call. + * Provide this to retrieve the subsequent page. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * Updates an Evaluation Experiment. + * + * Create a request for the method "evaluationExperiments.patch". + * + * This request holds the parameters needed by the aiplatform server. After setting any optional + * parameters, call the {@link Patch#execute()} method to invoke the remote operation. + * + * @param name Identifier. The resource name of the EvaluationExperiment. This is a unique identifier. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1EvaluationExperiment} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1EvaluationExperiment content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends AiplatformRequest { + + private static final String REST_PATH = "v1beta1/{+name}"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/evaluationExperiments/[^/]+$"); + + /** + * Updates an Evaluation Experiment. + * + * Create a request for the method "evaluationExperiments.patch". + * + * This request holds the parameters needed by the the aiplatform server. After setting any + * optional parameters, call the {@link Patch#execute()} method to invoke the remote operation. + *

{@link + * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must + * be called to initialize this instance immediately after invoking the constructor.

+ * + * @param name Identifier. The resource name of the EvaluationExperiment. This is a unique identifier. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1EvaluationExperiment} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1EvaluationExperiment content) { + super(Aiplatform.this, "PATCH", REST_PATH, content, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1EvaluationExperiment.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/[^/]+/evaluationExperiments/[^/]+$"); + } + } + + @Override + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); + } + + @Override + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); + } + + @Override + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); + } + + @Override + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); + } + + @Override + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); + } + + @Override + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); + } + + @Override + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); + } + + @Override + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); + } + + @Override + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); + } + + @Override + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); + } + + @Override + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); + } + + /** + * Identifier. The resource name of the EvaluationExperiment. This is a unique identifier. + * Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Identifier. The resource name of the EvaluationExperiment. This is a unique identifier. Format: + `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The resource name of the EvaluationExperiment. This is a unique identifier. + * Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + */ + public Patch 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/[^/]+/evaluationExperiments/[^/]+$"); + } + this.name = name; + return this; + } + + /** + * Optional. The update mask applies to the resource. For the `FieldMask` definition, see + * google.protobuf.FieldMask. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** Optional. The update mask applies to the resource. For the `FieldMask` definition, see + google.protobuf.FieldMask. + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Optional. The update mask applies to the resource. For the `FieldMask` definition, see + * google.protobuf.FieldMask. + */ + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + + } /** * An accessor for creating requests from the EvaluationItems collection. * @@ -138740,6 +139587,165 @@ public MonitoredAgents monitoredAgents() { */ public class MonitoredAgents { + /** + * Clears (purges) the trained model artifacts derived from a MonitoredAgent's data. The purged + * model is rebuilt by the next scheduled training run. To clear every MonitoredAgent in a + * location's scope, use the `-` wildcard agent segment for the name field: + * `projects/{project}/locations/{location}/monitoredAgents/-` This is the on-demand data-deletion + * path for customers who have deleted the underlying logs / observability data a model was trained + * on. It deletes only the derived model artifacts in the tenant project (it does NOT delete the + * scope, tenant project, or monitoring). To stop monitoring an agent entirely, disable it via + * DisableMonitoredAgent. See go/aad-clear-training-data. + * + * Create a request for the method "monitoredAgents.clearTrainingData". + * + * This request holds the parameters needed by the aiplatform server. After setting any optional + * parameters, call the {@link ClearTrainingData#execute()} method to invoke the remote operation. + * + * @param name Required. The MonitoredAgent whose trained model artifacts to purge. Use the `-` wildcard agent + * segment to purge every MonitoredAgent in the scope. Format: + * `projects/{project}/locations/{location}/monitoredAgents/{monitored_agent}` + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1ClearTrainingDataRequest} + * @return the request + */ + public ClearTrainingData clearTrainingData(java.lang.String name, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1ClearTrainingDataRequest content) throws java.io.IOException { + ClearTrainingData result = new ClearTrainingData(name, content); + initialize(result); + return result; + } + + public class ClearTrainingData extends AiplatformRequest { + + private static final String REST_PATH = "v1beta1/{+name}:clearTrainingData"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/monitoredAgents/[^/]+$"); + + /** + * Clears (purges) the trained model artifacts derived from a MonitoredAgent's data. The purged + * model is rebuilt by the next scheduled training run. To clear every MonitoredAgent in a + * location's scope, use the `-` wildcard agent segment for the name field: + * `projects/{project}/locations/{location}/monitoredAgents/-` This is the on-demand data-deletion + * path for customers who have deleted the underlying logs / observability data a model was + * trained on. It deletes only the derived model artifacts in the tenant project (it does NOT + * delete the scope, tenant project, or monitoring). To stop monitoring an agent entirely, disable + * it via DisableMonitoredAgent. See go/aad-clear-training-data. + * + * Create a request for the method "monitoredAgents.clearTrainingData". + * + * This request holds the parameters needed by the the aiplatform server. After setting any + * optional parameters, call the {@link ClearTrainingData#execute()} method to invoke the remote + * operation.

{@link ClearTrainingData#initialize(com.google.api.client.googleapis.services.Ab + * stractGoogleClientRequest)} must be called to initialize this instance immediately after + * invoking the constructor.

+ * + * @param name Required. The MonitoredAgent whose trained model artifacts to purge. Use the `-` wildcard agent + * segment to purge every MonitoredAgent in the scope. Format: + * `projects/{project}/locations/{location}/monitoredAgents/{monitored_agent}` + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1ClearTrainingDataRequest} + * @since 1.13 + */ + protected ClearTrainingData(java.lang.String name, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1ClearTrainingDataRequest content) { + super(Aiplatform.this, "POST", REST_PATH, content, com.google.api.services.aiplatform.v1beta1.model.GoogleLongrunningOperation.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/[^/]+/monitoredAgents/[^/]+$"); + } + } + + @Override + public ClearTrainingData set$Xgafv(java.lang.String $Xgafv) { + return (ClearTrainingData) super.set$Xgafv($Xgafv); + } + + @Override + public ClearTrainingData setAccessToken(java.lang.String accessToken) { + return (ClearTrainingData) super.setAccessToken(accessToken); + } + + @Override + public ClearTrainingData setAlt(java.lang.String alt) { + return (ClearTrainingData) super.setAlt(alt); + } + + @Override + public ClearTrainingData setCallback(java.lang.String callback) { + return (ClearTrainingData) super.setCallback(callback); + } + + @Override + public ClearTrainingData setFields(java.lang.String fields) { + return (ClearTrainingData) super.setFields(fields); + } + + @Override + public ClearTrainingData setKey(java.lang.String key) { + return (ClearTrainingData) super.setKey(key); + } + + @Override + public ClearTrainingData setOauthToken(java.lang.String oauthToken) { + return (ClearTrainingData) super.setOauthToken(oauthToken); + } + + @Override + public ClearTrainingData setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ClearTrainingData) super.setPrettyPrint(prettyPrint); + } + + @Override + public ClearTrainingData setQuotaUser(java.lang.String quotaUser) { + return (ClearTrainingData) super.setQuotaUser(quotaUser); + } + + @Override + public ClearTrainingData setUploadType(java.lang.String uploadType) { + return (ClearTrainingData) super.setUploadType(uploadType); + } + + @Override + public ClearTrainingData setUploadProtocol(java.lang.String uploadProtocol) { + return (ClearTrainingData) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The MonitoredAgent whose trained model artifacts to purge. Use the `-` + * wildcard agent segment to purge every MonitoredAgent in the scope. Format: + * `projects/{project}/locations/{location}/monitoredAgents/{monitored_agent}` + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The MonitoredAgent whose trained model artifacts to purge. Use the `-` wildcard agent + segment to purge every MonitoredAgent in the scope. Format: + `projects/{project}/locations/{location}/monitoredAgents/{monitored_agent}` + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The MonitoredAgent whose trained model artifacts to purge. Use the `-` + * wildcard agent segment to purge every MonitoredAgent in the scope. Format: + * `projects/{project}/locations/{location}/monitoredAgents/{monitored_agent}` + */ + public ClearTrainingData 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/[^/]+/monitoredAgents/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public ClearTrainingData set(String parameterName, Object value) { + return (ClearTrainingData) super.set(parameterName, value); + } + } /** * Disables a specific MonitoredAgent. * @@ -205374,14 +206380,18 @@ public List setParent(java.lang.String parent) { /** * Optional. The standard list filter. More detail in - * [AIP-160](https://google.aip.dev/160). Supported fields: * `context_id` * - * `status.state` Example: `context_id="abc"`, `status.state="WORKING"`. + * [AIP-160](https://google.aip.dev/160). Supported fields: * `task_id` * `context_id` * + * `status.state` * `app_id` * `user_id` * `create_time` range (i.e. + * `create_time>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339 format) + * Example: `context_id="abc"`, `status.state="WORKING"`. */ @com.google.api.client.util.Key private java.lang.String filter; /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported - fields: * `context_id` * `status.state` Example: `context_id="abc"`, `status.state="WORKING"`. + fields: * `task_id` * `context_id` * `status.state` * `app_id` * `user_id` * `create_time` range + (i.e. `create_time>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339 format) + Example: `context_id="abc"`, `status.state="WORKING"`. */ public java.lang.String getFilter() { return filter; @@ -205389,8 +206399,10 @@ public java.lang.String getFilter() { /** * Optional. The standard list filter. More detail in - * [AIP-160](https://google.aip.dev/160). Supported fields: * `context_id` * - * `status.state` Example: `context_id="abc"`, `status.state="WORKING"`. + * [AIP-160](https://google.aip.dev/160). Supported fields: * `task_id` * `context_id` * + * `status.state` * `app_id` * `user_id` * `create_time` range (i.e. + * `create_time>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339 format) + * Example: `context_id="abc"`, `status.state="WORKING"`. */ public List setFilter(java.lang.String filter) { this.filter = filter; @@ -205400,17 +206412,17 @@ public List setFilter(java.lang.String filter) { /** * Optional. A comma-separated list of fields to order by, sorted in ascending order. * Use "desc" after a field name for descending. If this field is omitted, the default - * ordering is `create_time` descending. More detail in - * [AIP-132](https://google.aip.dev/132). Supported fields: * `create_time` * - * `update_time` Example: `create_time desc`. + * ordering is `task_id` descending. More detail in + * [AIP-132](https://google.aip.dev/132). Supported field: * `task_id` * `create_time` + * Example: `create_time desc`, `task_id asc`. */ @com.google.api.client.util.Key private java.lang.String orderBy; /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after - a field name for descending. If this field is omitted, the default ordering is `create_time` - descending. More detail in [AIP-132](https://google.aip.dev/132). Supported fields: * `create_time` - * `update_time` Example: `create_time desc`. + a field name for descending. If this field is omitted, the default ordering is `task_id` + descending. More detail in [AIP-132](https://google.aip.dev/132). Supported field: * `task_id` * + `create_time` Example: `create_time desc`, `task_id asc`. */ public java.lang.String getOrderBy() { return orderBy; @@ -205419,9 +206431,9 @@ public java.lang.String getOrderBy() { /** * Optional. A comma-separated list of fields to order by, sorted in ascending order. * Use "desc" after a field name for descending. If this field is omitted, the default - * ordering is `create_time` descending. More detail in - * [AIP-132](https://google.aip.dev/132). Supported fields: * `create_time` * - * `update_time` Example: `create_time desc`. + * ordering is `task_id` descending. More detail in + * [AIP-132](https://google.aip.dev/132). Supported field: * `task_id` * `create_time` + * Example: `create_time desc`, `task_id asc`. */ public List setOrderBy(java.lang.String orderBy) { this.orderBy = orderBy; @@ -205650,14 +206662,15 @@ public List setParent(java.lang.String parent) { } /** - * Optional. The standard list filter. Supported fields: * `create_time` range (i.e. - * `create_time>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339 - * format) More detail in [AIP-160](https://google.aip.dev/160). + * Optional. The standard list filter. Supported fields: * `generation` * + * `create_time` range (i.e. `create_time>="2025-01-31T11:30:00-04:00"` where the + * timestamp is in RFC 3339 format) More detail in + * [AIP-160](https://google.aip.dev/160). */ @com.google.api.client.util.Key private java.lang.String filter; - /** Optional. The standard list filter. Supported fields: * `create_time` range (i.e. + /** Optional. The standard list filter. Supported fields: * `generation` * `create_time` range (i.e. `create_time>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339 format) More detail in [AIP-160](https://google.aip.dev/160). */ @@ -205666,9 +206679,10 @@ public java.lang.String getFilter() { } /** - * Optional. The standard list filter. Supported fields: * `create_time` range (i.e. - * `create_time>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339 - * format) More detail in [AIP-160](https://google.aip.dev/160). + * Optional. The standard list filter. Supported fields: * `generation` * + * `create_time` range (i.e. `create_time>="2025-01-31T11:30:00-04:00"` where the + * timestamp is in RFC 3339 format) More detail in + * [AIP-160](https://google.aip.dev/160). */ public List setFilter(java.lang.String filter) { this.filter = filter; @@ -205676,30 +206690,36 @@ public List setFilter(java.lang.String filter) { } /** - * Optional. A comma-separated list of fields to order the results by. If this field - * is omitted, the results will be ordered by `generation` in ascending order. For - * each field, the default sort order is ascending. To specify descending order for a - * field, append a ` desc` suffix. For example: `create_time desc`. Supported fields: - * * `create_time` * `generation` + * Optional. Specifies the order of the returned events. If omitted, results default + * to `generation` in ascending order. To specify descending order, append a ` desc` + * suffix. For example: `generation desc`. Supported fields: * `generation` Note: + * Ordering directly by event timestamp (e.g., `create_time`) is not supported. Users + * requiring time-based traversal should use `generation` ordering and scan the + * results until the desired time threshold is reached (e.g., for chronological order, + * use default ascending and stop when `create_time` exceeds your target). */ @com.google.api.client.util.Key private java.lang.String orderBy; - /** Optional. A comma-separated list of fields to order the results by. If this field is omitted, the - results will be ordered by `generation` in ascending order. For each field, the default sort order - is ascending. To specify descending order for a field, append a ` desc` suffix. For example: - `create_time desc`. Supported fields: * `create_time` * `generation` + /** Optional. Specifies the order of the returned events. If omitted, results default to `generation` + in ascending order. To specify descending order, append a ` desc` suffix. For example: `generation + desc`. Supported fields: * `generation` Note: Ordering directly by event timestamp (e.g., + `create_time`) is not supported. Users requiring time-based traversal should use `generation` + ordering and scan the results until the desired time threshold is reached (e.g., for chronological + order, use default ascending and stop when `create_time` exceeds your target). */ public java.lang.String getOrderBy() { return orderBy; } /** - * Optional. A comma-separated list of fields to order the results by. If this field - * is omitted, the results will be ordered by `generation` in ascending order. For - * each field, the default sort order is ascending. To specify descending order for a - * field, append a ` desc` suffix. For example: `create_time desc`. Supported fields: - * * `create_time` * `generation` + * Optional. Specifies the order of the returned events. If omitted, results default + * to `generation` in ascending order. To specify descending order, append a ` desc` + * suffix. For example: `generation desc`. Supported fields: * `generation` Note: + * Ordering directly by event timestamp (e.g., `create_time`) is not supported. Users + * requiring time-based traversal should use `generation` ordering and scan the + * results until the desired time threshold is reached (e.g., for chronological order, + * use default ascending and stop when `create_time` exceeds your target). */ public List setOrderBy(java.lang.String orderBy) { this.orderBy = orderBy; diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeExecutionCallContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeExecutionCallContent.java deleted file mode 100644 index 5cc37f2cf54..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeExecutionCallContent.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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; - -/** - * Code execution content. - * - *

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 GenaiVertexV1beta1CodeExecutionCallContent extends com.google.api.client.json.GenericJson { - - /** - * Required. The arguments to pass to the code execution. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments arguments; - - /** - * Required. The arguments to pass to the code execution. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments getArguments() { - return arguments; - } - - /** - * Required. The arguments to pass to the code execution. - * @param arguments arguments or {@code null} for none - */ - public GenaiVertexV1beta1CodeExecutionCallContent setArguments(GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments arguments) { - this.arguments = arguments; - return this; - } - - @Override - public GenaiVertexV1beta1CodeExecutionCallContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1CodeExecutionCallContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1CodeExecutionCallContent clone() { - return (GenaiVertexV1beta1CodeExecutionCallContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeExecutionResultContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeExecutionResultContent.java deleted file mode 100644 index cb2336c5196..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1CodeExecutionResultContent.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * 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; - -/** - * Code execution result content. - * - *

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 GenaiVertexV1beta1CodeExecutionResultContent extends com.google.api.client.json.GenericJson { - - /** - * Whether the code execution resulted in an error. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.Boolean isError; - - /** - * Required. The output of the code execution. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String result; - - /** - * Whether the code execution resulted in an error. - * @return value or {@code null} for none - */ - public java.lang.Boolean getIsError() { - return isError; - } - - /** - * Whether the code execution resulted in an error. - * @param isError isError or {@code null} for none - */ - public GenaiVertexV1beta1CodeExecutionResultContent setIsError(java.lang.Boolean isError) { - this.isError = isError; - return this; - } - - /** - * Required. The output of the code execution. - * @return value or {@code null} for none - */ - public java.lang.String getResult() { - return result; - } - - /** - * Required. The output of the code execution. - * @param result result or {@code null} for none - */ - public GenaiVertexV1beta1CodeExecutionResultContent setResult(java.lang.String result) { - this.result = result; - return this; - } - - @Override - public GenaiVertexV1beta1CodeExecutionResultContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1CodeExecutionResultContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1CodeExecutionResultContent clone() { - return (GenaiVertexV1beta1CodeExecutionResultContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Content.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Content.java index 95002245f12..476514cf679 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Content.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1Content.java @@ -53,24 +53,6 @@ public final class GenaiVertexV1beta1Content extends com.google.api.client.json. @com.google.api.client.util.Key private GenaiVertexV1beta1TextContent text; - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ThoughtContent thought; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ToolCallContent toolCall; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ToolResultContent toolResult; - /** * The value may be {@code null}. */ @@ -137,51 +119,6 @@ public GenaiVertexV1beta1Content setText(GenaiVertexV1beta1TextContent text) { return this; } - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ThoughtContent getThought() { - return thought; - } - - /** - * @param thought thought or {@code null} for none - */ - public GenaiVertexV1beta1Content setThought(GenaiVertexV1beta1ThoughtContent thought) { - this.thought = thought; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallContent getToolCall() { - return toolCall; - } - - /** - * @param toolCall toolCall or {@code null} for none - */ - public GenaiVertexV1beta1Content setToolCall(GenaiVertexV1beta1ToolCallContent toolCall) { - this.toolCall = toolCall; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultContent getToolResult() { - return toolResult; - } - - /** - * @param toolResult toolResult or {@code null} for none - */ - public GenaiVertexV1beta1Content setToolResult(GenaiVertexV1beta1ToolResultContent toolResult) { - this.toolResult = toolResult; - return this; - } - /** * @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/GenaiVertexV1beta1ContentDelta.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ContentDelta.java deleted file mode 100644 index ca8856cc32b..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ContentDelta.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * 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 GenaiVertexV1beta1ContentDelta. - * - *

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 GenaiVertexV1beta1ContentDelta extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ContentDeltaData delta; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.Integer index; - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ContentDeltaData getDelta() { - return delta; - } - - /** - * @param delta delta or {@code null} for none - */ - public GenaiVertexV1beta1ContentDelta setDelta(GenaiVertexV1beta1ContentDeltaData delta) { - this.delta = delta; - return this; - } - - /** - * @return value or {@code null} for none - */ - public java.lang.Integer getIndex() { - return index; - } - - /** - * @param index index or {@code null} for none - */ - public GenaiVertexV1beta1ContentDelta setIndex(java.lang.Integer index) { - this.index = index; - return this; - } - - @Override - public GenaiVertexV1beta1ContentDelta set(String fieldName, Object value) { - return (GenaiVertexV1beta1ContentDelta) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1ContentDelta clone() { - return (GenaiVertexV1beta1ContentDelta) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ContentDeltaData.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ContentDeltaData.java deleted file mode 100644 index 56159bc1151..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ContentDeltaData.java +++ /dev/null @@ -1,252 +0,0 @@ -/* - * 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; - -/** - * The delta content data for a content block. - * - *

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 GenaiVertexV1beta1ContentDeltaData extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1AudioDelta audio; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1DocumentDelta document; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ImageDelta image; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1TextDelta text; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1TextAnnotationDelta textAnnotation; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ThoughtSignatureDelta thoughtSignature; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ThoughtSummaryDelta thoughtSummary; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ToolCallDelta toolCall; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ToolResultDelta toolResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1VideoDelta video; - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1AudioDelta getAudio() { - return audio; - } - - /** - * @param audio audio or {@code null} for none - */ - public GenaiVertexV1beta1ContentDeltaData setAudio(GenaiVertexV1beta1AudioDelta audio) { - this.audio = audio; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1DocumentDelta getDocument() { - return document; - } - - /** - * @param document document or {@code null} for none - */ - public GenaiVertexV1beta1ContentDeltaData setDocument(GenaiVertexV1beta1DocumentDelta document) { - this.document = document; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ImageDelta getImage() { - return image; - } - - /** - * @param image image or {@code null} for none - */ - public GenaiVertexV1beta1ContentDeltaData setImage(GenaiVertexV1beta1ImageDelta image) { - this.image = image; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1TextDelta getText() { - return text; - } - - /** - * @param text text or {@code null} for none - */ - public GenaiVertexV1beta1ContentDeltaData setText(GenaiVertexV1beta1TextDelta text) { - this.text = text; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1TextAnnotationDelta getTextAnnotation() { - return textAnnotation; - } - - /** - * @param textAnnotation textAnnotation or {@code null} for none - */ - public GenaiVertexV1beta1ContentDeltaData setTextAnnotation(GenaiVertexV1beta1TextAnnotationDelta textAnnotation) { - this.textAnnotation = textAnnotation; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ThoughtSignatureDelta getThoughtSignature() { - return thoughtSignature; - } - - /** - * @param thoughtSignature thoughtSignature or {@code null} for none - */ - public GenaiVertexV1beta1ContentDeltaData setThoughtSignature(GenaiVertexV1beta1ThoughtSignatureDelta thoughtSignature) { - this.thoughtSignature = thoughtSignature; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ThoughtSummaryDelta getThoughtSummary() { - return thoughtSummary; - } - - /** - * @param thoughtSummary thoughtSummary or {@code null} for none - */ - public GenaiVertexV1beta1ContentDeltaData setThoughtSummary(GenaiVertexV1beta1ThoughtSummaryDelta thoughtSummary) { - this.thoughtSummary = thoughtSummary; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallDelta getToolCall() { - return toolCall; - } - - /** - * @param toolCall toolCall or {@code null} for none - */ - public GenaiVertexV1beta1ContentDeltaData setToolCall(GenaiVertexV1beta1ToolCallDelta toolCall) { - this.toolCall = toolCall; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultDelta getToolResult() { - return toolResult; - } - - /** - * @param toolResult toolResult or {@code null} for none - */ - public GenaiVertexV1beta1ContentDeltaData setToolResult(GenaiVertexV1beta1ToolResultDelta toolResult) { - this.toolResult = toolResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1VideoDelta getVideo() { - return video; - } - - /** - * @param video video or {@code null} for none - */ - public GenaiVertexV1beta1ContentDeltaData setVideo(GenaiVertexV1beta1VideoDelta video) { - this.video = video; - return this; - } - - @Override - public GenaiVertexV1beta1ContentDeltaData set(String fieldName, Object value) { - return (GenaiVertexV1beta1ContentDeltaData) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1ContentDeltaData clone() { - return (GenaiVertexV1beta1ContentDeltaData) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ContentStart.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ContentStart.java deleted file mode 100644 index f8c1cfe8730..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ContentStart.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * 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 GenaiVertexV1beta1ContentStart. - * - *

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 GenaiVertexV1beta1ContentStart extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1Content content; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.Integer index; - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1Content getContent() { - return content; - } - - /** - * @param content content or {@code null} for none - */ - public GenaiVertexV1beta1ContentStart setContent(GenaiVertexV1beta1Content content) { - this.content = content; - return this; - } - - /** - * @return value or {@code null} for none - */ - public java.lang.Integer getIndex() { - return index; - } - - /** - * @param index index or {@code null} for none - */ - public GenaiVertexV1beta1ContentStart setIndex(java.lang.Integer index) { - this.index = index; - return this; - } - - @Override - public GenaiVertexV1beta1ContentStart set(String fieldName, Object value) { - return (GenaiVertexV1beta1ContentStart) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1ContentStart clone() { - return (GenaiVertexV1beta1ContentStart) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ContentStop.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ContentStop.java deleted file mode 100644 index cf78aaae2f6..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ContentStop.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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 GenaiVertexV1beta1ContentStop. - * - *

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 GenaiVertexV1beta1ContentStop extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.Integer index; - - /** - * @return value or {@code null} for none - */ - public java.lang.Integer getIndex() { - return index; - } - - /** - * @param index index or {@code null} for none - */ - public GenaiVertexV1beta1ContentStop setIndex(java.lang.Integer index) { - this.index = index; - return this; - } - - @Override - public GenaiVertexV1beta1ContentStop set(String fieldName, Object value) { - return (GenaiVertexV1beta1ContentStop) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1ContentStop clone() { - return (GenaiVertexV1beta1ContentStop) super.clone(); - } - -} 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 deleted file mode 100644 index c6165436934..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FileSearchResultContent.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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; - -/** - * File Search result content. - * - *

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 GenaiVertexV1beta1FileSearchResultContent extends com.google.api.client.json.GenericJson { - - /** - * The results of the File Search. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List result; - - /** - * The results of the File Search. - * @return value or {@code null} for none - */ - public java.util.List getResult() { - return result; - } - - /** - * The results of the File Search. - * @param result result or {@code null} for none - */ - public GenaiVertexV1beta1FileSearchResultContent setResult(java.util.List result) { - this.result = result; - return this; - } - - @Override - public GenaiVertexV1beta1FileSearchResultContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1FileSearchResultContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1FileSearchResultContent clone() { - return (GenaiVertexV1beta1FileSearchResultContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionCallContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionCallContent.java deleted file mode 100644 index e68e88b77f6..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionCallContent.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * 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; - -/** - * A function tool call content block. - * - *

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 GenaiVertexV1beta1FunctionCallContent extends com.google.api.client.json.GenericJson { - - /** - * Required. The arguments to pass to the function. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1Struct arguments; - - /** - * Required. The name of the tool to call. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** - * Required. The arguments to pass to the function. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1Struct getArguments() { - return arguments; - } - - /** - * Required. The arguments to pass to the function. - * @param arguments arguments or {@code null} for none - */ - public GenaiVertexV1beta1FunctionCallContent setArguments(GenaiVertexV1beta1Struct arguments) { - this.arguments = arguments; - return this; - } - - /** - * Required. The name of the tool to call. - * @return value or {@code null} for none - */ - public java.lang.String getName() { - return name; - } - - /** - * Required. The name of the tool to call. - * @param name name or {@code null} for none - */ - public GenaiVertexV1beta1FunctionCallContent setName(java.lang.String name) { - this.name = name; - return this; - } - - @Override - public GenaiVertexV1beta1FunctionCallContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1FunctionCallContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1FunctionCallContent clone() { - return (GenaiVertexV1beta1FunctionCallContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionCallDelta.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionCallDelta.java deleted file mode 100644 index bca3191848a..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionCallDelta.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * 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 GenaiVertexV1beta1FunctionCallDelta. - * - *

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 GenaiVertexV1beta1FunctionCallDelta extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1Struct arguments; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1Struct getArguments() { - return arguments; - } - - /** - * @param arguments arguments or {@code null} for none - */ - public GenaiVertexV1beta1FunctionCallDelta setArguments(GenaiVertexV1beta1Struct arguments) { - this.arguments = arguments; - return this; - } - - /** - * @return value or {@code null} for none - */ - public java.lang.String getName() { - return name; - } - - /** - * @param name name or {@code null} for none - */ - public GenaiVertexV1beta1FunctionCallDelta setName(java.lang.String name) { - this.name = name; - return this; - } - - @Override - public GenaiVertexV1beta1FunctionCallDelta set(String fieldName, Object value) { - return (GenaiVertexV1beta1FunctionCallDelta) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1FunctionCallDelta clone() { - return (GenaiVertexV1beta1FunctionCallDelta) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionResultContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionResultContent.java deleted file mode 100644 index b258797e01d..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionResultContent.java +++ /dev/null @@ -1,153 +0,0 @@ -/* - * 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; - -/** - * A function tool result content block. - * - *

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 GenaiVertexV1beta1FunctionResultContent extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1FunctionResultSubcontentList contentList; - - /** - * Whether the tool call resulted in an error. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.Boolean isError; - - /** - * The name of the tool that was called. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String stringResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1Struct structResult; - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1FunctionResultSubcontentList getContentList() { - return contentList; - } - - /** - * @param contentList contentList or {@code null} for none - */ - public GenaiVertexV1beta1FunctionResultContent setContentList(GenaiVertexV1beta1FunctionResultSubcontentList contentList) { - this.contentList = contentList; - return this; - } - - /** - * Whether the tool call resulted in an error. - * @return value or {@code null} for none - */ - public java.lang.Boolean getIsError() { - return isError; - } - - /** - * Whether the tool call resulted in an error. - * @param isError isError or {@code null} for none - */ - public GenaiVertexV1beta1FunctionResultContent setIsError(java.lang.Boolean isError) { - this.isError = isError; - return this; - } - - /** - * The name of the tool that was called. - * @return value or {@code null} for none - */ - public java.lang.String getName() { - return name; - } - - /** - * The name of the tool that was called. - * @param name name or {@code null} for none - */ - public GenaiVertexV1beta1FunctionResultContent setName(java.lang.String name) { - this.name = name; - return this; - } - - /** - * @return value or {@code null} for none - */ - public java.lang.String getStringResult() { - return stringResult; - } - - /** - * @param stringResult stringResult or {@code null} for none - */ - public GenaiVertexV1beta1FunctionResultContent setStringResult(java.lang.String stringResult) { - this.stringResult = stringResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1Struct getStructResult() { - return structResult; - } - - /** - * @param structResult structResult or {@code null} for none - */ - public GenaiVertexV1beta1FunctionResultContent setStructResult(GenaiVertexV1beta1Struct structResult) { - this.structResult = structResult; - return this; - } - - @Override - public GenaiVertexV1beta1FunctionResultContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1FunctionResultContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1FunctionResultContent clone() { - return (GenaiVertexV1beta1FunctionResultContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionResultSubcontent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionResultSubcontent.java deleted file mode 100644 index e6401ef4210..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionResultSubcontent.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * 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 GenaiVertexV1beta1FunctionResultSubcontent. - * - *

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 GenaiVertexV1beta1FunctionResultSubcontent extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ImageContent image; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1TextContent text; - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ImageContent getImage() { - return image; - } - - /** - * @param image image or {@code null} for none - */ - public GenaiVertexV1beta1FunctionResultSubcontent setImage(GenaiVertexV1beta1ImageContent image) { - this.image = image; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1TextContent getText() { - return text; - } - - /** - * @param text text or {@code null} for none - */ - public GenaiVertexV1beta1FunctionResultSubcontent setText(GenaiVertexV1beta1TextContent text) { - this.text = text; - return this; - } - - @Override - public GenaiVertexV1beta1FunctionResultSubcontent set(String fieldName, Object value) { - return (GenaiVertexV1beta1FunctionResultSubcontent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1FunctionResultSubcontent clone() { - return (GenaiVertexV1beta1FunctionResultSubcontent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionResultSubcontentList.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionResultSubcontentList.java deleted file mode 100644 index 06b6e53da22..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1FunctionResultSubcontentList.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * 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 GenaiVertexV1beta1FunctionResultSubcontentList. - * - *

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 GenaiVertexV1beta1FunctionResultSubcontentList extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List contents; - - static { - // hack to force ProGuard to consider GenaiVertexV1beta1FunctionResultSubcontent 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(GenaiVertexV1beta1FunctionResultSubcontent.class); - } - - /** - * @return value or {@code null} for none - */ - public java.util.List getContents() { - return contents; - } - - /** - * @param contents contents or {@code null} for none - */ - public GenaiVertexV1beta1FunctionResultSubcontentList setContents(java.util.List contents) { - this.contents = contents; - return this; - } - - @Override - public GenaiVertexV1beta1FunctionResultSubcontentList set(String fieldName, Object value) { - return (GenaiVertexV1beta1FunctionResultSubcontentList) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1FunctionResultSubcontentList clone() { - return (GenaiVertexV1beta1FunctionResultSubcontentList) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GoogleMapsCallContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GoogleMapsCallContent.java deleted file mode 100644 index 2f65e6c2d33..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GoogleMapsCallContent.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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; - -/** - * Google Maps content. - * - *

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 GenaiVertexV1beta1GoogleMapsCallContent extends com.google.api.client.json.GenericJson { - - /** - * The arguments to pass to the Google Maps tool. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments arguments; - - /** - * The arguments to pass to the Google Maps tool. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments getArguments() { - return arguments; - } - - /** - * The arguments to pass to the Google Maps tool. - * @param arguments arguments or {@code null} for none - */ - public GenaiVertexV1beta1GoogleMapsCallContent setArguments(GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments arguments) { - this.arguments = arguments; - return this; - } - - @Override - public GenaiVertexV1beta1GoogleMapsCallContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1GoogleMapsCallContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1GoogleMapsCallContent clone() { - return (GenaiVertexV1beta1GoogleMapsCallContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GoogleMapsResultContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GoogleMapsResultContent.java deleted file mode 100644 index 46a8662c456..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GoogleMapsResultContent.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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; - -/** - * Google Maps result content. - * - *

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 GenaiVertexV1beta1GoogleMapsResultContent extends com.google.api.client.json.GenericJson { - - /** - * Required. The results of the Google Maps. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List result; - - /** - * Required. The results of the Google Maps. - * @return value or {@code null} for none - */ - public java.util.List getResult() { - return result; - } - - /** - * Required. The results of the Google Maps. - * @param result result or {@code null} for none - */ - public GenaiVertexV1beta1GoogleMapsResultContent setResult(java.util.List result) { - this.result = result; - return this; - } - - @Override - public GenaiVertexV1beta1GoogleMapsResultContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1GoogleMapsResultContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1GoogleMapsResultContent clone() { - return (GenaiVertexV1beta1GoogleMapsResultContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GoogleSearchCallContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GoogleSearchCallContent.java deleted file mode 100644 index a42e36273f1..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GoogleSearchCallContent.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * 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; - -/** - * Google Search content. - * - *

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 GenaiVertexV1beta1GoogleSearchCallContent extends com.google.api.client.json.GenericJson { - - /** - * Required. The arguments to pass to Google Search. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments arguments; - - /** - * The type of search grounding enabled. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String searchType; - - /** - * Required. The arguments to pass to Google Search. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments getArguments() { - return arguments; - } - - /** - * Required. The arguments to pass to Google Search. - * @param arguments arguments or {@code null} for none - */ - public GenaiVertexV1beta1GoogleSearchCallContent setArguments(GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments arguments) { - this.arguments = arguments; - return this; - } - - /** - * The type of search grounding enabled. - * @return value or {@code null} for none - */ - public java.lang.String getSearchType() { - return searchType; - } - - /** - * The type of search grounding enabled. - * @param searchType searchType or {@code null} for none - */ - public GenaiVertexV1beta1GoogleSearchCallContent setSearchType(java.lang.String searchType) { - this.searchType = searchType; - return this; - } - - @Override - public GenaiVertexV1beta1GoogleSearchCallContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1GoogleSearchCallContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1GoogleSearchCallContent clone() { - return (GenaiVertexV1beta1GoogleSearchCallContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GoogleSearchResultContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GoogleSearchResultContent.java deleted file mode 100644 index 19833a2ac88..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1GoogleSearchResultContent.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * 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; - -/** - * Google Search result content. - * - *

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 GenaiVertexV1beta1GoogleSearchResultContent extends com.google.api.client.json.GenericJson { - - /** - * Whether the Google Search resulted in an error. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.Boolean isError; - - /** - * Required. The results of the Google Search. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List result; - - /** - * Whether the Google Search resulted in an error. - * @return value or {@code null} for none - */ - public java.lang.Boolean getIsError() { - return isError; - } - - /** - * Whether the Google Search resulted in an error. - * @param isError isError or {@code null} for none - */ - public GenaiVertexV1beta1GoogleSearchResultContent setIsError(java.lang.Boolean isError) { - this.isError = isError; - return this; - } - - /** - * Required. The results of the Google Search. - * @return value or {@code null} for none - */ - public java.util.List getResult() { - return result; - } - - /** - * Required. The results of the Google Search. - * @param result result or {@code null} for none - */ - public GenaiVertexV1beta1GoogleSearchResultContent setResult(java.util.List result) { - this.result = result; - return this; - } - - @Override - public GenaiVertexV1beta1GoogleSearchResultContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1GoogleSearchResultContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1GoogleSearchResultContent clone() { - return (GenaiVertexV1beta1GoogleSearchResultContent) super.clone(); - } - -} 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 32c2d513917..34f0cf7bd64 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 @@ -43,13 +43,6 @@ public final class GenaiVertexV1beta1Interaction extends com.google.api.client.j @com.google.api.client.util.Key private GenaiVertexV1beta1Content content; - /** - * The inputs for the interaction. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ContentList contentList; - /** * Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM- * DDThh:mm:ssZ). @@ -121,19 +114,6 @@ public final class GenaiVertexV1beta1Interaction extends com.google.api.client.j @com.google.api.client.util.Key private GenaiVertexV1beta1ModelInteraction modelInteraction; - /** - * Output only. Responses from the model. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List outputs; - - static { - // hack to force ProGuard to consider GenaiVertexV1beta1Content 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(GenaiVertexV1beta1Content.class); - } - /** * The ID of the previous interaction, if any. * The value may be {@code null}. @@ -147,14 +127,6 @@ public final class GenaiVertexV1beta1Interaction extends com.google.api.client.j @com.google.api.client.util.Key private GenaiVertexV1beta1EnvironmentConfig remoteEnvironment; - /** - * Enforces that the generated response is a JSON object that complies with the JSON schema - * specified in this field. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1Value responseFormat; - /** * The value may be {@code null}. */ @@ -181,13 +153,6 @@ public final class GenaiVertexV1beta1Interaction extends com.google.api.client.j @com.google.api.client.util.Key private java.util.List responseModalities; - /** - * Output only. The role of the interaction. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String role; - /** * Safety settings for the interaction. * The value may be {@code null}. @@ -293,23 +258,6 @@ public GenaiVertexV1beta1Interaction setContent(GenaiVertexV1beta1Content conten return this; } - /** - * The inputs for the interaction. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ContentList getContentList() { - return contentList; - } - - /** - * The inputs for the interaction. - * @param contentList contentList or {@code null} for none - */ - public GenaiVertexV1beta1Interaction setContentList(GenaiVertexV1beta1ContentList contentList) { - this.contentList = contentList; - return this; - } - /** * Required. Output only. The time at which the response was created in ISO 8601 format (YYYY-MM- * DDThh:mm:ssZ). @@ -464,23 +412,6 @@ public GenaiVertexV1beta1Interaction setModelInteraction(GenaiVertexV1beta1Model return this; } - /** - * Output only. Responses from the model. - * @return value or {@code null} for none - */ - public java.util.List getOutputs() { - return outputs; - } - - /** - * Output only. Responses from the model. - * @param outputs outputs or {@code null} for none - */ - public GenaiVertexV1beta1Interaction setOutputs(java.util.List outputs) { - this.outputs = outputs; - return this; - } - /** * The ID of the previous interaction, if any. * @return value or {@code null} for none @@ -513,25 +444,6 @@ public GenaiVertexV1beta1Interaction setRemoteEnvironment(GenaiVertexV1beta1Envi return this; } - /** - * Enforces that the generated response is a JSON object that complies with the JSON schema - * specified in this field. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1Value getResponseFormat() { - return responseFormat; - } - - /** - * Enforces that the generated response is a JSON object that complies with the JSON schema - * specified in this field. - * @param responseFormat responseFormat or {@code null} for none - */ - public GenaiVertexV1beta1Interaction setResponseFormat(GenaiVertexV1beta1Value responseFormat) { - this.responseFormat = responseFormat; - return this; - } - /** * @return value or {@code null} for none */ @@ -596,23 +508,6 @@ public GenaiVertexV1beta1Interaction setResponseModalities(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 GenaiVertexV1beta1InteractionCompleteEvent extends com.google.api.client.json.GenericJson { - - /** - * Required. The completed interaction with empty outputs to reduce the payload size. Use the - * preceding ContentDelta events for the actual output. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1Interaction interaction; - - /** - * Required. The completed interaction with empty outputs to reduce the payload size. Use the - * preceding ContentDelta events for the actual output. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1Interaction getInteraction() { - return interaction; - } - - /** - * Required. The completed interaction with empty outputs to reduce the payload size. Use the - * preceding ContentDelta events for the actual output. - * @param interaction interaction or {@code null} for none - */ - public GenaiVertexV1beta1InteractionCompleteEvent setInteraction(GenaiVertexV1beta1Interaction interaction) { - this.interaction = interaction; - return this; - } - - @Override - public GenaiVertexV1beta1InteractionCompleteEvent set(String fieldName, Object value) { - return (GenaiVertexV1beta1InteractionCompleteEvent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1InteractionCompleteEvent clone() { - return (GenaiVertexV1beta1InteractionCompleteEvent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1InteractionStartEvent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1InteractionStartEvent.java deleted file mode 100644 index 843779600b3..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1InteractionStartEvent.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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 GenaiVertexV1beta1InteractionStartEvent. - * - *

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 GenaiVertexV1beta1InteractionStartEvent extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1Interaction interaction; - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1Interaction getInteraction() { - return interaction; - } - - /** - * @param interaction interaction or {@code null} for none - */ - public GenaiVertexV1beta1InteractionStartEvent setInteraction(GenaiVertexV1beta1Interaction interaction) { - this.interaction = interaction; - return this; - } - - @Override - public GenaiVertexV1beta1InteractionStartEvent set(String fieldName, Object value) { - return (GenaiVertexV1beta1InteractionStartEvent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1InteractionStartEvent clone() { - return (GenaiVertexV1beta1InteractionStartEvent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1InteractionStreamingEvent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1InteractionStreamingEvent.java index 2edcbedf1b7..cf4324e763f 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1InteractionStreamingEvent.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1InteractionStreamingEvent.java @@ -29,30 +29,6 @@ @SuppressWarnings("javadoc") public final class GenaiVertexV1beta1InteractionStreamingEvent extends com.google.api.client.json.GenericJson { - /** - * The content block delta data, used for content.delta events. Legacy content-based streaming - * event, used when steps are disabled. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ContentDelta contentDelta; - - /** - * The content block start data, used for content.start events. Legacy content-based streaming - * event, used when steps are disabled. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ContentStart contentStart; - - /** - * The content block stop data, used for content.stop events. Legacy content-based streaming - * event, used when steps are disabled. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ContentStop contentStop; - /** * The error event data, used for error events. * The value may be {@code null}. @@ -67,14 +43,6 @@ public final class GenaiVertexV1beta1InteractionStreamingEvent extends com.googl @com.google.api.client.util.Key private java.lang.String eventId; - /** - * The interaction data, used for interaction.complete events. Legacy event, used when steps are - * disabled. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1InteractionCompleteEvent interactionCompleteEvent; - /** * The interaction data, used for interaction.completed events. Used when steps are enabled. * The value may be {@code null}. @@ -89,14 +57,6 @@ public final class GenaiVertexV1beta1InteractionStreamingEvent extends com.googl @com.google.api.client.util.Key private GenaiVertexV1beta1InteractionCreatedSseEvent interactionCreatedEvent; - /** - * The interaction data, used for interaction.start events. Legacy event, used when steps are - * disabled. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1InteractionStartEvent interactionStartEvent; - /** * The interaction status data, used for interaction.status_update events. * The value may be {@code null}. @@ -128,63 +88,6 @@ public final class GenaiVertexV1beta1InteractionStreamingEvent extends com.googl @com.google.api.client.util.Key private GenaiVertexV1beta1StepStop stepStop; - /** - * The content block delta data, used for content.delta events. Legacy content-based streaming - * event, used when steps are disabled. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ContentDelta getContentDelta() { - return contentDelta; - } - - /** - * The content block delta data, used for content.delta events. Legacy content-based streaming - * event, used when steps are disabled. - * @param contentDelta contentDelta or {@code null} for none - */ - public GenaiVertexV1beta1InteractionStreamingEvent setContentDelta(GenaiVertexV1beta1ContentDelta contentDelta) { - this.contentDelta = contentDelta; - return this; - } - - /** - * The content block start data, used for content.start events. Legacy content-based streaming - * event, used when steps are disabled. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ContentStart getContentStart() { - return contentStart; - } - - /** - * The content block start data, used for content.start events. Legacy content-based streaming - * event, used when steps are disabled. - * @param contentStart contentStart or {@code null} for none - */ - public GenaiVertexV1beta1InteractionStreamingEvent setContentStart(GenaiVertexV1beta1ContentStart contentStart) { - this.contentStart = contentStart; - return this; - } - - /** - * The content block stop data, used for content.stop events. Legacy content-based streaming - * event, used when steps are disabled. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ContentStop getContentStop() { - return contentStop; - } - - /** - * The content block stop data, used for content.stop events. Legacy content-based streaming - * event, used when steps are disabled. - * @param contentStop contentStop or {@code null} for none - */ - public GenaiVertexV1beta1InteractionStreamingEvent setContentStop(GenaiVertexV1beta1ContentStop contentStop) { - this.contentStop = contentStop; - return this; - } - /** * The error event data, used for error events. * @return value or {@code null} for none @@ -219,25 +122,6 @@ public GenaiVertexV1beta1InteractionStreamingEvent setEventId(java.lang.String e return this; } - /** - * The interaction data, used for interaction.complete events. Legacy event, used when steps are - * disabled. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1InteractionCompleteEvent getInteractionCompleteEvent() { - return interactionCompleteEvent; - } - - /** - * The interaction data, used for interaction.complete events. Legacy event, used when steps are - * disabled. - * @param interactionCompleteEvent interactionCompleteEvent or {@code null} for none - */ - public GenaiVertexV1beta1InteractionStreamingEvent setInteractionCompleteEvent(GenaiVertexV1beta1InteractionCompleteEvent interactionCompleteEvent) { - this.interactionCompleteEvent = interactionCompleteEvent; - return this; - } - /** * The interaction data, used for interaction.completed events. Used when steps are enabled. * @return value or {@code null} for none @@ -272,25 +156,6 @@ public GenaiVertexV1beta1InteractionStreamingEvent setInteractionCreatedEvent(Ge return this; } - /** - * The interaction data, used for interaction.start events. Legacy event, used when steps are - * disabled. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1InteractionStartEvent getInteractionStartEvent() { - return interactionStartEvent; - } - - /** - * The interaction data, used for interaction.start events. Legacy event, used when steps are - * disabled. - * @param interactionStartEvent interactionStartEvent or {@code null} for none - */ - public GenaiVertexV1beta1InteractionStreamingEvent setInteractionStartEvent(GenaiVertexV1beta1InteractionStartEvent interactionStartEvent) { - this.interactionStartEvent = interactionStartEvent; - return this; - } - /** * The interaction status data, used for interaction.status_update events. * @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/GenaiVertexV1beta1McpServerToolCallContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1McpServerToolCallContent.java deleted file mode 100644 index b0d99d4c65e..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1McpServerToolCallContent.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * 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; - -/** - * MCPServer tool call content. - * - *

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 GenaiVertexV1beta1McpServerToolCallContent extends com.google.api.client.json.GenericJson { - - /** - * Required. The JSON object of arguments for the function. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1Struct arguments; - - /** - * Required. The name of the tool which was called. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** - * Required. The name of the used MCP server. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String serverName; - - /** - * Required. The JSON object of arguments for the function. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1Struct getArguments() { - return arguments; - } - - /** - * Required. The JSON object of arguments for the function. - * @param arguments arguments or {@code null} for none - */ - public GenaiVertexV1beta1McpServerToolCallContent setArguments(GenaiVertexV1beta1Struct arguments) { - this.arguments = arguments; - return this; - } - - /** - * Required. The name of the tool which was called. - * @return value or {@code null} for none - */ - public java.lang.String getName() { - return name; - } - - /** - * Required. The name of the tool which was called. - * @param name name or {@code null} for none - */ - public GenaiVertexV1beta1McpServerToolCallContent setName(java.lang.String name) { - this.name = name; - return this; - } - - /** - * Required. The name of the used MCP server. - * @return value or {@code null} for none - */ - public java.lang.String getServerName() { - return serverName; - } - - /** - * Required. The name of the used MCP server. - * @param serverName serverName or {@code null} for none - */ - public GenaiVertexV1beta1McpServerToolCallContent setServerName(java.lang.String serverName) { - this.serverName = serverName; - return this; - } - - @Override - public GenaiVertexV1beta1McpServerToolCallContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1McpServerToolCallContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1McpServerToolCallContent clone() { - return (GenaiVertexV1beta1McpServerToolCallContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1McpServerToolResultContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1McpServerToolResultContent.java deleted file mode 100644 index 87feca1439e..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1McpServerToolResultContent.java +++ /dev/null @@ -1,153 +0,0 @@ -/* - * 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; - -/** - * MCPServer tool result content. - * - *

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 GenaiVertexV1beta1McpServerToolResultContent extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1FunctionResultSubcontentList contentList; - - /** - * Name of the tool which is called for this specific tool call. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** - * The name of the used MCP server. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String serverName; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String stringResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1Struct structResult; - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1FunctionResultSubcontentList getContentList() { - return contentList; - } - - /** - * @param contentList contentList or {@code null} for none - */ - public GenaiVertexV1beta1McpServerToolResultContent setContentList(GenaiVertexV1beta1FunctionResultSubcontentList contentList) { - this.contentList = contentList; - return this; - } - - /** - * Name of the tool which is called for this specific tool call. - * @return value or {@code null} for none - */ - public java.lang.String getName() { - return name; - } - - /** - * Name of the tool which is called for this specific tool call. - * @param name name or {@code null} for none - */ - public GenaiVertexV1beta1McpServerToolResultContent setName(java.lang.String name) { - this.name = name; - return this; - } - - /** - * The name of the used MCP server. - * @return value or {@code null} for none - */ - public java.lang.String getServerName() { - return serverName; - } - - /** - * The name of the used MCP server. - * @param serverName serverName or {@code null} for none - */ - public GenaiVertexV1beta1McpServerToolResultContent setServerName(java.lang.String serverName) { - this.serverName = serverName; - return this; - } - - /** - * @return value or {@code null} for none - */ - public java.lang.String getStringResult() { - return stringResult; - } - - /** - * @param stringResult stringResult or {@code null} for none - */ - public GenaiVertexV1beta1McpServerToolResultContent setStringResult(java.lang.String stringResult) { - this.stringResult = stringResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1Struct getStructResult() { - return structResult; - } - - /** - * @param structResult structResult or {@code null} for none - */ - public GenaiVertexV1beta1McpServerToolResultContent setStructResult(GenaiVertexV1beta1Struct structResult) { - this.structResult = structResult; - return this; - } - - @Override - public GenaiVertexV1beta1McpServerToolResultContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1McpServerToolResultContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1McpServerToolResultContent clone() { - return (GenaiVertexV1beta1McpServerToolResultContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ThoughtContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ThoughtContent.java deleted file mode 100644 index 4b77e20bf7f..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ThoughtContent.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * 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; - -/** - * A thought content block. - * - *

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 GenaiVertexV1beta1ThoughtContent extends com.google.api.client.json.GenericJson { - - /** - * Signature to match the backend source to be part of the generation. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String signature; - - /** - * A summary of the thought. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List summary; - - /** - * Signature to match the backend source to be part of the generation. - * @see #decodeSignature() - * @return value or {@code null} for none - */ - public java.lang.String getSignature() { - return signature; - } - - /** - * Signature to match the backend source to be part of the generation. - * @see #getSignature() - * @return Base64 decoded value or {@code null} for none - * - * @since 1.14 - */ - public byte[] decodeSignature() { - return com.google.api.client.util.Base64.decodeBase64(signature); - } - - /** - * Signature to match the backend source to be part of the generation. - * @see #encodeSignature() - * @param signature signature or {@code null} for none - */ - public GenaiVertexV1beta1ThoughtContent setSignature(java.lang.String signature) { - this.signature = signature; - return this; - } - - /** - * Signature to match the backend source to be part of the generation. - * @see #setSignature() - * - *

- * The value is encoded Base64 or {@code null} for none. - *

- * - * @since 1.14 - */ - public GenaiVertexV1beta1ThoughtContent encodeSignature(byte[] signature) { - this.signature = com.google.api.client.util.Base64.encodeBase64URLSafeString(signature); - return this; - } - - /** - * A summary of the thought. - * @return value or {@code null} for none - */ - public java.util.List getSummary() { - return summary; - } - - /** - * A summary of the thought. - * @param summary summary or {@code null} for none - */ - public GenaiVertexV1beta1ThoughtContent setSummary(java.util.List summary) { - this.summary = summary; - return this; - } - - @Override - public GenaiVertexV1beta1ThoughtContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1ThoughtContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1ThoughtContent clone() { - return (GenaiVertexV1beta1ThoughtContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ThoughtSummaryContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ThoughtSummaryContent.java deleted file mode 100644 index 43a6e6862e4..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ThoughtSummaryContent.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * 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 GenaiVertexV1beta1ThoughtSummaryContent. - * - *

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 GenaiVertexV1beta1ThoughtSummaryContent extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1ImageContent image; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1TextContent text; - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1ImageContent getImage() { - return image; - } - - /** - * @param image image or {@code null} for none - */ - public GenaiVertexV1beta1ThoughtSummaryContent setImage(GenaiVertexV1beta1ImageContent image) { - this.image = image; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1TextContent getText() { - return text; - } - - /** - * @param text text or {@code null} for none - */ - public GenaiVertexV1beta1ThoughtSummaryContent setText(GenaiVertexV1beta1TextContent text) { - this.text = text; - return this; - } - - @Override - public GenaiVertexV1beta1ThoughtSummaryContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1ThoughtSummaryContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1ThoughtSummaryContent clone() { - return (GenaiVertexV1beta1ThoughtSummaryContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ToolCallContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ToolCallContent.java deleted file mode 100644 index a662bce0d5b..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ToolCallContent.java +++ /dev/null @@ -1,265 +0,0 @@ -/* - * 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; - -/** - * Tool call content. - * - *

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 GenaiVertexV1beta1ToolCallContent extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1CodeExecutionCallContent codeExecutionCall; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1FileSearchCallContent fileSearchCall; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1FunctionCallContent functionCall; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1GoogleMapsCallContent googleMapsCall; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1GoogleSearchCallContent googleSearchCall; - - /** - * Required. A unique ID for this specific tool call. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String id; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1McpServerToolCallContent mcpServerToolCall; - - /** - * A signature hash for backend validation. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String signature; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1UrlContextCallContent urlContextCall; - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1CodeExecutionCallContent getCodeExecutionCall() { - return codeExecutionCall; - } - - /** - * @param codeExecutionCall codeExecutionCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallContent setCodeExecutionCall(GenaiVertexV1beta1CodeExecutionCallContent codeExecutionCall) { - this.codeExecutionCall = codeExecutionCall; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1FileSearchCallContent getFileSearchCall() { - return fileSearchCall; - } - - /** - * @param fileSearchCall fileSearchCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallContent setFileSearchCall(GenaiVertexV1beta1FileSearchCallContent fileSearchCall) { - this.fileSearchCall = fileSearchCall; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1FunctionCallContent getFunctionCall() { - return functionCall; - } - - /** - * @param functionCall functionCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallContent setFunctionCall(GenaiVertexV1beta1FunctionCallContent functionCall) { - this.functionCall = functionCall; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1GoogleMapsCallContent getGoogleMapsCall() { - return googleMapsCall; - } - - /** - * @param googleMapsCall googleMapsCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallContent setGoogleMapsCall(GenaiVertexV1beta1GoogleMapsCallContent googleMapsCall) { - this.googleMapsCall = googleMapsCall; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1GoogleSearchCallContent getGoogleSearchCall() { - return googleSearchCall; - } - - /** - * @param googleSearchCall googleSearchCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallContent setGoogleSearchCall(GenaiVertexV1beta1GoogleSearchCallContent googleSearchCall) { - this.googleSearchCall = googleSearchCall; - return this; - } - - /** - * Required. A unique ID for this specific tool call. - * @return value or {@code null} for none - */ - public java.lang.String getId() { - return id; - } - - /** - * Required. A unique ID for this specific tool call. - * @param id id or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallContent setId(java.lang.String id) { - this.id = id; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1McpServerToolCallContent getMcpServerToolCall() { - return mcpServerToolCall; - } - - /** - * @param mcpServerToolCall mcpServerToolCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallContent setMcpServerToolCall(GenaiVertexV1beta1McpServerToolCallContent mcpServerToolCall) { - this.mcpServerToolCall = mcpServerToolCall; - return this; - } - - /** - * A signature hash for backend validation. - * @see #decodeSignature() - * @return value or {@code null} for none - */ - public java.lang.String getSignature() { - return signature; - } - - /** - * A signature hash for backend validation. - * @see #getSignature() - * @return Base64 decoded value or {@code null} for none - * - * @since 1.14 - */ - public byte[] decodeSignature() { - return com.google.api.client.util.Base64.decodeBase64(signature); - } - - /** - * A signature hash for backend validation. - * @see #encodeSignature() - * @param signature signature or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallContent setSignature(java.lang.String signature) { - this.signature = signature; - return this; - } - - /** - * A signature hash for backend validation. - * @see #setSignature() - * - *

- * The value is encoded Base64 or {@code null} for none. - *

- * - * @since 1.14 - */ - public GenaiVertexV1beta1ToolCallContent encodeSignature(byte[] signature) { - this.signature = com.google.api.client.util.Base64.encodeBase64URLSafeString(signature); - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1UrlContextCallContent getUrlContextCall() { - return urlContextCall; - } - - /** - * @param urlContextCall urlContextCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallContent setUrlContextCall(GenaiVertexV1beta1UrlContextCallContent urlContextCall) { - this.urlContextCall = urlContextCall; - return this; - } - - @Override - public GenaiVertexV1beta1ToolCallContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1ToolCallContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1ToolCallContent clone() { - return (GenaiVertexV1beta1ToolCallContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ToolCallDelta.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ToolCallDelta.java deleted file mode 100644 index b68b4e556bb..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ToolCallDelta.java +++ /dev/null @@ -1,265 +0,0 @@ -/* - * 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 GenaiVertexV1beta1ToolCallDelta. - * - *

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 GenaiVertexV1beta1ToolCallDelta extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1CodeExecutionCallDelta codeExecutionCall; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1FileSearchCallDelta fileSearchCall; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1FunctionCallDelta functionCall; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1GoogleMapsCallDelta googleMapsCall; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1GoogleSearchCallDelta googleSearchCall; - - /** - * Required. A unique ID for this specific tool call. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String id; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1McpServerToolCallDelta mcpServerToolCall; - - /** - * A signature hash for backend validation. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String signature; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1UrlContextCallDelta urlContextCall; - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1CodeExecutionCallDelta getCodeExecutionCall() { - return codeExecutionCall; - } - - /** - * @param codeExecutionCall codeExecutionCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallDelta setCodeExecutionCall(GenaiVertexV1beta1CodeExecutionCallDelta codeExecutionCall) { - this.codeExecutionCall = codeExecutionCall; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1FileSearchCallDelta getFileSearchCall() { - return fileSearchCall; - } - - /** - * @param fileSearchCall fileSearchCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallDelta setFileSearchCall(GenaiVertexV1beta1FileSearchCallDelta fileSearchCall) { - this.fileSearchCall = fileSearchCall; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1FunctionCallDelta getFunctionCall() { - return functionCall; - } - - /** - * @param functionCall functionCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallDelta setFunctionCall(GenaiVertexV1beta1FunctionCallDelta functionCall) { - this.functionCall = functionCall; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1GoogleMapsCallDelta getGoogleMapsCall() { - return googleMapsCall; - } - - /** - * @param googleMapsCall googleMapsCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallDelta setGoogleMapsCall(GenaiVertexV1beta1GoogleMapsCallDelta googleMapsCall) { - this.googleMapsCall = googleMapsCall; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1GoogleSearchCallDelta getGoogleSearchCall() { - return googleSearchCall; - } - - /** - * @param googleSearchCall googleSearchCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallDelta setGoogleSearchCall(GenaiVertexV1beta1GoogleSearchCallDelta googleSearchCall) { - this.googleSearchCall = googleSearchCall; - return this; - } - - /** - * Required. A unique ID for this specific tool call. - * @return value or {@code null} for none - */ - public java.lang.String getId() { - return id; - } - - /** - * Required. A unique ID for this specific tool call. - * @param id id or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallDelta setId(java.lang.String id) { - this.id = id; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1McpServerToolCallDelta getMcpServerToolCall() { - return mcpServerToolCall; - } - - /** - * @param mcpServerToolCall mcpServerToolCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallDelta setMcpServerToolCall(GenaiVertexV1beta1McpServerToolCallDelta mcpServerToolCall) { - this.mcpServerToolCall = mcpServerToolCall; - return this; - } - - /** - * A signature hash for backend validation. - * @see #decodeSignature() - * @return value or {@code null} for none - */ - public java.lang.String getSignature() { - return signature; - } - - /** - * A signature hash for backend validation. - * @see #getSignature() - * @return Base64 decoded value or {@code null} for none - * - * @since 1.14 - */ - public byte[] decodeSignature() { - return com.google.api.client.util.Base64.decodeBase64(signature); - } - - /** - * A signature hash for backend validation. - * @see #encodeSignature() - * @param signature signature or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallDelta setSignature(java.lang.String signature) { - this.signature = signature; - return this; - } - - /** - * A signature hash for backend validation. - * @see #setSignature() - * - *

- * The value is encoded Base64 or {@code null} for none. - *

- * - * @since 1.14 - */ - public GenaiVertexV1beta1ToolCallDelta encodeSignature(byte[] signature) { - this.signature = com.google.api.client.util.Base64.encodeBase64URLSafeString(signature); - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1UrlContextCallDelta getUrlContextCall() { - return urlContextCall; - } - - /** - * @param urlContextCall urlContextCall or {@code null} for none - */ - public GenaiVertexV1beta1ToolCallDelta setUrlContextCall(GenaiVertexV1beta1UrlContextCallDelta urlContextCall) { - this.urlContextCall = urlContextCall; - return this; - } - - @Override - public GenaiVertexV1beta1ToolCallDelta set(String fieldName, Object value) { - return (GenaiVertexV1beta1ToolCallDelta) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1ToolCallDelta clone() { - return (GenaiVertexV1beta1ToolCallDelta) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ToolResultContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ToolResultContent.java deleted file mode 100644 index a2706e462f4..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ToolResultContent.java +++ /dev/null @@ -1,265 +0,0 @@ -/* - * 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; - -/** - * Tool result content. - * - *

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 GenaiVertexV1beta1ToolResultContent extends com.google.api.client.json.GenericJson { - - /** - * Required. ID to match the ID from the function call block. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String callId; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1CodeExecutionResultContent codeExecutionResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1FileSearchResultContent fileSearchResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1FunctionResultContent functionResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1GoogleMapsResultContent googleMapsResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1GoogleSearchResultContent googleSearchResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1McpServerToolResultContent mcpServerToolResult; - - /** - * A signature hash for backend validation. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String signature; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1UrlContextResultContent urlContextResult; - - /** - * Required. ID to match the ID from the function call block. - * @return value or {@code null} for none - */ - public java.lang.String getCallId() { - return callId; - } - - /** - * Required. ID to match the ID from the function call block. - * @param callId callId or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultContent setCallId(java.lang.String callId) { - this.callId = callId; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1CodeExecutionResultContent getCodeExecutionResult() { - return codeExecutionResult; - } - - /** - * @param codeExecutionResult codeExecutionResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultContent setCodeExecutionResult(GenaiVertexV1beta1CodeExecutionResultContent codeExecutionResult) { - this.codeExecutionResult = codeExecutionResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1FileSearchResultContent getFileSearchResult() { - return fileSearchResult; - } - - /** - * @param fileSearchResult fileSearchResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultContent setFileSearchResult(GenaiVertexV1beta1FileSearchResultContent fileSearchResult) { - this.fileSearchResult = fileSearchResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1FunctionResultContent getFunctionResult() { - return functionResult; - } - - /** - * @param functionResult functionResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultContent setFunctionResult(GenaiVertexV1beta1FunctionResultContent functionResult) { - this.functionResult = functionResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1GoogleMapsResultContent getGoogleMapsResult() { - return googleMapsResult; - } - - /** - * @param googleMapsResult googleMapsResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultContent setGoogleMapsResult(GenaiVertexV1beta1GoogleMapsResultContent googleMapsResult) { - this.googleMapsResult = googleMapsResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1GoogleSearchResultContent getGoogleSearchResult() { - return googleSearchResult; - } - - /** - * @param googleSearchResult googleSearchResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultContent setGoogleSearchResult(GenaiVertexV1beta1GoogleSearchResultContent googleSearchResult) { - this.googleSearchResult = googleSearchResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1McpServerToolResultContent getMcpServerToolResult() { - return mcpServerToolResult; - } - - /** - * @param mcpServerToolResult mcpServerToolResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultContent setMcpServerToolResult(GenaiVertexV1beta1McpServerToolResultContent mcpServerToolResult) { - this.mcpServerToolResult = mcpServerToolResult; - return this; - } - - /** - * A signature hash for backend validation. - * @see #decodeSignature() - * @return value or {@code null} for none - */ - public java.lang.String getSignature() { - return signature; - } - - /** - * A signature hash for backend validation. - * @see #getSignature() - * @return Base64 decoded value or {@code null} for none - * - * @since 1.14 - */ - public byte[] decodeSignature() { - return com.google.api.client.util.Base64.decodeBase64(signature); - } - - /** - * A signature hash for backend validation. - * @see #encodeSignature() - * @param signature signature or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultContent setSignature(java.lang.String signature) { - this.signature = signature; - return this; - } - - /** - * A signature hash for backend validation. - * @see #setSignature() - * - *

- * The value is encoded Base64 or {@code null} for none. - *

- * - * @since 1.14 - */ - public GenaiVertexV1beta1ToolResultContent encodeSignature(byte[] signature) { - this.signature = com.google.api.client.util.Base64.encodeBase64URLSafeString(signature); - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1UrlContextResultContent getUrlContextResult() { - return urlContextResult; - } - - /** - * @param urlContextResult urlContextResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultContent setUrlContextResult(GenaiVertexV1beta1UrlContextResultContent urlContextResult) { - this.urlContextResult = urlContextResult; - return this; - } - - @Override - public GenaiVertexV1beta1ToolResultContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1ToolResultContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1ToolResultContent clone() { - return (GenaiVertexV1beta1ToolResultContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ToolResultDelta.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ToolResultDelta.java deleted file mode 100644 index d7e0ada55c4..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ToolResultDelta.java +++ /dev/null @@ -1,265 +0,0 @@ -/* - * 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 GenaiVertexV1beta1ToolResultDelta. - * - *

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 GenaiVertexV1beta1ToolResultDelta extends com.google.api.client.json.GenericJson { - - /** - * Required. ID to match the ID from the function call block. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String callId; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1CodeExecutionResultDelta codeExecutionResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1FileSearchResultDelta fileSearchResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1FunctionResultDelta functionResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1GoogleMapsResultDelta googleMapsResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1GoogleSearchResultDelta googleSearchResult; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1McpServerToolResultDelta mcpServerToolResult; - - /** - * A signature hash for backend validation. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String signature; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1UrlContextResultDelta urlContextResult; - - /** - * Required. ID to match the ID from the function call block. - * @return value or {@code null} for none - */ - public java.lang.String getCallId() { - return callId; - } - - /** - * Required. ID to match the ID from the function call block. - * @param callId callId or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultDelta setCallId(java.lang.String callId) { - this.callId = callId; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1CodeExecutionResultDelta getCodeExecutionResult() { - return codeExecutionResult; - } - - /** - * @param codeExecutionResult codeExecutionResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultDelta setCodeExecutionResult(GenaiVertexV1beta1CodeExecutionResultDelta codeExecutionResult) { - this.codeExecutionResult = codeExecutionResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1FileSearchResultDelta getFileSearchResult() { - return fileSearchResult; - } - - /** - * @param fileSearchResult fileSearchResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultDelta setFileSearchResult(GenaiVertexV1beta1FileSearchResultDelta fileSearchResult) { - this.fileSearchResult = fileSearchResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1FunctionResultDelta getFunctionResult() { - return functionResult; - } - - /** - * @param functionResult functionResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultDelta setFunctionResult(GenaiVertexV1beta1FunctionResultDelta functionResult) { - this.functionResult = functionResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1GoogleMapsResultDelta getGoogleMapsResult() { - return googleMapsResult; - } - - /** - * @param googleMapsResult googleMapsResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultDelta setGoogleMapsResult(GenaiVertexV1beta1GoogleMapsResultDelta googleMapsResult) { - this.googleMapsResult = googleMapsResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1GoogleSearchResultDelta getGoogleSearchResult() { - return googleSearchResult; - } - - /** - * @param googleSearchResult googleSearchResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultDelta setGoogleSearchResult(GenaiVertexV1beta1GoogleSearchResultDelta googleSearchResult) { - this.googleSearchResult = googleSearchResult; - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1McpServerToolResultDelta getMcpServerToolResult() { - return mcpServerToolResult; - } - - /** - * @param mcpServerToolResult mcpServerToolResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultDelta setMcpServerToolResult(GenaiVertexV1beta1McpServerToolResultDelta mcpServerToolResult) { - this.mcpServerToolResult = mcpServerToolResult; - return this; - } - - /** - * A signature hash for backend validation. - * @see #decodeSignature() - * @return value or {@code null} for none - */ - public java.lang.String getSignature() { - return signature; - } - - /** - * A signature hash for backend validation. - * @see #getSignature() - * @return Base64 decoded value or {@code null} for none - * - * @since 1.14 - */ - public byte[] decodeSignature() { - return com.google.api.client.util.Base64.decodeBase64(signature); - } - - /** - * A signature hash for backend validation. - * @see #encodeSignature() - * @param signature signature or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultDelta setSignature(java.lang.String signature) { - this.signature = signature; - return this; - } - - /** - * A signature hash for backend validation. - * @see #setSignature() - * - *

- * The value is encoded Base64 or {@code null} for none. - *

- * - * @since 1.14 - */ - public GenaiVertexV1beta1ToolResultDelta encodeSignature(byte[] signature) { - this.signature = com.google.api.client.util.Base64.encodeBase64URLSafeString(signature); - return this; - } - - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1UrlContextResultDelta getUrlContextResult() { - return urlContextResult; - } - - /** - * @param urlContextResult urlContextResult or {@code null} for none - */ - public GenaiVertexV1beta1ToolResultDelta setUrlContextResult(GenaiVertexV1beta1UrlContextResultDelta urlContextResult) { - this.urlContextResult = urlContextResult; - return this; - } - - @Override - public GenaiVertexV1beta1ToolResultDelta set(String fieldName, Object value) { - return (GenaiVertexV1beta1ToolResultDelta) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1ToolResultDelta clone() { - return (GenaiVertexV1beta1ToolResultDelta) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1UrlContextCallContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1UrlContextCallContent.java deleted file mode 100644 index c9f258901fd..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1UrlContextCallContent.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * 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; - -/** - * URL context content. - * - *

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 GenaiVertexV1beta1UrlContextCallContent extends com.google.api.client.json.GenericJson { - - /** - * Required. The arguments to pass to the URL context. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments arguments; - - /** - * Required. The arguments to pass to the URL context. - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments getArguments() { - return arguments; - } - - /** - * Required. The arguments to pass to the URL context. - * @param arguments arguments or {@code null} for none - */ - public GenaiVertexV1beta1UrlContextCallContent setArguments(GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments arguments) { - this.arguments = arguments; - return this; - } - - @Override - public GenaiVertexV1beta1UrlContextCallContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1UrlContextCallContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1UrlContextCallContent clone() { - return (GenaiVertexV1beta1UrlContextCallContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1UrlContextResultContent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1UrlContextResultContent.java deleted file mode 100644 index 4a65ea004b5..00000000000 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1UrlContextResultContent.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * 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; - -/** - * URL context result content. - * - *

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 GenaiVertexV1beta1UrlContextResultContent extends com.google.api.client.json.GenericJson { - - /** - * Whether the URL context resulted in an error. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.Boolean isError; - - /** - * Required. The results of the URL context. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.List result; - - /** - * Whether the URL context resulted in an error. - * @return value or {@code null} for none - */ - public java.lang.Boolean getIsError() { - return isError; - } - - /** - * Whether the URL context resulted in an error. - * @param isError isError or {@code null} for none - */ - public GenaiVertexV1beta1UrlContextResultContent setIsError(java.lang.Boolean isError) { - this.isError = isError; - return this; - } - - /** - * Required. The results of the URL context. - * @return value or {@code null} for none - */ - public java.util.List getResult() { - return result; - } - - /** - * Required. The results of the URL context. - * @param result result or {@code null} for none - */ - public GenaiVertexV1beta1UrlContextResultContent setResult(java.util.List result) { - this.result = result; - return this; - } - - @Override - public GenaiVertexV1beta1UrlContextResultContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1UrlContextResultContent) super.set(fieldName, value); - } - - @Override - public GenaiVertexV1beta1UrlContextResultContent clone() { - return (GenaiVertexV1beta1UrlContextResultContent) super.clone(); - } - -} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1A2APart.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1A2APart.java index 805055e4627..a5f7938dfa1 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1A2APart.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1A2APart.java @@ -34,7 +34,7 @@ public final class GoogleCloudAiplatformV1beta1A2APart extends com.google.api.cl * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.lang.Object data; + private java.util.Map data; /** * Optional. The name of the file, when the part represents a file. @@ -83,7 +83,7 @@ public final class GoogleCloudAiplatformV1beta1A2APart extends com.google.api.cl * Optional. Arbitrary data content. * @return value or {@code null} for none */ - public java.lang.Object getData() { + public java.util.Map getData() { return data; } @@ -91,7 +91,7 @@ public java.lang.Object getData() { * Optional. Arbitrary data content. * @param data data or {@code null} for none */ - public GoogleCloudAiplatformV1beta1A2APart setData(java.lang.Object data) { + public GoogleCloudAiplatformV1beta1A2APart setData(java.util.Map data) { this.data = data; return this; } diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AgentTool.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AgentTool.java index 3011d4c4485..0603896164d 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AgentTool.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AgentTool.java @@ -38,8 +38,8 @@ public final class GoogleCloudAiplatformV1beta1AgentTool extends com.google.api. private java.util.Map headers; /** - * Optional. The tool's GCP resource name, used to resolve the tool. Applicable when `type` is - * `mcp_server` or `endpoint` (a tool registered in Agent Registry), for example + * Optional. The tool's Google Cloud resource name, used to resolve the tool. Applicable when + * `type` is `mcp_server` or `endpoint` (a tool registered in Agent Registry), for example * `projects/{project}/locations/{location}/.../mcpServers/{id}` or * `projects/{project}/locations/{location}/.../endpoints/{id}`. * The value may be {@code null}. @@ -86,8 +86,8 @@ public GoogleCloudAiplatformV1beta1AgentTool setHeaders(java.util.Map 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,16 +27,16 @@ * @author Google, Inc. */ @SuppressWarnings("javadoc") -public final class GenaiVertexV1beta1FileSearchCallContent extends com.google.api.client.json.GenericJson { +public final class GoogleCloudAiplatformV1beta1ClearTrainingDataRequest extends com.google.api.client.json.GenericJson { @Override - public GenaiVertexV1beta1FileSearchCallContent set(String fieldName, Object value) { - return (GenaiVertexV1beta1FileSearchCallContent) super.set(fieldName, value); + public GoogleCloudAiplatformV1beta1ClearTrainingDataRequest set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1ClearTrainingDataRequest) super.set(fieldName, value); } @Override - public GenaiVertexV1beta1FileSearchCallContent clone() { - return (GenaiVertexV1beta1FileSearchCallContent) super.clone(); + public GoogleCloudAiplatformV1beta1ClearTrainingDataRequest clone() { + return (GoogleCloudAiplatformV1beta1ClearTrainingDataRequest) super.clone(); } } diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig.java new file mode 100644 index 00000000000..9b9b053ee2f --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig.java @@ -0,0 +1,75 @@ +/* + * 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; + +/** + * Config for scraping a Discovery Engine Assistant. + * + *

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 GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig extends com.google.api.client.json.GenericJson { + + /** + * Required. The resource name of the Discovery Engine Assistant. Format: `projects/{project}/loca + * tions/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`. For + * example: `projects/123/locations/global/collections/default_collection/engines/my- + * engine/assistants/default_assistant`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String assistant; + + /** + * Required. The resource name of the Discovery Engine Assistant. Format: `projects/{project}/loca + * tions/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`. For + * example: `projects/123/locations/global/collections/default_collection/engines/my- + * engine/assistants/default_assistant`. + * @return value or {@code null} for none + */ + public java.lang.String getAssistant() { + return assistant; + } + + /** + * Required. The resource name of the Discovery Engine Assistant. Format: `projects/{project}/loca + * tions/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}`. For + * example: `projects/123/locations/global/collections/default_collection/engines/my- + * engine/assistants/default_assistant`. + * @param assistant assistant or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig setAssistant(java.lang.String assistant) { + this.assistant = assistant; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig clone() { + return (GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationExperiment.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationExperiment.java new file mode 100644 index 00000000000..7ec8c5f643a --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationExperiment.java @@ -0,0 +1,217 @@ +/* + * 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; + +/** + * EvaluationExperiment is a resource that represents an experiment for iterating on and visualizing + * evaluation runs. + * + *

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 GoogleCloudAiplatformV1beta1EvaluationExperiment extends com.google.api.client.json.GenericJson { + + /** + * Output only. Timestamp when this experiment was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Required. The display name of the evaluation experiment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Required. The EvaluationRuns that are part of this experiment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List evaluationRuns; + + /** + * Optional. Labels for the evaluation experiment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map labels; + + /** + * Optional. Metadata about the evaluation experiment, can be used by the caller to store + * additional tracking information about the experiment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map metadata; + + /** + * Identifier. The resource name of the EvaluationExperiment. This is a unique identifier. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. Timestamp when this experiment was last updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. Timestamp when this experiment was created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. Timestamp when this experiment was created. + * @param createTime createTime or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1EvaluationExperiment setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Required. The display name of the evaluation experiment. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Required. The display name of the evaluation experiment. + * @param displayName displayName or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1EvaluationExperiment setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Required. The EvaluationRuns that are part of this experiment. + * @return value or {@code null} for none + */ + public java.util.List getEvaluationRuns() { + return evaluationRuns; + } + + /** + * Required. The EvaluationRuns that are part of this experiment. + * @param evaluationRuns evaluationRuns or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1EvaluationExperiment setEvaluationRuns(java.util.List evaluationRuns) { + this.evaluationRuns = evaluationRuns; + return this; + } + + /** + * Optional. Labels for the evaluation experiment. + * @return value or {@code null} for none + */ + public java.util.Map getLabels() { + return labels; + } + + /** + * Optional. Labels for the evaluation experiment. + * @param labels labels or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1EvaluationExperiment setLabels(java.util.Map labels) { + this.labels = labels; + return this; + } + + /** + * Optional. Metadata about the evaluation experiment, can be used by the caller to store + * additional tracking information about the experiment. + * @return value or {@code null} for none + */ + public java.util.Map getMetadata() { + return metadata; + } + + /** + * Optional. Metadata about the evaluation experiment, can be used by the caller to store + * additional tracking information about the experiment. + * @param metadata metadata or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1EvaluationExperiment setMetadata(java.util.Map metadata) { + this.metadata = metadata; + return this; + } + + /** + * Identifier. The resource name of the EvaluationExperiment. This is a unique identifier. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The resource name of the EvaluationExperiment. This is a unique identifier. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + * @param name name or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1EvaluationExperiment setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. Timestamp when this experiment was last updated. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. Timestamp when this experiment was last updated. + * @param updateTime updateTime or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1EvaluationExperiment setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1EvaluationExperiment set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1EvaluationExperiment) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1EvaluationExperiment clone() { + return (GoogleCloudAiplatformV1beta1EvaluationExperiment) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRun.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRun.java index d200887a4fb..042d4177a2e 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRun.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRun.java @@ -81,6 +81,16 @@ public final class GoogleCloudAiplatformV1beta1EvaluationRun extends com.google. @com.google.api.client.util.Key private GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig evaluationConfig; + /** + * Optional. The resource name of the evaluation experiment for the evaluation run. Setting the + * evaluation experiment will add the run to the experiment. Multiple runs can be added to the + * same experiment. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String evaluationExperiment; + /** * Output only. The results of the evaluation run. Only populated when the evaluation run's state * is SUCCEEDED. @@ -259,6 +269,29 @@ public GoogleCloudAiplatformV1beta1EvaluationRun setEvaluationConfig(GoogleCloud return this; } + /** + * Optional. The resource name of the evaluation experiment for the evaluation run. Setting the + * evaluation experiment will add the run to the experiment. Multiple runs can be added to the + * same experiment. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + * @return value or {@code null} for none + */ + public java.lang.String getEvaluationExperiment() { + return evaluationExperiment; + } + + /** + * Optional. The resource name of the evaluation experiment for the evaluation run. Setting the + * evaluation experiment will add the run to the experiment. Multiple runs can be added to the + * same experiment. Format: + * `projects/{project}/locations/{location}/evaluationExperiments/{evaluation_experiment}` + * @param evaluationExperiment evaluationExperiment or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1EvaluationRun setEvaluationExperiment(java.lang.String evaluationExperiment) { + this.evaluationExperiment = evaluationExperiment; + return this; + } + /** * Output only. The results of the evaluation run. Only populated when the evaluation run's state * is SUCCEEDED. diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig.java index 2b25dd11b7e..2f94e63e9f5 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig.java @@ -38,6 +38,15 @@ public final class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgent @com.google.api.client.util.Key private java.lang.String agentEngine; + /** + * Optional. Config for scraping a Discovery Engine Assistant. The scraping service runs the + * assistant via the Discovery Engine AssistantService and returns the resulting trajectory for + * evaluation. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig discoveryEngineAssistantConfig; + /** * Optional. Config for scraping a Gemini Agent via the Interactions API. The scraping service * creates interactions against the agent and returns the resulting interaction traces for @@ -83,6 +92,27 @@ public GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig se return this; } + /** + * Optional. Config for scraping a Discovery Engine Assistant. The scraping service runs the + * assistant via the Discovery Engine AssistantService and returns the resulting trajectory for + * evaluation. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig getDiscoveryEngineAssistantConfig() { + return discoveryEngineAssistantConfig; + } + + /** + * Optional. Config for scraping a Discovery Engine Assistant. The scraping service runs the + * assistant via the Discovery Engine AssistantService and returns the resulting trajectory for + * evaluation. + * @param discoveryEngineAssistantConfig discoveryEngineAssistantConfig or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig setDiscoveryEngineAssistantConfig(GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig discoveryEngineAssistantConfig) { + this.discoveryEngineAssistantConfig = discoveryEngineAssistantConfig; + return this; + } + /** * Optional. Config for scraping a Gemini Agent via the Interactions API. The scraping service * creates interactions against the agent and returns the resulting interaction traces for diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse.java new file mode 100644 index 00000000000..84d0cef98cf --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse.java @@ -0,0 +1,96 @@ +/* + * 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; + +/** + * Response message for EvaluationManagementService.ListEvaluationExperiments. + * + *

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 GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse extends com.google.api.client.json.GenericJson { + + /** + * List of EvaluationExperiments in the requested page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List evaluationExperiments; + + static { + // hack to force ProGuard to consider GoogleCloudAiplatformV1beta1EvaluationExperiment 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(GoogleCloudAiplatformV1beta1EvaluationExperiment.class); + } + + /** + * A token to retrieve the next page of results. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * List of EvaluationExperiments in the requested page. + * @return value or {@code null} for none + */ + public java.util.List getEvaluationExperiments() { + return evaluationExperiments; + } + + /** + * List of EvaluationExperiments in the requested page. + * @param evaluationExperiments evaluationExperiments or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse setEvaluationExperiments(java.util.List evaluationExperiments) { + this.evaluationExperiments = evaluationExperiments; + return this; + } + + /** + * A token to retrieve the next page of results. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token to retrieve the next page of results. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse clone() { + return (GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse) 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 ead406db434..4f78db86ea6 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-rev20260831-2.0.0 - Agent Platform API v1beta1-rev20260831-2.0.0 + v1beta1-rev20260904-2.0.0 + Agent Platform API v1beta1-rev20260904-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 7ac673411e1..2816801465c 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-rev20260831-2.0.0 + v1beta1-rev20260904-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260831-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260904-2.0.0' } ```