Skip to content

Commit 2037cd0

Browse files
chore: regenerate aiplatform client
1 parent ebb6aa7 commit 2037cd0

File tree

56 files changed

+5529
-667
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+5529
-667
lines changed

clients/google-api-services-aiplatform/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-aiplatform</artifactId>
25-
<version>v1-rev20260116-2.0.0</version>
25+
<version>v1-rev20260208-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260116-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260208-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/Aiplatform.java

Lines changed: 575 additions & 55 deletions
Large diffs are not rendered by default.

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1CandidateResponse.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class GoogleCloudAiplatformV1CandidateResponse extends com.google.a
3636
@com.google.api.client.util.Key
3737
private java.lang.String candidate;
3838

39+
/**
40+
* Output only. Error while scraping model or agent.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleRpcStatus error;
45+
3946
/**
4047
* Text response.
4148
* The value may be {@code null}.
@@ -67,6 +74,23 @@ public GoogleCloudAiplatformV1CandidateResponse setCandidate(java.lang.String ca
6774
return this;
6875
}
6976

77+
/**
78+
* Output only. Error while scraping model or agent.
79+
* @return value or {@code null} for none
80+
*/
81+
public GoogleRpcStatus getError() {
82+
return error;
83+
}
84+
85+
/**
86+
* Output only. Error while scraping model or agent.
87+
* @param error error or {@code null} for none
88+
*/
89+
public GoogleCloudAiplatformV1CandidateResponse setError(GoogleRpcStatus error) {
90+
this.error = error;
91+
return this;
92+
}
93+
7094
/**
7195
* Text response.
7296
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.aiplatform.v1.model;
18+
19+
/**
20+
* Specification for a computation based metric.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Vertex AI API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudAiplatformV1ComputationBasedMetricSpec extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.Map<String, java.lang.Object> parameters;
38+
39+
/**
40+
* Required. The type of the computation based metric.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String type;
45+
46+
/**
47+
* Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.util.Map<String, java.lang.Object> getParameters() {
51+
return parameters;
52+
}
53+
54+
/**
55+
* Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.
56+
* @param parameters parameters or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1ComputationBasedMetricSpec setParameters(java.util.Map<String, java.lang.Object> parameters) {
59+
this.parameters = parameters;
60+
return this;
61+
}
62+
63+
/**
64+
* Required. The type of the computation based metric.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getType() {
68+
return type;
69+
}
70+
71+
/**
72+
* Required. The type of the computation based metric.
73+
* @param type type or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1ComputationBasedMetricSpec setType(java.lang.String type) {
76+
this.type = type;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1ComputationBasedMetricSpec set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1ComputationBasedMetricSpec) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1ComputationBasedMetricSpec clone() {
87+
return (GoogleCloudAiplatformV1ComputationBasedMetricSpec) super.clone();
88+
}
89+
90+
}

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationInstance.java

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,19 @@
3131
public final class GoogleCloudAiplatformV1EvaluationInstance extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Optional. Data used for agent evaluation.
34+
* Optional. Deprecated. Use `agent_eval_data` instead. Data used for agent evaluation.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private GoogleCloudAiplatformV1EvaluationInstanceAgentData agentData;
3939

40+
/**
41+
* Optional. Data used for agent evaluation.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private GoogleCloudAiplatformV1EvaluationInstanceAgentData agentEvalData;
46+
4047
/**
4148
* Optional. Other data used to populate placeholders based on their key.
4249
* The value may be {@code null}.
@@ -75,22 +82,39 @@ public final class GoogleCloudAiplatformV1EvaluationInstance extends com.google.
7582
private java.util.Map<String, GoogleCloudAiplatformV1RubricGroup> rubricGroups;
7683

7784
/**
78-
* Optional. Data used for agent evaluation.
85+
* Optional. Deprecated. Use `agent_eval_data` instead. Data used for agent evaluation.
7986
* @return value or {@code null} for none
8087
*/
8188
public GoogleCloudAiplatformV1EvaluationInstanceAgentData getAgentData() {
8289
return agentData;
8390
}
8491

8592
/**
86-
* Optional. Data used for agent evaluation.
93+
* Optional. Deprecated. Use `agent_eval_data` instead. Data used for agent evaluation.
8794
* @param agentData agentData or {@code null} for none
8895
*/
8996
public GoogleCloudAiplatformV1EvaluationInstance setAgentData(GoogleCloudAiplatformV1EvaluationInstanceAgentData agentData) {
9097
this.agentData = agentData;
9198
return this;
9299
}
93100

