Skip to content

Commit 3ff0e65

Browse files
1 parent 3fd44ea commit 3ff0e65

File tree

12 files changed

+194
-26
lines changed

12 files changed

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.aiplatform.v1.model;
1818

1919
/**
20-
* Content blob. It's preferred to send as text directly rather than raw bytes.
20+
* Content blob.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Vertex AI API. For a detailed explanation see:

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-rev20241210-2.0.0</version>
12-
<name>Vertex AI API v1-rev20241210-2.0.0</name>
11+
<version>v1-rev20241214-2.0.0</version>
12+
<name>Vertex AI API v1-rev20241214-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-rev20241210-2.0.0</version>
25+
<version>v1-rev20241214-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-rev20241210-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20241214-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-rev20241210-2.0.0</version>
25+
<version>v1beta1-rev20241214-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-rev20241210-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20241214-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Blob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.aiplatform.v1beta1.model;
1818

1919
/**
20-
* Content blob. It's preferred to send as text directly rather than raw bytes.
20+
* Content blob.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Vertex AI API. For a detailed explanation see:

clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1DistillationSpec.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ public final class GoogleCloudAiplatformV1beta1DistillationSpec extends com.goog
4444
private GoogleCloudAiplatformV1beta1DistillationHyperParameters hyperParameters;
4545

4646
/**
47-
* Required. Deprecated. A path in a Cloud Storage bucket, which will be treated as the root
48-
* output directory of the distillation pipeline. It is used by the system to generate the paths
49-
* of output artifacts.
47+
* Deprecated. A path in a Cloud Storage bucket, which will be treated as the root output
48+
* directory of the distillation pipeline. It is used by the system to generate the paths of
49+
* output artifacts.
5050
* The value may be {@code null}.
5151
*/
5252
@com.google.api.client.util.Key
@@ -61,7 +61,7 @@ public final class GoogleCloudAiplatformV1beta1DistillationSpec extends com.goog
6161
private java.lang.String studentModel;
6262

6363
/**
64-
* Required. Cloud Storage path to file containing training dataset for tuning. The dataset must
64+
* Deprecated. Cloud Storage path to file containing training dataset for tuning. The dataset must
6565
* be formatted as a JSONL file.
6666
* The value may be {@code null}.
6767
*/
@@ -119,19 +119,19 @@ public GoogleCloudAiplatformV1beta1DistillationSpec setHyperParameters(GoogleClo
119119
}
120120

121121
/**
122-
* Required. Deprecated. A path in a Cloud Storage bucket, which will be treated as the root
123-
* output directory of the distillation pipeline. It is used by the system to generate the paths
124-
* of output artifacts.
122+
* Deprecated. A path in a Cloud Storage bucket, which will be treated as the root output
123+
* directory of the distillation pipeline. It is used by the system to generate the paths of
124+
* output artifacts.
125125
* @return value or {@code null} for none
126126
*/
127127
public java.lang.String getPipelineRootDirectory() {
128128
return pipelineRootDirectory;
129129
}
130130

