languageCodes) {
+ this.languageCodes = languageCodes;
+ return this;
+ }
+
+ /**
+ * Optional. Deprecated: Use top-level `language_codes` instead. Specifies one or more languages
+ * in the audio.
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints getLanguageHints() {
@@ -151,7 +183,8 @@ public GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints getLanguageH
}
/**
- * Optional. Specifies one or more languages in the audio.
+ * Optional. Deprecated: Use top-level `language_codes` instead. Specifies one or more languages
+ * in the audio.
* @param languageHints languageHints or {@code null} for none
*/
public GoogleCloudAiplatformV1AudioTranscriptionConfig setLanguageHints(GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints languageHints) {
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageAuto.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageAuto.java
index e8e6b252d87..d03b1e28233 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageAuto.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageAuto.java
@@ -17,7 +17,8 @@
package com.google.api.services.aiplatform.v1.model;
/**
- * Indicates the language of the audio should be automatically detected.
+ * Deprecated: Use top-level `language_codes` instead. Indicates the language of the audio should be
+ * automatically detected.
*
* 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:
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints.java
index 35c9bfb5293..c91975745eb 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints.java
@@ -17,7 +17,8 @@
package com.google.api.services.aiplatform.v1.model;
/**
- * Provides hints to the model about possible languages present in the audio.
+ * Deprecated: Use top-level `language_codes` instead. Provides hints to the model about possible
+ * languages present in the audio.
*
*
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:
@@ -30,14 +31,16 @@
public final class GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints extends com.google.api.client.json.GenericJson {
/**
- * Required. BCP-47 language codes. At least one must be specified.
+ * Required. Deprecated: Use top-level `language_codes` instead. BCP-47 language codes. At least
+ * one must be specified.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List languageCodes;
/**
- * Required. BCP-47 language codes. At least one must be specified.
+ * Required. Deprecated: Use top-level `language_codes` instead. BCP-47 language codes. At least
+ * one must be specified.
* @return value or {@code null} for none
*/
public java.util.List getLanguageCodes() {
@@ -45,7 +48,8 @@ public java.util.List getLanguageCodes() {
}
/**
- * Required. BCP-47 language codes. At least one must be specified.
+ * Required. Deprecated: Use top-level `language_codes` instead. BCP-47 language codes. At least
+ * one must be specified.
* @param languageCodes languageCodes or {@code null} for none
*/
public GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints setLanguageCodes(java.util.List languageCodes) {
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CompactSessionRequest.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CompactSessionRequest.java
new file mode 100644
index 00000000000..9670fce57e7
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CompactSessionRequest.java
@@ -0,0 +1,69 @@
+/*
+ * 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;
+
+/**
+ * Request message for SessionService.CompactSession.
+ *
+ * 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 GoogleCloudAiplatformV1CompactSessionRequest extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Required. The compaction configuration to apply. At least one compaction category
+ * (summarization or event editing) must be enabled within it.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1CompactionConfig compaction;
+
+ /**
+ * Required. The compaction configuration to apply. At least one compaction category
+ * (summarization or event editing) must be enabled within it.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1CompactionConfig getCompaction() {
+ return compaction;
+ }
+
+ /**
+ * Required. The compaction configuration to apply. At least one compaction category
+ * (summarization or event editing) must be enabled within it.
+ * @param compaction compaction or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1CompactSessionRequest setCompaction(GoogleCloudAiplatformV1CompactionConfig compaction) {
+ this.compaction = compaction;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1CompactSessionRequest set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1CompactSessionRequest) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1CompactSessionRequest clone() {
+ return (GoogleCloudAiplatformV1CompactSessionRequest) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CompactionConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CompactionConfig.java
new file mode 100644
index 00000000000..fa6ecd66c11
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CompactionConfig.java
@@ -0,0 +1,101 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.aiplatform.v1.model;
+
+/**
+ * Configuration for session compaction. Compaction has two independent categories that may be
+ * enabled individually or together. When both are enabled they run as a stackable pipeline
+ * (deterministic event editing first, then summarization if the session is still above the target).
+ * At least one category must be enabled; a config with neither is rejected (enforced server-side).
+ * This message is standalone so it can be reused across surfaces (e.g. on the compact request
+ * today, and on session creation for a future reactive trigger).
+ *
+ * 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 GoogleCloudAiplatformV1CompactionConfig extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Optional. Event-history editing compaction configuration. Set to enable deterministic event
+ * editing (e.g. masking oversized tool responses). Can be combined with `summarization`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1CompactionConfigEventEditingConfig eventEditing;
+
+ /**
+ * Optional. LLM summarization compaction configuration. Set to enable summarization-based
+ * compaction. Can be combined with `event_editing`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig summarization;
+
+ /**
+ * Optional. Event-history editing compaction configuration. Set to enable deterministic event
+ * editing (e.g. masking oversized tool responses). Can be combined with `summarization`.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1CompactionConfigEventEditingConfig getEventEditing() {
+ return eventEditing;
+ }
+
+ /**
+ * Optional. Event-history editing compaction configuration. Set to enable deterministic event
+ * editing (e.g. masking oversized tool responses). Can be combined with `summarization`.
+ * @param eventEditing eventEditing or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1CompactionConfig setEventEditing(GoogleCloudAiplatformV1CompactionConfigEventEditingConfig eventEditing) {
+ this.eventEditing = eventEditing;
+ return this;
+ }
+
+ /**
+ * Optional. LLM summarization compaction configuration. Set to enable summarization-based
+ * compaction. Can be combined with `event_editing`.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig getSummarization() {
+ return summarization;
+ }
+
+ /**
+ * Optional. LLM summarization compaction configuration. Set to enable summarization-based
+ * compaction. Can be combined with `event_editing`.
+ * @param summarization summarization or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1CompactionConfig setSummarization(GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig summarization) {
+ this.summarization = summarization;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1CompactionConfig set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1CompactionConfig) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1CompactionConfig clone() {
+ return (GoogleCloudAiplatformV1CompactionConfig) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CompactionConfigEventEditingConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CompactionConfigEventEditingConfig.java
new file mode 100644
index 00000000000..6c533dc73d3
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CompactionConfigEventEditingConfig.java
@@ -0,0 +1,68 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.aiplatform.v1.model;
+
+/**
+ * Configuration for event-history editing-based compaction. When set, the event history is
+ * rewritten in place using deterministic rules (e.g. truncating/masking oversized tool responses,
+ * stripping model thoughts).
+ *
+ * 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 GoogleCloudAiplatformV1CompactionConfigEventEditingConfig extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Required. The event-editing mode. Only `AUTO` is supported for MVP.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String mode;
+
+ /**
+ * Required. The event-editing mode. Only `AUTO` is supported for MVP.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getMode() {
+ return mode;
+ }
+
+ /**
+ * Required. The event-editing mode. Only `AUTO` is supported for MVP.
+ * @param mode mode or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1CompactionConfigEventEditingConfig setMode(java.lang.String mode) {
+ this.mode = mode;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1CompactionConfigEventEditingConfig set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1CompactionConfigEventEditingConfig) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1CompactionConfigEventEditingConfig clone() {
+ return (GoogleCloudAiplatformV1CompactionConfigEventEditingConfig) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig.java
new file mode 100644
index 00000000000..3741fc7b12a
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig.java
@@ -0,0 +1,67 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.aiplatform.v1.model;
+
+/**
+ * Configuration for LLM summarization-based compaction. When set, the session context is summarized
+ * with an LLM once it exceeds the summarizer target threshold.
+ *
+ * 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 GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Required. The summarization mode. Only `AUTO` is supported for MVP.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String mode;
+
+ /**
+ * Required. The summarization mode. Only `AUTO` is supported for MVP.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getMode() {
+ return mode;
+ }
+
+ /**
+ * Required. The summarization mode. Only `AUTO` is supported for MVP.
+ * @param mode mode or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig setMode(java.lang.String mode) {
+ this.mode = mode;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig clone() {
+ return (GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationInstance.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationInstance.java
index f3f873c2f2d..e6847db852e 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationInstance.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationInstance.java
@@ -37,6 +37,16 @@ public final class GoogleCloudAiplatformV1EvaluationInstance extends com.google.
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentData agentData;
+ /**
+ * Optional. Source for populating `AgentData` from an Interactions API interaction. If set, no
+ * other agent data source fields (`cloud_trace_agent_data_source`, `agent_eval_data`,
+ * `agent_data`) may be set. The request will be rejected with INVALID_ARGUMENT if multiple agent
+ * data sources are provided.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource interactionsDataSource;
+
/**
* Optional. Other data used to populate placeholders based on their key. If a key conflicts with
* a field in the EvaluationInstance (e.g. `prompt`), the value of the field will take precedence
@@ -93,6 +103,29 @@ public GoogleCloudAiplatformV1EvaluationInstance setAgentData(GoogleCloudAiplatf
return this;
}
+ /**
+ * Optional. Source for populating `AgentData` from an Interactions API interaction. If set, no
+ * other agent data source fields (`cloud_trace_agent_data_source`, `agent_eval_data`,
+ * `agent_data`) may be set. The request will be rejected with INVALID_ARGUMENT if multiple agent
+ * data sources are provided.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource getInteractionsDataSource() {
+ return interactionsDataSource;
+ }
+
+ /**
+ * Optional. Source for populating `AgentData` from an Interactions API interaction. If set, no
+ * other agent data source fields (`cloud_trace_agent_data_source`, `agent_eval_data`,
+ * `agent_data`) may be set. The request will be rejected with INVALID_ARGUMENT if multiple agent
+ * data sources are provided.
+ * @param interactionsDataSource interactionsDataSource or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1EvaluationInstance setInteractionsDataSource(GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource interactionsDataSource) {
+ this.interactionsDataSource = interactionsDataSource;
+ return this;
+ }
+
/**
* Optional. Other data used to populate placeholders based on their key. If a key conflicts with
* a field in the EvaluationInstance (e.g. `prompt`), the value of the field will take precedence
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource.java
new file mode 100644
index 00000000000..b0fa5eb581a
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource.java
@@ -0,0 +1,93 @@
+/*
+ * 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;
+
+/**
+ * Source for populating `AgentData` from an Interactions API interaction.
+ *
+ * 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 GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Optional. Gemini Agent (Vertex AI Agent resource).
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1GeminiAgentConfig geminiAgentConfig;
+
+ /**
+ * Required. The interaction to evaluate. Format:
+ * `projects/{project}/locations/{location}/interactions/{interaction}`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String interaction;
+
+ /**
+ * Optional. Gemini Agent (Vertex AI Agent resource).
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1GeminiAgentConfig getGeminiAgentConfig() {
+ return geminiAgentConfig;
+ }
+
+ /**
+ * Optional. Gemini Agent (Vertex AI Agent resource).
+ * @param geminiAgentConfig geminiAgentConfig or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource setGeminiAgentConfig(GoogleCloudAiplatformV1GeminiAgentConfig geminiAgentConfig) {
+ this.geminiAgentConfig = geminiAgentConfig;
+ return this;
+ }
+
+ /**
+ * Required. The interaction to evaluate. Format:
+ * `projects/{project}/locations/{location}/interactions/{interaction}`.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getInteraction() {
+ return interaction;
+ }
+
+ /**
+ * Required. The interaction to evaluate. Format:
+ * `projects/{project}/locations/{location}/interactions/{interaction}`.
+ * @param interaction interaction or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource setInteraction(java.lang.String interaction) {
+ this.interaction = interaction;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource clone() {
+ return (GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationRun.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationRun.java
index 6f06e0f0267..26873fc2cbb 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationRun.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationRun.java
@@ -58,6 +58,14 @@ public final class GoogleCloudAiplatformV1EvaluationRun extends com.google.api.c
@com.google.api.client.util.Key
private java.lang.String displayName;
+ /**
+ * Optional. Customer-managed encryption key spec for this EvaluationRun. If set, this
+ * EvaluationRun will be secured by this key.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1EncryptionSpec encryptionSpec;
+
/**
* Output only. Only populated when the evaluation run's state is FAILED or CANCELLED.
* The value may be {@code null}.
@@ -196,6 +204,25 @@ public GoogleCloudAiplatformV1EvaluationRun setDisplayName(java.lang.String disp
return this;
}
+ /**
+ * Optional. Customer-managed encryption key spec for this EvaluationRun. If set, this
+ * EvaluationRun will be secured by this key.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1EncryptionSpec getEncryptionSpec() {
+ return encryptionSpec;
+ }
+
+ /**
+ * Optional. Customer-managed encryption key spec for this EvaluationRun. If set, this
+ * EvaluationRun will be secured by this key.
+ * @param encryptionSpec encryptionSpec or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1EvaluationRun setEncryptionSpec(GoogleCloudAiplatformV1EncryptionSpec encryptionSpec) {
+ this.encryptionSpec = encryptionSpec;
+ return this;
+ }
+
/**
* Output only. Only populated when the evaluation run's state is FAILED or CANCELLED.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig.java
index 039c0b4331a..8169b3233fc 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig.java
@@ -38,6 +38,15 @@ public final class GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunCo
@com.google.api.client.util.Key
private java.lang.String agentEngine;
+ /**
+ * Optional. Config for scraping a Gemini Agent via the Interactions API. The scraping service
+ * creates interactions against the agent and returns the resulting interaction traces for
+ * evaluation.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1GeminiAgentConfig geminiAgentConfig;
+
/**
* Optional. The session input to get agent running results.
* The value may be {@code null}.
@@ -74,6 +83,27 @@ public GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig setAgen
return this;
}
+ /**
+ * Optional. Config for scraping a Gemini Agent via the Interactions API. The scraping service
+ * creates interactions against the agent and returns the resulting interaction traces for
+ * evaluation.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1GeminiAgentConfig getGeminiAgentConfig() {
+ return geminiAgentConfig;
+ }
+
+ /**
+ * Optional. Config for scraping a Gemini Agent via the Interactions API. The scraping service
+ * creates interactions against the agent and returns the resulting interaction traces for
+ * evaluation.
+ * @param geminiAgentConfig geminiAgentConfig or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfig setGeminiAgentConfig(GoogleCloudAiplatformV1GeminiAgentConfig geminiAgentConfig) {
+ this.geminiAgentConfig = geminiAgentConfig;
+ return this;
+ }
+
/**
* Optional. The session input to get agent running results.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GatewayConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GatewayConfig.java
index bc7203f5e41..c4d62e1f300 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GatewayConfig.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GatewayConfig.java
@@ -35,7 +35,7 @@ public final class GoogleCloudAiplatformV1GatewayConfig extends com.google.api.c
* endpoint in a project other than this gateway's `network` project. Each listed project is VPC-
* SC enforced: it must be within the caller's service perimeter. The owning
* SemanticGovernancePolicyEngine's own project is always permitted implicitly and need not be
- * listed. Format: project ID or number.
+ * listed. Format: `projects/{project}` (ID or number).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -99,7 +99,7 @@ public final class GoogleCloudAiplatformV1GatewayConfig extends com.google.api.c
* endpoint in a project other than this gateway's `network` project. Each listed project is VPC-
* SC enforced: it must be within the caller's service perimeter. The owning
* SemanticGovernancePolicyEngine's own project is always permitted implicitly and need not be
- * listed. Format: project ID or number.
+ * listed. Format: `projects/{project}` (ID or number).
* @return value or {@code null} for none
*/
public java.util.List getAllowedProjects() {
@@ -112,7 +112,7 @@ public java.util.List getAllowedProjects() {
* endpoint in a project other than this gateway's `network` project. Each listed project is VPC-
* SC enforced: it must be within the caller's service perimeter. The owning
* SemanticGovernancePolicyEngine's own project is always permitted implicitly and need not be
- * listed. Format: project ID or number.
+ * listed. Format: `projects/{project}` (ID or number).
* @param allowedProjects allowedProjects or {@code null} for none
*/
public GoogleCloudAiplatformV1GatewayConfig setAllowedProjects(java.util.List allowedProjects) {
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GeminiAgentConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GeminiAgentConfig.java
new file mode 100644
index 00000000000..9faadfdaae0
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GeminiAgentConfig.java
@@ -0,0 +1,73 @@
+/*
+ * 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;
+
+/**
+ * Config for scraping a Gemini Agent (a Vertex AI Agent resource scraped via the Vertex
+ * Interactions API).
+ *
+ * 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 GoogleCloudAiplatformV1GeminiAgentConfig extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Required. The resource name of the Gemini Agent. Format:
+ * `projects/{project}/locations/{location}/agents/{agent}`. For example:
+ * `projects/123/locations/us-central1/agents/my-agent`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String geminiAgent;
+
+ /**
+ * Required. The resource name of the Gemini Agent. Format:
+ * `projects/{project}/locations/{location}/agents/{agent}`. For example:
+ * `projects/123/locations/us-central1/agents/my-agent`.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getGeminiAgent() {
+ return geminiAgent;
+ }
+
+ /**
+ * Required. The resource name of the Gemini Agent. Format:
+ * `projects/{project}/locations/{location}/agents/{agent}`. For example:
+ * `projects/123/locations/us-central1/agents/my-agent`.
+ * @param geminiAgent geminiAgent or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1GeminiAgentConfig setGeminiAgent(java.lang.String geminiAgent) {
+ this.geminiAgent = geminiAgent;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1GeminiAgentConfig set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1GeminiAgentConfig) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1GeminiAgentConfig clone() {
+ return (GoogleCloudAiplatformV1GeminiAgentConfig) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GenerateUserScenariosRequest.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GenerateUserScenariosRequest.java
index b87e96a90ac..e50caf16240 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GenerateUserScenariosRequest.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GenerateUserScenariosRequest.java
@@ -56,6 +56,13 @@ public final class GoogleCloudAiplatformV1GenerateUserScenariosRequest extends c
@com.google.api.client.util.Key
private java.lang.Boolean allowCrossRegionModel;
+ /**
+ * Optional. Config for a Gemini Agent to generate user scenarios for.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1GeminiAgentConfig geminiAgentConfig;
+
/**
* Optional. The agent id to identify the root agent. Required unless `gemini_agent_config` is
* set, in which case it is derived from the referenced Gemini Agent.
@@ -119,6 +126,23 @@ public GoogleCloudAiplatformV1GenerateUserScenariosRequest setAllowCrossRegionMo
return this;
}
+ /**
+ * Optional. Config for a Gemini Agent to generate user scenarios for.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1GeminiAgentConfig getGeminiAgentConfig() {
+ return geminiAgentConfig;
+ }
+
+ /**
+ * Optional. Config for a Gemini Agent to generate user scenarios for.
+ * @param geminiAgentConfig geminiAgentConfig or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1GenerateUserScenariosRequest setGeminiAgentConfig(GoogleCloudAiplatformV1GeminiAgentConfig geminiAgentConfig) {
+ this.geminiAgentConfig = geminiAgentConfig;
+ return this;
+ }
+
/**
* Optional. The agent id to identify the root agent. Required unless `gemini_agent_config` is
* set, in which case it is derived from the referenced Gemini Agent.
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ImportEvaluationSetRequest.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ImportEvaluationSetRequest.java
index 0b94a599414..62ee29b455c 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ImportEvaluationSetRequest.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ImportEvaluationSetRequest.java
@@ -80,6 +80,13 @@ public final class GoogleCloudAiplatformV1ImportEvaluationSetRequest extends com
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1ImportEvaluationSetRequestInlineSource inlineSource;
+ /**
+ * Optional. Source for importing Interactions API interactions.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource interactionsSource;
+
/**
* Source for loading Agent Engine sessions.
* @return value or {@code null} for none
@@ -203,6 +210,23 @@ public GoogleCloudAiplatformV1ImportEvaluationSetRequest setInlineSource(GoogleC
return this;
}
+ /**
+ * Optional. Source for importing Interactions API interactions.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource getInteractionsSource() {
+ return interactionsSource;
+ }
+
+ /**
+ * Optional. Source for importing Interactions API interactions.
+ * @param interactionsSource interactionsSource or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1ImportEvaluationSetRequest setInteractionsSource(GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource interactionsSource) {
+ this.interactionsSource = interactionsSource;
+ return this;
+ }
+
@Override
public GoogleCloudAiplatformV1ImportEvaluationSetRequest set(String fieldName, Object value) {
return (GoogleCloudAiplatformV1ImportEvaluationSetRequest) super.set(fieldName, value);
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource.java
new file mode 100644
index 00000000000..8196c45d654
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource.java
@@ -0,0 +1,94 @@
+/*
+ * 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;
+
+/**
+ * Source for importing interactions from the Interactions API into an EvaluationSet. The agent
+ * identity is specified once, with a list of interaction IDs to import.
+ *
+ * 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 GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Optional. Gemini Agent (Vertex AI Agent resource).
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1GeminiAgentConfig geminiAgentConfig;
+
+ /**
+ * Required. The interactions to import. Format:
+ * `projects/{project}/locations/{location}/interactions/{interaction}`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List interactions;
+
+ /**
+ * Optional. Gemini Agent (Vertex AI Agent resource).
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1GeminiAgentConfig getGeminiAgentConfig() {
+ return geminiAgentConfig;
+ }
+
+ /**
+ * Optional. Gemini Agent (Vertex AI Agent resource).
+ * @param geminiAgentConfig geminiAgentConfig or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource setGeminiAgentConfig(GoogleCloudAiplatformV1GeminiAgentConfig geminiAgentConfig) {
+ this.geminiAgentConfig = geminiAgentConfig;
+ return this;
+ }
+
+ /**
+ * Required. The interactions to import. Format:
+ * `projects/{project}/locations/{location}/interactions/{interaction}`.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getInteractions() {
+ return interactions;
+ }
+
+ /**
+ * Required. The interactions to import. Format:
+ * `projects/{project}/locations/{location}/interactions/{interaction}`.
+ * @param interactions interactions or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource setInteractions(java.util.List interactions) {
+ this.interactions = interactions;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource clone() {
+ return (GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo.java
index 69e9de821db..84319929d1f 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo.java
@@ -57,6 +57,16 @@ public final class GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo exten
@com.google.api.client.util.Key
private java.lang.String sandboxInternalIp;
+ /**
+ * Output only. The name of the PSC-E service attachment created for private ingress to this
+ * SandboxEnvironment. Only populated when the template enables private ingress (see
+ * SandboxEnvironmentTemplate.ingress_control_config). VPC-SC customers use this to create a PSC
+ * endpoint in their VPC.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String serviceAttachment;
+
/**
* Output only. The hostname of the load balancer.
* @return value or {@code null} for none
@@ -125,6 +135,29 @@ public GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo setSandboxInterna
return this;
}
+ /**
+ * Output only. The name of the PSC-E service attachment created for private ingress to this
+ * SandboxEnvironment. Only populated when the template enables private ingress (see
+ * SandboxEnvironmentTemplate.ingress_control_config). VPC-SC customers use this to create a PSC
+ * endpoint in their VPC.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getServiceAttachment() {
+ return serviceAttachment;
+ }
+
+ /**
+ * Output only. The name of the PSC-E service attachment created for private ingress to this
+ * SandboxEnvironment. Only populated when the template enables private ingress (see
+ * SandboxEnvironmentTemplate.ingress_control_config). VPC-SC customers use this to create a PSC
+ * endpoint in their VPC.
+ * @param serviceAttachment serviceAttachment or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo setServiceAttachment(java.lang.String serviceAttachment) {
+ this.serviceAttachment = serviceAttachment;
+ return this;
+ }
+
@Override
public GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo set(String fieldName, Object value) {
return (GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo) super.set(fieldName, value);
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplate.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplate.java
index e268a578340..7455b380349 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplate.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplate.java
@@ -65,6 +65,20 @@ public final class GoogleCloudAiplatformV1SandboxEnvironmentTemplate extends com
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig egressControlConfig;
+ /**
+ * Optional. The configuration for private ingress (PSC-E) of this template. When set, the sandbox
+ * router is exposed privately via a PSC service attachment so VPC-SC customers can connect from
+ * their VPC over a private endpoint instead of the public internet. The resulting service
+ * attachment is surfaced on `SandboxEnvironment.connection_info.service_attachment`. Only the
+ * PSC-E (service-attachment/ingress) portion of `PrivateServiceConnectConfig` applies here:
+ * `enable_private_service_connect` and `project_allowlist` (the consumer projects allowed to
+ * connect). The nested `psc_interface_config` (PSC-I / egress) is not used for sandbox ingress;
+ * sandbox egress is configured via `egress_control_config` instead.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1PrivateServiceConnectConfig ingressControlConfig;
+
/**
* Identifier. The resource name of the SandboxEnvironmentTemplate. Format: `projects/{project}/lo
* cations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentTemplates/{sandbox_env
@@ -173,6 +187,37 @@ public GoogleCloudAiplatformV1SandboxEnvironmentTemplate setEgressControlConfig(
return this;
}
+ /**
+ * Optional. The configuration for private ingress (PSC-E) of this template. When set, the sandbox
+ * router is exposed privately via a PSC service attachment so VPC-SC customers can connect from
+ * their VPC over a private endpoint instead of the public internet. The resulting service
+ * attachment is surfaced on `SandboxEnvironment.connection_info.service_attachment`. Only the
+ * PSC-E (service-attachment/ingress) portion of `PrivateServiceConnectConfig` applies here:
+ * `enable_private_service_connect` and `project_allowlist` (the consumer projects allowed to
+ * connect). The nested `psc_interface_config` (PSC-I / egress) is not used for sandbox ingress;
+ * sandbox egress is configured via `egress_control_config` instead.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1PrivateServiceConnectConfig getIngressControlConfig() {
+ return ingressControlConfig;
+ }
+
+ /**
+ * Optional. The configuration for private ingress (PSC-E) of this template. When set, the sandbox
+ * router is exposed privately via a PSC service attachment so VPC-SC customers can connect from
+ * their VPC over a private endpoint instead of the public internet. The resulting service
+ * attachment is surfaced on `SandboxEnvironment.connection_info.service_attachment`. Only the
+ * PSC-E (service-attachment/ingress) portion of `PrivateServiceConnectConfig` applies here:
+ * `enable_private_service_connect` and `project_allowlist` (the consumer projects allowed to
+ * connect). The nested `psc_interface_config` (PSC-I / egress) is not used for sandbox ingress;
+ * sandbox egress is configured via `egress_control_config` instead.
+ * @param ingressControlConfig ingressControlConfig or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1SandboxEnvironmentTemplate setIngressControlConfig(GoogleCloudAiplatformV1PrivateServiceConnectConfig ingressControlConfig) {
+ this.ingressControlConfig = ingressControlConfig;
+ return this;
+ }
+
/**
* Identifier. The resource name of the SandboxEnvironmentTemplate. Format: `projects/{project}/lo
* cations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentTemplates/{sandbox_env
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig.java
index 1ce584633a4..f6cf1601d5e 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig.java
@@ -52,7 +52,7 @@ public final class GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressContro
private java.lang.Boolean internetAccess;
/**
- * Optional. The name of the customer VPC NetworkAttachment used to draw a PSC interface IP into
+ * Optional. The name of the customer VPC `NetworkAttachment` used to draw a PSC interface IP into
* the customer VPC for sandbox egress.
* The value may be {@code null}.
*/
@@ -113,7 +113,7 @@ public GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig setI
}
/**
- * Optional. The name of the customer VPC NetworkAttachment used to draw a PSC interface IP into
+ * Optional. The name of the customer VPC `NetworkAttachment` used to draw a PSC interface IP into
* the customer VPC for sandbox egress.
* @return value or {@code null} for none
*/
@@ -122,7 +122,7 @@ public java.lang.String getNetworkAttachment() {
}
/**
- * Optional. The name of the customer VPC NetworkAttachment used to draw a PSC interface IP into
+ * Optional. The name of the customer VPC `NetworkAttachment` used to draw a PSC interface IP into
* the customer VPC for sandbox egress.
* @param networkAttachment networkAttachment or {@code null} for none
*/
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig.java
index 5684457cf67..a19956adceb 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig.java
@@ -39,7 +39,7 @@ public final class GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressContro
private java.lang.String domain;
/**
- * Required. The VPC network name in the target_project where the DNS zone specified by 'domain'
+ * Required. The VPC network name in the target_project where the DNS zone specified by `domain`
* is visible.
* The value may be {@code null}.
*/
@@ -47,7 +47,7 @@ public final class GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressContro
private java.lang.String targetNetwork;
/**
- * Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The
+ * Required. The project ID hosting the Cloud DNS managed zone that contains the `domain`. The
* Vertex AI Service Agent requires the dns.peer role on this project.
* The value may be {@code null}.
*/
@@ -74,7 +74,7 @@ public GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfigDnsPe
}
/**
- * Required. The VPC network name in the target_project where the DNS zone specified by 'domain'
+ * Required. The VPC network name in the target_project where the DNS zone specified by `domain`
* is visible.
* @return value or {@code null} for none
*/
@@ -83,7 +83,7 @@ public java.lang.String getTargetNetwork() {
}
/**
- * Required. The VPC network name in the target_project where the DNS zone specified by 'domain'
+ * Required. The VPC network name in the target_project where the DNS zone specified by `domain`
* is visible.
* @param targetNetwork targetNetwork or {@code null} for none
*/
@@ -93,7 +93,7 @@ public GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfigDnsPe
}
/**
- * Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The
+ * Required. The project ID hosting the Cloud DNS managed zone that contains the `domain`. The
* Vertex AI Service Agent requires the dns.peer role on this project.
* @return value or {@code null} for none
*/
@@ -102,7 +102,7 @@ public java.lang.String getTargetProject() {
}
/**
- * Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The
+ * Required. The project ID hosting the Cloud DNS managed zone that contains the `domain`. The
* Vertex AI Service Agent requires the dns.peer role on this project.
* @param targetProject targetProject or {@code null} for none
*/
diff --git a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1VideoResponseFormat.java b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1VideoResponseFormat.java
index f541c36414f..baf314d78ad 100644
--- a/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1VideoResponseFormat.java
+++ b/clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1VideoResponseFormat.java
@@ -58,6 +58,13 @@ public final class GoogleCloudAiplatformV1VideoResponseFormat extends com.google
@com.google.api.client.util.Key
private java.lang.String gcsUri;
+ /**
+ * Optional. The video output resolution. Supported values: "360p", "720p", "1080p", "4k".
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String resolution;
+
/**
* The aspect ratio for the video output.
* @return value or {@code null} for none
@@ -128,6 +135,23 @@ public GoogleCloudAiplatformV1VideoResponseFormat setGcsUri(java.lang.String gcs
return this;
}
+ /**
+ * Optional. The video output resolution. Supported values: "360p", "720p", "1080p", "4k".
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getResolution() {
+ return resolution;
+ }
+
+ /**
+ * Optional. The video output resolution. Supported values: "360p", "720p", "1080p", "4k".
+ * @param resolution resolution or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1VideoResponseFormat setResolution(java.lang.String resolution) {
+ this.resolution = resolution;
+ return this;
+ }
+
@Override
public GoogleCloudAiplatformV1VideoResponseFormat set(String fieldName, Object value) {
return (GoogleCloudAiplatformV1VideoResponseFormat) super.set(fieldName, value);
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 9b9a9cd1c75..f2340b91b3a 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-rev20260725-2.0.0
- Agent Platform API v1-rev20260725-2.0.0
+ v1-rev20260801-2.0.0
+ Agent Platform API v1-rev20260801-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 3be40af624a..bffc7925370 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-rev20260725-2.0.0
+ v1-rev20260801-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260725-2.0.0'
+ implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260801-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 5c9d53e716c..b327774302e 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-rev20260725-2.0.0
+ v1beta1-rev20260801-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260725-2.0.0'
+ implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260801-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 3f68141fa39..e596d2f1916 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
@@ -187200,6 +187200,154 @@ public AppendEvent set(String parameterName, Object value) {
return (AppendEvent) super.set(parameterName, value);
}
}
+ /**
+ * Compacts the event history of a given Session, which may run an LLM summarization call and
+ * rewrite the full event history. Compaction is a storage-side rewrite that can apply a stackable
+ * pipeline of rules (event-horizon preservation, tool-response truncation, thought stripping, and
+ * LLM summarization etc.)
+ *
+ * Create a request for the method "sessions.compact".
+ *
+ * This request holds the parameters needed by the aiplatform server. After setting any optional
+ * parameters, call the {@link Compact#execute()} method to invoke the remote operation.
+ *
+ * @param name Required. The resource name of the session to compact. Format:
+ * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{ses
+ * sion}`
+ * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1CompactSessionRequest}
+ * @return the request
+ */
+ public Compact compact(java.lang.String name, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1CompactSessionRequest content) throws java.io.IOException {
+ Compact result = new Compact(name, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Compact extends AiplatformRequest {
+
+ private static final String REST_PATH = "v1beta1/{+name}:compact";
+
+ private final java.util.regex.Pattern NAME_PATTERN =
+ java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+$");
+
+ /**
+ * Compacts the event history of a given Session, which may run an LLM summarization call and
+ * rewrite the full event history. Compaction is a storage-side rewrite that can apply a stackable
+ * pipeline of rules (event-horizon preservation, tool-response truncation, thought stripping, and
+ * LLM summarization etc.)
+ *
+ * Create a request for the method "sessions.compact".
+ *
+ * This request holds the parameters needed by the the aiplatform server. After setting any
+ * optional parameters, call the {@link Compact#execute()} method to invoke the remote operation.
+ * {@link
+ * Compact#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 session to compact. Format:
+ * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{ses
+ * sion}`
+ * @param content the {@link com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1CompactSessionRequest}
+ * @since 1.13
+ */
+ protected Compact(java.lang.String name, com.google.api.services.aiplatform.v1beta1.model.GoogleCloudAiplatformV1beta1CompactSessionRequest 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/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+$");
+ }
+ }
+
+ @Override
+ public Compact set$Xgafv(java.lang.String $Xgafv) {
+ return (Compact) super.set$Xgafv($Xgafv);
+ }
+
+ @Override
+ public Compact setAccessToken(java.lang.String accessToken) {
+ return (Compact) super.setAccessToken(accessToken);
+ }
+
+ @Override
+ public Compact setAlt(java.lang.String alt) {
+ return (Compact) super.setAlt(alt);
+ }
+
+ @Override
+ public Compact setCallback(java.lang.String callback) {
+ return (Compact) super.setCallback(callback);
+ }
+
+ @Override
+ public Compact setFields(java.lang.String fields) {
+ return (Compact) super.setFields(fields);
+ }
+
+ @Override
+ public Compact setKey(java.lang.String key) {
+ return (Compact) super.setKey(key);
+ }
+
+ @Override
+ public Compact setOauthToken(java.lang.String oauthToken) {
+ return (Compact) super.setOauthToken(oauthToken);
+ }
+
+ @Override
+ public Compact setPrettyPrint(java.lang.Boolean prettyPrint) {
+ return (Compact) super.setPrettyPrint(prettyPrint);
+ }
+
+ @Override
+ public Compact setQuotaUser(java.lang.String quotaUser) {
+ return (Compact) super.setQuotaUser(quotaUser);
+ }
+
+ @Override
+ public Compact setUploadType(java.lang.String uploadType) {
+ return (Compact) super.setUploadType(uploadType);
+ }
+
+ @Override
+ public Compact setUploadProtocol(java.lang.String uploadProtocol) {
+ return (Compact) super.setUploadProtocol(uploadProtocol);
+ }
+
+ /**
+ * Required. The resource name of the session to compact. Format: `projects/{project}/lo
+ * cations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}`
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /** Required. The resource name of the session to compact. Format:
+ `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}`
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Required. The resource name of the session to compact. Format: `projects/{project}/lo
+ * cations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}`
+ */
+ public Compact 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/[^/]+/reasoningEngines/[^/]+/sessions/[^/]+$");
+ }
+ this.name = name;
+ return this;
+ }
+
+ @Override
+ public Compact set(String parameterName, Object value) {
+ return (Compact) super.set(parameterName, value);
+ }
+ }
/**
* Creates a new Session.
*
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
index a21de88e63d..d44bd2f49da 100644
--- 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
@@ -41,14 +41,14 @@ public final class GenaiVertexV1beta1EnvironmentConfig extends com.google.api.cl
* Allow only specific domains.
* The value may be {@code null}.
*/
- @com.google.api.client.util.Key
+ @com.google.api.client.util.Key("network_allowlist")
private GenaiVertexV1beta1EnvironmentConfigEnvironmentNetworkEgressAllowlist networkAllowlist;
/**
* Network egress mode.
* The value may be {@code null}.
*/
- @com.google.api.client.util.Key
+ @com.google.api.client.util.Key("network_mode")
private java.lang.String networkMode;
/**
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 c7f077c74e7..2edcbedf1b7 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
@@ -104,13 +104,6 @@ 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. Step-based streaming event, used when steps
* are enabled.
@@ -315,23 +308,6 @@ 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. Step-based streaming event, used when steps
* are enabled.
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1TextContentAnnotation.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1TextContentAnnotation.java
index 9608c998c0d..0c10a8f6442 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1TextContentAnnotation.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1TextContentAnnotation.java
@@ -59,7 +59,8 @@ public final class GenaiVertexV1beta1TextContentAnnotation extends com.google.ap
private java.lang.Integer startIndex;
/**
- * A URL citation annotation.
+ * NOTE: We use these instead of the Citation message for historical reasons. A URL citation
+ * annotation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -143,7 +144,8 @@ public GenaiVertexV1beta1TextContentAnnotation setStartIndex(java.lang.Integer s
}
/**
- * A URL citation annotation.
+ * NOTE: We use these instead of the Citation message for historical reasons. A URL citation
+ * annotation.
* @return value or {@code null} for none
*/
public GenaiVertexV1beta1UrlCitation getUrlCitation() {
@@ -151,7 +153,8 @@ public GenaiVertexV1beta1UrlCitation getUrlCitation() {
}
/**
- * A URL citation annotation.
+ * NOTE: We use these instead of the Citation message for historical reasons. A URL citation
+ * annotation.
* @param urlCitation urlCitation or {@code null} for none
*/
public GenaiVertexV1beta1TextContentAnnotation setUrlCitation(GenaiVertexV1beta1UrlCitation urlCitation) {
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1TranscriptionConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1TranscriptionConfig.java
index bc85a3f11b5..00d3a626d9a 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1TranscriptionConfig.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1TranscriptionConfig.java
@@ -52,12 +52,12 @@ public final class GenaiVertexV1beta1TranscriptionConfig extends com.google.api.
private java.lang.String diarizationMode;
/**
- * Required. BCP-47 language codes providing hints about the languages present in the audio. At
- * least one must be specified, or set to ["auto"] to enable automatic language detection.
+ * Optional. BCP-47 language codes providing hints about the languages present in the audio. If
+ * omitted or empty, defaults to automatic language detection.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private java.util.List languageHints;
+ private java.util.List languageCodes;
/**
* Optional. The granularity of timestamps to include in the transcription output. Supported
@@ -121,21 +121,21 @@ public GenaiVertexV1beta1TranscriptionConfig setDiarizationMode(java.lang.String
}
/**
- * Required. BCP-47 language codes providing hints about the languages present in the audio. At
- * least one must be specified, or set to ["auto"] to enable automatic language detection.
+ * Optional. BCP-47 language codes providing hints about the languages present in the audio. If
+ * omitted or empty, defaults to automatic language detection.
* @return value or {@code null} for none
*/
- public java.util.List getLanguageHints() {
- return languageHints;
+ public java.util.List getLanguageCodes() {
+ return languageCodes;
}
/**
- * Required. BCP-47 language codes providing hints about the languages present in the audio. At
- * least one must be specified, or set to ["auto"] to enable automatic language detection.
- * @param languageHints languageHints or {@code null} for none
+ * Optional. BCP-47 language codes providing hints about the languages present in the audio. If
+ * omitted or empty, defaults to automatic language detection.
+ * @param languageCodes languageCodes or {@code null} for none
*/
- public GenaiVertexV1beta1TranscriptionConfig setLanguageHints(java.util.List languageHints) {
- this.languageHints = languageHints;
+ public GenaiVertexV1beta1TranscriptionConfig setLanguageCodes(java.util.List languageCodes) {
+ this.languageCodes = languageCodes;
return this;
}
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfig.java
index 5c7c7ca770f..13e55c0ced3 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfig.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfig.java
@@ -52,14 +52,24 @@ public final class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig extends
private java.lang.Boolean diarization;
/**
- * Optional. The model will detect the language automatically.
+ * Optional. Deprecated: Use top-level `language_codes` instead. The model will detect the
+ * language automatically.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto languageAuto;
/**
- * Optional. Specifies one or more languages in the audio.
+ * Optional. BCP-47 language codes providing hints about the languages present in the audio. If
+ * omitted or empty, defaults to automatic language detection.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List languageCodes;
+
+ /**
+ * Optional. Deprecated: Use top-level `language_codes` instead. Specifies one or more languages
+ * in the audio.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -126,7 +136,8 @@ public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setDiarization(java.
}
/**
- * Optional. The model will detect the language automatically.
+ * Optional. Deprecated: Use top-level `language_codes` instead. The model will detect the
+ * language automatically.
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto getLanguageAuto() {
@@ -134,7 +145,8 @@ public GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto getLangu
}
/**
- * Optional. The model will detect the language automatically.
+ * Optional. Deprecated: Use top-level `language_codes` instead. The model will detect the
+ * language automatically.
* @param languageAuto languageAuto or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setLanguageAuto(GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto languageAuto) {
@@ -143,7 +155,27 @@ public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setLanguageAuto(Goog
}
/**
- * Optional. Specifies one or more languages in the audio.
+ * Optional. BCP-47 language codes providing hints about the languages present in the audio. If
+ * omitted or empty, defaults to automatic language detection.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getLanguageCodes() {
+ return languageCodes;
+ }
+
+ /**
+ * Optional. BCP-47 language codes providing hints about the languages present in the audio. If
+ * omitted or empty, defaults to automatic language detection.
+ * @param languageCodes languageCodes or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setLanguageCodes(java.util.List languageCodes) {
+ this.languageCodes = languageCodes;
+ return this;
+ }
+
+ /**
+ * Optional. Deprecated: Use top-level `language_codes` instead. Specifies one or more languages
+ * in the audio.
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints getLanguageHints() {
@@ -151,7 +183,8 @@ public GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints getLang
}
/**
- * Optional. Specifies one or more languages in the audio.
+ * Optional. Deprecated: Use top-level `language_codes` instead. Specifies one or more languages
+ * in the audio.
* @param languageHints languageHints or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1AudioTranscriptionConfig setLanguageHints(GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints languageHints) {
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto.java
index f12b6f89d8e..3f3ba2e64e9 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto.java
@@ -17,7 +17,8 @@
package com.google.api.services.aiplatform.v1beta1.model;
/**
- * Indicates the language of the audio should be automatically detected.
+ * Deprecated: Use top-level `language_codes` instead. Indicates the language of the audio should be
+ * automatically detected.
*
* 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:
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints.java
index 862916b6c0c..1d0619c1c63 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints.java
@@ -17,7 +17,8 @@
package com.google.api.services.aiplatform.v1beta1.model;
/**
- * Provides hints to the model about possible languages present in the audio.
+ * Deprecated: Use top-level `language_codes` instead. Provides hints to the model about possible
+ * languages present in the audio.
*
*
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:
@@ -30,14 +31,16 @@
public final class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints extends com.google.api.client.json.GenericJson {
/**
- * Required. BCP-47 language codes. At least one must be specified.
+ * Required. Deprecated: Use top-level `language_codes` instead. BCP-47 language codes. At least
+ * one must be specified.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List languageCodes;
/**
- * Required. BCP-47 language codes. At least one must be specified.
+ * Required. Deprecated: Use top-level `language_codes` instead. BCP-47 language codes. At least
+ * one must be specified.
* @return value or {@code null} for none
*/
public java.util.List getLanguageCodes() {
@@ -45,7 +48,8 @@ public java.util.List getLanguageCodes() {
}
/**
- * Required. BCP-47 language codes. At least one must be specified.
+ * Required. Deprecated: Use top-level `language_codes` instead. BCP-47 language codes. At least
+ * one must be specified.
* @param languageCodes languageCodes or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints setLanguageCodes(java.util.List languageCodes) {
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CompactSessionRequest.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CompactSessionRequest.java
new file mode 100644
index 00000000000..e70d078c7ce
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CompactSessionRequest.java
@@ -0,0 +1,69 @@
+/*
+ * 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 SessionService.CompactSession.
+ *
+ * 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 GoogleCloudAiplatformV1beta1CompactSessionRequest extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Required. The compaction configuration to apply. At least one compaction category
+ * (summarization or event editing) must be enabled within it.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1CompactionConfig compaction;
+
+ /**
+ * Required. The compaction configuration to apply. At least one compaction category
+ * (summarization or event editing) must be enabled within it.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1CompactionConfig getCompaction() {
+ return compaction;
+ }
+
+ /**
+ * Required. The compaction configuration to apply. At least one compaction category
+ * (summarization or event editing) must be enabled within it.
+ * @param compaction compaction or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1CompactSessionRequest setCompaction(GoogleCloudAiplatformV1beta1CompactionConfig compaction) {
+ this.compaction = compaction;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1CompactSessionRequest set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1beta1CompactSessionRequest) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1CompactSessionRequest clone() {
+ return (GoogleCloudAiplatformV1beta1CompactSessionRequest) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CompactionConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CompactionConfig.java
new file mode 100644
index 00000000000..c26176cc1ac
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CompactionConfig.java
@@ -0,0 +1,101 @@
+/*
+ * 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 session compaction. Compaction has two independent categories that may be
+ * enabled individually or together. When both are enabled they run as a stackable pipeline
+ * (deterministic event editing first, then summarization if the session is still above the target).
+ * At least one category must be enabled; a config with neither is rejected (enforced server-side).
+ * This message is standalone so it can be reused across surfaces (e.g. on the compact request
+ * today, and on session creation for a future reactive trigger).
+ *
+ * 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 GoogleCloudAiplatformV1beta1CompactionConfig extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Optional. Event-history editing compaction configuration. Set to enable deterministic event
+ * editing (e.g. masking oversized tool responses). Can be combined with `summarization`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig eventEditing;
+
+ /**
+ * Optional. LLM summarization compaction configuration. Set to enable summarization-based
+ * compaction. Can be combined with `event_editing`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig summarization;
+
+ /**
+ * Optional. Event-history editing compaction configuration. Set to enable deterministic event
+ * editing (e.g. masking oversized tool responses). Can be combined with `summarization`.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig getEventEditing() {
+ return eventEditing;
+ }
+
+ /**
+ * Optional. Event-history editing compaction configuration. Set to enable deterministic event
+ * editing (e.g. masking oversized tool responses). Can be combined with `summarization`.
+ * @param eventEditing eventEditing or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1CompactionConfig setEventEditing(GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig eventEditing) {
+ this.eventEditing = eventEditing;
+ return this;
+ }
+
+ /**
+ * Optional. LLM summarization compaction configuration. Set to enable summarization-based
+ * compaction. Can be combined with `event_editing`.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig getSummarization() {
+ return summarization;
+ }
+
+ /**
+ * Optional. LLM summarization compaction configuration. Set to enable summarization-based
+ * compaction. Can be combined with `event_editing`.
+ * @param summarization summarization or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1CompactionConfig setSummarization(GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig summarization) {
+ this.summarization = summarization;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1CompactionConfig set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1beta1CompactionConfig) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1CompactionConfig clone() {
+ return (GoogleCloudAiplatformV1beta1CompactionConfig) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig.java
new file mode 100644
index 00000000000..3f8f19e7a5c
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig.java
@@ -0,0 +1,68 @@
+/*
+ * 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 event-history editing-based compaction. When set, the event history is
+ * rewritten in place using deterministic rules (e.g. truncating/masking oversized tool responses,
+ * stripping model thoughts).
+ *
+ * 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 GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Required. The event-editing mode. Only `AUTO` is supported for MVP.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String mode;
+
+ /**
+ * Required. The event-editing mode. Only `AUTO` is supported for MVP.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getMode() {
+ return mode;
+ }
+
+ /**
+ * Required. The event-editing mode. Only `AUTO` is supported for MVP.
+ * @param mode mode or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig setMode(java.lang.String mode) {
+ this.mode = mode;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig clone() {
+ return (GoogleCloudAiplatformV1beta1CompactionConfigEventEditingConfig) super.clone();
+ }
+
+}
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/GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig.java
similarity index 54%
rename from clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GenaiVertexV1beta1StreamMetadata.java
rename to clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig.java
index 0691ecb5243..601bae459cf 100644
--- 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/GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig.java
@@ -17,7 +17,8 @@
package com.google.api.services.aiplatform.v1beta1.model;
/**
- * Model definition for GenaiVertexV1beta1StreamMetadata.
+ * Configuration for LLM summarization-based compaction. When set, the session context is summarized
+ * with an LLM once it exceeds the summarizer target threshold.
*
* 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,37 +28,40 @@
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
-public final class GenaiVertexV1beta1StreamMetadata extends com.google.api.client.json.GenericJson {
+public final class GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig extends com.google.api.client.json.GenericJson {
/**
+ * Required. The summarization mode. Only `AUTO` is supported for MVP.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
- private GenaiVertexV1beta1InteractionUsage totalUsage;
+ private java.lang.String mode;
/**
+ * Required. The summarization mode. Only `AUTO` is supported for MVP.
* @return value or {@code null} for none
*/
- public GenaiVertexV1beta1InteractionUsage getTotalUsage() {
- return totalUsage;
+ public java.lang.String getMode() {
+ return mode;
}
/**
- * @param totalUsage totalUsage or {@code null} for none
+ * Required. The summarization mode. Only `AUTO` is supported for MVP.
+ * @param mode mode or {@code null} for none
*/
- public GenaiVertexV1beta1StreamMetadata setTotalUsage(GenaiVertexV1beta1InteractionUsage totalUsage) {
- this.totalUsage = totalUsage;
+ public GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig setMode(java.lang.String mode) {
+ this.mode = mode;
return this;
}
@Override
- public GenaiVertexV1beta1StreamMetadata set(String fieldName, Object value) {
- return (GenaiVertexV1beta1StreamMetadata) super.set(fieldName, value);
+ public GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig) super.set(fieldName, value);
}
@Override
- public GenaiVertexV1beta1StreamMetadata clone() {
- return (GenaiVertexV1beta1StreamMetadata) super.clone();
+ public GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig clone() {
+ return (GoogleCloudAiplatformV1beta1CompactionConfigLlmSummarizationConfig) super.clone();
}
}
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata.java
new file mode 100644
index 00000000000..24cff0e09bd
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata.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;
+
+/**
+ * Metadata message for DisableXmanager RPC.
+ *
+ *
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 GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. Operation metadata for DisableXmanager.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1GenericOperationMetadata genericMetadata;
+
+ /**
+ * Output only. Progress Message for DisableXmanager LRO
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String progress;
+
+ /**
+ * Output only. Operation metadata for DisableXmanager.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1GenericOperationMetadata getGenericMetadata() {
+ return genericMetadata;
+ }
+
+ /**
+ * Output only. Operation metadata for DisableXmanager.
+ * @param genericMetadata genericMetadata or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata setGenericMetadata(GoogleCloudAiplatformV1beta1GenericOperationMetadata genericMetadata) {
+ this.genericMetadata = genericMetadata;
+ return this;
+ }
+
+ /**
+ * Output only. Progress Message for DisableXmanager LRO
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getProgress() {
+ return progress;
+ }
+
+ /**
+ * Output only. Progress Message for DisableXmanager LRO
+ * @param progress progress or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata setProgress(java.lang.String progress) {
+ this.progress = progress;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata clone() {
+ return (GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EnableXmanagerOperationMetadata.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EnableXmanagerOperationMetadata.java
new file mode 100644
index 00000000000..a4b542a0016
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EnableXmanagerOperationMetadata.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;
+
+/**
+ * Metadata message for EnableXmanager RPC.
+ *
+ * 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 GoogleCloudAiplatformV1beta1EnableXmanagerOperationMetadata extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. Operation metadata for EnableXmanager.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1GenericOperationMetadata genericMetadata;
+
+ /**
+ * Output only. Progress Message for EnableXmanager LRO
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String progress;
+
+ /**
+ * Output only. Operation metadata for EnableXmanager.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1GenericOperationMetadata getGenericMetadata() {
+ return genericMetadata;
+ }
+
+ /**
+ * Output only. Operation metadata for EnableXmanager.
+ * @param genericMetadata genericMetadata or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1EnableXmanagerOperationMetadata setGenericMetadata(GoogleCloudAiplatformV1beta1GenericOperationMetadata genericMetadata) {
+ this.genericMetadata = genericMetadata;
+ return this;
+ }
+
+ /**
+ * Output only. Progress Message for EnableXmanager LRO
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getProgress() {
+ return progress;
+ }
+
+ /**
+ * Output only. Progress Message for EnableXmanager LRO
+ * @param progress progress or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1EnableXmanagerOperationMetadata setProgress(java.lang.String progress) {
+ this.progress = progress;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1EnableXmanagerOperationMetadata set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1beta1EnableXmanagerOperationMetadata) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1EnableXmanagerOperationMetadata clone() {
+ return (GoogleCloudAiplatformV1beta1EnableXmanagerOperationMetadata) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationInstance.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationInstance.java
index 7ebfbea914f..493c822da48 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationInstance.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationInstance.java
@@ -44,6 +44,16 @@ public final class GoogleCloudAiplatformV1beta1EvaluationInstance extends com.go
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1beta1AgentData agentEvalData;
+ /**
+ * Optional. Source for populating `AgentData` from an Interactions API interaction. If set, no
+ * other agent data source fields (`cloud_trace_agent_data_source`, `agent_eval_data`,
+ * `agent_data`) may be set. The request will be rejected with INVALID_ARGUMENT if multiple agent
+ * data sources are provided.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource interactionsDataSource;
+
/**
* Optional. Other data used to populate placeholders based on their key. If a key conflicts with
* a field in the EvaluationInstance (e.g. `prompt`), the value of the field will take precedence
@@ -117,6 +127,29 @@ public GoogleCloudAiplatformV1beta1EvaluationInstance setAgentEvalData(GoogleClo
return this;
}
+ /**
+ * Optional. Source for populating `AgentData` from an Interactions API interaction. If set, no
+ * other agent data source fields (`cloud_trace_agent_data_source`, `agent_eval_data`,
+ * `agent_data`) may be set. The request will be rejected with INVALID_ARGUMENT if multiple agent
+ * data sources are provided.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource getInteractionsDataSource() {
+ return interactionsDataSource;
+ }
+
+ /**
+ * Optional. Source for populating `AgentData` from an Interactions API interaction. If set, no
+ * other agent data source fields (`cloud_trace_agent_data_source`, `agent_eval_data`,
+ * `agent_data`) may be set. The request will be rejected with INVALID_ARGUMENT if multiple agent
+ * data sources are provided.
+ * @param interactionsDataSource interactionsDataSource or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1EvaluationInstance setInteractionsDataSource(GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource interactionsDataSource) {
+ this.interactionsDataSource = interactionsDataSource;
+ return this;
+ }
+
/**
* Optional. Other data used to populate placeholders based on their key. If a key conflicts with
* a field in the EvaluationInstance (e.g. `prompt`), the value of the field will take precedence
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource.java
new file mode 100644
index 00000000000..9b4f9c9d30f
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource.java
@@ -0,0 +1,93 @@
+/*
+ * 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;
+
+/**
+ * Source for populating `AgentData` from an Interactions API interaction.
+ *
+ * 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 GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Optional. Gemini Agent (Vertex AI Agent resource).
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1GeminiAgentConfig geminiAgentConfig;
+
+ /**
+ * Required. The interaction to evaluate. Format:
+ * `projects/{project}/locations/{location}/interactions/{interaction}`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String interaction;
+
+ /**
+ * Optional. Gemini Agent (Vertex AI Agent resource).
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1GeminiAgentConfig getGeminiAgentConfig() {
+ return geminiAgentConfig;
+ }
+
+ /**
+ * Optional. Gemini Agent (Vertex AI Agent resource).
+ * @param geminiAgentConfig geminiAgentConfig or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource setGeminiAgentConfig(GoogleCloudAiplatformV1beta1GeminiAgentConfig geminiAgentConfig) {
+ this.geminiAgentConfig = geminiAgentConfig;
+ return this;
+ }
+
+ /**
+ * Required. The interaction to evaluate. Format:
+ * `projects/{project}/locations/{location}/interactions/{interaction}`.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getInteraction() {
+ return interaction;
+ }
+
+ /**
+ * Required. The interaction to evaluate. Format:
+ * `projects/{project}/locations/{location}/interactions/{interaction}`.
+ * @param interaction interaction or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource setInteraction(java.lang.String interaction) {
+ this.interaction = interaction;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource clone() {
+ return (GoogleCloudAiplatformV1beta1EvaluationInstanceInteractionsDataSource) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRun.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRun.java
index 2a22054088d..d200887a4fb 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRun.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRun.java
@@ -58,6 +58,14 @@ public final class GoogleCloudAiplatformV1beta1EvaluationRun extends com.google.
@com.google.api.client.util.Key
private java.lang.String displayName;
+ /**
+ * Optional. Customer-managed encryption key spec for this EvaluationRun. If set, this
+ * EvaluationRun will be secured by this key.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1EncryptionSpec encryptionSpec;
+
/**
* Output only. Only populated when the evaluation run's state is FAILED or CANCELLED.
* The value may be {@code null}.
@@ -196,6 +204,25 @@ public GoogleCloudAiplatformV1beta1EvaluationRun setDisplayName(java.lang.String
return this;
}
+ /**
+ * Optional. Customer-managed encryption key spec for this EvaluationRun. If set, this
+ * EvaluationRun will be secured by this key.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1EncryptionSpec getEncryptionSpec() {
+ return encryptionSpec;
+ }
+
+ /**
+ * Optional. Customer-managed encryption key spec for this EvaluationRun. If set, this
+ * EvaluationRun will be secured by this key.
+ * @param encryptionSpec encryptionSpec or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1EvaluationRun setEncryptionSpec(GoogleCloudAiplatformV1beta1EncryptionSpec encryptionSpec) {
+ this.encryptionSpec = encryptionSpec;
+ return this;
+ }
+
/**
* Output only. Only populated when the evaluation run's state is FAILED or CANCELLED.
* @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/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig.java
index 917a9ed8aa5..2b25dd11b7e 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig.java
@@ -38,6 +38,15 @@ public final class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgent
@com.google.api.client.util.Key
private java.lang.String agentEngine;
+ /**
+ * Optional. Config for scraping a Gemini Agent via the Interactions API. The scraping service
+ * creates interactions against the agent and returns the resulting interaction traces for
+ * evaluation.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1GeminiAgentConfig geminiAgentConfig;
+
/**
* Optional. The session input to get agent running results.
* The value may be {@code null}.
@@ -74,6 +83,27 @@ public GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig se
return this;
}
+ /**
+ * Optional. Config for scraping a Gemini Agent via the Interactions API. The scraping service
+ * creates interactions against the agent and returns the resulting interaction traces for
+ * evaluation.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1GeminiAgentConfig getGeminiAgentConfig() {
+ return geminiAgentConfig;
+ }
+
+ /**
+ * Optional. Config for scraping a Gemini Agent via the Interactions API. The scraping service
+ * creates interactions against the agent and returns the resulting interaction traces for
+ * evaluation.
+ * @param geminiAgentConfig geminiAgentConfig or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig setGeminiAgentConfig(GoogleCloudAiplatformV1beta1GeminiAgentConfig geminiAgentConfig) {
+ this.geminiAgentConfig = geminiAgentConfig;
+ return this;
+ }
+
/**
* Optional. The session input to get agent running results.
* @return value or {@code null} for none
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GatewayConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GatewayConfig.java
index 9525fbbfbf4..b377a2b21f1 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GatewayConfig.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GatewayConfig.java
@@ -35,7 +35,7 @@ public final class GoogleCloudAiplatformV1beta1GatewayConfig extends com.google.
* endpoint in a project other than this gateway's `network` project. Each listed project is VPC-
* SC enforced: it must be within the caller's service perimeter. The owning
* SemanticGovernancePolicyEngine's own project is always permitted implicitly and need not be
- * listed. Format: project ID or number.
+ * listed. Format: `projects/{project}` (ID or number).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -99,7 +99,7 @@ public final class GoogleCloudAiplatformV1beta1GatewayConfig extends com.google.
* endpoint in a project other than this gateway's `network` project. Each listed project is VPC-
* SC enforced: it must be within the caller's service perimeter. The owning
* SemanticGovernancePolicyEngine's own project is always permitted implicitly and need not be
- * listed. Format: project ID or number.
+ * listed. Format: `projects/{project}` (ID or number).
* @return value or {@code null} for none
*/
public java.util.List getAllowedProjects() {
@@ -112,7 +112,7 @@ public java.util.List getAllowedProjects() {
* endpoint in a project other than this gateway's `network` project. Each listed project is VPC-
* SC enforced: it must be within the caller's service perimeter. The owning
* SemanticGovernancePolicyEngine's own project is always permitted implicitly and need not be
- * listed. Format: project ID or number.
+ * listed. Format: `projects/{project}` (ID or number).
* @param allowedProjects allowedProjects or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1GatewayConfig setAllowedProjects(java.util.List allowedProjects) {
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GeminiAgentConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GeminiAgentConfig.java
new file mode 100644
index 00000000000..9606ffa7abf
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GeminiAgentConfig.java
@@ -0,0 +1,73 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ */
+/*
+ * This code was generated by https://github.com/googleapis/google-api-java-client-services/
+ * Modify at your own risk.
+ */
+
+package com.google.api.services.aiplatform.v1beta1.model;
+
+/**
+ * Config for scraping a Gemini Agent (a Vertex AI Agent resource scraped via the Vertex
+ * Interactions API).
+ *
+ * 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 GoogleCloudAiplatformV1beta1GeminiAgentConfig extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Required. The resource name of the Gemini Agent. Format:
+ * `projects/{project}/locations/{location}/agents/{agent}`. For example:
+ * `projects/123/locations/us-central1/agents/my-agent`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String geminiAgent;
+
+ /**
+ * Required. The resource name of the Gemini Agent. Format:
+ * `projects/{project}/locations/{location}/agents/{agent}`. For example:
+ * `projects/123/locations/us-central1/agents/my-agent`.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getGeminiAgent() {
+ return geminiAgent;
+ }
+
+ /**
+ * Required. The resource name of the Gemini Agent. Format:
+ * `projects/{project}/locations/{location}/agents/{agent}`. For example:
+ * `projects/123/locations/us-central1/agents/my-agent`.
+ * @param geminiAgent geminiAgent or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1GeminiAgentConfig setGeminiAgent(java.lang.String geminiAgent) {
+ this.geminiAgent = geminiAgent;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1GeminiAgentConfig set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1beta1GeminiAgentConfig) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1GeminiAgentConfig clone() {
+ return (GoogleCloudAiplatformV1beta1GeminiAgentConfig) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GenerateUserScenariosRequest.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GenerateUserScenariosRequest.java
index a865cf914b0..461df2de89f 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GenerateUserScenariosRequest.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1GenerateUserScenariosRequest.java
@@ -56,6 +56,13 @@ public final class GoogleCloudAiplatformV1beta1GenerateUserScenariosRequest exte
@com.google.api.client.util.Key
private java.lang.Boolean allowCrossRegionModel;
+ /**
+ * Optional. Config for a Gemini Agent to generate user scenarios for.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1GeminiAgentConfig geminiAgentConfig;
+
/**
* Optional. The agent id to identify the root agent. Required unless `gemini_agent_config` is
* set, in which case it is derived from the referenced Gemini Agent.
@@ -119,6 +126,23 @@ public GoogleCloudAiplatformV1beta1GenerateUserScenariosRequest setAllowCrossReg
return this;
}
+ /**
+ * Optional. Config for a Gemini Agent to generate user scenarios for.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1GeminiAgentConfig getGeminiAgentConfig() {
+ return geminiAgentConfig;
+ }
+
+ /**
+ * Optional. Config for a Gemini Agent to generate user scenarios for.
+ * @param geminiAgentConfig geminiAgentConfig or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1GenerateUserScenariosRequest setGeminiAgentConfig(GoogleCloudAiplatformV1beta1GeminiAgentConfig geminiAgentConfig) {
+ this.geminiAgentConfig = geminiAgentConfig;
+ return this;
+ }
+
/**
* Optional. The agent id to identify the root agent. Required unless `gemini_agent_config` is
* set, in which case it is derived from the referenced Gemini Agent.
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ImportEvaluationSetRequest.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ImportEvaluationSetRequest.java
index e2969872f34..6b895ee2826 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ImportEvaluationSetRequest.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ImportEvaluationSetRequest.java
@@ -80,6 +80,13 @@ public final class GoogleCloudAiplatformV1beta1ImportEvaluationSetRequest extend
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInlineSource inlineSource;
+ /**
+ * Optional. Source for importing Interactions API interactions.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource interactionsSource;
+
/**
* Source for loading Agent Engine sessions.
* @return value or {@code null} for none
@@ -203,6 +210,23 @@ public GoogleCloudAiplatformV1beta1ImportEvaluationSetRequest setInlineSource(Go
return this;
}
+ /**
+ * Optional. Source for importing Interactions API interactions.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource getInteractionsSource() {
+ return interactionsSource;
+ }
+
+ /**
+ * Optional. Source for importing Interactions API interactions.
+ * @param interactionsSource interactionsSource or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1ImportEvaluationSetRequest setInteractionsSource(GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource interactionsSource) {
+ this.interactionsSource = interactionsSource;
+ return this;
+ }
+
@Override
public GoogleCloudAiplatformV1beta1ImportEvaluationSetRequest set(String fieldName, Object value) {
return (GoogleCloudAiplatformV1beta1ImportEvaluationSetRequest) super.set(fieldName, value);
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource.java
new file mode 100644
index 00000000000..070da53b280
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource.java
@@ -0,0 +1,94 @@
+/*
+ * 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;
+
+/**
+ * Source for importing interactions from the Interactions API into an EvaluationSet. The agent
+ * identity is specified once, with a list of interaction IDs to import.
+ *
+ * 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 GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Optional. Gemini Agent (Vertex AI Agent resource).
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1GeminiAgentConfig geminiAgentConfig;
+
+ /**
+ * Required. The interactions to import. Format:
+ * `projects/{project}/locations/{location}/interactions/{interaction}`.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List interactions;
+
+ /**
+ * Optional. Gemini Agent (Vertex AI Agent resource).
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1GeminiAgentConfig getGeminiAgentConfig() {
+ return geminiAgentConfig;
+ }
+
+ /**
+ * Optional. Gemini Agent (Vertex AI Agent resource).
+ * @param geminiAgentConfig geminiAgentConfig or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource setGeminiAgentConfig(GoogleCloudAiplatformV1beta1GeminiAgentConfig geminiAgentConfig) {
+ this.geminiAgentConfig = geminiAgentConfig;
+ return this;
+ }
+
+ /**
+ * Required. The interactions to import. Format:
+ * `projects/{project}/locations/{location}/interactions/{interaction}`.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getInteractions() {
+ return interactions;
+ }
+
+ /**
+ * Required. The interactions to import. Format:
+ * `projects/{project}/locations/{location}/interactions/{interaction}`.
+ * @param interactions interactions or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource setInteractions(java.util.List interactions) {
+ this.interactions = interactions;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource clone() {
+ return (GoogleCloudAiplatformV1beta1ImportEvaluationSetRequestInteractionsSource) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo.java
index 89f41f73254..71a8889de54 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo.java
@@ -29,6 +29,14 @@
@SuppressWarnings("javadoc")
public final class GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo extends com.google.api.client.json.GenericJson {
+ /**
+ * Output only. In case of an error for this reward, this field will be populated with a detailed
+ * error status.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleRpcStatus errorStatus;
+
/**
* Output only. The calculated reward for the reward function.
* The value may be {@code null}.
@@ -45,6 +53,25 @@ public final class GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo ext
@com.google.api.client.util.Key
private java.lang.String userRequestedAuxInfo;
+ /**
+ * Output only. In case of an error for this reward, this field will be populated with a detailed
+ * error status.
+ * @return value or {@code null} for none
+ */
+ public GoogleRpcStatus getErrorStatus() {
+ return errorStatus;
+ }
+
+ /**
+ * Output only. In case of an error for this reward, this field will be populated with a detailed
+ * error status.
+ * @param errorStatus errorStatus or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1ReinforcementTuningRewardInfo setErrorStatus(GoogleRpcStatus errorStatus) {
+ this.errorStatus = errorStatus;
+ return this;
+ }
+
/**
* Output only. The calculated reward for the reward function.
* @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/GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo.java
index a6bdea9aa3a..cef3a273936 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo.java
@@ -57,6 +57,16 @@ public final class GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo
@com.google.api.client.util.Key
private java.lang.String sandboxInternalIp;
+ /**
+ * Output only. The name of the PSC-E service attachment created for private ingress to this
+ * SandboxEnvironment. Only populated when the template enables private ingress (see
+ * SandboxEnvironmentTemplate.ingress_control_config). VPC-SC customers use this to create a PSC
+ * endpoint in their VPC.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String serviceAttachment;
+
/**
* Output only. The hostname of the load balancer.
* @return value or {@code null} for none
@@ -125,6 +135,29 @@ public GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo setSandboxIn
return this;
}
+ /**
+ * Output only. The name of the PSC-E service attachment created for private ingress to this
+ * SandboxEnvironment. Only populated when the template enables private ingress (see
+ * SandboxEnvironmentTemplate.ingress_control_config). VPC-SC customers use this to create a PSC
+ * endpoint in their VPC.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getServiceAttachment() {
+ return serviceAttachment;
+ }
+
+ /**
+ * Output only. The name of the PSC-E service attachment created for private ingress to this
+ * SandboxEnvironment. Only populated when the template enables private ingress (see
+ * SandboxEnvironmentTemplate.ingress_control_config). VPC-SC customers use this to create a PSC
+ * endpoint in their VPC.
+ * @param serviceAttachment serviceAttachment or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo setServiceAttachment(java.lang.String serviceAttachment) {
+ this.serviceAttachment = serviceAttachment;
+ return this;
+ }
+
@Override
public GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo set(String fieldName, Object value) {
return (GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo) super.set(fieldName, value);
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplate.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplate.java
index 769e59ed92e..36b13f9eec1 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplate.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplate.java
@@ -65,6 +65,20 @@ public final class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplate extend
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig egressControlConfig;
+ /**
+ * Optional. The configuration for private ingress (PSC-E) of this template. When set, the sandbox
+ * router is exposed privately via a PSC service attachment so VPC-SC customers can connect from
+ * their VPC over a private endpoint instead of the public internet. The resulting service
+ * attachment is surfaced on `SandboxEnvironment.connection_info.service_attachment`. Only the
+ * PSC-E (service-attachment/ingress) portion of `PrivateServiceConnectConfig` applies here:
+ * `enable_private_service_connect` and `project_allowlist` (the consumer projects allowed to
+ * connect). The nested `psc_interface_config` (PSC-I / egress) is not used for sandbox ingress;
+ * sandbox egress is configured via `egress_control_config` instead.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig ingressControlConfig;
+
/**
* Identifier. The resource name of the SandboxEnvironmentTemplate. Format: `projects/{project}/lo
* cations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentTemplates/{sandbox_env
@@ -173,6 +187,37 @@ public GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplate setEgressControlCo
return this;
}
+ /**
+ * Optional. The configuration for private ingress (PSC-E) of this template. When set, the sandbox
+ * router is exposed privately via a PSC service attachment so VPC-SC customers can connect from
+ * their VPC over a private endpoint instead of the public internet. The resulting service
+ * attachment is surfaced on `SandboxEnvironment.connection_info.service_attachment`. Only the
+ * PSC-E (service-attachment/ingress) portion of `PrivateServiceConnectConfig` applies here:
+ * `enable_private_service_connect` and `project_allowlist` (the consumer projects allowed to
+ * connect). The nested `psc_interface_config` (PSC-I / egress) is not used for sandbox ingress;
+ * sandbox egress is configured via `egress_control_config` instead.
+ * @return value or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig getIngressControlConfig() {
+ return ingressControlConfig;
+ }
+
+ /**
+ * Optional. The configuration for private ingress (PSC-E) of this template. When set, the sandbox
+ * router is exposed privately via a PSC service attachment so VPC-SC customers can connect from
+ * their VPC over a private endpoint instead of the public internet. The resulting service
+ * attachment is surfaced on `SandboxEnvironment.connection_info.service_attachment`. Only the
+ * PSC-E (service-attachment/ingress) portion of `PrivateServiceConnectConfig` applies here:
+ * `enable_private_service_connect` and `project_allowlist` (the consumer projects allowed to
+ * connect). The nested `psc_interface_config` (PSC-I / egress) is not used for sandbox ingress;
+ * sandbox egress is configured via `egress_control_config` instead.
+ * @param ingressControlConfig ingressControlConfig or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplate setIngressControlConfig(GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig ingressControlConfig) {
+ this.ingressControlConfig = ingressControlConfig;
+ return this;
+ }
+
/**
* Identifier. The resource name of the SandboxEnvironmentTemplate. Format: `projects/{project}/lo
* cations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentTemplates/{sandbox_env
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig.java
index 5e1bfbdcc8c..50744b24513 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig.java
@@ -52,7 +52,7 @@ public final class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressC
private java.lang.Boolean internetAccess;
/**
- * Optional. The name of the customer VPC NetworkAttachment used to draw a PSC interface IP into
+ * Optional. The name of the customer VPC `NetworkAttachment` used to draw a PSC interface IP into
* the customer VPC for sandbox egress.
* The value may be {@code null}.
*/
@@ -113,7 +113,7 @@ public GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig
}
/**
- * Optional. The name of the customer VPC NetworkAttachment used to draw a PSC interface IP into
+ * Optional. The name of the customer VPC `NetworkAttachment` used to draw a PSC interface IP into
* the customer VPC for sandbox egress.
* @return value or {@code null} for none
*/
@@ -122,7 +122,7 @@ public java.lang.String getNetworkAttachment() {
}
/**
- * Optional. The name of the customer VPC NetworkAttachment used to draw a PSC interface IP into
+ * Optional. The name of the customer VPC `NetworkAttachment` used to draw a PSC interface IP into
* the customer VPC for sandbox egress.
* @param networkAttachment networkAttachment or {@code null} for none
*/
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig.java
index ecfd7f3ef55..ab8802bfa6b 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfigDnsPeeringConfig.java
@@ -39,7 +39,7 @@ public final class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressC
private java.lang.String domain;
/**
- * Required. The VPC network name in the target_project where the DNS zone specified by 'domain'
+ * Required. The VPC network name in the target_project where the DNS zone specified by `domain`
* is visible.
* The value may be {@code null}.
*/
@@ -47,7 +47,7 @@ public final class GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressC
private java.lang.String targetNetwork;
/**
- * Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The
+ * Required. The project ID hosting the Cloud DNS managed zone that contains the `domain`. The
* Vertex AI Service Agent requires the dns.peer role on this project.
* The value may be {@code null}.
*/
@@ -74,7 +74,7 @@ public GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig
}
/**
- * Required. The VPC network name in the target_project where the DNS zone specified by 'domain'
+ * Required. The VPC network name in the target_project where the DNS zone specified by `domain`
* is visible.
* @return value or {@code null} for none
*/
@@ -83,7 +83,7 @@ public java.lang.String getTargetNetwork() {
}
/**
- * Required. The VPC network name in the target_project where the DNS zone specified by 'domain'
+ * Required. The VPC network name in the target_project where the DNS zone specified by `domain`
* is visible.
* @param targetNetwork targetNetwork or {@code null} for none
*/
@@ -93,7 +93,7 @@ public GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateEgressControlConfig
}
/**
- * Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The
+ * Required. The project ID hosting the Cloud DNS managed zone that contains the `domain`. The
* Vertex AI Service Agent requires the dns.peer role on this project.
* @return value or {@code null} for none
*/
@@ -102,7 +102,7 @@ public java.lang.String getTargetProject() {
}
/**
- * Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The
+ * Required. The project ID hosting the Cloud DNS managed zone that contains the `domain`. The
* Vertex AI Service Agent requires the dns.peer role on this project.
* @param targetProject targetProject or {@code null} for none
*/
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ValidateReinforcementTuningRewardResponse.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ValidateReinforcementTuningRewardResponse.java
index de0acd4d328..e7c17793444 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ValidateReinforcementTuningRewardResponse.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1ValidateReinforcementTuningRewardResponse.java
@@ -30,13 +30,21 @@
public final class GoogleCloudAiplatformV1beta1ValidateReinforcementTuningRewardResponse extends com.google.api.client.json.GenericJson {
/**
- * Output only. In case of an error, this field will be populated with a detailed error message to
- * help with debugging.
+ * Output only. Deprecated: Use error_status instead. In case of an error, this field will be
+ * populated with a detailed error message to help with debugging.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String error;
+ /**
+ * Output only. In case of an error, this field will be populated with a detailed error message
+ * for overall rewards to help with debugging.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private GoogleRpcStatus errorStatus;
+
/**
* Output only. The overall weighted reward. For a CompositeReinforcementTuningRewardConfig, this
* is the weighted average of all rewards. For a SingleReinforcementTuningRewardConfig, this will
@@ -70,8 +78,8 @@ public final class GoogleCloudAiplatformV1beta1ValidateReinforcementTuningReward
}
/**
- * Output only. In case of an error, this field will be populated with a detailed error message to
- * help with debugging.
+ * Output only. Deprecated: Use error_status instead. In case of an error, this field will be
+ * populated with a detailed error message to help with debugging.
* @return value or {@code null} for none
*/
public java.lang.String getError() {
@@ -79,8 +87,8 @@ public java.lang.String getError() {
}
/**
- * Output only. In case of an error, this field will be populated with a detailed error message to
- * help with debugging.
+ * Output only. Deprecated: Use error_status instead. In case of an error, this field will be
+ * populated with a detailed error message to help with debugging.
* @param error error or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1ValidateReinforcementTuningRewardResponse setError(java.lang.String error) {
@@ -88,6 +96,25 @@ public GoogleCloudAiplatformV1beta1ValidateReinforcementTuningRewardResponse set
return this;
}
+ /**
+ * Output only. In case of an error, this field will be populated with a detailed error message
+ * for overall rewards to help with debugging.
+ * @return value or {@code null} for none
+ */
+ public GoogleRpcStatus getErrorStatus() {
+ return errorStatus;
+ }
+
+ /**
+ * Output only. In case of an error, this field will be populated with a detailed error message
+ * for overall rewards to help with debugging.
+ * @param errorStatus errorStatus or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1ValidateReinforcementTuningRewardResponse setErrorStatus(GoogleRpcStatus errorStatus) {
+ this.errorStatus = errorStatus;
+ return this;
+ }
+
/**
* Output only. The overall weighted reward. For a CompositeReinforcementTuningRewardConfig, this
* is the weighted average of all rewards. For a SingleReinforcementTuningRewardConfig, this will
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1VideoResponseFormat.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1VideoResponseFormat.java
index e512347a8fd..976676fa30f 100644
--- a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1VideoResponseFormat.java
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1VideoResponseFormat.java
@@ -58,6 +58,13 @@ public final class GoogleCloudAiplatformV1beta1VideoResponseFormat extends com.g
@com.google.api.client.util.Key
private java.lang.String gcsUri;
+ /**
+ * Optional. The video output resolution. Supported values: "360p", "720p", "1080p", "4k".
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String resolution;
+
/**
* The aspect ratio for the video output.
* @return value or {@code null} for none
@@ -128,6 +135,23 @@ public GoogleCloudAiplatformV1beta1VideoResponseFormat setGcsUri(java.lang.Strin
return this;
}
+ /**
+ * Optional. The video output resolution. Supported values: "360p", "720p", "1080p", "4k".
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getResolution() {
+ return resolution;
+ }
+
+ /**
+ * Optional. The video output resolution. Supported values: "360p", "720p", "1080p", "4k".
+ * @param resolution resolution or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1VideoResponseFormat setResolution(java.lang.String resolution) {
+ this.resolution = resolution;
+ return this;
+ }
+
@Override
public GoogleCloudAiplatformV1beta1VideoResponseFormat set(String fieldName, Object value) {
return (GoogleCloudAiplatformV1beta1VideoResponseFormat) super.set(fieldName, value);
diff --git a/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1XmanagerInstance.java b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1XmanagerInstance.java
new file mode 100644
index 00000000000..9b3e6875aad
--- /dev/null
+++ b/clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1XmanagerInstance.java
@@ -0,0 +1,267 @@
+/*
+ * 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;
+
+/**
+ * XmanagerInstance represents a managed Xmanager on Cloud deployment.
+ *
+ * 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 GoogleCloudAiplatformV1beta1XmanagerInstance extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Output only. gRPC API endpoint for Experiment State Server (ESS).
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String apiEndpoint;
+
+ /**
+ * Output only. Creation timestamp.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private String createTime;
+
+ /**
+ * Output only. Identifier. The resource name of the XmanagerInstance. Format:
+ * projects/{project}/locations/{location}/xmanagerInstances/{xmanager_instance}
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String name;
+
+ /**
+ * Required. Immutable. The VPC network in the consumer project. 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 resource names of the ModelDevelopmentClusters registered with this instance.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.List registeredClusters;
+
+ /**
+ * Output only. The current state of the XmanagerInstance.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String state;
+
+ /**
+ * Required. Immutable. A subnet in `network`. 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. UI endpoint for Xmanager.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String uiEndpoint;
+
+ /**
+ * Output only. Last update timestamp.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private String updateTime;
+
+ /**
+ * Output only. gRPC API endpoint for Experiment State Server (ESS).
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getApiEndpoint() {
+ return apiEndpoint;
+ }
+
+ /**
+ * Output only. gRPC API endpoint for Experiment State Server (ESS).
+ * @param apiEndpoint apiEndpoint or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1XmanagerInstance setApiEndpoint(java.lang.String apiEndpoint) {
+ this.apiEndpoint = apiEndpoint;
+ return this;
+ }
+
+ /**
+ * Output only. Creation timestamp.
+ * @return value or {@code null} for none
+ */
+ public String getCreateTime() {
+ return createTime;
+ }
+
+ /**
+ * Output only. Creation timestamp.
+ * @param createTime createTime or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1XmanagerInstance setCreateTime(String createTime) {
+ this.createTime = createTime;
+ return this;
+ }
+
+ /**
+ * Output only. Identifier. The resource name of the XmanagerInstance. Format:
+ * projects/{project}/locations/{location}/xmanagerInstances/{xmanager_instance}
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getName() {
+ return name;
+ }
+
+ /**
+ * Output only. Identifier. The resource name of the XmanagerInstance. Format:
+ * projects/{project}/locations/{location}/xmanagerInstances/{xmanager_instance}
+ * @param name name or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1XmanagerInstance setName(java.lang.String name) {
+ this.name = name;
+ return this;
+ }
+
+ /**
+ * Required. Immutable. The VPC network in the consumer project. Format:
+ * projects/{project}/global/networks/{network}
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getNetwork() {
+ return network;
+ }
+
+ /**
+ * Required. Immutable. The VPC network in the consumer project. Format:
+ * projects/{project}/global/networks/{network}
+ * @param network network or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1XmanagerInstance setNetwork(java.lang.String network) {
+ this.network = network;
+ return this;
+ }
+
+ /**
+ * Output only. The resource names of the ModelDevelopmentClusters registered with this instance.
+ * @return value or {@code null} for none
+ */
+ public java.util.List getRegisteredClusters() {
+ return registeredClusters;
+ }
+
+ /**
+ * Output only. The resource names of the ModelDevelopmentClusters registered with this instance.
+ * @param registeredClusters registeredClusters or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1XmanagerInstance setRegisteredClusters(java.util.List registeredClusters) {
+ this.registeredClusters = registeredClusters;
+ return this;
+ }
+
+ /**
+ * Output only. The current state of the XmanagerInstance.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getState() {
+ return state;
+ }
+
+ /**
+ * Output only. The current state of the XmanagerInstance.
+ * @param state state or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1XmanagerInstance setState(java.lang.String state) {
+ this.state = state;
+ return this;
+ }
+
+ /**
+ * Required. Immutable. A subnet in `network`. Format:
+ * projects/{project}/regions/{region}/subnetworks/{subnetwork}
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getSubnetwork() {
+ return subnetwork;
+ }
+
+ /**
+ * Required. Immutable. A subnet in `network`. Format:
+ * projects/{project}/regions/{region}/subnetworks/{subnetwork}
+ * @param subnetwork subnetwork or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1XmanagerInstance setSubnetwork(java.lang.String subnetwork) {
+ this.subnetwork = subnetwork;
+ return this;
+ }
+
+ /**
+ * Output only. UI endpoint for Xmanager.
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getUiEndpoint() {
+ return uiEndpoint;
+ }
+
+ /**
+ * Output only. UI endpoint for Xmanager.
+ * @param uiEndpoint uiEndpoint or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1XmanagerInstance setUiEndpoint(java.lang.String uiEndpoint) {
+ this.uiEndpoint = uiEndpoint;
+ return this;
+ }
+
+ /**
+ * Output only. Last update timestamp.
+ * @return value or {@code null} for none
+ */
+ public String getUpdateTime() {
+ return updateTime;
+ }
+
+ /**
+ * Output only. Last update timestamp.
+ * @param updateTime updateTime or {@code null} for none
+ */
+ public GoogleCloudAiplatformV1beta1XmanagerInstance setUpdateTime(String updateTime) {
+ this.updateTime = updateTime;
+ return this;
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1XmanagerInstance set(String fieldName, Object value) {
+ return (GoogleCloudAiplatformV1beta1XmanagerInstance) super.set(fieldName, value);
+ }
+
+ @Override
+ public GoogleCloudAiplatformV1beta1XmanagerInstance clone() {
+ return (GoogleCloudAiplatformV1beta1XmanagerInstance) 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 500ab93bf16..6c5c2575a27 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-rev20260725-2.0.0
- Agent Platform API v1beta1-rev20260725-2.0.0
+ v1beta1-rev20260801-2.0.0
+ Agent Platform API v1beta1-rev20260801-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 5c9d53e716c..b327774302e 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-rev20260725-2.0.0
+ v1beta1-rev20260801-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260725-2.0.0'
+ implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20260801-2.0.0'
}
```