Skip to content

Commit 91e79b4

Browse files
1 parent 9884877 commit 91e79b4

16 files changed

+458
-39
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-rev20250226-2.0.0</version>
25+
<version>v1-rev20250304-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-rev20250226-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20250304-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ public final class GoogleCloudAiplatformV1DiskSpec extends com.google.api.client
3737
private java.lang.Integer bootDiskSizeGb;
3838

3939
/**
40-
* Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid
41-
* State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
40+
* Type of the boot disk. For non-A3U machines, the default value is "pd-ssd", for A3U machines,
41+
* the default value is "hyperdisk-balanced". Valid values: "pd-ssd" (Persistent Disk Solid State
42+
* Drive), "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
4243
* The value may be {@code null}.
4344
*/
4445
@com.google.api.client.util.Key
@@ -62,17 +63,19 @@ public GoogleCloudAiplatformV1DiskSpec setBootDiskSizeGb(java.lang.Integer bootD
6263
}
6364

6465
/**
65-
* Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid
66-
* State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
66+
* Type of the boot disk. For non-A3U machines, the default value is "pd-ssd", for A3U machines,
67+
* the default value is "hyperdisk-balanced". Valid values: "pd-ssd" (Persistent Disk Solid State
68+
* Drive), "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
6769
* @return value or {@code null} for none
6870
*/
6971
public java.lang.String getBootDiskType() {
7072
return bootDiskType;
7173
}
7274

7375
/**
74-
* Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid
75-
* State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
76+
* Type of the boot disk. For non-A3U machines, the default value is "pd-ssd", for A3U machines,
77+
* the default value is "hyperdisk-balanced". Valid values: "pd-ssd" (Persistent Disk Solid State
78+
* Drive), "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
7679
* @param bootDiskType bootDiskType or {@code null} for none
7780
*/
7881
public GoogleCloudAiplatformV1DiskSpec setBootDiskType(java.lang.String bootDiskType) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ public final class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata e
7272
@com.google.api.client.util.Key
7373
private java.util.List<GoogleCloudAiplatformV1ModalityTokenCount> promptTokensDetails;
7474

