Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-aiplatform/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-aiplatform</artifactId>
<version>v1-rev20260116-2.0.0</version>
<version>v1-rev20260201-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260116-2.0.0'
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260201-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.aiplatform.v1.model;

/**
* Specification for a computation based metric.
*
* <p> 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 Vertex AI API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleCloudAiplatformV1ComputationBasedMetricSpec extends com.google.api.client.json.GenericJson {

/**
* Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.Object> parameters;

/**
* Required. The type of the computation based metric.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String type;

/**
* Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.Object> getParameters() {
return parameters;
}

/**
* Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
* @param parameters parameters or {@code null} for none
*/
public GoogleCloudAiplatformV1ComputationBasedMetricSpec setParameters(java.util.Map<String, java.lang.Object> parameters) {
this.parameters = parameters;
return this;
}

/**
* Required. The type of the computation based metric.
* @return value or {@code null} for none
*/
public java.lang.String getType() {
return type;
}

/**
* Required. The type of the computation based metric.
* @param type type or {@code null} for none
*/
public GoogleCloudAiplatformV1ComputationBasedMetricSpec setType(java.lang.String type) {
this.type = type;
return this;
}

@Override
public GoogleCloudAiplatformV1ComputationBasedMetricSpec set(String fieldName, Object value) {
return (GoogleCloudAiplatformV1ComputationBasedMetricSpec) super.set(fieldName, value);
}

@Override
public GoogleCloudAiplatformV1ComputationBasedMetricSpec clone() {
return (GoogleCloudAiplatformV1ComputationBasedMetricSpec) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@
public final class GoogleCloudAiplatformV1EvaluationInstance extends com.google.api.client.json.GenericJson {

/**
* Optional. Data used for agent evaluation.
* Optional. Deprecated. Use `agent_eval_data` instead. Data used for agent evaluation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1EvaluationInstanceAgentData agentData;

/**
* Optional. Data used for agent evaluation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1EvaluationInstanceAgentData agentEvalData;

/**
* Optional. Other data used to populate placeholders based on their key.
* The value may be {@code null}.
Expand Down Expand Up @@ -75,22 +82,39 @@ public final class GoogleCloudAiplatformV1EvaluationInstance extends com.google.
private java.util.Map<String, GoogleCloudAiplatformV1RubricGroup> rubricGroups;

/**
* Optional. Data used for agent evaluation.
* Optional. Deprecated. Use `agent_eval_data` instead. Data used for agent evaluation.
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1EvaluationInstanceAgentData getAgentData() {
return agentData;
}

/**
* Optional. Data used for agent evaluation.
* Optional. Deprecated. Use `agent_eval_data` instead. Data used for agent evaluation.
* @param agentData agentData or {@code null} for none
*/
public GoogleCloudAiplatformV1EvaluationInstance setAgentData(GoogleCloudAiplatformV1EvaluationInstanceAgentData agentData) {
this.agentData = agentData;
return this;
}

/**
* Optional. Data used for agent evaluation.
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1EvaluationInstanceAgentData getAgentEvalData() {
return agentEvalData;
}

/**
* Optional. Data used for agent evaluation.
* @param agentEvalData agentEvalData or {@code null} for none
*/
public GoogleCloudAiplatformV1EvaluationInstance setAgentEvalData(GoogleCloudAiplatformV1EvaluationInstanceAgentData agentEvalData) {
this.agentEvalData = agentEvalData;
return this;
}

/**
* Optional. Other data used to populate placeholders based on their key.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,45 @@
public final class GoogleCloudAiplatformV1EvaluationInstanceAgentConfig extends com.google.api.client.json.GenericJson {

/**
* Optional. A field containing instructions from the developer for the agent.
* Optional. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in
* AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String agentId;

/**
* Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent").
* Useful for the autorater to understand the expected behavior of the agent.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String agentType;

/**
* Optional. A high-level description of the agent's role and responsibilities. Critical for
* evaluating if the agent is routing tasks correctly.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;

/**
* Optional. Contains instructions from the developer for the agent. Can be static or a dynamic
* prompt template used with the `AgentEvent.state_delta` field.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1EvaluationInstanceInstanceData developerInstruction;

/**
* Optional. The list of valid agent IDs (names) that this agent can delegate to. This defines the
* directed edges in the agent system graph topology.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> subAgents;

/**
* List of tools.
* The value may be {@code null}.
Expand All @@ -52,22 +85,100 @@ public final class GoogleCloudAiplatformV1EvaluationInstanceAgentConfig extends
private java.lang.String toolsText;

/**
* Optional. A field containing instructions from the developer for the agent.
* Optional. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in
* AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map.
* @return value or {@code null} for none
*/
public java.lang.String getAgentId() {
return agentId;
}

/**
* Optional. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in
* AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map.
* @param agentId agentId or {@code null} for none
*/
public GoogleCloudAiplatformV1EvaluationInstanceAgentConfig setAgentId(java.lang.String agentId) {
this.agentId = agentId;
return this;
}

/**
* Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent").
* Useful for the autorater to understand the expected behavior of the agent.
* @return value or {@code null} for none
*/
public java.lang.String getAgentType() {
return agentType;
}

/**
* Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent").
* Useful for the autorater to understand the expected behavior of the agent.
* @param agentType agentType or {@code null} for none
*/
public GoogleCloudAiplatformV1EvaluationInstanceAgentConfig setAgentType(java.lang.String agentType) {
this.agentType = agentType;
return this;
}

/**
* Optional. A high-level description of the agent's role and responsibilities. Critical for
* evaluating if the agent is routing tasks correctly.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}

/**
* Optional. A high-level description of the agent's role and responsibilities. Critical for
* evaluating if the agent is routing tasks correctly.
* @param description description or {@code null} for none
*/
public GoogleCloudAiplatformV1EvaluationInstanceAgentConfig setDescription(java.lang.String description) {
this.description = description;
return this;
}

/**
* Optional. Contains instructions from the developer for the agent. Can be static or a dynamic
* prompt template used with the `AgentEvent.state_delta` field.
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1EvaluationInstanceInstanceData getDeveloperInstruction() {
return developerInstruction;
}

/**
* Optional. A field containing instructions from the developer for the agent.
* Optional. Contains instructions from the developer for the agent. Can be static or a dynamic
* prompt template used with the `AgentEvent.state_delta` field.
* @param developerInstruction developerInstruction or {@code null} for none
*/
public GoogleCloudAiplatformV1EvaluationInstanceAgentConfig setDeveloperInstruction(GoogleCloudAiplatformV1EvaluationInstanceInstanceData developerInstruction) {
this.developerInstruction = developerInstruction;
return this;
}

/**
* Optional. The list of valid agent IDs (names) that this agent can delegate to. This defines the
* directed edges in the agent system graph topology.
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getSubAgents() {
return subAgents;
}

/**
* Optional. The list of valid agent IDs (names) that this agent can delegate to. This defines the
* directed edges in the agent system graph topology.
* @param subAgents subAgents or {@code null} for none
*/
public GoogleCloudAiplatformV1EvaluationInstanceAgentConfig setSubAgents(java.util.List<java.lang.String> subAgents) {
this.subAgents = subAgents;
return this;
}

/**
* List of tools.
* @return value or {@code null} for none
Expand Down
Loading