From 7d5eb4e7e98b25f9e6cde48d80db4f62dd16f829 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Mon, 1 Jun 2026 18:31:15 -0700 Subject: [PATCH] chore: regenerate aiplatform client --- .../v1/2.0.0/README.md | 4 +- .../services/aiplatform/v1/Aiplatform.java | 12 +- ...eModelsVisionGenerateVideoExperiments.java | 30 + ...CreateServingProfileOperationMetadata.java | 66 + ...leCloudAiplatformV1PersistentDiskSpec.java | 17 +- ...ntTemplateDefaultContainerEnvironment.java | 24 + .../v1/model/GoogleCloudAiplatformV1Tool.java | 27 + ...oogleCloudAiplatformV1ToolExaAiSearch.java | 90 + .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- .../v1beta1/2.0.0/README.md | 4 +- .../aiplatform/v1beta1/Aiplatform.java | 3044 ++++++++--------- ...eModelsVisionGenerateVideoExperiments.java | 30 + .../GenaiVertexV1beta1ArgumentsDelta.java | 14 +- .../GenaiVertexV1beta1EnvironmentConfig.java | 111 + ...texV1beta1EnvironmentConfigEgressRule.java | 98 + ...nfigEnvironmentNetworkEgressAllowlist.java | 72 + ...iVertexV1beta1EnvironmentConfigSource.java | 162 + .../model/GenaiVertexV1beta1Interaction.java | 78 +- ...ertexV1beta1InteractionStreamingEvent.java | 24 + .../GenaiVertexV1beta1ResponseFormat.java | 21 - ...GenaiVertexV1beta1ServerToolCallDelta.java | 220 ++ ...naiVertexV1beta1ServerToolResultDelta.java | 220 ++ .../GenaiVertexV1beta1StepDeltaData.java | 63 + .../GenaiVertexV1beta1StreamMetadata.java | 63 + .../GenaiVertexV1beta1UserInputStep.java | 41 +- .../GoogleCloudAiplatformV1beta1Agent.java | 90 +- ...GoogleCloudAiplatformV1beta1AgentTool.java | 39 +- ...emanticGovernancePolicyEngineRequest.java} | 13 +- ...leCloudAiplatformV1beta1GatewayConfig.java | 219 ++ ...udAiplatformV1beta1ListAgentsResponse.java | 18 +- ...istSemanticGovernancePoliciesResponse.java | 93 + ...udAiplatformV1beta1PersistentDiskSpec.java | 17 +- ...udAiplatformV1beta1ProcessDataRequest.java | 114 + ...tformV1beta1ProcessDataRequestVeoSpec.java | 66 + ...ntTemplateDefaultContainerEnvironment.java | 24 + ...atformV1beta1SemanticGovernancePolicy.java | 301 ++ ...V1beta1SemanticGovernancePolicyEngine.java | 282 ++ ...1beta1SemanticGovernancePolicyMcpTool.java | 96 + ...leCloudAiplatformV1beta1SkillRevision.java | 9 +- .../GoogleCloudAiplatformV1beta1Tool.java | 27 + ...CloudAiplatformV1beta1ToolExaAiSearch.java | 90 + .../v1beta1/2.0.0/pom.xml | 4 +- .../v1beta1/README.md | 4 +- 44 files changed, 4256 insertions(+), 1793 deletions(-) create mode 100644 clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CreateServingProfileOperationMetadata.java create mode 100644 clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ToolExaAiSearch.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfig.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigEgressRule.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigSource.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ServerToolCallDelta.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ServerToolResultDelta.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1StreamMetadata.java rename clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/{GenaiVertexV1beta1VideoResponseFormat.java => GoogleCloudAiplatformV1beta1DeprovisionSemanticGovernancePolicyEngineRequest.java} (63%) create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GatewayConfig.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponse.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ProcessDataRequest.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SemanticGovernancePolicy.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SemanticGovernancePolicyMcpTool.java create mode 100644 clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ToolExaAiSearch.java diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/README.md b/clients/google-api-services-aiplatform/v1/2.0.0/README.md index a63e3808df1..0ecf6d4cf01 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-rev20260509-2.0.0 + v1-rev20260523-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260509-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260523-2.0.0' } ``` diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java index 4f26a90d697..6d884023b0c 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java @@ -118036,22 +118036,22 @@ public Patch setName(java.lang.String name) { } /** - * Optional. Mask specifying which fields to update. Supported fields: * `display_name` - * * `description` * `fact` + * Optional. Mask specifying which fields to update. The following fields are immutable: + * * `scope` * `memory_type` */ @com.google.api.client.util.Key private String updateMask; - /** Optional. Mask specifying which fields to update. Supported fields: * `display_name` * - `description` * `fact` + /** Optional. Mask specifying which fields to update. The following fields are immutable: * `scope` * + `memory_type` */ public String getUpdateMask() { return updateMask; } /** - * Optional. Mask specifying which fields to update. Supported fields: * `display_name` - * * `description` * `fact` + * Optional. Mask specifying which fields to update. The following fields are immutable: + * * `scope` * `memory_type` */ public Patch setUpdateMask(String updateMask) { this.updateMask = updateMask; diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java index 2f8e5d7fef7..b19df685e34 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java @@ -65,6 +65,15 @@ public final class CloudAiLargeModelsVisionGenerateVideoExperiments extends com. @com.google.api.client.util.Key private java.lang.Integer numDiffusionSteps; + /** + * The original REST API request JSON sent by the user, in the instances/parameters format. + * Preserved for saving alongside output artifacts so users can reproduce their requests. This + * field is populated by the API handler and is not user-settable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originalRequestJson; + /** * Prompt chunks for "ProModel" prompting. If set, the prompt will not be rewritten, and top-level * prompt ignored. @@ -194,6 +203,27 @@ public CloudAiLargeModelsVisionGenerateVideoExperiments setNumDiffusionSteps(jav return this; } + /** + * The original REST API request JSON sent by the user, in the instances/parameters format. + * Preserved for saving alongside output artifacts so users can reproduce their requests. This + * field is populated by the API handler and is not user-settable. + * @return value or {@code null} for none + */ + public java.lang.String getOriginalRequestJson() { + return originalRequestJson; + } + + /** + * The original REST API request JSON sent by the user, in the instances/parameters format. + * Preserved for saving alongside output artifacts so users can reproduce their requests. This + * field is populated by the API handler and is not user-settable. + * @param originalRequestJson originalRequestJson or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperiments setOriginalRequestJson(java.lang.String originalRequestJson) { + this.originalRequestJson = originalRequestJson; + return this; + } + /** * Prompt chunks for "ProModel" prompting. If set, the prompt will not be rewritten, and top-level * prompt ignored. diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CreateServingProfileOperationMetadata.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CreateServingProfileOperationMetadata.java new file mode 100644 index 00000000000..7f31a6c25e1 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CreateServingProfileOperationMetadata.java @@ -0,0 +1,66 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.aiplatform.v1.model; + +/** + * Runtime operation metadata for ServingProfileService.CreateServingProfile. + * + *

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 GoogleCloudAiplatformV1CreateServingProfileOperationMetadata extends com.google.api.client.json.GenericJson { + + /** + * Output only. The standard operation metadata for Vertex AI. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1GenericOperationMetadata genericMetadata; + + /** + * Output only. The standard operation metadata for Vertex AI. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1GenericOperationMetadata getGenericMetadata() { + return genericMetadata; + } + + /** + * Output only. The standard operation metadata for Vertex AI. + * @param genericMetadata genericMetadata or {@code null} for none + */ + public GoogleCloudAiplatformV1CreateServingProfileOperationMetadata setGenericMetadata(GoogleCloudAiplatformV1GenericOperationMetadata genericMetadata) { + this.genericMetadata = genericMetadata; + return this; + } + + @Override + public GoogleCloudAiplatformV1CreateServingProfileOperationMetadata set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1CreateServingProfileOperationMetadata) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1CreateServingProfileOperationMetadata clone() { + return (GoogleCloudAiplatformV1CreateServingProfileOperationMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1PersistentDiskSpec.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1PersistentDiskSpec.java index 03b0d0e570e..68a2822b991 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1PersistentDiskSpec.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1PersistentDiskSpec.java @@ -17,7 +17,7 @@ package com.google.api.services.aiplatform.v1.model; /** - * Represents the spec of persistent disk options. + * Represents the spec of persistent disk and hyperdisk options. * *

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: @@ -39,7 +39,10 @@ public final class GoogleCloudAiplatformV1PersistentDiskSpec extends com.google. /** * Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid * State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced Persistent - * Disk) "pd-extreme" (Extreme Persistent Disk) + * Disk) "pd-extreme" (Extreme Persistent Disk) "hyperdisk-balanced" (Hyperdisk Balanced) + * "hyperdisk-extreme" (Hyperdisk Extreme) "hyperdisk-balanced-high-availability" (Hyperdisk + * Balanced High Availability) "hyperdisk-ml" (Hyperdisk ML) "hyperdisk-throughput" (Hyperdisk + * Throughput) * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -65,7 +68,10 @@ public GoogleCloudAiplatformV1PersistentDiskSpec setDiskSizeGb(java.lang.Long di /** * Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid * State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced Persistent - * Disk) "pd-extreme" (Extreme Persistent Disk) + * Disk) "pd-extreme" (Extreme Persistent Disk) "hyperdisk-balanced" (Hyperdisk Balanced) + * "hyperdisk-extreme" (Hyperdisk Extreme) "hyperdisk-balanced-high-availability" (Hyperdisk + * Balanced High Availability) "hyperdisk-ml" (Hyperdisk ML) "hyperdisk-throughput" (Hyperdisk + * Throughput) * @return value or {@code null} for none */ public java.lang.String getDiskType() { @@ -75,7 +81,10 @@ public java.lang.String getDiskType() { /** * Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid * State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced Persistent - * Disk) "pd-extreme" (Extreme Persistent Disk) + * Disk) "pd-extreme" (Extreme Persistent Disk) "hyperdisk-balanced" (Hyperdisk Balanced) + * "hyperdisk-extreme" (Hyperdisk Extreme) "hyperdisk-balanced-high-availability" (Hyperdisk + * Balanced High Availability) "hyperdisk-ml" (Hyperdisk ML) "hyperdisk-throughput" (Hyperdisk + * Throughput) * @param diskType diskType or {@code null} for none */ public GoogleCloudAiplatformV1PersistentDiskSpec setDiskType(java.lang.String diskType) { diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplateDefaultContainerEnvironment.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplateDefaultContainerEnvironment.java index 4337330af86..6882243eb62 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplateDefaultContainerEnvironment.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplateDefaultContainerEnvironment.java @@ -36,6 +36,13 @@ public final class GoogleCloudAiplatformV1SandboxEnvironmentTemplateDefaultConta @com.google.api.client.util.Key private java.lang.String defaultContainerCategory; + /** + * Optional. Resource requests and limits for the default container. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1SandboxEnvironmentTemplateResourceRequirements resources; + /** * Required. The category of the default container image. * @return value or {@code null} for none @@ -53,6 +60,23 @@ public GoogleCloudAiplatformV1SandboxEnvironmentTemplateDefaultContainerEnvironm return this; } + /** + * Optional. Resource requests and limits for the default container. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1SandboxEnvironmentTemplateResourceRequirements getResources() { + return resources; + } + + /** + * Optional. Resource requests and limits for the default container. + * @param resources resources or {@code null} for none + */ + public GoogleCloudAiplatformV1SandboxEnvironmentTemplateDefaultContainerEnvironment setResources(GoogleCloudAiplatformV1SandboxEnvironmentTemplateResourceRequirements resources) { + this.resources = resources; + return this; + } + @Override public GoogleCloudAiplatformV1SandboxEnvironmentTemplateDefaultContainerEnvironment set(String fieldName, Object value) { return (GoogleCloudAiplatformV1SandboxEnvironmentTemplateDefaultContainerEnvironment) super.set(fieldName, value); diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Tool.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Tool.java index 4aa49fb78c5..54a217a45d2 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Tool.java +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Tool.java @@ -55,6 +55,14 @@ public final class GoogleCloudAiplatformV1Tool extends com.google.api.client.jso @com.google.api.client.util.Key private GoogleCloudAiplatformV1EnterpriseWebSearch enterpriseWebSearch; + /** + * Optional. Uses Exa.ai to search for information to answer user queries. The search results will + * be grounded on Exa.ai and presented to the model for response generation + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1ToolExaAiSearch exaAiSearch; + /** * Optional. Function tool type. One or more function declarations to be passed to the model along * with the current user query. Model may decide to call a subset of these functions by populating @@ -173,6 +181,25 @@ public GoogleCloudAiplatformV1Tool setEnterpriseWebSearch(GoogleCloudAiplatformV return this; } + /** + * Optional. Uses Exa.ai to search for information to answer user queries. The search results will + * be grounded on Exa.ai and presented to the model for response generation + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1ToolExaAiSearch getExaAiSearch() { + return exaAiSearch; + } + + /** + * Optional. Uses Exa.ai to search for information to answer user queries. The search results will + * be grounded on Exa.ai and presented to the model for response generation + * @param exaAiSearch exaAiSearch or {@code null} for none + */ + public GoogleCloudAiplatformV1Tool setExaAiSearch(GoogleCloudAiplatformV1ToolExaAiSearch exaAiSearch) { + this.exaAiSearch = exaAiSearch; + return this; + } + /** * Optional. Function tool type. One or more function declarations to be passed to the model along * with the current user query. Model may decide to call a subset of these functions by populating diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ToolExaAiSearch.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ToolExaAiSearch.java new file mode 100644 index 00000000000..3ead5fe6f26 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ToolExaAiSearch.java @@ -0,0 +1,90 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.aiplatform.v1.model; + +/** + * ExaAiSearch tool type. A tool that uses the Exa.ai search engine for grounding. + * + *

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 GoogleCloudAiplatformV1ToolExaAiSearch extends com.google.api.client.json.GenericJson { + + /** + * Required. The API key for ExaAiSearch. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String apiKey; + + /** + * Optional. This field can be used to pass any parameter from the Exa.ai Search API. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map customConfigs; + + /** + * Required. The API key for ExaAiSearch. + * @return value or {@code null} for none + */ + public java.lang.String getApiKey() { + return apiKey; + } + + /** + * Required. The API key for ExaAiSearch. + * @param apiKey apiKey or {@code null} for none + */ + public GoogleCloudAiplatformV1ToolExaAiSearch setApiKey(java.lang.String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Optional. This field can be used to pass any parameter from the Exa.ai Search API. + * @return value or {@code null} for none + */ + public java.util.Map getCustomConfigs() { + return customConfigs; + } + + /** + * Optional. This field can be used to pass any parameter from the Exa.ai Search API. + * @param customConfigs customConfigs or {@code null} for none + */ + public GoogleCloudAiplatformV1ToolExaAiSearch setCustomConfigs(java.util.Map customConfigs) { + this.customConfigs = customConfigs; + return this; + } + + @Override + public GoogleCloudAiplatformV1ToolExaAiSearch set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1ToolExaAiSearch) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1ToolExaAiSearch clone() { + return (GoogleCloudAiplatformV1ToolExaAiSearch) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/pom.xml b/clients/google-api-services-aiplatform/v1/2.0.0/pom.xml index 2158f41fdc7..279f3d815aa 100644 --- a/clients/google-api-services-aiplatform/v1/2.0.0/pom.xml +++ b/clients/google-api-services-aiplatform/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-aiplatform - v1-rev20260509-2.0.0 - Agent Platform API v1-rev20260509-2.0.0 + v1-rev20260523-2.0.0 + Agent Platform API v1-rev20260523-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 a63e3808df1..0ecf6d4cf01 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-rev20260509-2.0.0 + v1-rev20260523-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260509-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260523-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 d9cb9b86f69..c927914fd4b 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-rev20260515-2.0.0 + v1beta1-rev20260523-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260515-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260523-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 6a88dbf2c97..97626d77da9 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 @@ -45307,6 +45307,159 @@ public GetRagEngineConfig set(String parameterName, Object value) { return (GetRagEngineConfig) super.set(parameterName, value); } } + /** + * Gets a SemanticGovernancePolicyEngine. A SemanticGovernancePolicyEngine is a singleton resource + * that is created when its parent is created, and deleted when its parent is deleted. This method + * retrieves the current state of the Semantic Governance Policy Engine. + * + * Create a request for the method "locations.getSemanticGovernancePolicyEngine". + * + * This request holds the parameters needed by the aiplatform server. After setting any optional + * parameters, call the {@link GetSemanticGovernancePolicyEngine#execute()} method to invoke the + * remote operation. + * + * @param name Required. The resource name of the SemanticGovernancePolicyEngine to retrieve. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + * @return the request + */ + public GetSemanticGovernancePolicyEngine getSemanticGovernancePolicyEngine(java.lang.String name) throws java.io.IOException { + GetSemanticGovernancePolicyEngine result = new GetSemanticGovernancePolicyEngine(name); + initialize(result); + return result; + } + + public class GetSemanticGovernancePolicyEngine 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/[^/]+/semanticGovernancePolicyEngine$"); + + /** + * Gets a SemanticGovernancePolicyEngine. A SemanticGovernancePolicyEngine is a singleton resource + * that is created when its parent is created, and deleted when its parent is deleted. This method + * retrieves the current state of the Semantic Governance Policy Engine. + * + * Create a request for the method "locations.getSemanticGovernancePolicyEngine". + * + * This request holds the parameters needed by the the aiplatform server. After setting any + * optional parameters, call the {@link GetSemanticGovernancePolicyEngine#execute()} method to + * invoke the remote operation.

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

+ * + * @param name Required. The resource name of the SemanticGovernancePolicyEngine to retrieve. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + * @since 1.13 + */ + protected GetSemanticGovernancePolicyEngine(java.lang.String name) { + super(Aiplatform.this, "GET", REST_PATH, null, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine.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/[^/]+/semanticGovernancePolicyEngine$"); + } + } + + @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 GetSemanticGovernancePolicyEngine set$Xgafv(java.lang.String $Xgafv) { + return (GetSemanticGovernancePolicyEngine) super.set$Xgafv($Xgafv); + } + + @Override + public GetSemanticGovernancePolicyEngine setAccessToken(java.lang.String accessToken) { + return (GetSemanticGovernancePolicyEngine) super.setAccessToken(accessToken); + } + + @Override + public GetSemanticGovernancePolicyEngine setAlt(java.lang.String alt) { + return (GetSemanticGovernancePolicyEngine) super.setAlt(alt); + } + + @Override + public GetSemanticGovernancePolicyEngine setCallback(java.lang.String callback) { + return (GetSemanticGovernancePolicyEngine) super.setCallback(callback); + } + + @Override + public GetSemanticGovernancePolicyEngine setFields(java.lang.String fields) { + return (GetSemanticGovernancePolicyEngine) super.setFields(fields); + } + + @Override + public GetSemanticGovernancePolicyEngine setKey(java.lang.String key) { + return (GetSemanticGovernancePolicyEngine) super.setKey(key); + } + + @Override + public GetSemanticGovernancePolicyEngine setOauthToken(java.lang.String oauthToken) { + return (GetSemanticGovernancePolicyEngine) super.setOauthToken(oauthToken); + } + + @Override + public GetSemanticGovernancePolicyEngine setPrettyPrint(java.lang.Boolean prettyPrint) { + return (GetSemanticGovernancePolicyEngine) super.setPrettyPrint(prettyPrint); + } + + @Override + public GetSemanticGovernancePolicyEngine setQuotaUser(java.lang.String quotaUser) { + return (GetSemanticGovernancePolicyEngine) super.setQuotaUser(quotaUser); + } + + @Override + public GetSemanticGovernancePolicyEngine setUploadType(java.lang.String uploadType) { + return (GetSemanticGovernancePolicyEngine) super.setUploadType(uploadType); + } + + @Override + public GetSemanticGovernancePolicyEngine setUploadProtocol(java.lang.String uploadProtocol) { + return (GetSemanticGovernancePolicyEngine) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource name of the SemanticGovernancePolicyEngine to retrieve. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The resource name of the SemanticGovernancePolicyEngine to retrieve. Format: + projects/{project}/locations/{location}/semanticGovernancePolicyEngine + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The resource name of the SemanticGovernancePolicyEngine to retrieve. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + */ + public GetSemanticGovernancePolicyEngine 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/[^/]+/semanticGovernancePolicyEngine$"); + } + this.name = name; + return this; + } + + @Override + public GetSemanticGovernancePolicyEngine set(String parameterName, Object value) { + return (GetSemanticGovernancePolicyEngine) super.set(parameterName, value); + } + } /** * Lists information about the supported locations for this service. This method lists locations * based on the resource scope provided in the ListLocationsRequest.name field: * **Global @@ -45976,6 +46129,177 @@ public UpdateRagEngineConfig set(String parameterName, Object value) { return (UpdateRagEngineConfig) super.set(parameterName, value); } } + /** + * Updates a SemanticGovernancePolicyEngine. This method performs an upsert operation. If the + * SemanticGovernancePolicyEngine resource does not exist, it will be created. Otherwise, it will be + * updated. + * + * Create a request for the method "locations.updateSemanticGovernancePolicyEngine". + * + * This request holds the parameters needed by the aiplatform server. After setting any optional + * parameters, call the {@link UpdateSemanticGovernancePolicyEngine#execute()} method to invoke the + * remote operation. + * + * @param name Identifier. The resource name of the SemanticGovernancePolicyEngine. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine} + * @return the request + */ + public UpdateSemanticGovernancePolicyEngine updateSemanticGovernancePolicyEngine(java.lang.String name, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine content) throws java.io.IOException { + UpdateSemanticGovernancePolicyEngine result = new UpdateSemanticGovernancePolicyEngine(name, content); + initialize(result); + return result; + } + + public class UpdateSemanticGovernancePolicyEngine 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/[^/]+/semanticGovernancePolicyEngine$"); + + /** + * Updates a SemanticGovernancePolicyEngine. This method performs an upsert operation. If the + * SemanticGovernancePolicyEngine resource does not exist, it will be created. Otherwise, it will + * be updated. + * + * Create a request for the method "locations.updateSemanticGovernancePolicyEngine". + * + * This request holds the parameters needed by the the aiplatform server. After setting any + * optional parameters, call the {@link UpdateSemanticGovernancePolicyEngine#execute()} method to + * invoke the remote operation.

{@link UpdateSemanticGovernancePolicyEngine#initialize(com.goo + * gle.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 SemanticGovernancePolicyEngine. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine} + * @since 1.13 + */ + protected UpdateSemanticGovernancePolicyEngine(java.lang.String name, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine content) { + super(Aiplatform.this, "PATCH", 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/[^/]+/semanticGovernancePolicyEngine$"); + } + } + + @Override + public UpdateSemanticGovernancePolicyEngine set$Xgafv(java.lang.String $Xgafv) { + return (UpdateSemanticGovernancePolicyEngine) super.set$Xgafv($Xgafv); + } + + @Override + public UpdateSemanticGovernancePolicyEngine setAccessToken(java.lang.String accessToken) { + return (UpdateSemanticGovernancePolicyEngine) super.setAccessToken(accessToken); + } + + @Override + public UpdateSemanticGovernancePolicyEngine setAlt(java.lang.String alt) { + return (UpdateSemanticGovernancePolicyEngine) super.setAlt(alt); + } + + @Override + public UpdateSemanticGovernancePolicyEngine setCallback(java.lang.String callback) { + return (UpdateSemanticGovernancePolicyEngine) super.setCallback(callback); + } + + @Override + public UpdateSemanticGovernancePolicyEngine setFields(java.lang.String fields) { + return (UpdateSemanticGovernancePolicyEngine) super.setFields(fields); + } + + @Override + public UpdateSemanticGovernancePolicyEngine setKey(java.lang.String key) { + return (UpdateSemanticGovernancePolicyEngine) super.setKey(key); + } + + @Override + public UpdateSemanticGovernancePolicyEngine setOauthToken(java.lang.String oauthToken) { + return (UpdateSemanticGovernancePolicyEngine) super.setOauthToken(oauthToken); + } + + @Override + public UpdateSemanticGovernancePolicyEngine setPrettyPrint(java.lang.Boolean prettyPrint) { + return (UpdateSemanticGovernancePolicyEngine) super.setPrettyPrint(prettyPrint); + } + + @Override + public UpdateSemanticGovernancePolicyEngine setQuotaUser(java.lang.String quotaUser) { + return (UpdateSemanticGovernancePolicyEngine) super.setQuotaUser(quotaUser); + } + + @Override + public UpdateSemanticGovernancePolicyEngine setUploadType(java.lang.String uploadType) { + return (UpdateSemanticGovernancePolicyEngine) super.setUploadType(uploadType); + } + + @Override + public UpdateSemanticGovernancePolicyEngine setUploadProtocol(java.lang.String uploadProtocol) { + return (UpdateSemanticGovernancePolicyEngine) super.setUploadProtocol(uploadProtocol); + } + + /** + * Identifier. The resource name of the SemanticGovernancePolicyEngine. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Identifier. The resource name of the SemanticGovernancePolicyEngine. Format: + projects/{project}/locations/{location}/semanticGovernancePolicyEngine + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The resource name of the SemanticGovernancePolicyEngine. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + */ + public UpdateSemanticGovernancePolicyEngine 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/[^/]+/semanticGovernancePolicyEngine$"); + } + this.name = name; + return this; + } + + /** + * Optional. Specifies the fields to be overwritten in the SemanticGovernancePolicyEngine + * resource by the update. The fields specified in the update_mask are relative to the + * resource itself. If no update_mask is provided, all fields are overwritten. + */ + @com.google.api.client.util.Key + private String updateMask; + + /** Optional. Specifies the fields to be overwritten in the SemanticGovernancePolicyEngine resource by + the update. The fields specified in the update_mask are relative to the resource itself. If no + update_mask is provided, all fields are overwritten. + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Optional. Specifies the fields to be overwritten in the SemanticGovernancePolicyEngine + * resource by the update. The fields specified in the update_mask are relative to the + * resource itself. If no update_mask is provided, all fields are overwritten. + */ + public UpdateSemanticGovernancePolicyEngine setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public UpdateSemanticGovernancePolicyEngine set(String parameterName, Object value) { + return (UpdateSemanticGovernancePolicyEngine) super.set(parameterName, value); + } + } /** * An accessor for creating requests from the Agents collection. @@ -45998,7 +46322,7 @@ public Agents agents() { public class Agents { /** - * Creates a new Agent in a given location. + * Creates an agent. * * Create a request for the method "agents.create". * @@ -46024,7 +46348,7 @@ public class Create extends AiplatformRequest * - * @param name Required. The resource name of the agent. Format: - * `projects/{project}/locations/{location}/agents/{agent}` + * @param name Required. The resource name of the agent to delete. Format: + * `projects/{project}/locations/{location}/agents/{agent}`. * @since 1.13 */ protected Delete(java.lang.String name) { @@ -46243,22 +46567,22 @@ public Delete setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The resource name of the agent. Format: - * `projects/{project}/locations/{location}/agents/{agent}` + * Required. The resource name of the agent to delete. Format: + * `projects/{project}/locations/{location}/agents/{agent}`. */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The resource name of the agent. Format: - `projects/{project}/locations/{location}/agents/{agent}` + /** Required. The resource name of the agent to delete. Format: + `projects/{project}/locations/{location}/agents/{agent}`. */ public java.lang.String getName() { return name; } /** - * Required. The resource name of the agent. Format: - * `projects/{project}/locations/{location}/agents/{agent}` + * Required. The resource name of the agent to delete. Format: + * `projects/{project}/locations/{location}/agents/{agent}`. */ public Delete setName(java.lang.String name) { if (!getSuppressPatternChecks()) { @@ -46276,14 +46600,14 @@ public Delete set(String parameterName, Object value) { } } /** - * Gets details of the specific Agent. + * Retrieves an agent. * * Create a request for the method "agents.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 resource name of the agent. Format: + * @param name Required. The resource name of the agent to retrieve. Format: * `projects/{project}/locations/{location}/agents/{agent}`. * @return the request */ @@ -46301,7 +46625,7 @@ public class Get extends AiplatformRequest * - * @param name Required. The resource name of the agent. Format: + * @param name Required. The resource name of the agent to retrieve. Format: * `projects/{project}/locations/{location}/agents/{agent}`. * @since 1.13 */ @@ -46390,13 +46714,13 @@ public Get setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Required. The resource name of the agent. Format: + * Required. The resource name of the agent to retrieve. Format: * `projects/{project}/locations/{location}/agents/{agent}`. */ @com.google.api.client.util.Key private java.lang.String name; - /** Required. The resource name of the agent. Format: + /** Required. The resource name of the agent to retrieve. Format: `projects/{project}/locations/{location}/agents/{agent}`. */ public java.lang.String getName() { @@ -46404,7 +46728,7 @@ public java.lang.String getName() { } /** - * Required. The resource name of the agent. Format: + * Required. The resource name of the agent to retrieve. Format: * `projects/{project}/locations/{location}/agents/{agent}`. */ public Get setName(java.lang.String name) { @@ -46423,7 +46747,7 @@ public Get set(String parameterName, Object value) { } } /** - * Lists Agents in a given location. + * Lists agents in a location. * * Create a request for the method "agents.list". * @@ -46431,7 +46755,7 @@ public Get set(String parameterName, Object value) { * parameters, call the {@link List#execute()} method to invoke the remote operation. * * @param parent Required. The resource name of the location to list agents from. Format: - * `projects/{project}/locations/{location} + * `projects/{project}/locations/{location}`. * @return the request */ public List list(java.lang.String parent) throws java.io.IOException { @@ -46448,7 +46772,7 @@ public class List extends AiplatformRequest * * @param parent Required. The resource name of the location to list agents from. Format: - * `projects/{project}/locations/{location} + * `projects/{project}/locations/{location}`. * @since 1.13 */ protected List(java.lang.String parent) { @@ -46538,13 +46862,13 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { /** * Required. The resource name of the location to list agents from. Format: - * `projects/{project}/locations/{location} + * `projects/{project}/locations/{location}`. */ @com.google.api.client.util.Key private java.lang.String parent; /** Required. The resource name of the location to list agents from. Format: - `projects/{project}/locations/{location} + `projects/{project}/locations/{location}`. */ public java.lang.String getParent() { return parent; @@ -46552,7 +46876,7 @@ public java.lang.String getParent() { /** * Required. The resource name of the location to list agents from. Format: - * `projects/{project}/locations/{location} + * `projects/{project}/locations/{location}`. */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -46565,25 +46889,24 @@ public List setParent(java.lang.String parent) { } /** - * Optional. A comma-separated list of fields to order by, sorted in ascending order. Use - * "desc" after a field name for descending. Supported fields: * `create_time` * - * `update_time` Example: `create_time desc`. + * Optional. A comma-separated list of fields to order by. Supported fields: * + * `create_time` * `update_time` Use `desc` after a field name for descending order. + * Example: `create_time desc`. */ @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. Supported fields: * `create_time` * `update_time` Example: - `create_time desc`. + /** Optional. A comma-separated list of fields to order by. Supported fields: * `create_time` * + `update_time` Use `desc` after a field name for descending order. Example: `create_time desc`. */ public java.lang.String getOrderBy() { return orderBy; } /** - * Optional. A comma-separated list of fields to order by, sorted in ascending order. Use - * "desc" after a field name for descending. Supported fields: * `create_time` * - * `update_time` Example: `create_time desc`. + * Optional. A comma-separated list of fields to order by. Supported fields: * + * `create_time` * `update_time` Use `desc` after a field name for descending order. + * Example: `create_time desc`. */ public List setOrderBy(java.lang.String orderBy) { this.orderBy = orderBy; @@ -46592,13 +46915,15 @@ public List setOrderBy(java.lang.String orderBy) { /** * Optional. The maximum number of agents to return. The service may return fewer than - * this value. If unspecified, at most 100 agents will be returned. + * this value. The maximum page size is 100; values above 100 will be coerced to 100. If + * unspecified, the default page size is 10. */ @com.google.api.client.util.Key private java.lang.Integer pageSize; - /** Optional. The maximum number of agents to return. The service may return fewer than this value. If - unspecified, at most 100 agents will be returned. + /** Optional. The maximum number of agents to return. The service may return fewer than this value. The + maximum page size is 100; values above 100 will be coerced to 100. If unspecified, the default page + size is 10. */ public java.lang.Integer getPageSize() { return pageSize; @@ -46606,7 +46931,8 @@ public java.lang.Integer getPageSize() { /** * Optional. The maximum number of agents to return. The service may return fewer than - * this value. If unspecified, at most 100 agents will be returned. + * this value. The maximum page size is 100; values above 100 will be coerced to 100. If + * unspecified, the default page size is 10. */ public List setPageSize(java.lang.Integer pageSize) { this.pageSize = pageSize; @@ -46614,21 +46940,22 @@ public List setPageSize(java.lang.Integer pageSize) { } /** - * Optional. The next_page_token value returned from a previous list - * AgentService.ListAgents call. + * Optional. A page token, received from a previous AgentService.ListAgents call. Provide + * this to retrieve the subsequent page. */ @com.google.api.client.util.Key private java.lang.String pageToken; - /** Optional. The next_page_token value returned from a previous list AgentService.ListAgents call. + /** Optional. A page token, received from a previous AgentService.ListAgents call. Provide this to + retrieve the subsequent page. */ public java.lang.String getPageToken() { return pageToken; } /** - * Optional. The next_page_token value returned from a previous list - * AgentService.ListAgents call. + * Optional. A page token, received from a previous AgentService.ListAgents call. Provide + * this to retrieve the subsequent page. */ public List setPageToken(java.lang.String pageToken) { this.pageToken = pageToken; @@ -46641,14 +46968,14 @@ public List set(String parameterName, Object value) { } } /** - * Updates the specific Agent. + * Updates an agent. * * Create a request for the method "agents.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 Agent. Format: + * @param name Identifier. The resource name of the agent. Format: * `projects/{project}/locations/{location}/agents/{agent}`. * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1Agent} * @return the request @@ -46667,7 +46994,7 @@ public class Patch extends AiplatformRequest * - * @param name Identifier. The resource name of the Agent. Format: + * @param name Identifier. The resource name of the agent. Format: * `projects/{project}/locations/{location}/agents/{agent}`. * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1Agent} * @since 1.13 @@ -46748,13 +47075,13 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) { } /** - * Identifier. The resource name of the Agent. Format: + * Identifier. The resource name of the agent. Format: * `projects/{project}/locations/{location}/agents/{agent}`. */ @com.google.api.client.util.Key private java.lang.String name; - /** Identifier. The resource name of the Agent. Format: + /** Identifier. The resource name of the agent. Format: `projects/{project}/locations/{location}/agents/{agent}`. */ public java.lang.String getName() { @@ -46762,7 +47089,7 @@ public java.lang.String getName() { } /** - * Identifier. The resource name of the Agent. Format: + * Identifier. The resource name of the agent. Format: * `projects/{project}/locations/{location}/agents/{agent}`. */ public Patch setName(java.lang.String name) { @@ -46775,24 +47102,17 @@ public Patch setName(java.lang.String name) { return this; } - /** - * Optional. Field mask is used to control which fields get updated. If the mask is not - * present, all fields will be updated. - */ + /** Optional. The list of fields to update. If not present, all fields are updated. */ @com.google.api.client.util.Key private String updateMask; - /** Optional. Field mask is used to control which fields get updated. If the mask is not present, all - fields will be updated. + /** Optional. The list of fields to update. If not present, all fields are updated. */ public String getUpdateMask() { return updateMask; } - /** - * Optional. Field mask is used to control which fields get updated. If the mask is not - * present, all fields will be updated. - */ + /** Optional. The list of fields to update. If not present, all fields are updated. */ public Patch setUpdateMask(String updateMask) { this.updateMask = updateMask; return this; @@ -161459,22 +161779,22 @@ public Patch setName(java.lang.String name) { } /** - * Optional. Mask specifying which fields to update. Supported fields: * `display_name` - * * `description` * `fact` + * Optional. Mask specifying which fields to update. The following fields are immutable: + * * `scope` * `memory_type` */ @com.google.api.client.util.Key private String updateMask; - /** Optional. Mask specifying which fields to update. Supported fields: * `display_name` * - `description` * `fact` + /** Optional. Mask specifying which fields to update. The following fields are immutable: * `scope` * + `memory_type` */ public String getUpdateMask() { return updateMask; } /** - * Optional. Mask specifying which fields to update. Supported fields: * `display_name` - * * `description` * `fact` + * Optional. Mask specifying which fields to update. The following fields are immutable: + * * `scope` * `memory_type` */ public Patch setUpdateMask(String updateMask) { this.updateMask = updateMask; @@ -178606,850 +178926,835 @@ public SemanticGovernancePolicies semanticGovernancePolicies() { public class SemanticGovernancePolicies { /** - * An accessor for creating requests from the Operations collection. + * Creates a SemanticGovernancePolicy. * - *

The typical use is:

- *
-         *   {@code Aiplatform aiplatform = new Aiplatform(...);}
-         *   {@code Aiplatform.Operations.List request = aiplatform.operations().list(parameters ...)}
-         * 
+ * Create a request for the method "semanticGovernancePolicies.create". * - * @return the resource collection + * 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 into which to create the SemanticGovernancePolicy. + * Format: `projects/{project}/locations/{location}` + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicy} + * @return the request */ - public Operations operations() { - return new Operations(); + public Create create(java.lang.String parent, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicy content) throws java.io.IOException { + Create result = new Create(parent, content); + initialize(result); + return result; } - /** - * The "operations" collection of methods. - */ - public class Operations { + public class Create extends AiplatformRequest { + + private static final String REST_PATH = "v1beta1/{+parent}/semanticGovernancePolicies"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); /** - * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to - * cancel the operation, but success is not guaranteed. If the server doesn't support this method, - * it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other - * methods to check whether the cancellation succeeded or whether the operation completed despite - * cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an - * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to - * `Code.CANCELLED`. + * Creates a SemanticGovernancePolicy. * - * Create a request for the method "operations.cancel". + * Create a request for the method "semanticGovernancePolicies.create". * - * This request holds the parameters needed by the aiplatform server. After setting any optional - * parameters, call the {@link Cancel#execute()} method to invoke the remote operation. + * 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 name The name of the operation resource to be cancelled. - * @return the request + * @param parent Required. The resource name of the Location into which to create the SemanticGovernancePolicy. + * Format: `projects/{project}/locations/{location}` + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicy} + * @since 1.13 */ - public Cancel cancel(java.lang.String name) throws java.io.IOException { - Cancel result = new Cancel(name); - initialize(result); - return result; + protected Create(java.lang.String parent, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicy content) { + super(Aiplatform.this, "POST", REST_PATH, content, com.google.api.services.aiplatform.v1beta1.model.GoogleLongrunningOperation.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/[^/]+$"); + } } - public class Cancel extends AiplatformRequest { - - private static final String REST_PATH = "v1beta1/{+name}:cancel"; + @Override + public Create set$Xgafv(java.lang.String $Xgafv) { + return (Create) super.set$Xgafv($Xgafv); + } - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/semanticGovernancePolicies/[^/]+/operations/[^/]+$"); + @Override + public Create setAccessToken(java.lang.String accessToken) { + return (Create) super.setAccessToken(accessToken); + } - /** - * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to - * cancel the operation, but success is not guaranteed. If the server doesn't support this method, - * it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other - * methods to check whether the cancellation succeeded or whether the operation completed despite - * cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an - * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to - * `Code.CANCELLED`. - * - * Create a request for the method "operations.cancel". - * - * This request holds the parameters needed by the the aiplatform server. After setting any - * optional parameters, call the {@link Cancel#execute()} method to invoke the remote operation. - *

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

- * - * @param name The name of the operation resource to be cancelled. - * @since 1.13 - */ - protected Cancel(java.lang.String name) { - super(Aiplatform.this, "POST", REST_PATH, null, com.google.api.services.aiplatform.v1beta1.model.GoogleProtobufEmpty.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/[^/]+/semanticGovernancePolicies/[^/]+/operations/[^/]+$"); - } - } + @Override + public Create setAlt(java.lang.String alt) { + return (Create) super.setAlt(alt); + } - @Override - public Cancel set$Xgafv(java.lang.String $Xgafv) { - return (Cancel) super.set$Xgafv($Xgafv); - } + @Override + public Create setCallback(java.lang.String callback) { + return (Create) super.setCallback(callback); + } - @Override - public Cancel setAccessToken(java.lang.String accessToken) { - return (Cancel) super.setAccessToken(accessToken); - } + @Override + public Create setFields(java.lang.String fields) { + return (Create) super.setFields(fields); + } - @Override - public Cancel setAlt(java.lang.String alt) { - return (Cancel) super.setAlt(alt); - } + @Override + public Create setKey(java.lang.String key) { + return (Create) super.setKey(key); + } - @Override - public Cancel setCallback(java.lang.String callback) { - return (Cancel) super.setCallback(callback); - } + @Override + public Create setOauthToken(java.lang.String oauthToken) { + return (Create) super.setOauthToken(oauthToken); + } - @Override - public Cancel setFields(java.lang.String fields) { - return (Cancel) super.setFields(fields); - } + @Override + public Create setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Create) super.setPrettyPrint(prettyPrint); + } - @Override - public Cancel setKey(java.lang.String key) { - return (Cancel) super.setKey(key); - } + @Override + public Create setQuotaUser(java.lang.String quotaUser) { + return (Create) super.setQuotaUser(quotaUser); + } - @Override - public Cancel setOauthToken(java.lang.String oauthToken) { - return (Cancel) super.setOauthToken(oauthToken); - } + @Override + public Create setUploadType(java.lang.String uploadType) { + return (Create) super.setUploadType(uploadType); + } - @Override - public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Cancel) super.setPrettyPrint(prettyPrint); - } + @Override + public Create setUploadProtocol(java.lang.String uploadProtocol) { + return (Create) super.setUploadProtocol(uploadProtocol); + } - @Override - public Cancel setQuotaUser(java.lang.String quotaUser) { - return (Cancel) super.setQuotaUser(quotaUser); - } + /** + * Required. The resource name of the Location into which to create the + * SemanticGovernancePolicy. Format: `projects/{project}/locations/{location}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; - @Override - public Cancel setUploadType(java.lang.String uploadType) { - return (Cancel) super.setUploadType(uploadType); - } + /** Required. The resource name of the Location into which to create the SemanticGovernancePolicy. + Format: `projects/{project}/locations/{location}` + */ + public java.lang.String getParent() { + return parent; + } - @Override - public Cancel setUploadProtocol(java.lang.String uploadProtocol) { - return (Cancel) super.setUploadProtocol(uploadProtocol); + /** + * Required. The resource name of the Location into which to create the + * SemanticGovernancePolicy. 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; + } - /** The name of the operation resource to be cancelled. */ - @com.google.api.client.util.Key - private java.lang.String name; + /** + * Required. The ID to use for the SemanticGovernancePolicy, which will become the final + * component of the SemanticGovernancePolicy's resource name. This value may be up to 63 + * characters, and valid characters are `[a-z0-9-]`. The first character cannot be a + * number or hyphen. The last character must be a letter or a number. + */ + @com.google.api.client.util.Key + private java.lang.String semanticGovernancePolicyId; - /** The name of the operation resource to be cancelled. - */ - public java.lang.String getName() { - return name; - } + /** Required. The ID to use for the SemanticGovernancePolicy, which will become the final component of + the SemanticGovernancePolicy's resource name. This value may be up to 63 characters, and valid + characters are `[a-z0-9-]`. The first character cannot be a number or hyphen. The last character + must be a letter or a number. + */ + public java.lang.String getSemanticGovernancePolicyId() { + return semanticGovernancePolicyId; + } - /** The name of the operation resource to be cancelled. */ - public Cancel 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/[^/]+/semanticGovernancePolicies/[^/]+/operations/[^/]+$"); - } - this.name = name; - return this; - } + /** + * Required. The ID to use for the SemanticGovernancePolicy, which will become the final + * component of the SemanticGovernancePolicy's resource name. This value may be up to 63 + * characters, and valid characters are `[a-z0-9-]`. The first character cannot be a + * number or hyphen. The last character must be a letter or a number. + */ + public Create setSemanticGovernancePolicyId(java.lang.String semanticGovernancePolicyId) { + this.semanticGovernancePolicyId = semanticGovernancePolicyId; + return this; + } - @Override - public Cancel set(String parameterName, Object value) { - return (Cancel) super.set(parameterName, value); - } + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); } + } + /** + * Deletes a SemanticGovernancePolicy. + * + * Create a request for the method "semanticGovernancePolicies.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 SemanticGovernancePolicy resource to be deleted. Format: + * `projects/{project}/locations/{location}/semanticGovernancePolicies/{semantic_governance_p + * olicy}` + * @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/[^/]+/semanticGovernancePolicies/[^/]+$"); + /** - * Deletes a long-running operation. This method indicates that the client is no longer interested - * in the operation result. It does not cancel the operation. If the server doesn't support this - * method, it returns `google.rpc.Code.UNIMPLEMENTED`. + * Deletes a SemanticGovernancePolicy. * - * Create a request for the method "operations.delete". + * Create a request for the method "semanticGovernancePolicies.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. + * 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 The name of the operation resource to be deleted. - * @return the request + * @param name Required. The name of the SemanticGovernancePolicy resource to be deleted. Format: + * `projects/{project}/locations/{location}/semanticGovernancePolicies/{semantic_governance_p + * olicy}` + * @since 1.13 */ - public Delete delete(java.lang.String name) throws java.io.IOException { - Delete result = new Delete(name); - initialize(result); - return result; + 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/[^/]+/semanticGovernancePolicies/[^/]+$"); + } } - public class Delete extends AiplatformRequest { - - private static final String REST_PATH = "v1beta1/{+name}"; + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/semanticGovernancePolicies/[^/]+/operations/[^/]+$"); + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } - /** - * Deletes a long-running operation. This method indicates that the client is no longer interested - * in the operation result. It does not cancel the operation. If the server doesn't support this - * method, it returns `google.rpc.Code.UNIMPLEMENTED`. - * - * Create a request for the method "operations.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 The name of the operation resource to be deleted. - * @since 1.13 - */ - protected Delete(java.lang.String name) { - super(Aiplatform.this, "DELETE", REST_PATH, null, com.google.api.services.aiplatform.v1beta1.model.GoogleProtobufEmpty.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/[^/]+/semanticGovernancePolicies/[^/]+/operations/[^/]+$"); - } - } + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } - @Override - public Delete set$Xgafv(java.lang.String $Xgafv) { - return (Delete) super.set$Xgafv($Xgafv); - } + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } - @Override - public Delete setAccessToken(java.lang.String accessToken) { - return (Delete) super.setAccessToken(accessToken); - } + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } - @Override - public Delete setAlt(java.lang.String alt) { - return (Delete) super.setAlt(alt); - } + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } - @Override - public Delete setCallback(java.lang.String callback) { - return (Delete) super.setCallback(callback); - } + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } - @Override - public Delete setFields(java.lang.String fields) { - return (Delete) super.setFields(fields); - } + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } - @Override - public Delete setKey(java.lang.String key) { - return (Delete) super.setKey(key); - } + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } - @Override - public Delete setOauthToken(java.lang.String oauthToken) { - return (Delete) super.setOauthToken(oauthToken); - } + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } - @Override - public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Delete) super.setPrettyPrint(prettyPrint); - } + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } - @Override - public Delete setQuotaUser(java.lang.String quotaUser) { - return (Delete) super.setQuotaUser(quotaUser); - } + /** + * Required. The name of the SemanticGovernancePolicy resource to be deleted. Format: `pro + * jects/{project}/locations/{location}/semanticGovernancePolicies/{semantic_governance_po + * licy}` + */ + @com.google.api.client.util.Key + private java.lang.String name; - @Override - public Delete setUploadType(java.lang.String uploadType) { - return (Delete) super.setUploadType(uploadType); - } + /** Required. The name of the SemanticGovernancePolicy resource to be deleted. Format: + `projects/{project}/locations/{location}/semanticGovernancePolicies/{semantic_governance_policy}` + */ + public java.lang.String getName() { + return name; + } - @Override - public Delete setUploadProtocol(java.lang.String uploadProtocol) { - return (Delete) super.setUploadProtocol(uploadProtocol); + /** + * Required. The name of the SemanticGovernancePolicy resource to be deleted. Format: `pro + * jects/{project}/locations/{location}/semanticGovernancePolicies/{semantic_governance_po + * licy}` + */ + 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/[^/]+/semanticGovernancePolicies/[^/]+$"); } + this.name = name; + return this; + } - /** The name of the operation resource to be deleted. */ - @com.google.api.client.util.Key - private java.lang.String name; + /** + * Optional. The etag of the SemanticGovernancePolicy. If an etag is provided and does not + * match the current etag of the SemanticGovernancePolicy, deletion will be blocked and an + * ABORTED error will be returned. + */ + @com.google.api.client.util.Key + private java.lang.String etag; - /** The name of the operation resource to be deleted. - */ - public java.lang.String getName() { - return name; - } + /** Optional. The etag of the SemanticGovernancePolicy. If an etag is provided and does not match the + current etag of the SemanticGovernancePolicy, deletion will be blocked and an ABORTED error will be + returned. + */ + public java.lang.String getEtag() { + return etag; + } - /** The name of the operation resource to be deleted. */ - 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/[^/]+/semanticGovernancePolicies/[^/]+/operations/[^/]+$"); - } - this.name = name; - return this; - } + /** + * Optional. The etag of the SemanticGovernancePolicy. If an etag is provided and does not + * match the current etag of the SemanticGovernancePolicy, deletion will be blocked and an + * ABORTED error will be returned. + */ + public Delete setEtag(java.lang.String etag) { + this.etag = etag; + return this; + } - @Override - public Delete set(String parameterName, Object value) { - return (Delete) super.set(parameterName, value); - } + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); } + } + /** + * Gets a SemanticGovernancePolicy. + * + * Create a request for the method "semanticGovernancePolicies.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 SemanticGovernancePolicy resource. Format: + * `projects/{project}/locations/{location}/semanticGovernancePolicies/{semantic_governance_p + * olicy}` + * @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/[^/]+/semanticGovernancePolicies/[^/]+$"); + /** - * Gets the latest state of a long-running operation. Clients can use this method to poll the - * operation result at intervals as recommended by the API service. + * Gets a SemanticGovernancePolicy. * - * Create a request for the method "operations.get". + * Create a request for the method "semanticGovernancePolicies.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. + * 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 The name of the operation resource. - * @return the request + * @param name Required. The name of the SemanticGovernancePolicy resource. Format: + * `projects/{project}/locations/{location}/semanticGovernancePolicies/{semantic_governance_p + * olicy}` + * @since 1.13 */ - public Get get(java.lang.String name) throws java.io.IOException { - Get result = new Get(name); - initialize(result); - return result; + protected Get(java.lang.String name) { + super(Aiplatform.this, "GET", REST_PATH, null, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicy.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/[^/]+/semanticGovernancePolicies/[^/]+$"); + } } - public class Get extends AiplatformRequest { + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } - private static final String REST_PATH = "v1beta1/{+name}"; + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/semanticGovernancePolicies/[^/]+/operations/[^/]+$"); + @Override + public Get set$Xgafv(java.lang.String $Xgafv) { + return (Get) super.set$Xgafv($Xgafv); + } - /** - * Gets the latest state of a long-running operation. Clients can use this method to poll the - * operation result at intervals as recommended by the API service. - * - * Create a request for the method "operations.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 The name of the operation resource. - * @since 1.13 - */ - protected Get(java.lang.String name) { - super(Aiplatform.this, "GET", 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/[^/]+/semanticGovernancePolicies/[^/]+/operations/[^/]+$"); - } - } + @Override + public Get setAccessToken(java.lang.String accessToken) { + return (Get) super.setAccessToken(accessToken); + } - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } + @Override + public Get setAlt(java.lang.String alt) { + return (Get) super.setAlt(alt); + } - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } + @Override + public Get setCallback(java.lang.String callback) { + return (Get) super.setCallback(callback); + } - @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); - } + @Override + public Get setFields(java.lang.String fields) { + return (Get) super.setFields(fields); + } - @Override - public Get setAccessToken(java.lang.String accessToken) { - return (Get) super.setAccessToken(accessToken); - } + @Override + public Get setKey(java.lang.String key) { + return (Get) super.setKey(key); + } - @Override - public Get setAlt(java.lang.String alt) { - return (Get) super.setAlt(alt); - } + @Override + public Get setOauthToken(java.lang.String oauthToken) { + return (Get) super.setOauthToken(oauthToken); + } - @Override - public Get setCallback(java.lang.String callback) { - return (Get) super.setCallback(callback); - } + @Override + public Get setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Get) super.setPrettyPrint(prettyPrint); + } - @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); - } + @Override + public Get setQuotaUser(java.lang.String quotaUser) { + return (Get) super.setQuotaUser(quotaUser); + } - @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); - } + @Override + public Get setUploadType(java.lang.String uploadType) { + return (Get) super.setUploadType(uploadType); + } - @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); - } + @Override + public Get setUploadProtocol(java.lang.String uploadProtocol) { + return (Get) super.setUploadProtocol(uploadProtocol); + } - @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); - } + /** + * Required. The name of the SemanticGovernancePolicy resource. Format: `projects/{project + * }/locations/{location}/semanticGovernancePolicies/{semantic_governance_policy}` + */ + @com.google.api.client.util.Key + private java.lang.String name; - @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); - } + /** Required. The name of the SemanticGovernancePolicy resource. Format: + `projects/{project}/locations/{location}/semanticGovernancePolicies/{semantic_governance_policy}` + */ + public java.lang.String getName() { + return name; + } - @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); + /** + * Required. The name of the SemanticGovernancePolicy resource. Format: `projects/{project + * }/locations/{location}/semanticGovernancePolicies/{semantic_governance_policy}` + */ + 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/[^/]+/semanticGovernancePolicies/[^/]+$"); } + this.name = name; + return this; + } - @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); - } + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists SemanticGovernancePolicies in a given location. + * + * Create a request for the method "semanticGovernancePolicies.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 SemanticGovernancePolicies. + * 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; + } - /** The name of the operation resource. */ - @com.google.api.client.util.Key - private java.lang.String name; + public class List extends AiplatformRequest { - /** The name of the operation resource. - */ - public java.lang.String getName() { - return name; - } + private static final String REST_PATH = "v1beta1/{+parent}/semanticGovernancePolicies"; - /** The name of the operation resource. */ - 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/[^/]+/semanticGovernancePolicies/[^/]+/operations/[^/]+$"); - } - this.name = name; - return this; - } + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); - @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); - } - } /** - * Lists operations that match the specified filter in the request. If the server doesn't support - * this method, it returns `UNIMPLEMENTED`. + * Lists SemanticGovernancePolicies in a given location. * - * Create a request for the method "operations.list". + * Create a request for the method "semanticGovernancePolicies.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. + * 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 name The name of the operation's parent resource. - * @return the request + * @param parent Required. The resource name of the Location from which to list the SemanticGovernancePolicies. + * Format: `projects/{project}/locations/{location}` + * @since 1.13 */ - public List list(java.lang.String name) throws java.io.IOException { - List result = new List(name); - initialize(result); - return result; - } - - public class List extends AiplatformRequest { - - private static final String REST_PATH = "v1beta1/{+name}/operations"; - - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/semanticGovernancePolicies/[^/]+$"); - - /** - * Lists operations that match the specified filter in the request. If the server doesn't support - * this method, it returns `UNIMPLEMENTED`. - * - * Create a request for the method "operations.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 name The name of the operation's parent resource. - * @since 1.13 - */ - protected List(java.lang.String name) { - super(Aiplatform.this, "GET", REST_PATH, null, com.google.api.services.aiplatform.v1beta1.model.GoogleLongrunningListOperationsResponse.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/[^/]+/semanticGovernancePolicies/[^/]+$"); - } - } - - @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(); + protected List(java.lang.String parent) { + super(Aiplatform.this, "GET", REST_PATH, null, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponse.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 List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); - } + @Override + public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { + return super.executeUsingHead(); + } - @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); - } + @Override + public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { + return super.buildHttpRequestUsingHead(); + } - @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); - } + @Override + public List set$Xgafv(java.lang.String $Xgafv) { + return (List) super.set$Xgafv($Xgafv); + } - @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); - } + @Override + public List setAccessToken(java.lang.String accessToken) { + return (List) super.setAccessToken(accessToken); + } - @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); - } + @Override + public List setAlt(java.lang.String alt) { + return (List) super.setAlt(alt); + } - @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); - } + @Override + public List setCallback(java.lang.String callback) { + return (List) super.setCallback(callback); + } - @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); - } + @Override + public List setFields(java.lang.String fields) { + return (List) super.setFields(fields); + } - @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); - } + @Override + public List setKey(java.lang.String key) { + return (List) super.setKey(key); + } - @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); - } + @Override + public List setOauthToken(java.lang.String oauthToken) { + return (List) super.setOauthToken(oauthToken); + } - @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); - } + @Override + public List setPrettyPrint(java.lang.Boolean prettyPrint) { + return (List) super.setPrettyPrint(prettyPrint); + } - @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); - } + @Override + public List setQuotaUser(java.lang.String quotaUser) { + return (List) super.setQuotaUser(quotaUser); + } - /** The name of the operation's parent resource. */ - @com.google.api.client.util.Key - private java.lang.String name; + @Override + public List setUploadType(java.lang.String uploadType) { + return (List) super.setUploadType(uploadType); + } - /** The name of the operation's parent resource. - */ - public java.lang.String getName() { - return name; - } + @Override + public List setUploadProtocol(java.lang.String uploadProtocol) { + return (List) super.setUploadProtocol(uploadProtocol); + } - /** The name of the operation's parent resource. */ - public List 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/[^/]+/semanticGovernancePolicies/[^/]+$"); - } - this.name = name; - return this; - } + /** + * Required. The resource name of the Location from which to list the + * SemanticGovernancePolicies. Format: `projects/{project}/locations/{location}` + */ + @com.google.api.client.util.Key + private java.lang.String parent; - /** The standard list filter. */ - @com.google.api.client.util.Key - private java.lang.String filter; + /** Required. The resource name of the Location from which to list the SemanticGovernancePolicies. + Format: `projects/{project}/locations/{location}` + */ + public java.lang.String getParent() { + return parent; + } - /** The standard list filter. - */ - public java.lang.String getFilter() { - return filter; + /** + * Required. The resource name of the Location from which to list the + * SemanticGovernancePolicies. 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; + } - /** The standard list filter. */ - public List setFilter(java.lang.String filter) { - this.filter = filter; - return this; - } + /** Optional. The list page size. If zero, a default page size of 10 is used. */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; - /** The standard list page size. */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; + /** Optional. The list page size. If zero, a default page size of 10 is used. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } - /** The standard list page size. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } + /** Optional. The list page size. If zero, a default page size of 10 is used. */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } - /** The standard list page size. */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } + /** Optional. The standard list page token. */ + @com.google.api.client.util.Key + private java.lang.String pageToken; - /** The standard list page token. */ - @com.google.api.client.util.Key - private java.lang.String pageToken; + /** Optional. The standard list page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } - /** The standard list page token. - */ - public java.lang.String getPageToken() { - return pageToken; - } + /** Optional. The standard list page token. */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } - /** The standard list page token. */ - 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 a SemanticGovernancePolicy. + * + * Create a request for the method "semanticGovernancePolicies.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. Resource name of the SemanticGovernancePolicy. + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicy} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicy content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } - /** - * When set to `true`, operations that are reachable are returned as normal, and those - * that are unreachable are returned in the ListOperationsResponse.unreachable field. - * This can only be `true` when reading across collections. For example, when `parent` - * is set to `"projects/example/locations/-"`. This field is not supported by default - * and will result in an `UNIMPLEMENTED` error if set unless explicitly documented - * otherwise in service or product specific documentation. - */ - @com.google.api.client.util.Key - private java.lang.Boolean returnPartialSuccess; + public class Patch extends AiplatformRequest { - /** When set to `true`, operations that are reachable are returned as normal, and those that are - unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` - when reading across collections. For example, when `parent` is set to - `"projects/example/locations/-"`. This field is not supported by default and will result in an - `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific - documentation. - */ - public java.lang.Boolean getReturnPartialSuccess() { - return returnPartialSuccess; - } + private static final String REST_PATH = "v1beta1/{+name}"; - /** - * When set to `true`, operations that are reachable are returned as normal, and those - * that are unreachable are returned in the ListOperationsResponse.unreachable field. - * This can only be `true` when reading across collections. For example, when `parent` - * is set to `"projects/example/locations/-"`. This field is not supported by default - * and will result in an `UNIMPLEMENTED` error if set unless explicitly documented - * otherwise in service or product specific documentation. - */ - public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) { - this.returnPartialSuccess = returnPartialSuccess; - return this; - } + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/semanticGovernancePolicies/[^/]+$"); - @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); - } - } /** - * Waits until the specified long-running operation is done or reaches at most a specified timeout, - * returning the latest state. If the operation is already done, the latest state is immediately - * returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC - * timeout is used. If the server does not support this method, it returns - * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return - * the latest state before the specified timeout (including immediately), meaning even an immediate - * response is no guarantee that the operation is done. + * Updates a SemanticGovernancePolicy. * - * Create a request for the method "operations.wait". + * Create a request for the method "semanticGovernancePolicies.patch". * - * This request holds the parameters needed by the aiplatform server. After setting any optional - * parameters, call the {@link Wait#execute()} method to invoke the remote operation. + * 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 The name of the operation resource to wait on. - * @return the request + * @param name Identifier. Resource name of the SemanticGovernancePolicy. + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicy} + * @since 1.13 */ - public Wait wait(java.lang.String name) throws java.io.IOException { - Wait result = new Wait(name); - initialize(result); - return result; - } - - public class Wait extends AiplatformRequest { - - private static final String REST_PATH = "v1beta1/{+name}:wait"; - - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/semanticGovernancePolicies/[^/]+/operations/[^/]+$"); - - /** - * Waits until the specified long-running operation is done or reaches at most a specified - * timeout, returning the latest state. If the operation is already done, the latest state is - * immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, - * the HTTP/RPC timeout is used. If the server does not support this method, it returns - * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return - * the latest state before the specified timeout (including immediately), meaning even an - * immediate response is no guarantee that the operation is done. - * - * Create a request for the method "operations.wait". - * - * This request holds the parameters needed by the the aiplatform server. After setting any - * optional parameters, call the {@link Wait#execute()} method to invoke the remote operation.

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

- * - * @param name The name of the operation resource to wait on. - * @since 1.13 - */ - protected Wait(java.lang.String name) { - super(Aiplatform.this, "POST", 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/[^/]+/semanticGovernancePolicies/[^/]+/operations/[^/]+$"); - } + protected Patch(java.lang.String name, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1SemanticGovernancePolicy content) { + super(Aiplatform.this, "PATCH", 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/[^/]+/semanticGovernancePolicies/[^/]+$"); } + } - @Override - public Wait set$Xgafv(java.lang.String $Xgafv) { - return (Wait) super.set$Xgafv($Xgafv); - } + @Override + public Patch set$Xgafv(java.lang.String $Xgafv) { + return (Patch) super.set$Xgafv($Xgafv); + } - @Override - public Wait setAccessToken(java.lang.String accessToken) { - return (Wait) super.setAccessToken(accessToken); - } + @Override + public Patch setAccessToken(java.lang.String accessToken) { + return (Patch) super.setAccessToken(accessToken); + } - @Override - public Wait setAlt(java.lang.String alt) { - return (Wait) super.setAlt(alt); - } + @Override + public Patch setAlt(java.lang.String alt) { + return (Patch) super.setAlt(alt); + } - @Override - public Wait setCallback(java.lang.String callback) { - return (Wait) super.setCallback(callback); - } + @Override + public Patch setCallback(java.lang.String callback) { + return (Patch) super.setCallback(callback); + } - @Override - public Wait setFields(java.lang.String fields) { - return (Wait) super.setFields(fields); - } + @Override + public Patch setFields(java.lang.String fields) { + return (Patch) super.setFields(fields); + } - @Override - public Wait setKey(java.lang.String key) { - return (Wait) super.setKey(key); - } + @Override + public Patch setKey(java.lang.String key) { + return (Patch) super.setKey(key); + } - @Override - public Wait setOauthToken(java.lang.String oauthToken) { - return (Wait) super.setOauthToken(oauthToken); - } + @Override + public Patch setOauthToken(java.lang.String oauthToken) { + return (Patch) super.setOauthToken(oauthToken); + } - @Override - public Wait setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Wait) super.setPrettyPrint(prettyPrint); - } + @Override + public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Patch) super.setPrettyPrint(prettyPrint); + } - @Override - public Wait setQuotaUser(java.lang.String quotaUser) { - return (Wait) super.setQuotaUser(quotaUser); - } + @Override + public Patch setQuotaUser(java.lang.String quotaUser) { + return (Patch) super.setQuotaUser(quotaUser); + } - @Override - public Wait setUploadType(java.lang.String uploadType) { - return (Wait) super.setUploadType(uploadType); - } + @Override + public Patch setUploadType(java.lang.String uploadType) { + return (Patch) super.setUploadType(uploadType); + } - @Override - public Wait setUploadProtocol(java.lang.String uploadProtocol) { - return (Wait) super.setUploadProtocol(uploadProtocol); - } + @Override + public Patch setUploadProtocol(java.lang.String uploadProtocol) { + return (Patch) super.setUploadProtocol(uploadProtocol); + } - /** The name of the operation resource to wait on. */ - @com.google.api.client.util.Key - private java.lang.String name; + /** Identifier. Resource name of the SemanticGovernancePolicy. */ + @com.google.api.client.util.Key + private java.lang.String name; - /** The name of the operation resource to wait on. - */ - public java.lang.String getName() { - return name; - } + /** Identifier. Resource name of the SemanticGovernancePolicy. + */ + public java.lang.String getName() { + return name; + } - /** The name of the operation resource to wait on. */ - public Wait 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/[^/]+/semanticGovernancePolicies/[^/]+/operations/[^/]+$"); - } - this.name = name; - return this; + /** Identifier. Resource name of the SemanticGovernancePolicy. */ + 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/[^/]+/semanticGovernancePolicies/[^/]+$"); } + this.name = name; + return this; + } - /** - * The maximum duration to wait before timing out. If left blank, the wait will be at - * most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline - * is also specified, the shorter one will be used. - */ - @com.google.api.client.util.Key - private String timeout; - - /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time - permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the - shorter one will be used. - */ - public String getTimeout() { - return timeout; - } + /** + * Optional. `update_mask` is used to specify the fields to be overwritten in the + * SemanticGovernancePolicy resource by the update. The fields specified in the + * `update_mask` are relative to the resource, not the full request. A field will be + * overwritten if it is in the mask. If the mask is not present, then all fields that are + * populated in the request message will be overwritten. Set the `update_mask` to `*` to + * override all fields. + */ + @com.google.api.client.util.Key + private String updateMask; - /** - * The maximum duration to wait before timing out. If left blank, the wait will be at - * most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline - * is also specified, the shorter one will be used. - */ - public Wait setTimeout(String timeout) { - this.timeout = timeout; - return this; - } + /** Optional. `update_mask` is used to specify the fields to be overwritten in the + SemanticGovernancePolicy resource by the update. The fields specified in the `update_mask` are + relative to the resource, not the full request. A field will be overwritten if it is in the mask. + If the mask is not present, then all fields that are populated in the request message will be + overwritten. Set the `update_mask` to `*` to override all fields. + */ + public String getUpdateMask() { + return updateMask; + } - @Override - public Wait set(String parameterName, Object value) { - return (Wait) super.set(parameterName, value); - } + /** + * Optional. `update_mask` is used to specify the fields to be overwritten in the + * SemanticGovernancePolicy resource by the update. The fields specified in the + * `update_mask` are relative to the resource, not the full request. A field will be + * overwritten if it is in the mask. If the mask is not present, then all fields that are + * populated in the request message will be overwritten. Set the `update_mask` to `*` to + * override all fields. + */ + 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 SemanticGovernancePolicyEngine collection. - * - *

