Skip to content

Commit 1ec3ccc

Browse files
1 parent 66aba9d commit 1ec3ccc

File tree

40 files changed

+2202
-64
lines changed

40 files changed

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ public final class CloudAiLargeModelsVisionGenerateVideoResponse extends com.goo
5050
@com.google.api.client.util.Key
5151
private java.util.List<java.lang.String> raiMediaFilteredReasons;
5252

53+
/**
54+
* List of videos, used to align naming with the external response.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private java.util.List<CloudAiLargeModelsVisionGenerateVideoResponseVideo> videos;
59+
5360
/**
5461
* The generates samples.
5562
* @return value or {@code null} for none
@@ -101,6 +108,23 @@ public CloudAiLargeModelsVisionGenerateVideoResponse setRaiMediaFilteredReasons(
101108
return this;
102109
}
103110

111+
/**
112+
* List of videos, used to align naming with the external response.
113+
* @return value or {@code null} for none
114+
*/
115+
public java.util.List<CloudAiLargeModelsVisionGenerateVideoResponseVideo> getVideos() {
116+
return videos;
117+
}
118+
119+
/**
120+
* List of videos, used to align naming with the external response.
121+
* @param videos videos or {@code null} for none
122+
*/
123+
public CloudAiLargeModelsVisionGenerateVideoResponse setVideos(java.util.List<CloudAiLargeModelsVisionGenerateVideoResponseVideo> videos) {
124+
this.videos = videos;
125+
return this;
126+
}
127+
104128
@Override
105129
public CloudAiLargeModelsVisionGenerateVideoResponse set(String fieldName, Object value) {
106130
return (CloudAiLargeModelsVisionGenerateVideoResponse) super.set(fieldName, value);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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+
* Model definition for CloudAiLargeModelsVisionGenerateVideoResponseVideo.
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 CloudAiLargeModelsVisionGenerateVideoResponseVideo extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Base64 encoded bytes string representing the video.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String bytesBase64Encoded;
38+
39+
/**
40+
* Cloud Storage URI where the generated video is written.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String gcsUri;
45+
46+
/**
47+
* The MIME type of the content of the video. - video/mp4
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String mimeType;
52+
53+
/**
54+
* Base64 encoded bytes string representing the video.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getBytesBase64Encoded() {
58+
return bytesBase64Encoded;
59+
}
60+
61+
/**
62+
* Base64 encoded bytes string representing the video.
63+
* @param bytesBase64Encoded bytesBase64Encoded or {@code null} for none
64+
*/
65+
public CloudAiLargeModelsVisionGenerateVideoResponseVideo setBytesBase64Encoded(java.lang.String bytesBase64Encoded) {
66+
this.bytesBase64Encoded = bytesBase64Encoded;
67+
return this;
68+
}
69+
70+
/**
71+
* Cloud Storage URI where the generated video is written.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getGcsUri() {
75+
return gcsUri;
76+
}
77+
78+
/**
79+
* Cloud Storage URI where the generated video is written.
80+
* @param gcsUri gcsUri or {@code null} for none
81+
*/
82+
public CloudAiLargeModelsVisionGenerateVideoResponseVideo setGcsUri(java.lang.String gcsUri) {
83+
this.gcsUri = gcsUri;
84+
return this;
85+
}
86+
87+
/**
88+
* The MIME type of the content of the video. - video/mp4
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.String getMimeType() {
92+
return mimeType;
93+
}
94+
95+
/**
96+
* The MIME type of the content of the video. - video/mp4
97+
* @param mimeType mimeType or {@code null} for none
98+
*/
99+
public CloudAiLargeModelsVisionGenerateVideoResponseVideo setMimeType(java.lang.String mimeType) {
100+
this.mimeType = mimeType;
101+
return this;
102+
}
103+
104+
@Override
105+
public CloudAiLargeModelsVisionGenerateVideoResponseVideo set(String fieldName, Object value) {
106+
return (CloudAiLargeModelsVisionGenerateVideoResponseVideo) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public CloudAiLargeModelsVisionGenerateVideoResponseVideo clone() {
111+
return (CloudAiLargeModelsVisionGenerateVideoResponseVideo) super.clone();
112+
}
113+
114+
}

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

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

46+
/**
47+
* Text/Expanded text input for Help Me Write.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String text;
52+
4653
/**
4754
* Path to another storage (typically Google Cloud Storage).
4855
* The value may be {@code null}.
@@ -91,6 +98,23 @@ public CloudAiLargeModelsVisionVideo setEncoding(java.lang.String encoding) {
9198
return this;
9299
}
93100

101+
/**
102+
* Text/Expanded text input for Help Me Write.
103+
* @return value or {@code null} for none
104+
*/
105+
public java.lang.String getText() {
106+
return text;
107+
}
108+
109+
/**
110+
* Text/Expanded text input for Help Me Write.
111+
* @param text text or {@code null} for none
112+
*/
113+
public CloudAiLargeModelsVisionVideo setText(java.lang.String text) {
114+
this.text = text;
115+
return this;
116+
}
117+
94118
/**
95119
* Path to another storage (typically Google Cloud Storage).
96120
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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+
* Tool to search public web data, powered by Vertex AI Search and Sec4 compliance.
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 GoogleCloudAiplatformV1EnterpriseWebSearch extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public GoogleCloudAiplatformV1EnterpriseWebSearch set(String fieldName, Object value) {
34+
return (GoogleCloudAiplatformV1EnterpriseWebSearch) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public GoogleCloudAiplatformV1EnterpriseWebSearch clone() {
39+
return (GoogleCloudAiplatformV1EnterpriseWebSearch) super.clone();
40+
}
41+
42+
}

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

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,21 @@ public final class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata e
7373
private java.util.List<GoogleCloudAiplatformV1ModalityTokenCount> promptTokensDetails;
7474

7575
/**
76-
* Total token count for prompt and response candidates.
76+
* Output only. Number of tokens present in tool-use prompt(s).
77+
* The value may be {@code null}.
78+
*/
79+
@com.google.api.client.util.Key
80+
private java.lang.Integer toolUsePromptTokenCount;
81+
82+
/**
83+
* Output only. List of modalities that were processed for tool-use request inputs.
84+
* The value may be {@code null}.
85+
*/
86+
@com.google.api.client.util.Key
87+
private java.util.List<GoogleCloudAiplatformV1ModalityTokenCount> toolUsePromptTokensDetails;
88+
89+
/**
90+
* Total token count for prompt, response candidates, and tool-use prompts (if present).
7791
* The value may be {@code null}.
7892
*/
7993
@com.google.api.client.util.Key
@@ -184,15 +198,49 @@ public GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata setPromptToke
184198
}
185199