131131
/**
132-
* Required. Deprecated. A path in a Cloud Storage bucket, which will be treated as the root
133-
* output directory of the distillation pipeline. It is used by the system to generate the paths
134-
* of output artifacts.
132+
* Deprecated. A path in a Cloud Storage bucket, which will be treated as the root output
133+
* directory of the distillation pipeline. It is used by the system to generate the paths of
134+
* output artifacts.
135135
* @param pipelineRootDirectory pipelineRootDirectory or {@code null} for none
136136
*/
137137
public GoogleCloudAiplatformV1beta1DistillationSpec setPipelineRootDirectory(java.lang.String pipelineRootDirectory) {
@@ -159,7 +159,7 @@ public GoogleCloudAiplatformV1beta1DistillationSpec setStudentModel(java.lang.St
159159
}
160160

161161
/**
162-
* Required. Cloud Storage path to file containing training dataset for tuning. The dataset must
162+
* Deprecated. Cloud Storage path to file containing training dataset for tuning. The dataset must
163163
* be formatted as a JSONL file.
164164
* @return value or {@code null} for none
165165
*/
@@ -168,7 +168,7 @@ public java.lang.String getTrainingDatasetUri() {
168168
}
169169

170170
/**
171-
* Required. Cloud Storage path to file containing training dataset for tuning. The dataset must
171+
* Deprecated. Cloud Storage path to file containing training dataset for tuning. The dataset must
172172
* be formatted as a JSONL file.
173173
* @param trainingDatasetUri trainingDatasetUri or {@code null} for none
174174
*/

clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1Part.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ public final class GoogleCloudAiplatformV1beta1Part extends com.google.api.clien
8484
@com.google.api.client.util.Key
8585
private java.lang.String text;
8686

87+
/**
88+
* Optional. Indicates if the part is thought from the model.
89+
* The value may be {@code null}.
90+
*/
91+
@com.google.api.client.util.Key
92+
private java.lang.Boolean thought;
93+
8794
/**
8895
* Optional. Video metadata. The metadata should only be specified while the video data is
8996
* presented in inline_data or file_data.
@@ -217,6 +224,23 @@ public GoogleCloudAiplatformV1beta1Part setText(java.lang.String text) {
217224
return this;
218225
}
219226

227+
/**
228+
* Optional. Indicates if the part is thought from the model.
229+
* @return value or {@code null} for none
230+
*/
231+
public java.lang.Boolean getThought() {
232+
return thought;
233+
}
234+
235+
/**
236+
* Optional. Indicates if the part is thought from the model.
237+
* @param thought thought or {@code null} for none
238+
*/
239+
public GoogleCloudAiplatformV1beta1Part setThought(java.lang.Boolean thought) {
240+
this.thought = thought;
241+
return this;
242+
}
243+
220244
/**
221245
* Optional. Video metadata. The metadata should only be specified while the video data is
222246
* presented in inline_data or file_data.

clients/google-api-services-aiplatform/v1beta1/2.0.0/com/google/api/services/aiplatform/v1beta1/model/GoogleCloudAiplatformV1beta1RagFileParsingConfig.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ public final class GoogleCloudAiplatformV1beta1RagFileParsingConfig extends com.
4343
@com.google.api.client.util.Key
4444
private GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser layoutParser;
4545

46+
/**
47+
* The LLM Parser to use for RagFiles.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser llmParser;
52+
4653
/**
4754
* Whether to use advanced PDF parsing.
4855
* The value may be {@code null}.
@@ -84,6 +91,23 @@ public GoogleCloudAiplatformV1beta1RagFileParsingConfig setLayoutParser(GoogleCl
8491
return this;
8592
}
8693

94+
/**
95+
* The LLM Parser to use for RagFiles.
96+
* @return value or {@code null} for none
97+
*/
98+
public GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser getLlmParser() {
99+
return llmParser;
100+
}
101+
102+
/**
103+
* The LLM Parser to use for RagFiles.
104+
* @param llmParser llmParser or {@code null} for none
105+
*/
106+
public GoogleCloudAiplatformV1beta1RagFileParsingConfig setLlmParser(GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser llmParser) {
107+
this.llmParser = llmParser;
108+
return this;
109+
}
110+
87111
/**
88112
* Whether to use advanced PDF parsing.
89113
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
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.v1beta1.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 GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser 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: `gemini-1.5-pro-002`
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String modelName;
54+
55+
/**
56+
* The prompt to use for parsing. If not specified, a default prompt will be used.
57+
* @return value or {@code null} for none
58+
*/
59+
public java.lang.String getCustomParsingPrompt() {
60+
return customParsingPrompt;
61+
}
62+
63+
/**
64+
* The prompt to use for parsing. If not specified, a default prompt will be used.
65+
* @param customParsingPrompt customParsingPrompt or {@code null} for none
66+
*/
67+
public GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser setCustomParsingPrompt(java.lang.String customParsingPrompt) {
68+
this.customParsingPrompt = customParsingPrompt;
69+
return this;
70+
}
71+
72+
/**
73+
* The maximum number of requests the job is allowed to make to the LLM model per minute. Consult
74+
* https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an
75+
* appropriate value here. If unspecified, a default value of 5000 QPM would be used.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.Integer getMaxParsingRequestsPerMin() {
79+
return maxParsingRequestsPerMin;
80+
}
81+
82+
/**
83+
* The maximum number of requests the job is allowed to make to the LLM model per minute. Consult
84+
* https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an
85+
* appropriate value here. If unspecified, a default value of 5000 QPM would be used.
86+
* @param maxParsingRequestsPerMin maxParsingRequestsPerMin or {@code null} for none
87+
*/
88+
public GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser setMaxParsingRequestsPerMin(java.lang.Integer maxParsingRequestsPerMin) {
89+
this.maxParsingRequestsPerMin = maxParsingRequestsPerMin;
90+
return this;
91+
}
92+
93+
/**
94+
* The name of a LLM model used for parsing. Format: `gemini-1.5-pro-002`
95+
* @return value or {@code null} for none
96+
*/
97+
public java.lang.String getModelName() {
98+
return modelName;
99+
}
100+
101+
/**
102+
* The name of a LLM model used for parsing. Format: `gemini-1.5-pro-002`
103+
* @param modelName modelName or {@code null} for none
104+
*/
105+
public GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser setModelName(java.lang.String modelName) {
106+
this.modelName = modelName;
107+
return this;
108+
}
109+
110+
@Override
111+
public GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser set(String fieldName, Object value) {
112+
return (GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser) super.set(fieldName, value);
113+
}
114+
115+
@Override
116+
public GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser clone() {
117+
return (GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser) super.clone();
118+
}
119+
120+
}

0 commit comments

Comments
 (0)