The typical use is:

- *
-       *   {@code Aiplatform aiplatform = new Aiplatform(...);}
-       *   {@code Aiplatform.SemanticGovernancePolicyEngine.List request = aiplatform.semanticGovernancePolicyEngine().list(parameters ...)}
-       * 
- * - * @return the resource collection - */ - public SemanticGovernancePolicyEngine semanticGovernancePolicyEngine() { - return new SemanticGovernancePolicyEngine(); - } - - /** - * The "semanticGovernancePolicyEngine" collection of methods. - */ - public class SemanticGovernancePolicyEngine { /** * An accessor for creating requests from the Operations collection. @@ -179499,7 +179804,7 @@ public class Cancel extends AiplatformRequestThe typical use is:

+ *
+       *   {@code Aiplatform aiplatform = new Aiplatform(...);}
+       *   {@code Aiplatform.SemanticGovernancePolicyEngine.List request = aiplatform.semanticGovernancePolicyEngine().list(parameters ...)}
+       * 
+ * + * @return the resource collection + */ + public SemanticGovernancePolicyEngine semanticGovernancePolicyEngine() { + return new SemanticGovernancePolicyEngine(); + } + + /** + * The "semanticGovernancePolicyEngine" collection of methods. + */ + public class SemanticGovernancePolicyEngine { + + /** + * Deprovisions the SemanticGovernancePolicyEngine, tearing down the associated tenant project, GKE + * cluster, and PSC service attachments. This operation is irreversible. Returns a long-running + * operation; poll for completion. The response contains the SemanticGovernancePolicyEngine in + * DEPROVISIONING state. + * + * Create a request for the method "semanticGovernancePolicyEngine.deprovision". + * + * This request holds the parameters needed by the aiplatform server. After setting any optional + * parameters, call the {@link Deprovision#execute()} method to invoke the remote operation. + * + * @param name Required. The resource name of the SemanticGovernancePolicyEngine to deprovision. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1DeprovisionSemanticGovernancePolicyEngineRequest} + * @return the request + */ + public Deprovision deprovision(java.lang.String name, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1DeprovisionSemanticGovernancePolicyEngineRequest content) throws java.io.IOException { + Deprovision result = new Deprovision(name, content); + initialize(result); + return result; + } + + public class Deprovision extends AiplatformRequest { + + private static final String REST_PATH = "v1beta1/{+name}:deprovision"; + + private final java.util.regex.Pattern NAME_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/semanticGovernancePolicyEngine$"); + + /** + * Deprovisions the SemanticGovernancePolicyEngine, tearing down the associated tenant project, + * GKE cluster, and PSC service attachments. This operation is irreversible. Returns a long- + * running operation; poll for completion. The response contains the + * SemanticGovernancePolicyEngine in DEPROVISIONING state. + * + * Create a request for the method "semanticGovernancePolicyEngine.deprovision". + * + * This request holds the parameters needed by the the aiplatform server. After setting any + * optional parameters, call the {@link Deprovision#execute()} method to invoke the remote + * operation.

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

+ * + * @param name Required. The resource name of the SemanticGovernancePolicyEngine to deprovision. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1DeprovisionSemanticGovernancePolicyEngineRequest} + * @since 1.13 + */ + protected Deprovision(java.lang.String name, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1DeprovisionSemanticGovernancePolicyEngineRequest 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/[^/]+/semanticGovernancePolicyEngine$"); + } + } + + @Override + public Deprovision set$Xgafv(java.lang.String $Xgafv) { + return (Deprovision) super.set$Xgafv($Xgafv); + } + + @Override + public Deprovision setAccessToken(java.lang.String accessToken) { + return (Deprovision) super.setAccessToken(accessToken); + } + + @Override + public Deprovision setAlt(java.lang.String alt) { + return (Deprovision) super.setAlt(alt); + } + + @Override + public Deprovision setCallback(java.lang.String callback) { + return (Deprovision) super.setCallback(callback); + } + + @Override + public Deprovision setFields(java.lang.String fields) { + return (Deprovision) super.setFields(fields); + } + + @Override + public Deprovision setKey(java.lang.String key) { + return (Deprovision) super.setKey(key); + } + + @Override + public Deprovision setOauthToken(java.lang.String oauthToken) { + return (Deprovision) super.setOauthToken(oauthToken); + } + + @Override + public Deprovision setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Deprovision) super.setPrettyPrint(prettyPrint); + } + + @Override + public Deprovision setQuotaUser(java.lang.String quotaUser) { + return (Deprovision) super.setQuotaUser(quotaUser); + } + + @Override + public Deprovision setUploadType(java.lang.String uploadType) { + return (Deprovision) super.setUploadType(uploadType); + } + + @Override + public Deprovision setUploadProtocol(java.lang.String uploadProtocol) { + return (Deprovision) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource name of the SemanticGovernancePolicyEngine to deprovision. + * Format: projects/{project}/locations/{location}/semanticGovernancePolicyEngine + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The resource name of the SemanticGovernancePolicyEngine to deprovision. Format: + projects/{project}/locations/{location}/semanticGovernancePolicyEngine + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The resource name of the SemanticGovernancePolicyEngine to deprovision. + * Format: projects/{project}/locations/{location}/semanticGovernancePolicyEngine + */ + public Deprovision 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/[^/]+/semanticGovernancePolicyEngine$"); + } + this.name = name; + return this; + } + + @Override + public Deprovision set(String parameterName, Object value) { + return (Deprovision) super.set(parameterName, value); + } + } + + } /** * An accessor for creating requests from the ServingProfiles collection. * @@ -181276,7 +181749,7 @@ public Create setParent(java.lang.String parent) { } /** - * Optional. The ID to use for the Skill, which will become the final component of the + * Required. The ID to use for the Skill, which will become the final component of the * Skill's resource name. If not provided, a system-generated ID will be used. This value * must be 1-63 characters. Valid characters are lowercase letters, numbers, and hyphens. * The first character must be a lowercase letter, and the last character must be a @@ -181287,7 +181760,7 @@ public Create setParent(java.lang.String parent) { @com.google.api.client.util.Key private java.lang.String skillId; - /** Optional. The ID to use for the Skill, which will become the final component of the Skill's + /** Required. The ID to use for the Skill, which will become the final component of the Skill's resource name. If not provided, a system-generated ID will be used. This value must be 1-63 characters. Valid characters are lowercase letters, numbers, and hyphens. The first character must be a lowercase letter, and the last character must be a lowercase letter or a number. Specifically, @@ -181299,7 +181772,7 @@ public java.lang.String getSkillId() { } /** - * Optional. The ID to use for the Skill, which will become the final component of the + * Required. The ID to use for the Skill, which will become the final component of the * Skill's resource name. If not provided, a system-generated ID will be used. This value * must be 1-63 characters. Valid characters are lowercase letters, numbers, and hyphens. * The first character must be a lowercase letter, and the last character must be a @@ -200364,6 +200837,150 @@ public OptimizePrompt set(String parameterName, Object value) { return (OptimizePrompt) super.set(parameterName, value); } } + /** + * Processes data from a user's Cloud Storage bucket and saves the result to a destination Cloud + * Storage bucket. This method returns a long-running operation, and the `ProcessDataResponse` will + * be returned upon completion. + * + * Create a request for the method "tuningJobs.processData". + * + * This request holds the parameters needed by the aiplatform server. After setting any optional + * parameters, call the {@link ProcessData#execute()} method to invoke the remote operation. + * + * @param parent Required. The resource name of the Location to process the data in. Format: + * `projects/{project}/locations/{location}` + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1ProcessDataRequest} + * @return the request + */ + public ProcessData processData(java.lang.String parent, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1ProcessDataRequest content) throws java.io.IOException { + ProcessData result = new ProcessData(parent, content); + initialize(result); + return result; + } + + public class ProcessData extends AiplatformRequest { + + private static final String REST_PATH = "v1beta1/{+parent}/tuningJobs:processData"; + + private final java.util.regex.Pattern PARENT_PATTERN = + java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+$"); + + /** + * Processes data from a user's Cloud Storage bucket and saves the result to a destination Cloud + * Storage bucket. This method returns a long-running operation, and the `ProcessDataResponse` + * will be returned upon completion. + * + * Create a request for the method "tuningJobs.processData". + * + * This request holds the parameters needed by the the aiplatform server. After setting any + * optional parameters, call the {@link ProcessData#execute()} method to invoke the remote + * operation.

{@link + * ProcessData#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 process the data in. Format: + * `projects/{project}/locations/{location}` + * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1ProcessDataRequest} + * @since 1.13 + */ + protected ProcessData(java.lang.String parent, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1ProcessDataRequest content) { + super(Aiplatform.this, "POST", REST_PATH, content, com.google.api.services.aiplatform.v1beta1.model.GoogleLongrunningOperation.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 ProcessData set$Xgafv(java.lang.String $Xgafv) { + return (ProcessData) super.set$Xgafv($Xgafv); + } + + @Override + public ProcessData setAccessToken(java.lang.String accessToken) { + return (ProcessData) super.setAccessToken(accessToken); + } + + @Override + public ProcessData setAlt(java.lang.String alt) { + return (ProcessData) super.setAlt(alt); + } + + @Override + public ProcessData setCallback(java.lang.String callback) { + return (ProcessData) super.setCallback(callback); + } + + @Override + public ProcessData setFields(java.lang.String fields) { + return (ProcessData) super.setFields(fields); + } + + @Override + public ProcessData setKey(java.lang.String key) { + return (ProcessData) super.setKey(key); + } + + @Override + public ProcessData setOauthToken(java.lang.String oauthToken) { + return (ProcessData) super.setOauthToken(oauthToken); + } + + @Override + public ProcessData setPrettyPrint(java.lang.Boolean prettyPrint) { + return (ProcessData) super.setPrettyPrint(prettyPrint); + } + + @Override + public ProcessData setQuotaUser(java.lang.String quotaUser) { + return (ProcessData) super.setQuotaUser(quotaUser); + } + + @Override + public ProcessData setUploadType(java.lang.String uploadType) { + return (ProcessData) super.setUploadType(uploadType); + } + + @Override + public ProcessData setUploadProtocol(java.lang.String uploadProtocol) { + return (ProcessData) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The resource name of the Location to process the data 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 process the data in. Format: + `projects/{project}/locations/{location}` + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The resource name of the Location to process the data in. Format: + * `projects/{project}/locations/{location}` + */ + public ProcessData 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 ProcessData set(String parameterName, Object value) { + return (ProcessData) super.set(parameterName, value); + } + } /** * Rebase a tuned model. A rebase operation takes a model that was previously tuned on a base model * version, and retunes it on a new base model version. The rebase operation creates a new tuning @@ -213356,22 +213973,22 @@ public Patch setName(java.lang.String name) { } /** - * Optional. Mask specifying which fields to update. Supported fields: * `display_name` * - * `description` * `fact` + * Optional. Mask specifying which fields to update. The following fields are immutable: * + * `scope` * `memory_type` */ @com.google.api.client.util.Key private String updateMask; - /** Optional. Mask specifying which fields to update. Supported fields: * `display_name` * - `description` * `fact` + /** Optional. Mask specifying which fields to update. The following fields are immutable: * `scope` * + `memory_type` */ public String getUpdateMask() { return updateMask; } /** - * Optional. Mask specifying which fields to update. Supported fields: * `display_name` * - * `description` * `fact` + * Optional. Mask specifying which fields to update. The following fields are immutable: * + * `scope` * `memory_type` */ public Patch setUpdateMask(String updateMask) { this.updateMask = updateMask; @@ -229576,853 +230193,6 @@ public Wait set(String parameterName, Object value) { } } - /** - * An accessor for creating requests from the SemanticGovernancePolicyEngine collection. - * - *

The typical use is:

- *
-   *   {@code Aiplatform aiplatform = new Aiplatform(...);}
-   *   {@code Aiplatform.SemanticGovernancePolicyEngine.List request = aiplatform.semanticGovernancePolicyEngine().list(parameters ...)}
-   * 
- * - * @return the resource collection - */ - public SemanticGovernancePolicyEngine semanticGovernancePolicyEngine() { - return new SemanticGovernancePolicyEngine(); - } - - /** - * The "semanticGovernancePolicyEngine" collection of methods. - */ - public class SemanticGovernancePolicyEngine { - - /** - * An accessor for creating requests from the Operations collection. - * - *

The typical use is:

- *
-     *   {@code Aiplatform aiplatform = new Aiplatform(...);}
-     *   {@code Aiplatform.Operations.List request = aiplatform.operations().list(parameters ...)}
-     * 
- * - * @return the resource collection - */ - public Operations operations() { - return new Operations(); - } - - /** - * The "operations" collection of methods. - */ - public class Operations { - - /** - * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to - * cancel the operation, but success is not guaranteed. If the server doesn't support this method, - * it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other - * methods to check whether the cancellation succeeded or whether the operation completed despite - * cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an - * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to - * `Code.CANCELLED`. - * - * Create a request for the method "operations.cancel". - * - * This request holds the parameters needed by the aiplatform server. After setting any optional - * parameters, call the {@link Cancel#execute()} method to invoke the remote operation. - * - * @param name The name of the operation resource to be cancelled. - * @return the request - */ - public Cancel cancel(java.lang.String name) throws java.io.IOException { - Cancel result = new Cancel(name); - initialize(result); - return result; - } - - public class Cancel extends AiplatformRequest { - - private static final String REST_PATH = "v1beta1/{+name}:cancel"; - - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^semanticGovernancePolicyEngine/operations/[^/]+$"); - - /** - * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to - * cancel the operation, but success is not guaranteed. If the server doesn't support this method, - * it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other - * methods to check whether the cancellation succeeded or whether the operation completed despite - * cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an - * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to - * `Code.CANCELLED`. - * - * Create a request for the method "operations.cancel". - * - * This request holds the parameters needed by the the aiplatform server. After setting any - * optional parameters, call the {@link Cancel#execute()} method to invoke the remote operation. - *

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

- * - * @param name The name of the operation resource to be cancelled. - * @since 1.13 - */ - protected Cancel(java.lang.String name) { - super(Aiplatform.this, "POST", REST_PATH, null, com.google.api.services.aiplatform.v1beta1.model.GoogleProtobufEmpty.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 " + - "^semanticGovernancePolicyEngine/operations/[^/]+$"); - } - } - - @Override - public Cancel set$Xgafv(java.lang.String $Xgafv) { - return (Cancel) super.set$Xgafv($Xgafv); - } - - @Override - public Cancel setAccessToken(java.lang.String accessToken) { - return (Cancel) super.setAccessToken(accessToken); - } - - @Override - public Cancel setAlt(java.lang.String alt) { - return (Cancel) super.setAlt(alt); - } - - @Override - public Cancel setCallback(java.lang.String callback) { - return (Cancel) super.setCallback(callback); - } - - @Override - public Cancel setFields(java.lang.String fields) { - return (Cancel) super.setFields(fields); - } - - @Override - public Cancel setKey(java.lang.String key) { - return (Cancel) super.setKey(key); - } - - @Override - public Cancel setOauthToken(java.lang.String oauthToken) { - return (Cancel) super.setOauthToken(oauthToken); - } - - @Override - public Cancel setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Cancel) super.setPrettyPrint(prettyPrint); - } - - @Override - public Cancel setQuotaUser(java.lang.String quotaUser) { - return (Cancel) super.setQuotaUser(quotaUser); - } - - @Override - public Cancel setUploadType(java.lang.String uploadType) { - return (Cancel) super.setUploadType(uploadType); - } - - @Override - public Cancel setUploadProtocol(java.lang.String uploadProtocol) { - return (Cancel) super.setUploadProtocol(uploadProtocol); - } - - /** The name of the operation resource to be cancelled. */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** The name of the operation resource to be cancelled. - */ - public java.lang.String getName() { - return name; - } - - /** The name of the operation resource to be cancelled. */ - public Cancel 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 " + - "^semanticGovernancePolicyEngine/operations/[^/]+$"); - } - this.name = name; - return this; - } - - @Override - public Cancel set(String parameterName, Object value) { - return (Cancel) super.set(parameterName, value); - } - } - /** - * Deletes a long-running operation. This method indicates that the client is no longer interested - * in the operation result. It does not cancel the operation. If the server doesn't support this - * method, it returns `google.rpc.Code.UNIMPLEMENTED`. - * - * Create a request for the method "operations.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 The name of the operation resource to be deleted. - * @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("^semanticGovernancePolicyEngine/operations/[^/]+$"); - - /** - * Deletes a long-running operation. This method indicates that the client is no longer interested - * in the operation result. It does not cancel the operation. If the server doesn't support this - * method, it returns `google.rpc.Code.UNIMPLEMENTED`. - * - * Create a request for the method "operations.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 The name of the operation resource to be deleted. - * @since 1.13 - */ - protected Delete(java.lang.String name) { - super(Aiplatform.this, "DELETE", REST_PATH, null, com.google.api.services.aiplatform.v1beta1.model.GoogleProtobufEmpty.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 " + - "^semanticGovernancePolicyEngine/operations/[^/]+$"); - } - } - - @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); - } - - /** The name of the operation resource to be deleted. */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** The name of the operation resource to be deleted. - */ - public java.lang.String getName() { - return name; - } - - /** The name of the operation resource to be deleted. */ - 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 " + - "^semanticGovernancePolicyEngine/operations/[^/]+$"); - } - this.name = name; - return this; - } - - @Override - public Delete set(String parameterName, Object value) { - return (Delete) super.set(parameterName, value); - } - } - /** - * Gets the latest state of a long-running operation. Clients can use this method to poll the - * operation result at intervals as recommended by the API service. - * - * Create a request for the method "operations.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 The name of the operation resource. - * @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("^semanticGovernancePolicyEngine/operations/[^/]+$"); - - /** - * Gets the latest state of a long-running operation. Clients can use this method to poll the - * operation result at intervals as recommended by the API service. - * - * Create a request for the method "operations.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 The name of the operation resource. - * @since 1.13 - */ - protected Get(java.lang.String name) { - super(Aiplatform.this, "GET", 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 " + - "^semanticGovernancePolicyEngine/operations/[^/]+$"); - } - } - - @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); - } - - /** The name of the operation resource. */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** The name of the operation resource. - */ - public java.lang.String getName() { - return name; - } - - /** The name of the operation resource. */ - 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 " + - "^semanticGovernancePolicyEngine/operations/[^/]+$"); - } - this.name = name; - return this; - } - - @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); - } - } - /** - * Lists operations that match the specified filter in the request. If the server doesn't support - * this method, it returns `UNIMPLEMENTED`. - * - * Create a request for the method "operations.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 name The name of the operation's parent resource. - * @return the request - */ - public List list(java.lang.String name) throws java.io.IOException { - List result = new List(name); - initialize(result); - return result; - } - - public class List extends AiplatformRequest { - - private static final String REST_PATH = "v1beta1/{+name}/operations"; - - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^semanticGovernancePolicyEngine$"); - - /** - * Lists operations that match the specified filter in the request. If the server doesn't support - * this method, it returns `UNIMPLEMENTED`. - * - * Create a request for the method "operations.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 name The name of the operation's parent resource. - * @since 1.13 - */ - protected List(java.lang.String name) { - super(Aiplatform.this, "GET", REST_PATH, null, com.google.api.services.aiplatform.v1beta1.model.GoogleLongrunningListOperationsResponse.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 " + - "^semanticGovernancePolicyEngine$"); - } - } - - @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); - } - - /** The name of the operation's parent resource. */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** The name of the operation's parent resource. - */ - public java.lang.String getName() { - return name; - } - - /** The name of the operation's parent resource. */ - public List 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 " + - "^semanticGovernancePolicyEngine$"); - } - this.name = name; - return this; - } - - /** The standard list filter. */ - @com.google.api.client.util.Key - private java.lang.String filter; - - /** The standard list filter. - */ - public java.lang.String getFilter() { - return filter; - } - - /** The standard list filter. */ - public List setFilter(java.lang.String filter) { - this.filter = filter; - return this; - } - - /** The standard list page size. */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** The standard list page size. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } - - /** The standard list page size. */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } - - /** The standard list page token. */ - @com.google.api.client.util.Key - private java.lang.String pageToken; - - /** The standard list page token. - */ - public java.lang.String getPageToken() { - return pageToken; - } - - /** The standard list page token. */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; - return this; - } - - /** - * When set to `true`, operations that are reachable are returned as normal, and those that - * are unreachable are returned in the ListOperationsResponse.unreachable field. This can - * only be `true` when reading across collections. For example, when `parent` is set to - * `"projects/example/locations/-"`. This field is not supported by default and will result - * in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or - * product specific documentation. - */ - @com.google.api.client.util.Key - private java.lang.Boolean returnPartialSuccess; - - /** When set to `true`, operations that are reachable are returned as normal, and those that are - unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` - when reading across collections. For example, when `parent` is set to - `"projects/example/locations/-"`. This field is not supported by default and will result in an - `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific - documentation. - */ - public java.lang.Boolean getReturnPartialSuccess() { - return returnPartialSuccess; - } - - /** - * When set to `true`, operations that are reachable are returned as normal, and those that - * are unreachable are returned in the ListOperationsResponse.unreachable field. This can - * only be `true` when reading across collections. For example, when `parent` is set to - * `"projects/example/locations/-"`. This field is not supported by default and will result - * in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or - * product specific documentation. - */ - public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) { - this.returnPartialSuccess = returnPartialSuccess; - return this; - } - - @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); - } - } - /** - * Waits until the specified long-running operation is done or reaches at most a specified timeout, - * returning the latest state. If the operation is already done, the latest state is immediately - * returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC - * timeout is used. If the server does not support this method, it returns - * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return - * the latest state before the specified timeout (including immediately), meaning even an immediate - * response is no guarantee that the operation is done. - * - * Create a request for the method "operations.wait". - * - * This request holds the parameters needed by the aiplatform server. After setting any optional - * parameters, call the {@link Wait#execute()} method to invoke the remote operation. - * - * @param name The name of the operation resource to wait on. - * @return the request - */ - public Wait wait(java.lang.String name) throws java.io.IOException { - Wait result = new Wait(name); - initialize(result); - return result; - } - - public class Wait extends AiplatformRequest { - - private static final String REST_PATH = "v1beta1/{+name}:wait"; - - private final java.util.regex.Pattern NAME_PATTERN = - java.util.regex.Pattern.compile("^semanticGovernancePolicyEngine/operations/[^/]+$"); - - /** - * Waits until the specified long-running operation is done or reaches at most a specified - * timeout, returning the latest state. If the operation is already done, the latest state is - * immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, - * the HTTP/RPC timeout is used. If the server does not support this method, it returns - * `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return - * the latest state before the specified timeout (including immediately), meaning even an - * immediate response is no guarantee that the operation is done. - * - * Create a request for the method "operations.wait". - * - * This request holds the parameters needed by the the aiplatform server. After setting any - * optional parameters, call the {@link Wait#execute()} method to invoke the remote operation.

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

- * - * @param name The name of the operation resource to wait on. - * @since 1.13 - */ - protected Wait(java.lang.String name) { - super(Aiplatform.this, "POST", 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 " + - "^semanticGovernancePolicyEngine/operations/[^/]+$"); - } - } - - @Override - public Wait set$Xgafv(java.lang.String $Xgafv) { - return (Wait) super.set$Xgafv($Xgafv); - } - - @Override - public Wait setAccessToken(java.lang.String accessToken) { - return (Wait) super.setAccessToken(accessToken); - } - - @Override - public Wait setAlt(java.lang.String alt) { - return (Wait) super.setAlt(alt); - } - - @Override - public Wait setCallback(java.lang.String callback) { - return (Wait) super.setCallback(callback); - } - - @Override - public Wait setFields(java.lang.String fields) { - return (Wait) super.setFields(fields); - } - - @Override - public Wait setKey(java.lang.String key) { - return (Wait) super.setKey(key); - } - - @Override - public Wait setOauthToken(java.lang.String oauthToken) { - return (Wait) super.setOauthToken(oauthToken); - } - - @Override - public Wait setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Wait) super.setPrettyPrint(prettyPrint); - } - - @Override - public Wait setQuotaUser(java.lang.String quotaUser) { - return (Wait) super.setQuotaUser(quotaUser); - } - - @Override - public Wait setUploadType(java.lang.String uploadType) { - return (Wait) super.setUploadType(uploadType); - } - - @Override - public Wait setUploadProtocol(java.lang.String uploadProtocol) { - return (Wait) super.setUploadProtocol(uploadProtocol); - } - - /** The name of the operation resource to wait on. */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** The name of the operation resource to wait on. - */ - public java.lang.String getName() { - return name; - } - - /** The name of the operation resource to wait on. */ - public Wait 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 " + - "^semanticGovernancePolicyEngine/operations/[^/]+$"); - } - this.name = name; - return this; - } - - /** - * The maximum duration to wait before timing out. If left blank, the wait will be at most - * the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also - * specified, the shorter one will be used. - */ - @com.google.api.client.util.Key - private String timeout; - - /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time - permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the - shorter one will be used. - */ - public String getTimeout() { - return timeout; - } - - /** - * The maximum duration to wait before timing out. If left blank, the wait will be at most - * the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also - * specified, the shorter one will be used. - */ - public Wait setTimeout(String timeout) { - this.timeout = timeout; - return this; - } - - @Override - public Wait set(String parameterName, Object value) { - return (Wait) super.set(parameterName, value); - } - } - - } - } - /** * An accessor for creating requests from the ServingProfiles collection. * diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java index 828fcd60329..f7f2c1ba832 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/CloudAiLargeModelsVisionGenerateVideoExperiments.java @@ -65,6 +65,15 @@ public final class CloudAiLargeModelsVisionGenerateVideoExperiments extends com. @com.google.api.client.util.Key private java.lang.Integer numDiffusionSteps; + /** + * The original REST API request JSON sent by the user, in the instances/parameters format. + * Preserved for saving alongside output artifacts so users can reproduce their requests. This + * field is populated by the API handler and is not user-settable. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String originalRequestJson; + /** * Prompt chunks for "ProModel" prompting. If set, the prompt will not be rewritten, and top-level * prompt ignored. @@ -194,6 +203,27 @@ public CloudAiLargeModelsVisionGenerateVideoExperiments setNumDiffusionSteps(jav return this; } + /** + * The original REST API request JSON sent by the user, in the instances/parameters format. + * Preserved for saving alongside output artifacts so users can reproduce their requests. This + * field is populated by the API handler and is not user-settable. + * @return value or {@code null} for none + */ + public java.lang.String getOriginalRequestJson() { + return originalRequestJson; + } + + /** + * The original REST API request JSON sent by the user, in the instances/parameters format. + * Preserved for saving alongside output artifacts so users can reproduce their requests. This + * field is populated by the API handler and is not user-settable. + * @param originalRequestJson originalRequestJson or {@code null} for none + */ + public CloudAiLargeModelsVisionGenerateVideoExperiments setOriginalRequestJson(java.lang.String originalRequestJson) { + this.originalRequestJson = originalRequestJson; + return this; + } + /** * Prompt chunks for "ProModel" prompting. If set, the prompt will not be rewritten, and top-level * prompt ignored. diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ArgumentsDelta.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ArgumentsDelta.java index 59d10bb97e4..2bc2fa063e9 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ArgumentsDelta.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ArgumentsDelta.java @@ -32,21 +32,21 @@ public final class GenaiVertexV1beta1ArgumentsDelta extends com.google.api.clien /** * The value may be {@code null}. */ - @com.google.api.client.util.Key("partial_arguments") - private java.lang.String partialArguments; + @com.google.api.client.util.Key + private java.lang.String arguments; /** * @return value or {@code null} for none */ - public java.lang.String getPartialArguments() { - return partialArguments; + public java.lang.String getArguments() { + return arguments; } /** - * @param partialArguments partialArguments or {@code null} for none + * @param arguments arguments or {@code null} for none */ - public GenaiVertexV1beta1ArgumentsDelta setPartialArguments(java.lang.String partialArguments) { - this.partialArguments = partialArguments; + public GenaiVertexV1beta1ArgumentsDelta setArguments(java.lang.String arguments) { + this.arguments = arguments; return this; } diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfig.java new file mode 100644 index 00000000000..add5def051a --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfig.java @@ -0,0 +1,111 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.aiplatform.v1beta1.model; + +/** + * Configuration for a custom environment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Agent Platform API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GenaiVertexV1beta1EnvironmentConfig extends com.google.api.client.json.GenericJson { + + /** + * Allow only specific domains. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist networkAllowlist; + + /** + * Network egress mode. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String networkMode; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List sources; + + /** + * Allow only specific domains. + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist getNetworkAllowlist() { + return networkAllowlist; + } + + /** + * Allow only specific domains. + * @param networkAllowlist networkAllowlist or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfig setNetworkAllowlist(GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist networkAllowlist) { + this.networkAllowlist = networkAllowlist; + return this; + } + + /** + * Network egress mode. + * @return value or {@code null} for none + */ + public java.lang.String getNetworkMode() { + return networkMode; + } + + /** + * Network egress mode. + * @param networkMode networkMode or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfig setNetworkMode(java.lang.String networkMode) { + this.networkMode = networkMode; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.util.List getSources() { + return sources; + } + + /** + * @param sources sources or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfig setSources(java.util.List sources) { + this.sources = sources; + return this; + } + + @Override + public GenaiVertexV1beta1EnvironmentConfig set(String fieldName, Object value) { + return (GenaiVertexV1beta1EnvironmentConfig) super.set(fieldName, value); + } + + @Override + public GenaiVertexV1beta1EnvironmentConfig clone() { + return (GenaiVertexV1beta1EnvironmentConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigEgressRule.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigEgressRule.java new file mode 100644 index 00000000000..78494288d0d --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigEgressRule.java @@ -0,0 +1,98 @@ +/* + * 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 network egress rule that controls which external domains the environment is allowed to reach. + * Each rule identifies a target domain and, optionally, a set of HTTP headers to inject into every + * matching outbound request. + * + *

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 GenaiVertexV1beta1EnvironmentConfigEgressRule extends com.google.api.client.json.GenericJson { + + /** + * The domain pattern to match for this rule. Use an exact hostname (e.g., `github.com`), a + * wildcard prefix (e.g., `*.googleapis.com`), or `*` to match all domains. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String domain; + + /** + * Headers to inject into requests matching this rule. Key: header name (e.g., "Authorization"). + * Value: header value (e.g., "Bearer your-token"). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map transform; + + /** + * The domain pattern to match for this rule. Use an exact hostname (e.g., `github.com`), a + * wildcard prefix (e.g., `*.googleapis.com`), or `*` to match all domains. + * @return value or {@code null} for none + */ + public java.lang.String getDomain() { + return domain; + } + + /** + * The domain pattern to match for this rule. Use an exact hostname (e.g., `github.com`), a + * wildcard prefix (e.g., `*.googleapis.com`), or `*` to match all domains. + * @param domain domain or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfigEgressRule setDomain(java.lang.String domain) { + this.domain = domain; + return this; + } + + /** + * Headers to inject into requests matching this rule. Key: header name (e.g., "Authorization"). + * Value: header value (e.g., "Bearer your-token"). + * @return value or {@code null} for none + */ + public java.util.Map getTransform() { + return transform; + } + + /** + * Headers to inject into requests matching this rule. Key: header name (e.g., "Authorization"). + * Value: header value (e.g., "Bearer your-token"). + * @param transform transform or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfigEgressRule setTransform(java.util.Map transform) { + this.transform = transform; + return this; + } + + @Override + public GenaiVertexV1beta1EnvironmentConfigEgressRule set(String fieldName, Object value) { + return (GenaiVertexV1beta1EnvironmentConfigEgressRule) super.set(fieldName, value); + } + + @Override + public GenaiVertexV1beta1EnvironmentConfigEgressRule clone() { + return (GenaiVertexV1beta1EnvironmentConfigEgressRule) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist.java new file mode 100644 index 00000000000..0e467868d87 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist.java @@ -0,0 +1,72 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.aiplatform.v1beta1.model; + +/** + * Network egress configuration for the environment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Agent Platform API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist extends com.google.api.client.json.GenericJson { + + /** + * List of allowed domains and their configurations. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List allowlist; + + static { + // hack to force ProGuard to consider GenaiVertexV1beta1EnvironmentConfigEgressRule 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(GenaiVertexV1beta1EnvironmentConfigEgressRule.class); + } + + /** + * List of allowed domains and their configurations. + * @return value or {@code null} for none + */ + public java.util.List getAllowlist() { + return allowlist; + } + + /** + * List of allowed domains and their configurations. + * @param allowlist allowlist or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist setAllowlist(java.util.List allowlist) { + this.allowlist = allowlist; + return this; + } + + @Override + public GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist set(String fieldName, Object value) { + return (GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist) super.set(fieldName, value); + } + + @Override + public GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist clone() { + return (GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigSource.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigSource.java new file mode 100644 index 00000000000..509d9934c86 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1EnvironmentConfigSource.java @@ -0,0 +1,162 @@ +/* + * 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 source to be mounted into the environment. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Agent Platform API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GenaiVertexV1beta1EnvironmentConfigSource extends com.google.api.client.json.GenericJson { + + /** + * The inline content if `type` is `INLINE`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String content; + + /** + * Optional encoding for inline content (e.g. `base64`). + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String encoding; + + /** + * The source of the environment. For GCS, this is the GCS path. For GitHub, this is the GitHub + * path. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String source; + + /** + * Where the source should appear in the environment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String target; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String type; + + /** + * The inline content if `type` is `INLINE`. + * @return value or {@code null} for none + */ + public java.lang.String getContent() { + return content; + } + + /** + * The inline content if `type` is `INLINE`. + * @param content content or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfigSource setContent(java.lang.String content) { + this.content = content; + return this; + } + + /** + * Optional encoding for inline content (e.g. `base64`). + * @return value or {@code null} for none + */ + public java.lang.String getEncoding() { + return encoding; + } + + /** + * Optional encoding for inline content (e.g. `base64`). + * @param encoding encoding or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfigSource setEncoding(java.lang.String encoding) { + this.encoding = encoding; + return this; + } + + /** + * The source of the environment. For GCS, this is the GCS path. For GitHub, this is the GitHub + * path. + * @return value or {@code null} for none + */ + public java.lang.String getSource() { + return source; + } + + /** + * The source of the environment. For GCS, this is the GCS path. For GitHub, this is the GitHub + * path. + * @param source source or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfigSource setSource(java.lang.String source) { + this.source = source; + return this; + } + + /** + * Where the source should appear in the environment. + * @return value or {@code null} for none + */ + public java.lang.String getTarget() { + return target; + } + + /** + * Where the source should appear in the environment. + * @param target target or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfigSource setTarget(java.lang.String target) { + this.target = target; + return this; + } + + /** + * @return value or {@code null} for none + */ + public java.lang.String getType() { + return type; + } + + /** + * @param type type or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfigSource setType(java.lang.String type) { + this.type = type; + return this; + } + + @Override + public GenaiVertexV1beta1EnvironmentConfigSource set(String fieldName, Object value) { + return (GenaiVertexV1beta1EnvironmentConfigSource) super.set(fieldName, value); + } + + @Override + public GenaiVertexV1beta1EnvironmentConfigSource clone() { + return (GenaiVertexV1beta1EnvironmentConfigSource) 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 bd3aecb57fe..46017d0b75f 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 @@ -58,6 +58,21 @@ public final class GenaiVertexV1beta1Interaction extends com.google.api.client.j @com.google.api.client.util.Key private java.lang.String created; + /** + * The environment ID for the interaction. Can be 'remote' for default environment. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key("env_id") + private java.lang.String envId; + + /** + * Output only. The environment ID for the interaction. Only populated if environment config is + * set in the request. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key("environment_id") + private java.lang.String environmentId; + /** * Required. Output only. A unique identifier for the interaction completion. * The value may be {@code null}. @@ -92,6 +107,12 @@ public final class GenaiVertexV1beta1Interaction extends com.google.api.client.j @com.google.api.client.util.Key("previous_interaction_id") private java.lang.String previousInteractionId; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GenaiVertexV1beta1EnvironmentConfig remoteEnvironment; + /** * The value may be {@code null}. */ @@ -148,7 +169,7 @@ public final class GenaiVertexV1beta1Interaction extends com.google.api.client.j private GenaiVertexV1beta1StepList stepList; /** - * Output only. The steps that make up the interaction. + * Required. Output only. The steps that make up the interaction. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -267,6 +288,42 @@ public GenaiVertexV1beta1Interaction setCreated(java.lang.String created) { return this; } + /** + * The environment ID for the interaction. Can be 'remote' for default environment. + * @return value or {@code null} for none + */ + public java.lang.String getEnvId() { + return envId; + } + + /** + * The environment ID for the interaction. Can be 'remote' for default environment. + * @param envId envId or {@code null} for none + */ + public GenaiVertexV1beta1Interaction setEnvId(java.lang.String envId) { + this.envId = envId; + return this; + } + + /** + * Output only. The environment ID for the interaction. Only populated if environment config is + * set in the request. + * @return value or {@code null} for none + */ + public java.lang.String getEnvironmentId() { + return environmentId; + } + + /** + * Output only. The environment ID for the interaction. Only populated if environment config is + * set in the request. + * @param environmentId environmentId or {@code null} for none + */ + public GenaiVertexV1beta1Interaction setEnvironmentId(java.lang.String environmentId) { + this.environmentId = environmentId; + return this; + } + /** * Required. Output only. A unique identifier for the interaction completion. * @return value or {@code null} for none @@ -335,6 +392,21 @@ public GenaiVertexV1beta1Interaction setPreviousInteractionId(java.lang.String p return this; } + /** + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1EnvironmentConfig getRemoteEnvironment() { + return remoteEnvironment; + } + + /** + * @param remoteEnvironment remoteEnvironment or {@code null} for none + */ + public GenaiVertexV1beta1Interaction setRemoteEnvironment(GenaiVertexV1beta1EnvironmentConfig remoteEnvironment) { + this.remoteEnvironment = remoteEnvironment; + return this; + } + /** * @return value or {@code null} for none */ @@ -470,7 +542,7 @@ public GenaiVertexV1beta1Interaction setStepList(GenaiVertexV1beta1StepList step } /** - * Output only. The steps that make up the interaction. + * Required. Output only. The steps that make up the interaction. * @return value or {@code null} for none */ public java.util.List getSteps() { @@ -478,7 +550,7 @@ public java.util.List getSteps() { } /** - * Output only. The steps that make up the interaction. + * Required. Output only. The steps that make up the interaction. * @param steps steps or {@code null} for none */ public GenaiVertexV1beta1Interaction setSteps(java.util.List steps) { 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 00512f3498f..9c14e1e0669 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 @@ -99,6 +99,13 @@ public final class GenaiVertexV1beta1InteractionStreamingEvent extends com.googl @com.google.api.client.util.Key private GenaiVertexV1beta1InteractionStatusUpdate interactionStatusUpdate; + /** + * Optional metadata accompanying ANY streamed event. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GenaiVertexV1beta1StreamMetadata metadata; + /** * The step delta data, used for step.delta events. * The value may be {@code null}. @@ -290,6 +297,23 @@ public GenaiVertexV1beta1InteractionStreamingEvent setInteractionStatusUpdate(Ge return this; } + /** + * Optional metadata accompanying ANY streamed event. + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1StreamMetadata getMetadata() { + return metadata; + } + + /** + * Optional metadata accompanying ANY streamed event. + * @param metadata metadata or {@code null} for none + */ + public GenaiVertexV1beta1InteractionStreamingEvent setMetadata(GenaiVertexV1beta1StreamMetadata metadata) { + this.metadata = metadata; + return this; + } + /** * The step delta data, used for step.delta 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/GenaiVertexV1beta1ResponseFormat.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ResponseFormat.java index 568a95cc0db..f213ddd28aa 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ResponseFormat.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ResponseFormat.java @@ -54,12 +54,6 @@ public final class GenaiVertexV1beta1ResponseFormat extends com.google.api.clien @com.google.api.client.util.Key private GenaiVertexV1beta1TextResponseFormat text; - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private GenaiVertexV1beta1VideoResponseFormat video; - /** * @return value or {@code null} for none */ @@ -122,21 +116,6 @@ public GenaiVertexV1beta1ResponseFormat setText(GenaiVertexV1beta1TextResponseFo return this; } - /** - * @return value or {@code null} for none - */ - public GenaiVertexV1beta1VideoResponseFormat getVideo() { - return video; - } - - /** - * @param video video or {@code null} for none - */ - public GenaiVertexV1beta1ResponseFormat setVideo(GenaiVertexV1beta1VideoResponseFormat video) { - this.video = video; - return this; - } - @Override public GenaiVertexV1beta1ResponseFormat set(String fieldName, Object value) { return (GenaiVertexV1beta1ResponseFormat) super.set(fieldName, value); diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ServerToolCallDelta.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ServerToolCallDelta.java new file mode 100644 index 00000000000..5bbe634abbe --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ServerToolCallDelta.java @@ -0,0 +1,220 @@ +/* + * 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 GenaiVertexV1beta1ServerToolCallDelta. + * + *

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 GenaiVertexV1beta1ServerToolCallDelta 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 GenaiVertexV1beta1GoogleMapsCallDelta googleMapsCall; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GenaiVertexV1beta1GoogleSearchCallDelta googleSearchCall; + + /** + * 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 GenaiVertexV1beta1ServerToolCallDelta 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 GenaiVertexV1beta1ServerToolCallDelta setFileSearchCall(GenaiVertexV1beta1FileSearchCallDelta fileSearchCall) { + this.fileSearchCall = fileSearchCall; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1GoogleMapsCallDelta getGoogleMapsCall() { + return googleMapsCall; + } + + /** + * @param googleMapsCall googleMapsCall or {@code null} for none + */ + public GenaiVertexV1beta1ServerToolCallDelta 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 GenaiVertexV1beta1ServerToolCallDelta setGoogleSearchCall(GenaiVertexV1beta1GoogleSearchCallDelta googleSearchCall) { + this.googleSearchCall = googleSearchCall; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1McpServerToolCallDelta getMcpServerToolCall() { + return mcpServerToolCall; + } + + /** + * @param mcpServerToolCall mcpServerToolCall or {@code null} for none + */ + public GenaiVertexV1beta1ServerToolCallDelta 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 GenaiVertexV1beta1ServerToolCallDelta 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 GenaiVertexV1beta1ServerToolCallDelta 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 GenaiVertexV1beta1ServerToolCallDelta setUrlContextCall(GenaiVertexV1beta1UrlContextCallDelta urlContextCall) { + this.urlContextCall = urlContextCall; + return this; + } + + @Override + public GenaiVertexV1beta1ServerToolCallDelta set(String fieldName, Object value) { + return (GenaiVertexV1beta1ServerToolCallDelta) super.set(fieldName, value); + } + + @Override + public GenaiVertexV1beta1ServerToolCallDelta clone() { + return (GenaiVertexV1beta1ServerToolCallDelta) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ServerToolResultDelta.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ServerToolResultDelta.java new file mode 100644 index 00000000000..c63e5d7e464 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1ServerToolResultDelta.java @@ -0,0 +1,220 @@ +/* + * 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 GenaiVertexV1beta1ServerToolResultDelta. + * + *

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 GenaiVertexV1beta1ServerToolResultDelta extends com.google.api.client.json.GenericJson { + + /** + * 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 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; + + /** + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1CodeExecutionResultDelta getCodeExecutionResult() { + return codeExecutionResult; + } + + /** + * @param codeExecutionResult codeExecutionResult or {@code null} for none + */ + public GenaiVertexV1beta1ServerToolResultDelta 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 GenaiVertexV1beta1ServerToolResultDelta setFileSearchResult(GenaiVertexV1beta1FileSearchResultDelta fileSearchResult) { + this.fileSearchResult = fileSearchResult; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1GoogleMapsResultDelta getGoogleMapsResult() { + return googleMapsResult; + } + + /** + * @param googleMapsResult googleMapsResult or {@code null} for none + */ + public GenaiVertexV1beta1ServerToolResultDelta 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 GenaiVertexV1beta1ServerToolResultDelta 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 GenaiVertexV1beta1ServerToolResultDelta 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 GenaiVertexV1beta1ServerToolResultDelta 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 GenaiVertexV1beta1ServerToolResultDelta 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 GenaiVertexV1beta1ServerToolResultDelta setUrlContextResult(GenaiVertexV1beta1UrlContextResultDelta urlContextResult) { + this.urlContextResult = urlContextResult; + return this; + } + + @Override + public GenaiVertexV1beta1ServerToolResultDelta set(String fieldName, Object value) { + return (GenaiVertexV1beta1ServerToolResultDelta) super.set(fieldName, value); + } + + @Override + public GenaiVertexV1beta1ServerToolResultDelta clone() { + return (GenaiVertexV1beta1ServerToolResultDelta) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1StepDeltaData.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1StepDeltaData.java index 4086d0c1734..beb605f85ed 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1StepDeltaData.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1StepDeltaData.java @@ -47,12 +47,30 @@ public final class GenaiVertexV1beta1StepDeltaData extends com.google.api.client @com.google.api.client.util.Key private GenaiVertexV1beta1DocumentDelta document; + /** + * 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 GenaiVertexV1beta1ImageDelta image; + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GenaiVertexV1beta1ServerToolCallDelta serverToolCall; + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GenaiVertexV1beta1ServerToolResultDelta serverToolResult; + /** * The value may be {@code null}. */ @@ -128,6 +146,21 @@ public GenaiVertexV1beta1StepDeltaData setDocument(GenaiVertexV1beta1DocumentDel return this; } + /** + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1FunctionResultDelta getFunctionResult() { + return functionResult; + } + + /** + * @param functionResult functionResult or {@code null} for none + */ + public GenaiVertexV1beta1StepDeltaData setFunctionResult(GenaiVertexV1beta1FunctionResultDelta functionResult) { + this.functionResult = functionResult; + return this; + } + /** * @return value or {@code null} for none */ @@ -143,6 +176,36 @@ public GenaiVertexV1beta1StepDeltaData setImage(GenaiVertexV1beta1ImageDelta ima return this; } + /** + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1ServerToolCallDelta getServerToolCall() { + return serverToolCall; + } + + /** + * @param serverToolCall serverToolCall or {@code null} for none + */ + public GenaiVertexV1beta1StepDeltaData setServerToolCall(GenaiVertexV1beta1ServerToolCallDelta serverToolCall) { + this.serverToolCall = serverToolCall; + return this; + } + + /** + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1ServerToolResultDelta getServerToolResult() { + return serverToolResult; + } + + /** + * @param serverToolResult serverToolResult or {@code null} for none + */ + public GenaiVertexV1beta1StepDeltaData setServerToolResult(GenaiVertexV1beta1ServerToolResultDelta serverToolResult) { + this.serverToolResult = serverToolResult; + 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/GenaiVertexV1beta1StreamMetadata.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1StreamMetadata.java new file mode 100644 index 00000000000..e82c1ed8aef --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1StreamMetadata.java @@ -0,0 +1,63 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.aiplatform.v1beta1.model; + +/** + * Model definition for GenaiVertexV1beta1StreamMetadata. + * + *

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 GenaiVertexV1beta1StreamMetadata extends com.google.api.client.json.GenericJson { + + /** + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GenaiVertexV1beta1InteractionUsage usage; + + /** + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1InteractionUsage getUsage() { + return usage; + } + + /** + * @param usage usage or {@code null} for none + */ + public GenaiVertexV1beta1StreamMetadata setUsage(GenaiVertexV1beta1InteractionUsage usage) { + this.usage = usage; + return this; + } + + @Override + public GenaiVertexV1beta1StreamMetadata set(String fieldName, Object value) { + return (GenaiVertexV1beta1StreamMetadata) super.set(fieldName, value); + } + + @Override + public GenaiVertexV1beta1StreamMetadata clone() { + return (GenaiVertexV1beta1StreamMetadata) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1UserInputStep.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1UserInputStep.java index c933a077e3e..c75ad4267c6 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1UserInputStep.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1UserInputStep.java @@ -30,29 +30,50 @@ public final class GenaiVertexV1beta1UserInputStep extends com.google.api.client.json.GenericJson { /** + * The content of the step. An array of Content objects. * The value may be {@code null}. */ @com.google.api.client.util.Key - private java.util.List content; + private GenaiVertexV1beta1ContentList contentList; - 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 content of the step. A single string. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String contentString; + + /** + * The content of the step. An array of Content objects. + * @return value or {@code null} for none + */ + public GenaiVertexV1beta1ContentList getContentList() { + return contentList; + } + + /** + * The content of the step. An array of Content objects. + * @param contentList contentList or {@code null} for none + */ + public GenaiVertexV1beta1UserInputStep setContentList(GenaiVertexV1beta1ContentList contentList) { + this.contentList = contentList; + return this; } /** + * The content of the step. A single string. * @return value or {@code null} for none */ - public java.util.List getContent() { - return content; + public java.lang.String getContentString() { + return contentString; } /** - * @param content content or {@code null} for none + * The content of the step. A single string. + * @param contentString contentString or {@code null} for none */ - public GenaiVertexV1beta1UserInputStep setContent(java.util.List content) { - this.content = content; + public GenaiVertexV1beta1UserInputStep setContentString(java.lang.String contentString) { + this.contentString = contentString; return this; } diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Agent.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Agent.java index ddeb8612ed9..e5f88a69e13 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Agent.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Agent.java @@ -30,22 +30,22 @@ public final class GoogleCloudAiplatformV1beta1Agent extends com.google.api.client.json.GenericJson { /** - * Required. The base agent of the agent. Supported values: - "antigravity-preview-05-2026" + * Required. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` * The value may be {@code null}. */ @com.google.api.client.util.Key("base_agent") private java.lang.String baseAgent; /** - * Optional. The environment config of the agent. Valid types are: - string value for - * environment_id, or 'remote' for default - struct value for EnvironmentConfig. + * Optional. The base environment configuration for the agent. Valid types: * A string value for + * the environment ID, or `remote` for the default. * A struct value for the `environment_config`. * The value may be {@code null}. */ @com.google.api.client.util.Key("base_environment") private java.lang.Object baseEnvironment; /** - * Output only. Timestamp when the agent was created. + * Output only. The time the agent was created. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -59,24 +59,23 @@ public final class GoogleCloudAiplatformV1beta1Agent extends com.google.api.clie private java.lang.String description; /** - * Immutable. The ID to use for agent, which will become the final component of the agent resource - * name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 - * characters, and valid characters are `[a-z0-9-]`. The first character must be a letter, the - * last character must be a letter or number. + * Immutable. The user-specified ID for the agent. This ID becomes the final component of the + * agent resource name. If not provided, Vertex AI will generate a value for this ID. The ID can + * be up to 63 characters and must match the regular expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String id; /** - * Optional. The metadata of the agent. + * Optional. The metadata for the agent. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map metadata; /** - * Identifier. The resource name of the Agent. Format: + * Identifier. The resource name of the agent. Format: * `projects/{project}/locations/{location}/agents/{agent}`. * The value may be {@code null}. */ @@ -84,37 +83,36 @@ public final class GoogleCloudAiplatformV1beta1Agent extends com.google.api.clie private java.lang.String name; /** - * Output only. The object type of this resource. Always set to "agent" in this case. + * Output only. The object type of the resource. For agents, the value is `agent`. * The value may be {@code null}. */ @com.google.api.client.util.Key("object") private java.lang.String object__; /** - * Optional. The detailed struction that the agent should follow. The instruction is passed to LLM - * as system instruction. + * Optional. The instructions for the agent to follow. These instructions are passed to the LLM as + * a system instruction. * The value may be {@code null}. */ @com.google.api.client.util.Key("system_instruction") private java.lang.String systemInstruction; /** - * Optional. A list of tools that are available for the agent during the process of execucting the - * task. + * Optional. The tools available to the agent. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List tools; /** - * Output only. Timestamp when the agent was last updated. + * Output only. The time the agent was last updated. * The value may be {@code null}. */ @com.google.api.client.util.Key private String updated; /** - * Required. The base agent of the agent. Supported values: - "antigravity-preview-05-2026" + * Required. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` * @return value or {@code null} for none */ public java.lang.String getBaseAgent() { @@ -122,7 +120,7 @@ public java.lang.String getBaseAgent() { } /** - * Required. The base agent of the agent. Supported values: - "antigravity-preview-05-2026" + * Required. The base agent for the agent. Supported values: * `antigravity-preview-05-2026` * @param baseAgent baseAgent or {@code null} for none */ public GoogleCloudAiplatformV1beta1Agent setBaseAgent(java.lang.String baseAgent) { @@ -131,8 +129,8 @@ public GoogleCloudAiplatformV1beta1Agent setBaseAgent(java.lang.String baseAgent } /** - * Optional. The environment config of the agent. Valid types are: - string value for - * environment_id, or 'remote' for default - struct value for EnvironmentConfig. + * Optional. The base environment configuration for the agent. Valid types: * A string value for + * the environment ID, or `remote` for the default. * A struct value for the `environment_config`. * @return value or {@code null} for none */ public java.lang.Object getBaseEnvironment() { @@ -140,8 +138,8 @@ public java.lang.Object getBaseEnvironment() { } /** - * Optional. The environment config of the agent. Valid types are: - string value for - * environment_id, or 'remote' for default - struct value for EnvironmentConfig. + * Optional. The base environment configuration for the agent. Valid types: * A string value for + * the environment ID, or `remote` for the default. * A struct value for the `environment_config`. * @param baseEnvironment baseEnvironment or {@code null} for none */ public GoogleCloudAiplatformV1beta1Agent setBaseEnvironment(java.lang.Object baseEnvironment) { @@ -150,7 +148,7 @@ public GoogleCloudAiplatformV1beta1Agent setBaseEnvironment(java.lang.Object bas } /** - * Output only. Timestamp when the agent was created. + * Output only. The time the agent was created. * @return value or {@code null} for none */ public String getCreated() { @@ -158,7 +156,7 @@ public String getCreated() { } /** - * Output only. Timestamp when the agent was created. + * Output only. The time the agent was created. * @param created created or {@code null} for none */ public GoogleCloudAiplatformV1beta1Agent setCreated(String created) { @@ -184,10 +182,9 @@ public GoogleCloudAiplatformV1beta1Agent setDescription(java.lang.String descrip } /** - * Immutable. The ID to use for agent, which will become the final component of the agent resource - * name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 - * characters, and valid characters are `[a-z0-9-]`. The first character must be a letter, the - * last character must be a letter or number. + * Immutable. The user-specified ID for the agent. This ID becomes the final component of the + * agent resource name. If not provided, Vertex AI will generate a value for this ID. The ID can + * be up to 63 characters and must match the regular expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. * @return value or {@code null} for none */ public java.lang.String getId() { @@ -195,10 +192,9 @@ public java.lang.String getId() { } /** - * Immutable. The ID to use for agent, which will become the final component of the agent resource - * name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 - * characters, and valid characters are `[a-z0-9-]`. The first character must be a letter, the - * last character must be a letter or number. + * Immutable. The user-specified ID for the agent. This ID becomes the final component of the + * agent resource name. If not provided, Vertex AI will generate a value for this ID. The ID can + * be up to 63 characters and must match the regular expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. * @param id id or {@code null} for none */ public GoogleCloudAiplatformV1beta1Agent setId(java.lang.String id) { @@ -207,7 +203,7 @@ public GoogleCloudAiplatformV1beta1Agent setId(java.lang.String id) { } /** - * Optional. The metadata of the agent. + * Optional. The metadata for the agent. * @return value or {@code null} for none */ public java.util.Map getMetadata() { @@ -215,7 +211,7 @@ public java.util.Map getMetadata() { } /** - * Optional. The metadata of the agent. + * Optional. The metadata for the agent. * @param metadata metadata or {@code null} for none */ public GoogleCloudAiplatformV1beta1Agent setMetadata(java.util.Map metadata) { @@ -224,7 +220,7 @@ public GoogleCloudAiplatformV1beta1Agent setMetadata(java.util.Map getTools() { @@ -288,8 +283,7 @@ public java.util.List getTools() { } /** - * Optional. A list of tools that are available for the agent during the process of execucting the - * task. + * Optional. The tools available to the agent. * @param tools tools or {@code null} for none */ public GoogleCloudAiplatformV1beta1Agent setTools(java.util.List tools) { @@ -298,7 +292,7 @@ public GoogleCloudAiplatformV1beta1Agent setTools(java.util.List This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Agent Platform API. For a detailed explanation see: @@ -31,38 +30,38 @@ public final class GoogleCloudAiplatformV1beta1AgentTool extends com.google.api.client.json.GenericJson { /** - * Optional. Headers for the MCP server (e.g., authentication). Only applicable when `type` is - * "mcp". + * Optional. The headers for the MCP server, such as for authentication. Only applicable when + * `type` is `mcp_server`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.Map headers; /** - * Optional. The name of the MCP server. Only applicable when `type` is "mcp". + * Optional. The name of the MCP server. Only applicable when `type` is `mcp_server`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** - * Required. Type of the tool. Supported types: - "code_execution" - "filesystem" - - * "google_search" - "mcp" - "url_context" + * Required. The type of the tool. Supported types: * `code_execution` * `filesystem` * + * `google_search` * `mcp_server` * `url_context` * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** - * Optional. The full URL for the MCP server endpoint. Only applicable when `type` is "mcp". + * Optional. The URL for the MCP server endpoint. Only applicable when `type` is `mcp_server`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String url; /** - * Optional. Headers for the MCP server (e.g., authentication). Only applicable when `type` is - * "mcp". + * Optional. The headers for the MCP server, such as for authentication. Only applicable when + * `type` is `mcp_server`. * @return value or {@code null} for none */ public java.util.Map getHeaders() { @@ -70,8 +69,8 @@ public java.util.Map getHeaders() { } /** - * Optional. Headers for the MCP server (e.g., authentication). Only applicable when `type` is - * "mcp". + * Optional. The headers for the MCP server, such as for authentication. Only applicable when + * `type` is `mcp_server`. * @param headers headers or {@code null} for none */ public GoogleCloudAiplatformV1beta1AgentTool setHeaders(java.util.Map headers) { @@ -80,7 +79,7 @@ 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 +28,16 @@ * @author Google, Inc. */ @SuppressWarnings("javadoc") -public final class GenaiVertexV1beta1VideoResponseFormat extends com.google.api.client.json.GenericJson { +public final class GoogleCloudAiplatformV1beta1DeprovisionSemanticGovernancePolicyEngineRequest extends com.google.api.client.json.GenericJson { @Override - public GenaiVertexV1beta1VideoResponseFormat set(String fieldName, Object value) { - return (GenaiVertexV1beta1VideoResponseFormat) super.set(fieldName, value); + public GoogleCloudAiplatformV1beta1DeprovisionSemanticGovernancePolicyEngineRequest set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1DeprovisionSemanticGovernancePolicyEngineRequest) super.set(fieldName, value); } @Override - public GenaiVertexV1beta1VideoResponseFormat clone() { - return (GenaiVertexV1beta1VideoResponseFormat) super.clone(); + public GoogleCloudAiplatformV1beta1DeprovisionSemanticGovernancePolicyEngineRequest clone() { + return (GoogleCloudAiplatformV1beta1DeprovisionSemanticGovernancePolicyEngineRequest) super.clone(); } } diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GatewayConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GatewayConfig.java new file mode 100644 index 00000000000..8ddb279608b --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GatewayConfig.java @@ -0,0 +1,219 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.aiplatform.v1beta1.model; + +/** + * Configuration for a single gateway. + * + *

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 GoogleCloudAiplatformV1beta1GatewayConfig extends com.google.api.client.json.GenericJson { + + /** + * Output only. The fully qualified record name of the created A-record in Cloud DNS. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dnsRecord; + + /** + * Optional. FQDN of the private DNS zone to create DNS record set for PSC endpoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String dnsZoneName; + + /** + * Output only. The private IP address of the PSC endpoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ipAddress; + + /** + * Optional. The URI of the network resource where PSC-E will be provisioned. if not provided + * `default` network will be used. Format: projects/{project}/global/networks/{network} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String network; + + /** + * Output only. The self-link or name of the Private Service Connect endpoint forwarding rule. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pscEndpoint; + + /** + * Output only. The state of the Gateway configuration. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Optional. The URI of the subnetwork resource where PSC-E will be provisioned. if not provided + * `default` subnet will be used from the same {location} Format: + * projects/{project}/regions/{region}/subnetworks/{subnetwork} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String subnetwork; + + /** + * Output only. The fully qualified record name of the created A-record in Cloud DNS. + * @return value or {@code null} for none + */ + public java.lang.String getDnsRecord() { + return dnsRecord; + } + + /** + * Output only. The fully qualified record name of the created A-record in Cloud DNS. + * @param dnsRecord dnsRecord or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1GatewayConfig setDnsRecord(java.lang.String dnsRecord) { + this.dnsRecord = dnsRecord; + return this; + } + + /** + * Optional. FQDN of the private DNS zone to create DNS record set for PSC endpoint. + * @return value or {@code null} for none + */ + public java.lang.String getDnsZoneName() { + return dnsZoneName; + } + + /** + * Optional. FQDN of the private DNS zone to create DNS record set for PSC endpoint. + * @param dnsZoneName dnsZoneName or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1GatewayConfig setDnsZoneName(java.lang.String dnsZoneName) { + this.dnsZoneName = dnsZoneName; + return this; + } + + /** + * Output only. The private IP address of the PSC endpoint. + * @return value or {@code null} for none + */ + public java.lang.String getIpAddress() { + return ipAddress; + } + + /** + * Output only. The private IP address of the PSC endpoint. + * @param ipAddress ipAddress or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1GatewayConfig setIpAddress(java.lang.String ipAddress) { + this.ipAddress = ipAddress; + return this; + } + + /** + * Optional. The URI of the network resource where PSC-E will be provisioned. if not provided + * `default` network will be used. Format: projects/{project}/global/networks/{network} + * @return value or {@code null} for none + */ + public java.lang.String getNetwork() { + return network; + } + + /** + * Optional. The URI of the network resource where PSC-E will be provisioned. if not provided + * `default` network will be used. Format: projects/{project}/global/networks/{network} + * @param network network or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1GatewayConfig setNetwork(java.lang.String network) { + this.network = network; + return this; + } + + /** + * Output only. The self-link or name of the Private Service Connect endpoint forwarding rule. + * @return value or {@code null} for none + */ + public java.lang.String getPscEndpoint() { + return pscEndpoint; + } + + /** + * Output only. The self-link or name of the Private Service Connect endpoint forwarding rule. + * @param pscEndpoint pscEndpoint or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1GatewayConfig setPscEndpoint(java.lang.String pscEndpoint) { + this.pscEndpoint = pscEndpoint; + return this; + } + + /** + * Output only. The state of the Gateway configuration. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. The state of the Gateway configuration. + * @param state state or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1GatewayConfig setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * Optional. The URI of the subnetwork resource where PSC-E will be provisioned. if not provided + * `default` subnet will be used from the same {location} Format: + * projects/{project}/regions/{region}/subnetworks/{subnetwork} + * @return value or {@code null} for none + */ + public java.lang.String getSubnetwork() { + return subnetwork; + } + + /** + * Optional. The URI of the subnetwork resource where PSC-E will be provisioned. if not provided + * `default` subnet will be used from the same {location} Format: + * projects/{project}/regions/{region}/subnetworks/{subnetwork} + * @param subnetwork subnetwork or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1GatewayConfig setSubnetwork(java.lang.String subnetwork) { + this.subnetwork = subnetwork; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1GatewayConfig set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1GatewayConfig) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1GatewayConfig clone() { + return (GoogleCloudAiplatformV1beta1GatewayConfig) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ListAgentsResponse.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ListAgentsResponse.java index ce855b7e288..280de34a328 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ListAgentsResponse.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ListAgentsResponse.java @@ -30,7 +30,7 @@ public final class GoogleCloudAiplatformV1beta1ListAgentsResponse extends com.google.api.client.json.GenericJson { /** - * A list of agents matching the request. + * The agents matching the request. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -43,15 +43,15 @@ public final class GoogleCloudAiplatformV1beta1ListAgentsResponse extends com.go } /** - * A token, which can be sent as ListAgentsRequest.page_token to retrieve the next page. Absence - * of this field indicates there are no subsequent pages. + * A token to retrieve the next page of results. Pass this value as ListAgentsRequest.page_token + * in a subsequent call. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String nextPageToken; /** - * A list of agents matching the request. + * The agents matching the request. * @return value or {@code null} for none */ public java.util.List getAgents() { @@ -59,7 +59,7 @@ public java.util.List getAgents() { } /** - * A list of agents matching the request. + * The agents matching the request. * @param agents agents or {@code null} for none */ public GoogleCloudAiplatformV1beta1ListAgentsResponse setAgents(java.util.List agents) { @@ -68,8 +68,8 @@ public GoogleCloudAiplatformV1beta1ListAgentsResponse setAgents(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 GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponse extends com.google.api.client.json.GenericJson { + + /** + * A token to retrieve the next page of results. Pass to + * ListSemanticGovernancePoliciesRequest.page_token to obtain that page. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nextPageToken; + + /** + * The list of SemanticGovernancePolicies. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List semanticGovernancePolicies; + + /** + * A token to retrieve the next page of results. Pass to + * ListSemanticGovernancePoliciesRequest.page_token to obtain that page. + * @return value or {@code null} for none + */ + public java.lang.String getNextPageToken() { + return nextPageToken; + } + + /** + * A token to retrieve the next page of results. Pass to + * ListSemanticGovernancePoliciesRequest.page_token to obtain that page. + * @param nextPageToken nextPageToken or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponse setNextPageToken(java.lang.String nextPageToken) { + this.nextPageToken = nextPageToken; + return this; + } + + /** + * The list of SemanticGovernancePolicies. + * @return value or {@code null} for none + */ + public java.util.List getSemanticGovernancePolicies() { + return semanticGovernancePolicies; + } + + /** + * The list of SemanticGovernancePolicies. + * @param semanticGovernancePolicies semanticGovernancePolicies or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponse setSemanticGovernancePolicies(java.util.List semanticGovernancePolicies) { + this.semanticGovernancePolicies = semanticGovernancePolicies; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponse set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponse) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponse clone() { + return (GoogleCloudAiplatformV1beta1ListSemanticGovernancePoliciesResponse) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1PersistentDiskSpec.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1PersistentDiskSpec.java index eb8aa18a184..b89df411050 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1PersistentDiskSpec.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1PersistentDiskSpec.java @@ -17,7 +17,7 @@ package com.google.api.services.aiplatform.v1beta1.model; /** - * Represents the spec of persistent disk options. + * Represents the spec of persistent disk and hyperdisk options. * *

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: @@ -39,7 +39,10 @@ public final class GoogleCloudAiplatformV1beta1PersistentDiskSpec extends com.go /** * Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid * State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced Persistent - * Disk) "pd-extreme" (Extreme Persistent Disk) + * Disk) "pd-extreme" (Extreme Persistent Disk) "hyperdisk-balanced" (Hyperdisk Balanced) + * "hyperdisk-extreme" (Hyperdisk Extreme) "hyperdisk-balanced-high-availability" (Hyperdisk + * Balanced High Availability) "hyperdisk-ml" (Hyperdisk ML) "hyperdisk-throughput" (Hyperdisk + * Throughput) * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -65,7 +68,10 @@ public GoogleCloudAiplatformV1beta1PersistentDiskSpec setDiskSizeGb(java.lang.Lo /** * Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid * State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced Persistent - * Disk) "pd-extreme" (Extreme Persistent Disk) + * Disk) "pd-extreme" (Extreme Persistent Disk) "hyperdisk-balanced" (Hyperdisk Balanced) + * "hyperdisk-extreme" (Hyperdisk Extreme) "hyperdisk-balanced-high-availability" (Hyperdisk + * Balanced High Availability) "hyperdisk-ml" (Hyperdisk ML) "hyperdisk-throughput" (Hyperdisk + * Throughput) * @return value or {@code null} for none */ public java.lang.String getDiskType() { @@ -75,7 +81,10 @@ public java.lang.String getDiskType() { /** * Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid * State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced Persistent - * Disk) "pd-extreme" (Extreme Persistent Disk) + * Disk) "pd-extreme" (Extreme Persistent Disk) "hyperdisk-balanced" (Hyperdisk Balanced) + * "hyperdisk-extreme" (Hyperdisk Extreme) "hyperdisk-balanced-high-availability" (Hyperdisk + * Balanced High Availability) "hyperdisk-ml" (Hyperdisk ML) "hyperdisk-throughput" (Hyperdisk + * Throughput) * @param diskType diskType or {@code null} for none */ public GoogleCloudAiplatformV1beta1PersistentDiskSpec setDiskType(java.lang.String diskType) { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ProcessDataRequest.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ProcessDataRequest.java new file mode 100644 index 00000000000..c51e9019433 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ProcessDataRequest.java @@ -0,0 +1,114 @@ +/* + * 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; + +/** + * Request message for GenAiTuningService.ProcessData. + * + *

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 GoogleCloudAiplatformV1beta1ProcessDataRequest extends com.google.api.client.json.GenericJson { + + /** + * Optional. The GCS bucket to store the processed videos and captions data. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1GcsDestination gcsDestination; + + /** + * Optional. A JSONL file containing a list of files to process stored in the user's GCS bucket. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1GcsSource gcsSource; + + /** + * Optional. Spec for Veo data processing. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec veoSpec; + + /** + * Optional. The GCS bucket to store the processed videos and captions data. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1GcsDestination getGcsDestination() { + return gcsDestination; + } + + /** + * Optional. The GCS bucket to store the processed videos and captions data. + * @param gcsDestination gcsDestination or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ProcessDataRequest setGcsDestination(GoogleCloudAiplatformV1beta1GcsDestination gcsDestination) { + this.gcsDestination = gcsDestination; + return this; + } + + /** + * Optional. A JSONL file containing a list of files to process stored in the user's GCS bucket. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1GcsSource getGcsSource() { + return gcsSource; + } + + /** + * Optional. A JSONL file containing a list of files to process stored in the user's GCS bucket. + * @param gcsSource gcsSource or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ProcessDataRequest setGcsSource(GoogleCloudAiplatformV1beta1GcsSource gcsSource) { + this.gcsSource = gcsSource; + return this; + } + + /** + * Optional. Spec for Veo data processing. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec getVeoSpec() { + return veoSpec; + } + + /** + * Optional. Spec for Veo data processing. + * @param veoSpec veoSpec or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ProcessDataRequest setVeoSpec(GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec veoSpec) { + this.veoSpec = veoSpec; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1ProcessDataRequest set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1ProcessDataRequest) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1ProcessDataRequest clone() { + return (GoogleCloudAiplatformV1beta1ProcessDataRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec.java new file mode 100644 index 00000000000..0ae8c3756b8 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec.java @@ -0,0 +1,66 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.aiplatform.v1beta1.model; + +/** + * Spec for Veo data processing. + * + *

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 GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec extends com.google.api.client.json.GenericJson { + + /** + * Optional. The type of data processing to perform. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String processType; + + /** + * Optional. The type of data processing to perform. + * @return value or {@code null} for none + */ + public java.lang.String getProcessType() { + return processType; + } + + /** + * Optional. The type of data processing to perform. + * @param processType processType or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec setProcessType(java.lang.String processType) { + this.processType = processType; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec clone() { + return (GoogleCloudAiplatformV1beta1ProcessDataRequestVeoSpec) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnvironment.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnvironment.java index a5b65ebd3e9..13fc4fbcc39 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnvironment.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnvironment.java @@ -36,6 +36,13 @@ public final class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefault @com.google.api.client.util.Key private java.lang.String defaultContainerCategory; + /** + * Optional. Resource requests and limits for the default container. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateResourceRequirements resources; + /** * Required. The category of the default container image. * @return value or {@code null} for none @@ -53,6 +60,23 @@ public GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnv return this; } + /** + * Optional. Resource requests and limits for the default container. + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateResourceRequirements getResources() { + return resources; + } + + /** + * Optional. Resource requests and limits for the default container. + * @param resources resources or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnvironment setResources(GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateResourceRequirements resources) { + this.resources = resources; + return this; + } + @Override public GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnvironment set(String fieldName, Object value) { return (GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnvironment) super.set(fieldName, value); diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SemanticGovernancePolicy.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SemanticGovernancePolicy.java new file mode 100644 index 00000000000..ae2e1fa1556 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SemanticGovernancePolicy.java @@ -0,0 +1,301 @@ +/* + * 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; + +/** + * Represents a governance policy applied to a specific Agent and optionally a specific Tool within + * that Agent. + * + *

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 GoogleCloudAiplatformV1beta1SemanticGovernancePolicy extends com.google.api.client.json.GenericJson { + + /** + * Required. The name of the agent in Agent Registry that is affected by this policy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String agent; + + /** + * Output only. Represents the principal of the agent, used by the Policy Decision Point (PDP) for + * governance checks. For more information, see https://docs.cloud.google.com/agent-builder/agent- + * engine/agent-identity Format: `principal://TRUST_DOMAIN/NAMESPACE/AGENT_NAME` Example: + * `principal://agents.global.org-ORGANIZATION_ID.system.id.goog/resources/aiplatform/projects/PRO + * JECT_NUMBER/locations/LOCATION/reasoningEngines/AGENT_ENGINE_ID` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String agentIdentity; + + /** + * Output only. Timestamp when this SemanticGovernancePolicy was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Optional. The description of the SemanticGovernancePolicy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String description; + + /** + * Optional. The user-defined name of the SemanticGovernancePolicy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String displayName; + + /** + * Optional. Used to perform consistent read-modify-write transactions. If provided, the request + * will only succeed if the etag matches the current value. Otherwise, an ABORTED error will be + * returned. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String etag; + + /** + * Optional. The McpTools that are affected by this policy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List mcpTools; + + /** + * Identifier. Resource name of the SemanticGovernancePolicy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Required. The natural language constraint of the SemanticGovernancePolicy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String naturalLanguageConstraint; + + /** + * Output only. Timestamp when this SemanticGovernancePolicy was last updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Required. The name of the agent in Agent Registry that is affected by this policy. + * @return value or {@code null} for none + */ + public java.lang.String getAgent() { + return agent; + } + + /** + * Required. The name of the agent in Agent Registry that is affected by this policy. + * @param agent agent or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicy setAgent(java.lang.String agent) { + this.agent = agent; + return this; + } + + /** + * Output only. Represents the principal of the agent, used by the Policy Decision Point (PDP) for + * governance checks. For more information, see https://docs.cloud.google.com/agent-builder/agent- + * engine/agent-identity Format: `principal://TRUST_DOMAIN/NAMESPACE/AGENT_NAME` Example: + * `principal://agents.global.org-ORGANIZATION_ID.system.id.goog/resources/aiplatform/projects/PRO + * JECT_NUMBER/locations/LOCATION/reasoningEngines/AGENT_ENGINE_ID` + * @return value or {@code null} for none + */ + public java.lang.String getAgentIdentity() { + return agentIdentity; + } + + /** + * Output only. Represents the principal of the agent, used by the Policy Decision Point (PDP) for + * governance checks. For more information, see https://docs.cloud.google.com/agent-builder/agent- + * engine/agent-identity Format: `principal://TRUST_DOMAIN/NAMESPACE/AGENT_NAME` Example: + * `principal://agents.global.org-ORGANIZATION_ID.system.id.goog/resources/aiplatform/projects/PRO + * JECT_NUMBER/locations/LOCATION/reasoningEngines/AGENT_ENGINE_ID` + * @param agentIdentity agentIdentity or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicy setAgentIdentity(java.lang.String agentIdentity) { + this.agentIdentity = agentIdentity; + return this; + } + + /** + * Output only. Timestamp when this SemanticGovernancePolicy was created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. Timestamp when this SemanticGovernancePolicy was created. + * @param createTime createTime or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicy setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Optional. The description of the SemanticGovernancePolicy. + * @return value or {@code null} for none + */ + public java.lang.String getDescription() { + return description; + } + + /** + * Optional. The description of the SemanticGovernancePolicy. + * @param description description or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicy setDescription(java.lang.String description) { + this.description = description; + return this; + } + + /** + * Optional. The user-defined name of the SemanticGovernancePolicy. + * @return value or {@code null} for none + */ + public java.lang.String getDisplayName() { + return displayName; + } + + /** + * Optional. The user-defined name of the SemanticGovernancePolicy. + * @param displayName displayName or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicy setDisplayName(java.lang.String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Optional. Used to perform consistent read-modify-write transactions. If provided, the request + * will only succeed if the etag matches the current value. Otherwise, an ABORTED error will be + * returned. + * @return value or {@code null} for none + */ + public java.lang.String getEtag() { + return etag; + } + + /** + * Optional. Used to perform consistent read-modify-write transactions. If provided, the request + * will only succeed if the etag matches the current value. Otherwise, an ABORTED error will be + * returned. + * @param etag etag or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicy setEtag(java.lang.String etag) { + this.etag = etag; + return this; + } + + /** + * Optional. The McpTools that are affected by this policy. + * @return value or {@code null} for none + */ + public java.util.List getMcpTools() { + return mcpTools; + } + + /** + * Optional. The McpTools that are affected by this policy. + * @param mcpTools mcpTools or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicy setMcpTools(java.util.List mcpTools) { + this.mcpTools = mcpTools; + return this; + } + + /** + * Identifier. Resource name of the SemanticGovernancePolicy. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. Resource name of the SemanticGovernancePolicy. + * @param name name or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicy setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Required. The natural language constraint of the SemanticGovernancePolicy. + * @return value or {@code null} for none + */ + public java.lang.String getNaturalLanguageConstraint() { + return naturalLanguageConstraint; + } + + /** + * Required. The natural language constraint of the SemanticGovernancePolicy. + * @param naturalLanguageConstraint naturalLanguageConstraint or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicy setNaturalLanguageConstraint(java.lang.String naturalLanguageConstraint) { + this.naturalLanguageConstraint = naturalLanguageConstraint; + return this; + } + + /** + * Output only. Timestamp when this SemanticGovernancePolicy was last updated. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. Timestamp when this SemanticGovernancePolicy was last updated. + * @param updateTime updateTime or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicy setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicy set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1SemanticGovernancePolicy) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicy clone() { + return (GoogleCloudAiplatformV1beta1SemanticGovernancePolicy) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine.java new file mode 100644 index 00000000000..f3ae92fef9e --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine.java @@ -0,0 +1,282 @@ +/* + * 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; + +/** + * Define a singleton SemanticGovernancePolicyEngine resource under a project and location. + * + *

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 GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine extends com.google.api.client.json.GenericJson { + + /** + * Output only. Timestamp when this SemanticGovernancePolicyEngine was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Optional. Configurations for gateways. The keys are user-defined names for each gateway. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map gatewayConfigs; + + static { + // hack to force ProGuard to consider GoogleCloudAiplatformV1beta1GatewayConfig 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(GoogleCloudAiplatformV1beta1GatewayConfig.class); + } + + /** + * Output only. The private IPv4 address of the PSC endpoint. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String ipAddress; + + /** + * Identifier. The resource name of the SemanticGovernancePolicyEngine. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Output only. The URI of the PSC endpoint resource created in customer project. Format: + * projects/{project}/regions/{region}/forwardingRules/{forwarding_rule} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pscForwardingRule; + + /** + * Output only. URI of the PSC attachment resource provided by SGP. Format: + * projects/{project}/regions/{region}/serviceAttachments/{service_attachment} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pscServiceAttachment; + + /** + * Output only. The state of the SemanticGovernancePolicyEngine. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Optional. The project where network, subnetwork and dns resources are located. If not provided, + * it is assumed to be the same project of SemanticGovernancePolicyEngine. This field is for + * Shared VPC scenarios, where network resources may be in a target project and SGP engine in a + * service project. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String targetProject; + + /** + * Output only. Timestamp when this SemanticGovernancePolicyEngine was last updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. Timestamp when this SemanticGovernancePolicyEngine was created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. Timestamp when this SemanticGovernancePolicyEngine was created. + * @param createTime createTime or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Optional. Configurations for gateways. The keys are user-defined names for each gateway. + * @return value or {@code null} for none + */ + public java.util.Map getGatewayConfigs() { + return gatewayConfigs; + } + + /** + * Optional. Configurations for gateways. The keys are user-defined names for each gateway. + * @param gatewayConfigs gatewayConfigs or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine setGatewayConfigs(java.util.Map gatewayConfigs) { + this.gatewayConfigs = gatewayConfigs; + return this; + } + + /** + * Output only. The private IPv4 address of the PSC endpoint. + * @return value or {@code null} for none + */ + public java.lang.String getIpAddress() { + return ipAddress; + } + + /** + * Output only. The private IPv4 address of the PSC endpoint. + * @param ipAddress ipAddress or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine setIpAddress(java.lang.String ipAddress) { + this.ipAddress = ipAddress; + return this; + } + + /** + * Identifier. The resource name of the SemanticGovernancePolicyEngine. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The resource name of the SemanticGovernancePolicyEngine. Format: + * projects/{project}/locations/{location}/semanticGovernancePolicyEngine + * @param name name or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Output only. The URI of the PSC endpoint resource created in customer project. Format: + * projects/{project}/regions/{region}/forwardingRules/{forwarding_rule} + * @return value or {@code null} for none + */ + public java.lang.String getPscForwardingRule() { + return pscForwardingRule; + } + + /** + * Output only. The URI of the PSC endpoint resource created in customer project. Format: + * projects/{project}/regions/{region}/forwardingRules/{forwarding_rule} + * @param pscForwardingRule pscForwardingRule or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine setPscForwardingRule(java.lang.String pscForwardingRule) { + this.pscForwardingRule = pscForwardingRule; + return this; + } + + /** + * Output only. URI of the PSC attachment resource provided by SGP. Format: + * projects/{project}/regions/{region}/serviceAttachments/{service_attachment} + * @return value or {@code null} for none + */ + public java.lang.String getPscServiceAttachment() { + return pscServiceAttachment; + } + + /** + * Output only. URI of the PSC attachment resource provided by SGP. Format: + * projects/{project}/regions/{region}/serviceAttachments/{service_attachment} + * @param pscServiceAttachment pscServiceAttachment or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine setPscServiceAttachment(java.lang.String pscServiceAttachment) { + this.pscServiceAttachment = pscServiceAttachment; + return this; + } + + /** + * Output only. The state of the SemanticGovernancePolicyEngine. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. The state of the SemanticGovernancePolicyEngine. + * @param state state or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * Optional. The project where network, subnetwork and dns resources are located. If not provided, + * it is assumed to be the same project of SemanticGovernancePolicyEngine. This field is for + * Shared VPC scenarios, where network resources may be in a target project and SGP engine in a + * service project. + * @return value or {@code null} for none + */ + public java.lang.String getTargetProject() { + return targetProject; + } + + /** + * Optional. The project where network, subnetwork and dns resources are located. If not provided, + * it is assumed to be the same project of SemanticGovernancePolicyEngine. This field is for + * Shared VPC scenarios, where network resources may be in a target project and SGP engine in a + * service project. + * @param targetProject targetProject or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine setTargetProject(java.lang.String targetProject) { + this.targetProject = targetProject; + return this; + } + + /** + * Output only. Timestamp when this SemanticGovernancePolicyEngine was last updated. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. Timestamp when this SemanticGovernancePolicyEngine was last updated. + * @param updateTime updateTime or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine clone() { + return (GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SemanticGovernancePolicyMcpTool.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SemanticGovernancePolicyMcpTool.java new file mode 100644 index 00000000000..c9a5bc7f807 --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SemanticGovernancePolicyMcpTool.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; + +/** + * Represents a governance policy applied to MCP tools used by an Agent. + * + *

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 GoogleCloudAiplatformV1beta1SemanticGovernancePolicyMcpTool extends com.google.api.client.json.GenericJson { + + /** + * Required. The resource name of the McpServer in Agent Registry that is affected by this policy. + * Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}` + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String mcpServer; + + /** + * Optional. The resource names of the McpTools used by the Agent that is affected by this policy. + * If not specified, the policy applies to all McpTools in the McpServer. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List tools; + + /** + * Required. The resource name of the McpServer in Agent Registry that is affected by this policy. + * Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}` + * @return value or {@code null} for none + */ + public java.lang.String getMcpServer() { + return mcpServer; + } + + /** + * Required. The resource name of the McpServer in Agent Registry that is affected by this policy. + * Format: `projects/{project}/locations/{location}/mcpServers/{mcp_server}` + * @param mcpServer mcpServer or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyMcpTool setMcpServer(java.lang.String mcpServer) { + this.mcpServer = mcpServer; + return this; + } + + /** + * Optional. The resource names of the McpTools used by the Agent that is affected by this policy. + * If not specified, the policy applies to all McpTools in the McpServer. + * @return value or {@code null} for none + */ + public java.util.List getTools() { + return tools; + } + + /** + * Optional. The resource names of the McpTools used by the Agent that is affected by this policy. + * If not specified, the policy applies to all McpTools in the McpServer. + * @param tools tools or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyMcpTool setTools(java.util.List tools) { + this.tools = tools; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyMcpTool set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1SemanticGovernancePolicyMcpTool) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1SemanticGovernancePolicyMcpTool clone() { + return (GoogleCloudAiplatformV1beta1SemanticGovernancePolicyMcpTool) super.clone(); + } + +} diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SkillRevision.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SkillRevision.java index 88a129c97b0..d8aec655f51 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SkillRevision.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SkillRevision.java @@ -45,8 +45,7 @@ public final class GoogleCloudAiplatformV1beta1SkillRevision extends com.google. private java.lang.String name; /** - * Output only. The state of the Skill at this revision. TODO(b/503772996) Use a different proto - * for skill data included in skill revision + * Output only. The state of the Skill at this revision. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -96,8 +95,7 @@ public GoogleCloudAiplatformV1beta1SkillRevision setName(java.lang.String name) } /** - * Output only. The state of the Skill at this revision. TODO(b/503772996) Use a different proto - * for skill data included in skill revision + * Output only. The state of the Skill at this revision. * @return value or {@code null} for none */ public GoogleCloudAiplatformV1beta1Skill getSkill() { @@ -105,8 +103,7 @@ public GoogleCloudAiplatformV1beta1Skill getSkill() { } /** - * Output only. The state of the Skill at this revision. TODO(b/503772996) Use a different proto - * for skill data included in skill revision + * Output only. The state of the Skill at this revision. * @param skill skill or {@code null} for none */ public GoogleCloudAiplatformV1beta1SkillRevision setSkill(GoogleCloudAiplatformV1beta1Skill skill) { diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Tool.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Tool.java index f626fad87ef..497095bb508 100644 --- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Tool.java +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Tool.java @@ -55,6 +55,14 @@ public final class GoogleCloudAiplatformV1beta1Tool extends com.google.api.clien @com.google.api.client.util.Key private GoogleCloudAiplatformV1beta1EnterpriseWebSearch enterpriseWebSearch; + /** + * Optional. Uses Exa.ai to search for information to answer user queries. The search results will + * be grounded on Exa.ai and presented to the model for response generation + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudAiplatformV1beta1ToolExaAiSearch exaAiSearch; + /** * Optional. Function tool type. One or more function declarations to be passed to the model along * with the current user query. Model may decide to call a subset of these functions by populating @@ -173,6 +181,25 @@ public GoogleCloudAiplatformV1beta1Tool setEnterpriseWebSearch(GoogleCloudAiplat return this; } + /** + * Optional. Uses Exa.ai to search for information to answer user queries. The search results will + * be grounded on Exa.ai and presented to the model for response generation + * @return value or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ToolExaAiSearch getExaAiSearch() { + return exaAiSearch; + } + + /** + * Optional. Uses Exa.ai to search for information to answer user queries. The search results will + * be grounded on Exa.ai and presented to the model for response generation + * @param exaAiSearch exaAiSearch or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1Tool setExaAiSearch(GoogleCloudAiplatformV1beta1ToolExaAiSearch exaAiSearch) { + this.exaAiSearch = exaAiSearch; + return this; + } + /** * Optional. Function tool type. One or more function declarations to be passed to the model along * with the current user query. Model may decide to call a subset of these functions by populating diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ToolExaAiSearch.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ToolExaAiSearch.java new file mode 100644 index 00000000000..908082905cc --- /dev/null +++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ToolExaAiSearch.java @@ -0,0 +1,90 @@ +/* + * 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; + +/** + * ExaAiSearch tool type. A tool that uses the Exa.ai search engine for grounding. + * + *

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 GoogleCloudAiplatformV1beta1ToolExaAiSearch extends com.google.api.client.json.GenericJson { + + /** + * Required. The API key for ExaAiSearch. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String apiKey; + + /** + * Optional. This field can be used to pass any parameter from the Exa.ai Search API. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map customConfigs; + + /** + * Required. The API key for ExaAiSearch. + * @return value or {@code null} for none + */ + public java.lang.String getApiKey() { + return apiKey; + } + + /** + * Required. The API key for ExaAiSearch. + * @param apiKey apiKey or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ToolExaAiSearch setApiKey(java.lang.String apiKey) { + this.apiKey = apiKey; + return this; + } + + /** + * Optional. This field can be used to pass any parameter from the Exa.ai Search API. + * @return value or {@code null} for none + */ + public java.util.Map getCustomConfigs() { + return customConfigs; + } + + /** + * Optional. This field can be used to pass any parameter from the Exa.ai Search API. + * @param customConfigs customConfigs or {@code null} for none + */ + public GoogleCloudAiplatformV1beta1ToolExaAiSearch setCustomConfigs(java.util.Map customConfigs) { + this.customConfigs = customConfigs; + return this; + } + + @Override + public GoogleCloudAiplatformV1beta1ToolExaAiSearch set(String fieldName, Object value) { + return (GoogleCloudAiplatformV1beta1ToolExaAiSearch) super.set(fieldName, value); + } + + @Override + public GoogleCloudAiplatformV1beta1ToolExaAiSearch clone() { + return (GoogleCloudAiplatformV1beta1ToolExaAiSearch) 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 a9ae50cca79..0db5a69ebab 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-rev20260515-2.0.0 - Agent Platform API v1beta1-rev20260515-2.0.0 + v1beta1-rev20260523-2.0.0 + Agent Platform API v1beta1-rev20260523-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 d9cb9b86f69..c927914fd4b 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-rev20260515-2.0.0 + v1beta1-rev20260523-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260515-2.0.0' + implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260523-2.0.0' } ```