186200
/**
187-
* Total token count for prompt and response candidates.
201+
* Output only. Number of tokens present in tool-use prompt(s).
202+
* @return value or {@code null} for none
203+
*/
204+
public java.lang.Integer getToolUsePromptTokenCount() {
205+
return toolUsePromptTokenCount;
206+
}
207+
208+
/**
209+
* Output only. Number of tokens present in tool-use prompt(s).
210+
* @param toolUsePromptTokenCount toolUsePromptTokenCount or {@code null} for none
211+
*/
212+
public GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata setToolUsePromptTokenCount(java.lang.Integer toolUsePromptTokenCount) {
213+
this.toolUsePromptTokenCount = toolUsePromptTokenCount;
214+
return this;
215+
}
216+
217+
/**
218+
* Output only. List of modalities that were processed for tool-use request inputs.
219+
* @return value or {@code null} for none
220+
*/
221+
public java.util.List<GoogleCloudAiplatformV1ModalityTokenCount> getToolUsePromptTokensDetails() {
222+
return toolUsePromptTokensDetails;
223+
}
224+
225+
/**
226+
* Output only. List of modalities that were processed for tool-use request inputs.
227+
* @param toolUsePromptTokensDetails toolUsePromptTokensDetails or {@code null} for none
228+
*/
229+
public GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata setToolUsePromptTokensDetails(java.util.List<GoogleCloudAiplatformV1ModalityTokenCount> toolUsePromptTokensDetails) {
230+
this.toolUsePromptTokensDetails = toolUsePromptTokensDetails;
231+
return this;
232+
}
233+
234+
/**
235+
* Total token count for prompt, response candidates, and tool-use prompts (if present).
188236
* @return value or {@code null} for none
189237
*/
190238
public java.lang.Integer getTotalTokenCount() {
191239
return totalTokenCount;
192240
}
193241

194242
/**
195-
* Total token count for prompt and response candidates.
243+
* Total token count for prompt, response candidates, and tool-use prompts (if present).
196244
* @param totalTokenCount totalTokenCount or {@code null} for none
197245
*/
198246
public GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata setTotalTokenCount(java.lang.Integer totalTokenCount) {

0 commit comments

Comments
 (0)