Skip to content

Commit 4304936

Browse files
1 parent a1a1865 commit 4304936

21 files changed

+1269
-56
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-rev20250501-2.0.0</version>
25+
<version>v1-rev20250502-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-rev20250501-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20250502-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: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81161,7 +81161,8 @@ public List set(String parameterName, Object value) {
8116181161
* This request holds the parameters needed by the aiplatform server. After setting any optional
8116281162
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
8116381163
*
81164-
* @param name Identifier. The resource name of the ReasoningEngine.
81164+
* @param name Identifier. The resource name of the ReasoningEngine. Format:
81165+
* `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
8116581166
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1ReasoningEngine}
8116681167
* @return the request
8116781168
*/
@@ -81189,7 +81190,8 @@ public class Patch extends AiplatformRequest<com.google.api.services.aiplatform.
8118981190
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
8119081191
* be called to initialize this instance immediately after invoking the constructor. </p>
8119181192
*
81192-
* @param name Identifier. The resource name of the ReasoningEngine.
81193+
* @param name Identifier. The resource name of the ReasoningEngine. Format:
81194+
* `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
8119381195
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1ReasoningEngine}
8119481196
* @since 1.13
8119581197
*/
@@ -81258,17 +81260,24 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
8125881260
return (Patch) super.setUploadProtocol(uploadProtocol);
8125981261
}
8126081262

81261-
/** Identifier. The resource name of the ReasoningEngine. */
81263+
/**
81264+
* Identifier. The resource name of the ReasoningEngine. Format:
81265+
* `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
81266+
*/
8126281267
@com.google.api.client.util.Key
8126381268
private java.lang.String name;
8126481269

81265-
/** Identifier. The resource name of the ReasoningEngine.
81270+
/** Identifier. The resource name of the ReasoningEngine. Format:
81271+
`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
8126681272
*/
8126781273
public java.lang.String getName() {
8126881274
return name;
8126981275
}
8127081276

