Skip to content

Commit 00e5192

Browse files
1 parent 4f70b7d commit 00e5192

File tree

54 files changed

+6811
-22
lines changed

Some content is hidden

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

54 files changed

+6811
-22
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-rev20241025-2.0.0</version>
25+
<version>v1-rev20241026-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-rev20241025-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20241026-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: 845 additions & 0 deletions
Large diffs are not rendered by default.

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

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

32+
/**
33+
* Base 64 encoded video bytes.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String encodedVideo;
38+
39+
/**
40+
* Video encoding, for example "video/mp4".
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String encoding;
45+
3246
/**
3347
* Path to another storage (typically Google Cloud Storage).
3448
* The value may be {@code null}.
@@ -43,6 +57,68 @@ public final class CloudAiLargeModelsVisionVideo extends com.google.api.client.j
4357
@com.google.api.client.util.Key
4458
private java.lang.String video;
4559

60+
/**
61+
* Base 64 encoded video bytes.
62+
* @see #decodeEncodedVideo()
63+
* @return value or {@code null} for none
64+
*/
65+
public java.lang.String getEncodedVideo() {
66+
return encodedVideo;
67+
}
68+
69+
/**
70+
* Base 64 encoded video bytes.
71+
* @see #getEncodedVideo()
72+
* @return Base64 decoded value or {@code null} for none
73+
*
74+
* @since 1.14
75+
*/
76+
public byte[] decodeEncodedVideo() {
77+
return com.google.api.client.util.Base64.decodeBase64(encodedVideo);
78+
}
79+
80+
/**
81+
* Base 64 encoded video bytes.
82+
* @see #encodeEncodedVideo()
83+
* @param encodedVideo encodedVideo or {@code null} for none
84+
*/
85+
public CloudAiLargeModelsVisionVideo setEncodedVideo(java.lang.String encodedVideo) {
86+
this.encodedVideo = encodedVideo;
87+
return this;
88+
}
89+
90+
/**
91+
* Base 64 encoded video bytes.
92+
* @see #setEncodedVideo()
93+
*
94+
* <p>
95+
* The value is encoded Base64 or {@code null} for none.
96+
* </p>
97+
*
98+
* @since 1.14
99+
*/
100+
public CloudAiLargeModelsVisionVideo encodeEncodedVideo(byte[] encodedVideo) {
101+
this.encodedVideo = com.google.api.client.util.Base64.encodeBase64URLSafeString(encodedVideo);
102+
return this;
103+
}
104+
105+
/**
106+
* Video encoding, for example "video/mp4".
107+
* @return value or {@code null} for none
108+
*/
109+
public java.lang.String getEncoding() {
110+
return encoding;
111+
}
112+
113+
/**
114+
* Video encoding, for example "video/mp4".
115+
* @param encoding encoding or {@code null} for none
116+
*/
117+
public CloudAiLargeModelsVisionVideo setEncoding(java.lang.String encoding) {
118+
this.encoding = encoding;
119+
return this;
120+
}
121+
46122
/**
47123
* Path to another storage (typically Google Cloud Storage).
48124
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* Config of GenAI caching features. This is a singleton resource.
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 GoogleCloudAiplatformV1CacheConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* If set to true, disables GenAI caching. Otherwise caching is enabled.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean disableCache;
38+
39+
/**
40+
* Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String name;
45+
46+
/**
47+
* If set to true, disables GenAI caching. Otherwise caching is enabled.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.Boolean getDisableCache() {
51+
return disableCache;
52+
}
53+
54+
/**
55+
* If set to true, disables GenAI caching. Otherwise caching is enabled.
56+
* @param disableCache disableCache or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1CacheConfig setDisableCache(java.lang.Boolean disableCache) {
59+
this.disableCache = disableCache;
60+
return this;
61+
}
62+
63+
/**
64+
* Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getName() {
68+
return name;
69+
}
70+
71+
/**
72+
* Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`.
73+
* @param name name or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1CacheConfig setName(java.lang.String name) {
76+
this.name = name;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1CacheConfig set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1CacheConfig) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1CacheConfig clone() {
87+
return (GoogleCloudAiplatformV1CacheConfig) super.clone();
88+
}
89+
90+
}
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+
* Request message for PredictionService.FetchPredictOperation.
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 GoogleCloudAiplatformV1FetchPredictOperationRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The server-assigned name for the operation.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String operationName;
38+
39+
/**
40+
* Required. The server-assigned name for the operation.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getOperationName() {
44+
return operationName;
45+
}
46+
47+
/**
48+
* Required. The server-assigned name for the operation.
49+
* @param operationName operationName or {@code null} for none
50+
*/
51+
public GoogleCloudAiplatformV1FetchPredictOperationRequest setOperationName(java.lang.String operationName) {
52+
this.operationName = operationName;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudAiplatformV1FetchPredictOperationRequest set(String fieldName, Object value) {
58+
return (GoogleCloudAiplatformV1FetchPredictOperationRequest) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudAiplatformV1FetchPredictOperationRequest clone() {
63+
return (GoogleCloudAiplatformV1FetchPredictOperationRequest) super.clone();
64+
}
65+
66+
}

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
/**
2020
* Structured representation of a function declaration as defined by the [OpenAPI 3.0
2121
* specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the
22-
* function name and parameters. This FunctionDeclaration is a representation of a block of code
23-
* that can be used as a `Tool` by the model and executed by the client.
22+
* function name, description, parameters and response type. This FunctionDeclaration is a
23+
* representation of a block of code that can be used as a `Tool` by the model and executed by the
24+
* client.
2425
*
2526
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2627
* transmitted over HTTP when working with the Vertex AI API. For a detailed explanation see:

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

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

39+
/**
40+
* The custom compute configuration for an execution job.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec customEnvironmentSpec;
45+
3946
/**
4047
* The Dataform Repository pointing to a single file notebook repository.
4148
* The value may be {@code null}.
@@ -174,6 +181,23 @@ public GoogleCloudAiplatformV1NotebookExecutionJob setCreateTime(String createTi
174181
return this;
175182
}
176183

184+
/**
185+
* The custom compute configuration for an execution job.
186+
* @return value or {@code null} for none
187+
*/
188+
public GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec getCustomEnvironmentSpec() {
189+
return customEnvironmentSpec;
190+
}
191+
192+
/**
193+
* The custom compute configuration for an execution job.
194+
* @param customEnvironmentSpec customEnvironmentSpec or {@code null} for none
195+
*/
196+
public GoogleCloudAiplatformV1NotebookExecutionJob setCustomEnvironmentSpec(GoogleCloudAiplatformV1NotebookExecutionJobCustomEnvironmentSpec customEnvironmentSpec) {
197+
this.customEnvironmentSpec = customEnvironmentSpec;
198+
return this;
199+
}
200+
177201
/**
178202
* The Dataform Repository pointing to a single file notebook repository.
179203
* @return value or {@code null} for none

0 commit comments

Comments
 (0)