Skip to content

Commit cd92e52

Browse files
chore: regenerate aiplatform client
1 parent 5ec85f7 commit cd92e52

46 files changed

Lines changed: 2971 additions & 266 deletions

File tree

Some content is hidden

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

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-rev20260126-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-rev20260126-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: 63 additions & 52 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
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+
* Represents data specific to multi-turn agent evaluations.
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 GoogleCloudAiplatformV1AgentData extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The static agent spec. This map defines the graph structure of the agent system. Key:
34+
* agent_id (matches the `author` field in events). Value: The static configuration of the agents.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.Map<String, GoogleCloudAiplatformV1AgentDataAgentConfig> agents;
39+
40+
/**
41+
* Optional. A chronological list of conversation turns. Each turn represents a logical execution
42+
* cycle (e.g., User Input -> Agent Response).
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<GoogleCloudAiplatformV1AgentDataConversationTurn> turns;
47+
48+
/**
49+
* Optional. The static agent spec. This map defines the graph structure of the agent system. Key:
50+
* agent_id (matches the `author` field in events). Value: The static configuration of the agents.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.util.Map<String, GoogleCloudAiplatformV1AgentDataAgentConfig> getAgents() {
54+
return agents;
55+
}
56+
57+
/**
58+
* Optional. The static agent spec. This map defines the graph structure of the agent system. Key:
59+
* agent_id (matches the `author` field in events). Value: The static configuration of the agents.
60+
* @param agents agents or {@code null} for none
61+
*/
62+
public GoogleCloudAiplatformV1AgentData setAgents(java.util.Map<String, GoogleCloudAiplatformV1AgentDataAgentConfig> agents) {
63+
this.agents = agents;
64+
return this;
65+
}
66+
67+
/**
68+
* Optional. A chronological list of conversation turns. Each turn represents a logical execution
69+
* cycle (e.g., User Input -> Agent Response).
70+
* @return value or {@code null} for none
71+
*/
72+
public java.util.List<GoogleCloudAiplatformV1AgentDataConversationTurn> getTurns() {
73+
return turns;
74+
}
75+
76+
/**
77+
* Optional. A chronological list of conversation turns. Each turn represents a logical execution
78+
* cycle (e.g., User Input -> Agent Response).
79+
* @param turns turns or {@code null} for none
80+
*/
81+
public GoogleCloudAiplatformV1AgentData setTurns(java.util.List<GoogleCloudAiplatformV1AgentDataConversationTurn> turns) {
82+
this.turns = turns;
83+
return this;
84+
}
85+
86+
@Override
87+
public GoogleCloudAiplatformV1AgentData set(String fieldName, Object value) {
88+
return (GoogleCloudAiplatformV1AgentData) super.set(fieldName, value);
89+
}
90+
91+
@Override
92+
public GoogleCloudAiplatformV1AgentData clone() {
93+
return (GoogleCloudAiplatformV1AgentData) super.clone();
94+
}
95+
96+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
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+
* Represents configuration for an Agent.
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 GoogleCloudAiplatformV1AgentDataAgentConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. 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. Instructions from the developer for the agent. Can be static or a dynamic prompt
58+
* template used with the `AgentEvent.state_delta` field.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.String developerInstruction;
63+
64+
/**
65+
* Optional. The list of valid agent IDs 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+
72+
/**
73+
* Optional. The list of tools available to this agent.
74+
* The value may be {@code null}.
75+
*/
76+
@com.google.api.client.util.Key
77+
private java.util.List<GoogleCloudAiplatformV1Tool> tools;
78+
79+
/**
80+
* Required. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in
81+
* AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map.
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.String getAgentId() {
85+
return agentId;
86+
}
87+
88+
/**
89+
* Required. Unique identifier of the agent. This ID is used to refer to this agent, e.g., in
90+
* AgentEvent.author, or in the `sub_agents` field. It must be unique within the `agents` map.
91+
* @param agentId agentId or {@code null} for none
92+
*/
93+
public GoogleCloudAiplatformV1AgentDataAgentConfig setAgentId(java.lang.String agentId) {
94+
this.agentId = agentId;
95+
return this;
96+
}
97+
98+
/**
99+
* Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent").
100+
* Useful for the autorater to understand the expected behavior of the agent.
101+
* @return value or {@code null} for none
102+
*/
103+
public java.lang.String getAgentType() {
104+
return agentType;
105+
}
106+
107+
/**
108+
* Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent").
109+
* Useful for the autorater to understand the expected behavior of the agent.
110+
* @param agentType agentType or {@code null} for none
111+
*/
112+
public GoogleCloudAiplatformV1AgentDataAgentConfig setAgentType(java.lang.String agentType) {
113+
this.agentType = agentType;
114+
return this;
115+
}
116+
117+
/**
118+
* Optional. A high-level description of the agent's role and responsibilities. Critical for
119+
* evaluating if the agent is routing tasks correctly.
120+
* @return value or {@code null} for none
121+
*/
122+
public java.lang.String getDescription() {
123+
return description;
124+
}
125+
126+
/**
127+
* Optional. A high-level description of the agent's role and responsibilities. Critical for
128+
* evaluating if the agent is routing tasks correctly.
129+
* @param description description or {@code null} for none
130+
*/
131+
public GoogleCloudAiplatformV1AgentDataAgentConfig setDescription(java.lang.String description) {
132+
this.description = description;
133+
return this;
134+
}
135+
136+
/**
137+
* Optional. Instructions from the developer for the agent. Can be static or a dynamic prompt
138+
* template used with the `AgentEvent.state_delta` field.
139+
* @return value or {@code null} for none
140+
*/
141+
public java.lang.String getDeveloperInstruction() {
142+
return developerInstruction;
143+
}
144+
145+
/**
146+
* Optional. Instructions from the developer for the agent. Can be static or a dynamic prompt
147+
* template used with the `AgentEvent.state_delta` field.
148+
* @param developerInstruction developerInstruction or {@code null} for none
149+
*/
150+
public GoogleCloudAiplatformV1AgentDataAgentConfig setDeveloperInstruction(java.lang.String developerInstruction) {
151+
this.developerInstruction = developerInstruction;
152+
return this;
153+
}
154+
155+
/**
156+
* Optional. The list of valid agent IDs that this agent can delegate to. This defines the
157+
* directed edges in the agent system graph topology.
158+
* @return value or {@code null} for none
159+
*/
160+
public java.util.List<java.lang.String> getSubAgents() {
161+
return subAgents;
162+
}
163+
164+
/**
165+
* Optional. The list of valid agent IDs that this agent can delegate to. This defines the
166+
* directed edges in the agent system graph topology.
167+
* @param subAgents subAgents or {@code null} for none
168+
*/
169+
public GoogleCloudAiplatformV1AgentDataAgentConfig setSubAgents(java.util.List<java.lang.String> subAgents) {
170+
this.subAgents = subAgents;
171+
return this;
172+
}
173+
174+
/**
175+
* Optional. The list of tools available to this agent.
176+
* @return value or {@code null} for none
177+
*/
178+
public java.util.List<GoogleCloudAiplatformV1Tool> getTools() {
179+
return tools;
180+
}
181+
182+
/**
183+
* Optional. The list of tools available to this agent.
184+
* @param tools tools or {@code null} for none
185+
*/
186+
public GoogleCloudAiplatformV1AgentDataAgentConfig setTools(java.util.List<GoogleCloudAiplatformV1Tool> tools) {
187+
this.tools = tools;
188+
return this;
189+
}
190+
191+
@Override
192+
public GoogleCloudAiplatformV1AgentDataAgentConfig set(String fieldName, Object value) {
193+
return (GoogleCloudAiplatformV1AgentDataAgentConfig) super.set(fieldName, value);
194+
}
195+
196+
@Override
197+
public GoogleCloudAiplatformV1AgentDataAgentConfig clone() {
198+
return (GoogleCloudAiplatformV1AgentDataAgentConfig) super.clone();
199+
}
200+
201+
}

0 commit comments

Comments
 (0)