101+
/**
102+
* Optional. Data used for agent evaluation.
103+
* @return value or {@code null} for none
104+
*/
105+
public GoogleCloudAiplatformV1EvaluationInstanceAgentData getAgentEvalData() {
106+
return agentEvalData;
107+
}
108+
109+
/**
110+
* Optional. Data used for agent evaluation.
111+
* @param agentEvalData agentEvalData or {@code null} for none
112+
*/
113+
public GoogleCloudAiplatformV1EvaluationInstance setAgentEvalData(GoogleCloudAiplatformV1EvaluationInstanceAgentData agentEvalData) {
114+
this.agentEvalData = agentEvalData;
115+
return this;
116+
}
117+
94118
/**
95119
* Optional. Other data used to populate placeholders based on their key.
96120
* @return value or {@code null} for none

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1EvaluationInstanceAgentConfig.java

Lines changed: 114 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,45 @@
3030
public final class GoogleCloudAiplatformV1EvaluationInstanceAgentConfig extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Optional. A field containing instructions from the developer for the agent.
33+
* Optional. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in
34+
* AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String agentId;
39+
40+
/**
41+
* Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent").
42+
* Useful for the autorater to understand the expected behavior of the agent.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String agentType;
47+
48+
/**
49+
* Optional. A high-level description of the agent's role and responsibilities. Critical for
50+
* evaluating if the agent is routing tasks correctly.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String description;
55+
56+
/**
57+
* Optional. Contains instructions from the developer for the agent. Can be static or a dynamic
58+
* prompt template used with the `AgentEvent.state_delta` field.
3459
* The value may be {@code null}.
3560
*/
3661
@com.google.api.client.util.Key
3762
private GoogleCloudAiplatformV1EvaluationInstanceInstanceData developerInstruction;
3863

64+
/**
65+
* Optional. The list of valid agent IDs (names) that this agent can delegate to. This defines the
66+
* directed edges in the agent system graph topology.
67+
* The value may be {@code null}.
68+
*/
69+
@com.google.api.client.util.Key
70+
private java.util.List<java.lang.String> subAgents;
71+
3972
/**
4073
* List of tools.
4174
* The value may be {@code null}.
@@ -52,22 +85,100 @@ public final class GoogleCloudAiplatformV1EvaluationInstanceAgentConfig extends
5285
private java.lang.String toolsText;
5386

5487
/**
55-
* Optional. A field containing instructions from the developer for the agent.
88+
* Optional. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in
89+
* AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getAgentId() {
93+
return agentId;
94+
}
95+
96+
/**
97+
* Optional. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in
98+
* AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map.
99+
* @param agentId agentId or {@code null} for none
100+
*/
101+
public GoogleCloudAiplatformV1EvaluationInstanceAgentConfig setAgentId(java.lang.String agentId) {
102+
this.agentId = agentId;
103+
return this;
104+
}
105+
106+
/**
107+
* Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent").
108+
* Useful for the autorater to understand the expected behavior of the agent.
109+
* @return value or {@code null} for none
110+
*/
111+
public java.lang.String getAgentType() {
112+
return agentType;
113+
}
114+
115+
/**
116+
* Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent").
117+
* Useful for the autorater to understand the expected behavior of the agent.
118+
* @param agentType agentType or {@code null} for none
119+
*/
120+
public GoogleCloudAiplatformV1EvaluationInstanceAgentConfig setAgentType(java.lang.String agentType) {
121+
this.agentType = agentType;
122+
return this;
123+
}
124+
125+
/**
126+
* Optional. A high-level description of the agent's role and responsibilities. Critical for
127+
* evaluating if the agent is routing tasks correctly.
128+
* @return value or {@code null} for none
129+
*/
130+
public java.lang.String getDescription() {
131+
return description;
132+
}
133+
134+
/**
135+
* Optional. A high-level description of the agent's role and responsibilities. Critical for
136+
* evaluating if the agent is routing tasks correctly.
137+
* @param description description or {@code null} for none
138+
*/
139+
public GoogleCloudAiplatformV1EvaluationInstanceAgentConfig setDescription(java.lang.String description) {
140+
this.description = description;
141+
return this;
142+
}
143+
144+
/**
145+
* Optional. Contains instructions from the developer for the agent. Can be static or a dynamic
146+
* prompt template used with the `AgentEvent.state_delta` field.
56147
* @return value or {@code null} for none
57148
*/
58149
public GoogleCloudAiplatformV1EvaluationInstanceInstanceData getDeveloperInstruction() {
59150
return developerInstruction;
60151
}
61152

62153
/**
63-
* Optional. A field containing instructions from the developer for the agent.
154+
* Optional. Contains instructions from the developer for the agent. Can be static or a dynamic
155+
* prompt template used with the `AgentEvent.state_delta` field.
64156
* @param developerInstruction developerInstruction or {@code null} for none
65157
*/
66158
public GoogleCloudAiplatformV1EvaluationInstanceAgentConfig setDeveloperInstruction(GoogleCloudAiplatformV1EvaluationInstanceInstanceData developerInstruction) {
67159
this.developerInstruction = developerInstruction;
68160
return this;
69161
}
70162

163+
/**
164+
* Optional. The list of valid agent IDs (names) that this agent can delegate to. This defines the
165+
* directed edges in the agent system graph topology.
166+
* @return value or {@code null} for none
167+
*/
168+
public java.util.List<java.lang.String> getSubAgents() {
169+
return subAgents;
170+
}
171+
172+
/**
173+
* Optional. The list of valid agent IDs (names) that this agent can delegate to. This defines the
174+
* directed edges in the agent system graph topology.
175+
* @param subAgents subAgents or {@code null} for none
176+
*/
177+
public GoogleCloudAiplatformV1EvaluationInstanceAgentConfig setSubAgents(java.util.List<java.lang.String> subAgents) {
178+
this.subAgents = subAgents;
179+
return this;
180+
}
181+
71182
/**
72183
* List of tools.
73184
* @return value or {@code null} for none

0 commit comments

Comments
 (0)