75+
/**
76+
* Output only. Number of tokens present in thoughts output.
77+
* The value may be {@code null}.
78+
*/
79+
@com.google.api.client.util.Key
80+
private java.lang.Integer thoughtsTokenCount;
81+
7582
/**
7683
* Output only. Number of tokens present in tool-use prompt(s).
7784
* The value may be {@code null}.
@@ -197,6 +204,23 @@ public GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata setPromptToke
197204
return this;
198205
}
199206

207+
/**
208+
* Output only. Number of tokens present in thoughts output.
209+
* @return value or {@code null} for none
210+
*/
211+
public java.lang.Integer getThoughtsTokenCount() {
212+
return thoughtsTokenCount;
213+
}
214+
215+
/**
216+
* Output only. Number of tokens present in thoughts output.
217+
* @param thoughtsTokenCount thoughtsTokenCount or {@code null} for none
218+
*/
219+
public GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata setThoughtsTokenCount(java.lang.Integer thoughtsTokenCount) {
220+
this.thoughtsTokenCount = thoughtsTokenCount;
221+
return this;
222+
}
223+
200224
/**
201225
* Output only. Number of tokens present in tool-use prompt(s).
202226
* @return value or {@code null} for none

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ public final class GoogleCloudAiplatformV1ImportRagFilesConfig extends com.googl
8181
@com.google.api.client.util.Key
8282
private GoogleCloudAiplatformV1GcsDestination partialFailureGcsSink;
8383

84+
/**
85+
* Optional. Specifies the parsing config for RagFiles. RAG will use the default parser if this
86+
* field is not set.
87+
* The value may be {@code null}.
88+
*/
89+
@com.google.api.client.util.Key
90+
private GoogleCloudAiplatformV1RagFileParsingConfig ragFileParsingConfig;
91+
8492
/**
8593
* Specifies the transformation config for RagFiles.
8694
* The value may be {@code null}.
@@ -224,6 +232,25 @@ public GoogleCloudAiplatformV1ImportRagFilesConfig setPartialFailureGcsSink(Goog
224232
return this;
225233
}
226234

235+
/**
236+
* Optional. Specifies the parsing config for RagFiles. RAG will use the default parser if this
237+
* field is not set.
238+
* @return value or {@code null} for none
239+
*/
240+
public GoogleCloudAiplatformV1RagFileParsingConfig getRagFileParsingConfig() {
241+
return ragFileParsingConfig;
242+
}
243+
244+
/**
245+
* Optional. Specifies the parsing config for RagFiles. RAG will use the default parser if this
246+
* field is not set.
247+
* @param ragFileParsingConfig ragFileParsingConfig or {@code null} for none
248+
*/
249+
public GoogleCloudAiplatformV1ImportRagFilesConfig setRagFileParsingConfig(GoogleCloudAiplatformV1RagFileParsingConfig ragFileParsingConfig) {
250+
this.ragFileParsingConfig = ragFileParsingConfig;
251+
return this;
252+
}
253+
227254
/**
228255
* Specifies the transformation config for RagFiles.
229256
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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 parsing config 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 GoogleCloudAiplatformV1RagFileParsingConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The Layout Parser to use for RagFiles.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser layoutParser;
38+
39+
/**
40+
* The Layout Parser to use for RagFiles.
41+
* @return value or {@code null} for none
42+
*/
43+
public GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser getLayoutParser() {
44+
return layoutParser;
45+
}
46+
47+
/**
48+
* The Layout Parser to use for RagFiles.
49+
* @param layoutParser layoutParser or {@code null} for none
50+
*/
51+
public GoogleCloudAiplatformV1RagFileParsingConfig setLayoutParser(GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser layoutParser) {
52+
this.layoutParser = layoutParser;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudAiplatformV1RagFileParsingConfig set(String fieldName, Object value) {
58+
return (GoogleCloudAiplatformV1RagFileParsingConfig) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudAiplatformV1RagFileParsingConfig clone() {
63+
return (GoogleCloudAiplatformV1RagFileParsingConfig) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
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+
* Document AI Layout Parser config.
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 GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The maximum number of requests the job is allowed to make to the Document AI processor per
34+
* minute. Consult https://cloud.google.com/document-ai/quotas and the Quota page for your project
35+
* to set an appropriate value here. If unspecified, a default value of 120 QPM would be used.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Integer maxParsingRequestsPerMin;
40+
41+
/**
42+
* The full resource name of a Document AI processor or processor version. The processor must have
43+
* type `LAYOUT_PARSER_PROCESSOR`. If specified, the `additional_config.parse_as_scanned_pdf`
44+
* field must be false. Format: *
45+
* `projects/{project_id}/locations/{location}/processors/{processor_id}` * `projects/{project_id}
46+
* /locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}`
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private java.lang.String processorName;
51+
52+
/**
53+
* The maximum number of requests the job is allowed to make to the Document AI processor per
54+
* minute. Consult https://cloud.google.com/document-ai/quotas and the Quota page for your project
55+
* to set an appropriate value here. If unspecified, a default value of 120 QPM would be used.
56+
* @return value or {@code null} for none
57+
*/
58+
public java.lang.Integer getMaxParsingRequestsPerMin() {
59+
return maxParsingRequestsPerMin;
60+
}
61+
62+
/**
63+
* The maximum number of requests the job is allowed to make to the Document AI processor per
64+
* minute. Consult https://cloud.google.com/document-ai/quotas and the Quota page for your project
65+
* to set an appropriate value here. If unspecified, a default value of 120 QPM would be used.
66+
* @param maxParsingRequestsPerMin maxParsingRequestsPerMin or {@code null} for none
67+
*/
68+
public GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser setMaxParsingRequestsPerMin(java.lang.Integer maxParsingRequestsPerMin) {
69+
this.maxParsingRequestsPerMin = maxParsingRequestsPerMin;
70+
return this;
71+
}
72+
73+
/**
74+
* The full resource name of a Document AI processor or processor version. The processor must have
75+
* type `LAYOUT_PARSER_PROCESSOR`. If specified, the `additional_config.parse_as_scanned_pdf`
76+
* field must be false. Format: *
77+
* `projects/{project_id}/locations/{location}/processors/{processor_id}` * `projects/{project_id}
78+
* /locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}`
79+
* @return value or {@code null} for none
80+
*/
81+
public java.lang.String getProcessorName() {
82+
return processorName;
83+
}
84+
85+
/**
86+
* The full resource name of a Document AI processor or processor version. The processor must have
87+
* type `LAYOUT_PARSER_PROCESSOR`. If specified, the `additional_config.parse_as_scanned_pdf`
88+
* field must be false. Format: *
89+
* `projects/{project_id}/locations/{location}/processors/{processor_id}` * `projects/{project_id}
90+
* /locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}`
91+
* @param processorName processorName or {@code null} for none
92+
*/
93+
public GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser setProcessorName(java.lang.String processorName) {
94+
this.processorName = processorName;
95+
return this;
96+
}
97+
98+
@Override
99+
public GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser set(String fieldName, Object value) {
100+
return (GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser) super.set(fieldName, value);
101+
}
102+
103+
@Override
104+
public GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser clone() {
105+
return (GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser) super.clone();
106+
}
107+
108+
}

clients/google-api-services-aiplatform/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-aiplatform</artifactId>
11-
<version>v1-rev20250226-2.0.0</version>
12-
<name>Vertex AI API v1-rev20250226-2.0.0</name>
11+
<version>v1-rev20250304-2.0.0</version>
12+
<name>Vertex AI API v1-rev20250304-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-aiplatform/v1/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-rev20250226-2.0.0</version>
25+
<version>v1-rev20250304-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-rev20250226-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20250304-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-aiplatform/v1beta1/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>v1beta1-rev20250226-2.0.0</version>
25+
<version>v1beta1-rev20250304-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:v1beta1-rev20250226-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20250304-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)