Skip to content

Commit 6197712

Browse files
1 parent e0362b4 commit 6197712

File tree

42 files changed

+3175
-36
lines changed

Some content is hidden

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

42 files changed

+3175
-36
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-rev20241001-2.0.0</version>
25+
<version>v1-rev20241007-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-rev20241001-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20241007-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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21421,6 +21421,154 @@ public Features features() {
2142121421
*/
2142221422
public class Features {
2142321423

21424+
/**
21425+
* Creates a batch of Features in a given FeatureGroup.
21426+
*
21427+
* Create a request for the method "features.batchCreate".
21428+
*
21429+
* This request holds the parameters needed by the aiplatform server. After setting any optional
21430+
* parameters, call the {@link BatchCreate#execute()} method to invoke the remote operation.
21431+
*
21432+
* @param parent Required. The resource name of the EntityType/FeatureGroup to create the batch of Features under.
21433+
* Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/
21434+
* {entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`
21435+
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1BatchCreateFeaturesRequest}
21436+
* @return the request
21437+
*/
21438+
public BatchCreate batchCreate(java.lang.String parent, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1BatchCreateFeaturesRequest content) throws java.io.IOException {
21439+
BatchCreate result = new BatchCreate(parent, content);
21440+
initialize(result);
21441+
return result;
21442+
}
21443+
21444+
public class BatchCreate extends AiplatformRequest<com.google.api.services.aiplatform.v1.model.GoogleLongrunningOperation> {
21445+
21446+
private static final String REST_PATH = "v1/{+parent}/features:batchCreate";
21447+
21448+
private final java.util.regex.Pattern PARENT_PATTERN =
21449+
java.util.regex.Pattern.compile("^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$");
21450+
21451+
/**
21452+
* Creates a batch of Features in a given FeatureGroup.
21453+
*
21454+
* Create a request for the method "features.batchCreate".
21455+
*
21456+
* This request holds the parameters needed by the the aiplatform server. After setting any
21457+
* optional parameters, call the {@link BatchCreate#execute()} method to invoke the remote
21458+
* operation. <p> {@link
21459+
* BatchCreate#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
21460+
* must be called to initialize this instance immediately after invoking the constructor. </p>
21461+
*
21462+
* @param parent Required. The resource name of the EntityType/FeatureGroup to create the batch of Features under.
21463+
* Format: `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/
21464+
* {entity_type}` `projects/{project}/locations/{location}/featureGroups/{feature_group}`
21465+
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1BatchCreateFeaturesRequest}
21466+
* @since 1.13
21467+
*/
21468+
protected BatchCreate(java.lang.String parent, com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1BatchCreateFeaturesRequest content) {
21469+
super(Aiplatform.this, "POST", REST_PATH, content, com.google.api.services.aiplatform.v1.model.GoogleLongrunningOperation.class);
21470+
this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified.");
21471+
if (!getSuppressPatternChecks()) {
21472+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
21473+
"Parameter parent must conform to the pattern " +
21474+
"^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$");
21475+
}
21476+
}
21477+
21478+
@Override
21479+
public BatchCreate set$Xgafv(java.lang.String $Xgafv) {
21480+
return (BatchCreate) super.set$Xgafv($Xgafv);
21481+
}
21482+
21483+
@Override
21484+
public BatchCreate setAccessToken(java.lang.String accessToken) {
21485+
return (BatchCreate) super.setAccessToken(accessToken);
21486+
}
21487+
21488+
@Override
21489+
public BatchCreate setAlt(java.lang.String alt) {
21490+
return (BatchCreate) super.setAlt(alt);
21491+
}
21492+
21493+
@Override
21494+
public BatchCreate setCallback(java.lang.String callback) {
21495+
return (BatchCreate) super.setCallback(callback);
21496+
}
21497+
21498+
@Override
21499+
public BatchCreate setFields(java.lang.String fields) {
21500+
return (BatchCreate) super.setFields(fields);
21501+
}
21502+
21503+
@Override
21504+
public BatchCreate setKey(java.lang.String key) {
21505+
return (BatchCreate) super.setKey(key);
21506+
}
21507+
21508+
@Override
21509+
public BatchCreate setOauthToken(java.lang.String oauthToken) {
21510+
return (BatchCreate) super.setOauthToken(oauthToken);
21511+
}
21512+
21513+
@Override
21514+
public BatchCreate setPrettyPrint(java.lang.Boolean prettyPrint) {
21515+
return (BatchCreate) super.setPrettyPrint(prettyPrint);
21516+
}
21517+
21518+
@Override
21519+
public BatchCreate setQuotaUser(java.lang.String quotaUser) {
21520+
return (BatchCreate) super.setQuotaUser(quotaUser);
21521+
}
21522+
21523+
@Override
21524+
public BatchCreate setUploadType(java.lang.String uploadType) {
21525+
return (BatchCreate) super.setUploadType(uploadType);
21526+
}
21527+
21528+
@Override
21529+
public BatchCreate setUploadProtocol(java.lang.String uploadProtocol) {
21530+
return (BatchCreate) super.setUploadProtocol(uploadProtocol);
21531+
}
21532+
21533+
/**
21534+
* Required. The resource name of the EntityType/FeatureGroup to create the batch of
21535+
* Features under. Format: `projects/{project}/locations/{location}/featurestores/{featu
21536+
* restore}/entityTypes/{entity_type}`
21537+
* `projects/{project}/locations/{location}/featureGroups/{feature_group}`
21538+
*/
21539+
@com.google.api.client.util.Key
21540+
private java.lang.String parent;
21541+
21542+
/** Required. The resource name of the EntityType/FeatureGroup to create the batch of Features under.
21543+
Format:
21544+
`projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
21545+
`projects/{project}/locations/{location}/featureGroups/{feature_group}`
21546+
*/
21547+
public java.lang.String getParent() {
21548+
return parent;
21549+
}
21550+
21551+
/**
21552+
* Required. The resource name of the EntityType/FeatureGroup to create the batch of
21553+
* Features under. Format: `projects/{project}/locations/{location}/featurestores/{featu
21554+
* restore}/entityTypes/{entity_type}`
21555+
* `projects/{project}/locations/{location}/featureGroups/{feature_group}`
21556+
*/
21557+
public BatchCreate setParent(java.lang.String parent) {
21558+
if (!getSuppressPatternChecks()) {
21559+
com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(),
21560+
"Parameter parent must conform to the pattern " +
21561+
"^projects/[^/]+/locations/[^/]+/featureGroups/[^/]+$");
21562+
}
21563+
this.parent = parent;
21564+
return this;
21565+
}
21566+
21567+
@Override
21568+
public BatchCreate set(String parameterName, Object value) {
21569+
return (BatchCreate) super.set(parameterName, value);
21570+
}
21571+
}
2142421572
/**
2142521573
* Creates a new Feature in a given FeatureGroup.
2142621574
*

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ public final class CloudAiLargeModelsVisionImage extends com.google.api.client.j
5959
@com.google.api.client.util.Key
6060
private CloudAiLargeModelsVisionImageRAIScores imageRaiScores;
6161

62+
/**
63+
* Image size. The size of the image. Can be self reported, or computed from the image bytes.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private CloudAiLargeModelsVisionImageImageSize imageSize;
68+
6269
/**
6370
* RAI info for image.
6471
* The value may be {@code null}.
@@ -187,6 +194,23 @@ public CloudAiLargeModelsVisionImage setImageRaiScores(CloudAiLargeModelsVisionI
187194
return this;
188195
}
189196

197+
/**
198+
* Image size. The size of the image. Can be self reported, or computed from the image bytes.
199+
* @return value or {@code null} for none
200+
*/
201+
public CloudAiLargeModelsVisionImageImageSize getImageSize() {
202+
return imageSize;
203+
}
204+
205+
/**
206+
* Image size. The size of the image. Can be self reported, or computed from the image bytes.
207+
* @param imageSize imageSize or {@code null} for none
208+
*/
209+
public CloudAiLargeModelsVisionImage setImageSize(CloudAiLargeModelsVisionImageImageSize imageSize) {
210+
this.imageSize = imageSize;
211+
return this;
212+
}
213+
190214
/**
191215
* RAI info for image.
192216
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
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+
* Image size.
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 CloudAiLargeModelsVisionImageImageSize extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The value may be {@code null}.
34+
*/
35+
@com.google.api.client.util.Key
36+
private java.lang.Integer channels;
37+
38+
/**
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.lang.Integer height;
43+
44+
/**
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.Integer width;
49+
50+
/**
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.Integer getChannels() {
54+
return channels;
55+
}
56+
57+
/**
58+
* @param channels channels or {@code null} for none
59+
*/
60+
public CloudAiLargeModelsVisionImageImageSize setChannels(java.lang.Integer channels) {
61+
this.channels = channels;
62+
return this;
63+
}
64+
65+
/**
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.Integer getHeight() {
69+
return height;
70+
}
71+
72+
/**
73+
* @param height height or {@code null} for none
74+
*/
75+
public CloudAiLargeModelsVisionImageImageSize setHeight(java.lang.Integer height) {
76+
this.height = height;
77+
return this;
78+
}
79+
80+
/**
81+
* @return value or {@code null} for none
82+
*/
83+
public java.lang.Integer getWidth() {
84+
return width;
85+
}
86+
87+
/**
88+
* @param width width or {@code null} for none
89+
*/
90+
public CloudAiLargeModelsVisionImageImageSize setWidth(java.lang.Integer width) {
91+
this.width = width;
92+
return this;
93+
}
94+
95+
@Override
96+
public CloudAiLargeModelsVisionImageImageSize set(String fieldName, Object value) {
97+
return (CloudAiLargeModelsVisionImageImageSize) super.set(fieldName, value);
98+
}
99+
100+
@Override
101+
public CloudAiLargeModelsVisionImageImageSize clone() {
102+
return (CloudAiLargeModelsVisionImageImageSize) super.clone();
103+
}
104+
105+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,13 @@ 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+
132139
/**
133140
* Optional. A list of names for the reserved ip ranges under the VPC network that can be used for
134141
* this job. If set, we will deploy the job within the provided ip ranges. Otherwise, the job will
@@ -398,6 +405,23 @@ public GoogleCloudAiplatformV1CustomJobSpec setProtectedArtifactLocationId(java.
398405
return this;
399406
}
400407

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+
401425
/**
402426
* Optional. A list of names for the reserved ip ranges under the VPC network that can be used for
403427
* 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/GoogleCloudAiplatformV1FeatureViewSyncConfig.java

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

32+
/**
33+
* Optional. If true, syncs the FeatureView in a continuous manner to Online Store.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean continuous;
38+
3239
/**
3340
* Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. To explicitly set
3441
* a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or
@@ -40,6 +47,23 @@ public final class GoogleCloudAiplatformV1FeatureViewSyncConfig extends com.goog
4047
@com.google.api.client.util.Key
4148
private java.lang.String cron;
4249

50+
/**
51+
* Optional. If true, syncs the FeatureView in a continuous manner to Online Store.
52+
* @return value or {@code null} for none
53+
*/
54+
public java.lang.Boolean getContinuous() {
55+
return continuous;
56+
}
57+
58+
/**
59+
* Optional. If true, syncs the FeatureView in a continuous manner to Online Store.
60+
* @param continuous continuous or {@code null} for none
61+
*/
62+
public GoogleCloudAiplatformV1FeatureViewSyncConfig setContinuous(java.lang.Boolean continuous) {
63+
this.continuous = continuous;
64+
return this;
65+
}
66+
4367
/**
4468
* Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled runs. To explicitly set
4569
* a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or

0 commit comments

Comments
 (0)