Skip to content

Commit 7024c08

Browse files
1 parent 6e4986e commit 7024c08

File tree

40 files changed

+1711
-111
lines changed

40 files changed

+1711
-111
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-rev20241007-2.0.0</version>
25+
<version>v1-rev20241025-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-rev20241007-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20241025-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: 148 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26569,7 +26569,7 @@ public Patch setName(java.lang.String name) {
2656926569
* Updatable fields: * `labels` * `service_agent_type` * `big_query_source` *
2657026570
* `big_query_source.uri` * `big_query_source.entity_id_columns` *
2657126571
* `feature_registry_source` * `feature_registry_source.feature_groups` * `sync_config`
26572-
* * `sync_config.cron`
26572+
* * `sync_config.cron` * `optimized_config.automatic_resources`
2657326573
*/
2657426574
@com.google.api.client.util.Key
2657526575
private String updateMask;
@@ -26580,7 +26580,8 @@ public Patch setName(java.lang.String name) {
2658026580
non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override
2658126581
all fields. Updatable fields: * `labels` * `service_agent_type` * `big_query_source` *
2658226582
`big_query_source.uri` * `big_query_source.entity_id_columns` * `feature_registry_source` *
26583-
`feature_registry_source.feature_groups` * `sync_config` * `sync_config.cron`
26583+
`feature_registry_source.feature_groups` * `sync_config` * `sync_config.cron` *
26584+
`optimized_config.automatic_resources`
2658426585
*/
2658526586
public String getUpdateMask() {
2658626587
return updateMask;
@@ -26595,7 +26596,7 @@ public String getUpdateMask() {
2659526596
* Updatable fields: * `labels` * `service_agent_type` * `big_query_source` *
2659626597
* `big_query_source.uri` * `big_query_source.entity_id_columns` *
2659726598
* `feature_registry_source` * `feature_registry_source.feature_groups` * `sync_config`
26598-
* * `sync_config.cron`
26599+
* * `sync_config.cron` * `optimized_config.automatic_resources`
2659926600
*/
2660026601
public Patch setUpdateMask(String updateMask) {
2660126602
this.updateMask = updateMask;
@@ -65709,6 +65710,150 @@ public Start set(String parameterName, Object value) {
6570965710
return (Start) super.set(parameterName, value);
6571065711
}
6571165712
}
65713+
/**
65714+
* Stops a NotebookRuntime.
65715+
*
65716+
* Create a request for the method "notebookRuntimes.stop".
65717+
*
65718+
* This request holds the parameters needed by the aiplatform server. After setting any optional
65719+
* parameters, call the {@link Stop#execute()} method to invoke the remote operation.
65720+
*
65721+
* @param name Required. The name of the NotebookRuntime resource to be stopped. Instead of checking whether the
65722+
* name is in valid NotebookRuntime resource name format, directly throw NotFound exception
65723+
* if there is no such NotebookRuntime in spanner.
65724+
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1StopNotebookRuntimeRequest}
65725+
* @return the request
65726+
*/
65727+
public Stop stop(java.lang.String name, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1StopNotebookRuntimeRequest content) throws java.io.IOException {
65728+
Stop result = new Stop(name, content);
65729+
initialize(result);
65730+
return result;
65731+
}
65732+
65733+
public class Stop extends AiplatformRequest<com.google.api.services.aiplatform.v1.model.GoogleLongrunningOperation> {
65734+
65735+
private static final String REST_PATH = "v1/{+name}:stop";
65736+
65737+
private final java.util.regex.Pattern NAME_PATTERN =
65738+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+$");
65739+
65740+
/**
65741+
* Stops a NotebookRuntime.
65742+
*
65743+
* Create a request for the method "notebookRuntimes.stop".
65744+
*
65745+
* This request holds the parameters needed by the the aiplatform server. After setting any
65746+
* optional parameters, call the {@link Stop#execute()} method to invoke the remote operation. <p>
65747+
* {@link Stop#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
65748+
* must be called to initialize this instance immediately after invoking the constructor. </p>
65749+
*
65750+
* @param name Required. The name of the NotebookRuntime resource to be stopped. Instead of checking whether the
65751+
* name is in valid NotebookRuntime resource name format, directly throw NotFound exception
65752+
* if there is no such NotebookRuntime in spanner.
65753+
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1StopNotebookRuntimeRequest}
65754+
* @since 1.13
65755+
*/
65756+
protected Stop(java.lang.String name, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1StopNotebookRuntimeRequest content) {
65757+
super(Aiplatform.this, "POST", REST_PATH, content, com.google.api.services.aiplatform.v1.model.GoogleLongrunningOperation.class);
65758+
this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
65759+
if (!getSuppressPatternChecks()) {
65760+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
65761+
"Parameter name must conform to the pattern " +
65762+
"^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+$");
65763+
}
65764+
}
65765+
65766+
@Override
65767+
public Stop set$Xgafv(java.lang.String $Xgafv) {
65768+
return (Stop) super.set$Xgafv($Xgafv);
65769+
}
65770+
65771+
@Override
65772+
public Stop setAccessToken(java.lang.String accessToken) {
65773+
return (Stop) super.setAccessToken(accessToken);
65774+
}
65775+
65776+
@Override
65777+
public Stop setAlt(java.lang.String alt) {
65778+
return (Stop) super.setAlt(alt);
65779+
}
65780+
65781+
@Override
65782+
public Stop setCallback(java.lang.String callback) {
65783+
return (Stop) super.setCallback(callback);
65784+
}
65785+
65786+
@Override
65787+
public Stop setFields(java.lang.String fields) {
65788+
return (Stop) super.setFields(fields);
65789+
}
65790+
65791+
@Override
65792+
public Stop setKey(java.lang.String key) {
65793+
return (Stop) super.setKey(key);
65794+
}
65795+
65796+
@Override
65797+
public Stop setOauthToken(java.lang.String oauthToken) {
65798+
return (Stop) super.setOauthToken(oauthToken);
65799+
}
65800+
65801+
@Override
65802+
public Stop setPrettyPrint(java.lang.Boolean prettyPrint) {
65803+
return (Stop) super.setPrettyPrint(prettyPrint);
65804+
}
65805+
65806+
@Override
65807+
public Stop setQuotaUser(java.lang.String quotaUser) {
65808+
return (Stop) super.setQuotaUser(quotaUser);
65809+
}
65810+
65811+
@Override
65812+
public Stop setUploadType(java.lang.String uploadType) {
65813+
return (Stop) super.setUploadType(uploadType);
65814+
}
65815+
65816+
@Override
65817+
public Stop setUploadProtocol(java.lang.String uploadProtocol) {
65818+
return (Stop) super.setUploadProtocol(uploadProtocol);
65819+
}
65820+
65821+
/**
65822+
* Required. The name of the NotebookRuntime resource to be stopped. Instead of checking
65823+
* whether the name is in valid NotebookRuntime resource name format, directly throw
65824+
* NotFound exception if there is no such NotebookRuntime in spanner.
65825+
*/
65826+
@com.google.api.client.util.Key
65827+
private java.lang.String name;
65828+
65829+
/** Required. The name of the NotebookRuntime resource to be stopped. Instead of checking whether the
65830+
name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there
65831+
is no such NotebookRuntime in spanner.
65832+
*/
65833+
public java.lang.String getName() {
65834+
return name;
65835+
}
65836+
65837+
/**
65838+
* Required. The name of the NotebookRuntime resource to be stopped. Instead of checking
65839+
* whether the name is in valid NotebookRuntime resource name format, directly throw
65840+
* NotFound exception if there is no such NotebookRuntime in spanner.
65841+
*/
65842+
public Stop setName(java.lang.String name) {
65843+
if (!getSuppressPatternChecks()) {
65844+
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
65845+
"Parameter name must conform to the pattern " +
65846+
"^projects/[^/]+/locations/[^/]+/notebookRuntimes/[^/]+$");
65847+
}
65848+
this.name = name;
65849+
return this;
65850+
}
65851+
65852+
@Override
65853+
public Stop set(String parameterName, Object value) {
65854+
return (Stop) super.set(parameterName, value);
65855+
}
65856+
}
6571265857
/**
6571365858
* Upgrades a NotebookRuntime.
6571465859
*
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+
* Configurations (e.g. inference timeout) that are applied on your endpoints.
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 GoogleCloudAiplatformV1ClientConnectionConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Customizable online prediction request timeout.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private String inferenceTimeout;
38+
39+
/**
40+
* Customizable online prediction request timeout.
41+
* @return value or {@code null} for none
42+
*/
43+
public String getInferenceTimeout() {
44+
return inferenceTimeout;
45+
}
46+
47+
/**
48+
* Customizable online prediction request timeout.
49+
* @param inferenceTimeout inferenceTimeout or {@code null} for none
50+
*/
51+
public GoogleCloudAiplatformV1ClientConnectionConfig setInferenceTimeout(String inferenceTimeout) {
52+
this.inferenceTimeout = inferenceTimeout;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudAiplatformV1ClientConnectionConfig set(String fieldName, Object value) {
58+
return (GoogleCloudAiplatformV1ClientConnectionConfig) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudAiplatformV1ClientConnectionConfig clone() {
63+
return (GoogleCloudAiplatformV1ClientConnectionConfig) super.clone();
64+
}
65+
66+
}

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,6 @@ public final class GoogleCloudAiplatformV1CustomJobSpec extends com.google.api.c
129129
@com.google.api.client.util.Key
130130
private java.lang.String protectedArtifactLocationId;
131131

132-
/**
133-
* Optional. Configuration for PSC-I for CustomJob.
134-
* The value may be {@code null}.
135-
*/
136-
@com.google.api.client.util.Key
137-
private GoogleCloudAiplatformV1PscInterfaceConfig pscInterfaceConfig;
138-
139132
/**
140133
* Optional. A list of names for the reserved ip ranges under the VPC network that can be used for
141134
* this job. If set, we will deploy the job within the provided ip ranges. Otherwise, the job will
@@ -405,23 +398,6 @@ public GoogleCloudAiplatformV1CustomJobSpec setProtectedArtifactLocationId(java.
405398
return this;
406399
}
407400

408-
/**
409-
* Optional. Configuration for PSC-I for CustomJob.
410-
* @return value or {@code null} for none
411-
*/
412-
public GoogleCloudAiplatformV1PscInterfaceConfig getPscInterfaceConfig() {
413-
return pscInterfaceConfig;
414-
}
415-
416-
/**
417-
* Optional. Configuration for PSC-I for CustomJob.
418-
* @param pscInterfaceConfig pscInterfaceConfig or {@code null} for none
419-
*/
420-
public GoogleCloudAiplatformV1CustomJobSpec setPscInterfaceConfig(GoogleCloudAiplatformV1PscInterfaceConfig pscInterfaceConfig) {
421-
this.pscInterfaceConfig = pscInterfaceConfig;
422-
return this;
423-
}
424-
425401
/**
426402
* Optional. A list of names for the reserved ip ranges under the VPC network that can be used for
427403
* this job. If set, we will deploy the job within the provided ip ranges. Otherwise, the job will

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,14 @@ public final class GoogleCloudAiplatformV1DeployedModel extends com.google.api.c
157157
@com.google.api.client.util.Key
158158
private java.lang.String sharedResources;
159159

160+
/**
161+
* System labels to apply to Model Garden deployments. System labels are managed by Google for
162+
* internal use only.
163+
* The value may be {@code null}.
164+
*/
165+
@com.google.api.client.util.Key
166+
private java.util.Map<String, java.lang.String> systemLabels;
167+
160168
/**
161169
* A description of resources that to large degree are decided by Vertex AI, and require only a
162170
* modest additional configuration.
@@ -455,6 +463,25 @@ public GoogleCloudAiplatformV1DeployedModel setSharedResources(java.lang.String
455463
return this;
456464
}
457465

466+
/**
467+
* System labels to apply to Model Garden deployments. System labels are managed by Google for
468+
* internal use only.
469+
* @return value or {@code null} for none
470+
*/
471+
public java.util.Map<String, java.lang.String> getSystemLabels() {
472+
return systemLabels;
473+
}
474+
475+
/**
476+
* System labels to apply to Model Garden deployments. System labels are managed by Google for
477+
* internal use only.
478+
* @param systemLabels systemLabels or {@code null} for none
479+
*/
480+
public GoogleCloudAiplatformV1DeployedModel setSystemLabels(java.util.Map<String, java.lang.String> systemLabels) {
481+
this.systemLabels = systemLabels;
482+
return this;
483+
}
484+
458485
@Override
459486
public GoogleCloudAiplatformV1DeployedModel set(String fieldName, Object value) {
460487
return (GoogleCloudAiplatformV1DeployedModel) super.set(fieldName, value);

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

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

33+
/**
34+
* Configurations that are applied to the endpoint for online prediction.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GoogleCloudAiplatformV1ClientConnectionConfig clientConnectionConfig;
39+
3340
/**
3441
* Output only. Timestamp when this Endpoint was created.
3542
* The value may be {@code null}.
@@ -196,6 +203,23 @@ public final class GoogleCloudAiplatformV1Endpoint extends com.google.api.client
196203
@com.google.api.client.util.Key
197204
private String updateTime;
198205

206+
/**
207+
* Configurations that are applied to the endpoint for online prediction.
208+
* @return value or {@code null} for none
209+
*/
210+
public GoogleCloudAiplatformV1ClientConnectionConfig getClientConnectionConfig() {
211+
return clientConnectionConfig;
212+
}
213+
214+
/**
215+
* Configurations that are applied to the endpoint for online prediction.
216+
* @param clientConnectionConfig clientConnectionConfig or {@code null} for none
217+
*/
218+
public GoogleCloudAiplatformV1Endpoint setClientConnectionConfig(GoogleCloudAiplatformV1ClientConnectionConfig clientConnectionConfig) {
219+
this.clientConnectionConfig = clientConnectionConfig;
220+
return this;
221+
}
222+
199223
/**
200224
* Output only. Timestamp when this Endpoint was created.
201225
* @return value or {@code null} for none

0 commit comments

Comments
 (0)