81271-
/** Identifier. The resource name of the ReasoningEngine. */
81277+
/**
81278+
* Identifier. The resource name of the ReasoningEngine. Format:
81279+
* `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
81280+
*/
8127281281
public Patch setName(java.lang.String name) {
8127381282
if (!getSuppressPatternChecks()) {
8127481283
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ public final class GoogleCloudAiplatformV1CachedContent extends com.google.api.c
5050
@com.google.api.client.util.Key
5151
private java.lang.String displayName;
5252

53+
/**
54+
* Input only. Immutable. Customer-managed encryption key spec for a `CachedContent`. If set, this
55+
* `CachedContent` and all its sub-resources will be secured by this key.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private GoogleCloudAiplatformV1EncryptionSpec encryptionSpec;
60+
5361
/**
5462
* Timestamp of when this resource is considered expired. This is *always* provided on output,
5563
* regardless of what was sent on input.
@@ -169,6 +177,25 @@ public GoogleCloudAiplatformV1CachedContent setDisplayName(java.lang.String disp
169177
return this;
170178
}
171179

180+
/**
181+
* Input only. Immutable. Customer-managed encryption key spec for a `CachedContent`. If set, this
182+
* `CachedContent` and all its sub-resources will be secured by this key.
183+
* @return value or {@code null} for none
184+
*/
185+
public GoogleCloudAiplatformV1EncryptionSpec getEncryptionSpec() {
186+
return encryptionSpec;
187+
}
188+
189+
/**
190+
* Input only. Immutable. Customer-managed encryption key spec for a `CachedContent`. If set, this
191+
* `CachedContent` and all its sub-resources will be secured by this key.
192+
* @param encryptionSpec encryptionSpec or {@code null} for none
193+
*/
194+
public GoogleCloudAiplatformV1CachedContent setEncryptionSpec(GoogleCloudAiplatformV1EncryptionSpec encryptionSpec) {
195+
this.encryptionSpec = encryptionSpec;
196+
return this;
197+
}
198+
172199
/**
173200
* Timestamp of when this resource is considered expired. This is *always* provided on output,
174201
* regardless of what was sent on input.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
@SuppressWarnings("javadoc")
3030
public final class GoogleCloudAiplatformV1DeployedModelRef extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Immutable. The ID of the Checkpoint deployed in the DeployedModel.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String checkpointId;
38+
3239
/**
3340
* Immutable. An ID of a DeployedModel in the above Endpoint.
3441
* The value may be {@code null}.
@@ -43,6 +50,23 @@ public final class GoogleCloudAiplatformV1DeployedModelRef extends com.google.ap
4350
@com.google.api.client.util.Key
4451
private java.lang.String endpoint;
4552

53+
/**
54+
* Immutable. The ID of the Checkpoint deployed in the DeployedModel.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getCheckpointId() {
58+
return checkpointId;
59+
}
60+
61+
/**
62+
* Immutable. The ID of the Checkpoint deployed in the DeployedModel.
63+
* @param checkpointId checkpointId or {@code null} for none
64+
*/
65+
public GoogleCloudAiplatformV1DeployedModelRef setCheckpointId(java.lang.String checkpointId) {
66+
this.checkpointId = checkpointId;
67+
return this;
68+
}
69+
4670
/**
4771
* Immutable. An ID of a DeployedModel in the above Endpoint.
4872
* @return value or {@code null} for none

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@
2929
@SuppressWarnings("javadoc")
3030
public final class GoogleCloudAiplatformV1GenerationConfigThinkingConfig extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned
34+
* only when available.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean includeThoughts;
39+
3240
/**
3341
* Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is
3442
* true.
@@ -37,6 +45,25 @@ public final class GoogleCloudAiplatformV1GenerationConfigThinkingConfig extends
3745
@com.google.api.client.util.Key
3846
private java.lang.Integer thinkingBudget;
3947

48+
/**
49+
* Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned
50+
* only when available.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.Boolean getIncludeThoughts() {
54+
return includeThoughts;
55+
}
56+
57+
/**
58+
* Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned
59+
* only when available.
60+
* @param includeThoughts includeThoughts or {@code null} for none
61+
*/
62+
public GoogleCloudAiplatformV1GenerationConfigThinkingConfig setIncludeThoughts(java.lang.Boolean includeThoughts) {
63+
this.includeThoughts = includeThoughts;
64+
return this;
65+
}
66+
4067
/**
4168
* Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is
4269
* true.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class GoogleCloudAiplatformV1RagFileParsingConfig extends com.googl
3636
@com.google.api.client.util.Key
3737
private GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser layoutParser;
3838

39+
/**
40+
* The LLM Parser to use for RagFiles.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudAiplatformV1RagFileParsingConfigLlmParser llmParser;
45+
3946
/**
4047
* The Layout Parser to use for RagFiles.
4148
* @return value or {@code null} for none
@@ -53,6 +60,23 @@ public GoogleCloudAiplatformV1RagFileParsingConfig setLayoutParser(GoogleCloudAi
5360
return this;
5461
}
5562

63+
/**
64+
* The LLM Parser to use for RagFiles.
65+
* @return value or {@code null} for none
66+
*/
67+
public GoogleCloudAiplatformV1RagFileParsingConfigLlmParser getLlmParser() {
68+
return llmParser;
69+
}
70+
71+
/**
72+
* The LLM Parser to use for RagFiles.
73+
* @param llmParser llmParser or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1RagFileParsingConfig setLlmParser(GoogleCloudAiplatformV1RagFileParsingConfigLlmParser llmParser) {
76+
this.llmParser = llmParser;
77+
return this;
78+
}
79+
5680
@Override
5781
public GoogleCloudAiplatformV1RagFileParsingConfig set(String fieldName, Object value) {
5882
return (GoogleCloudAiplatformV1RagFileParsingConfig) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
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+
* Specifies the advanced parsing for RagFiles.
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 GoogleCloudAiplatformV1RagFileParsingConfigLlmParser extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The prompt to use for parsing. If not specified, a default prompt will be used.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String customParsingPrompt;
38+
39+
/**
40+
* The maximum number of requests the job is allowed to make to the LLM model per minute. Consult
41+
* https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an
42+
* appropriate value here. If unspecified, a default value of 5000 QPM would be used.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.Integer maxParsingRequestsPerMin;
47+
48+
/**
49+
* The name of a LLM model used for parsing. Format: *
50+
* `projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}`
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String modelName;
55+
56+
/**
57+
* The prompt to use for parsing. If not specified, a default prompt will be used.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.String getCustomParsingPrompt() {
61+
return customParsingPrompt;
62+
}
63+
64+
/**
65+
* The prompt to use for parsing. If not specified, a default prompt will be used.
66+
* @param customParsingPrompt customParsingPrompt or {@code null} for none
67+
*/
68+
public GoogleCloudAiplatformV1RagFileParsingConfigLlmParser setCustomParsingPrompt(java.lang.String customParsingPrompt) {
69+
this.customParsingPrompt = customParsingPrompt;
70+
return this;
71+
}
72+
73+
/**
74+
* The maximum number of requests the job is allowed to make to the LLM model per minute. Consult
75+
* https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an
76+
* appropriate value here. If unspecified, a default value of 5000 QPM would be used.
77+
* @return value or {@code null} for none
78+
*/
79+
public java.lang.Integer getMaxParsingRequestsPerMin() {
80+
return maxParsingRequestsPerMin;
81+
}
82+
83+
/**
84+
* The maximum number of requests the job is allowed to make to the LLM model per minute. Consult
85+
* https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an
86+
* appropriate value here. If unspecified, a default value of 5000 QPM would be used.
87+
* @param maxParsingRequestsPerMin maxParsingRequestsPerMin or {@code null} for none
88+
*/
89+
public GoogleCloudAiplatformV1RagFileParsingConfigLlmParser setMaxParsingRequestsPerMin(java.lang.Integer maxParsingRequestsPerMin) {
90+
this.maxParsingRequestsPerMin = maxParsingRequestsPerMin;
91+
return this;
92+
}
93+
94+
/**
95+
* The name of a LLM model used for parsing. Format: *
96+
* `projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}`
97+
* @return value or {@code null} for none
98+
*/
99+
public java.lang.String getModelName() {
100+
return modelName;
101+
}
102+
103+
/**
104+
* The name of a LLM model used for parsing. Format: *
105+
* `projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}`
106+
* @param modelName modelName or {@code null} for none
107+
*/
108+
public GoogleCloudAiplatformV1RagFileParsingConfigLlmParser setModelName(java.lang.String modelName) {
109+
this.modelName = modelName;
110+
return this;
111+
}
112+
113+
@Override
114+
public GoogleCloudAiplatformV1RagFileParsingConfigLlmParser set(String fieldName, Object value) {
115+
return (GoogleCloudAiplatformV1RagFileParsingConfigLlmParser) super.set(fieldName, value);
116+
}
117+
118+
@Override
119+
public GoogleCloudAiplatformV1RagFileParsingConfigLlmParser clone() {
120+
return (GoogleCloudAiplatformV1RagFileParsingConfigLlmParser) super.clone();
121+
}
122+
123+
}

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ public final class GoogleCloudAiplatformV1ReasoningEngine extends com.google.api
6060
private java.lang.String etag;
6161

6262
/**
63-
* Identifier. The resource name of the ReasoningEngine.
63+
* Identifier. The resource name of the ReasoningEngine. Format:
64+
* `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
6465
* The value may be {@code null}.
6566
*/
6667
@com.google.api.client.util.Key
@@ -151,15 +152,17 @@ public GoogleCloudAiplatformV1ReasoningEngine setEtag(java.lang.String etag) {
151152
}
152153

153154
/**
154-
* Identifier. The resource name of the ReasoningEngine.
155+
* Identifier. The resource name of the ReasoningEngine. Format:
156+
* `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
155157
* @return value or {@code null} for none
156158
*/
157159
public java.lang.String getName() {
158160
return name;
159161
}
160162

161163
/**
162-
* Identifier. The resource name of the ReasoningEngine.
164+
* Identifier. The resource name of the ReasoningEngine. Format:
165+
* `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
163166
* @param name name or {@code null} for none
164167
*/
165168
public GoogleCloudAiplatformV1ReasoningEngine setName(java.lang.String name) {

0 commit comments

Comments
 (0)