Skip to content

Commit 0c285a0

Browse files
1 parent 19df67b commit 0c285a0

26 files changed

+684
-58
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-rev20241214-2.0.0</version>
25+
<version>v1-rev20250107-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-rev20241214-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20250107-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: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,9 @@ public List set(String parameterName, Object value) {
16741674
* This request holds the parameters needed by the aiplatform server. After setting any optional
16751675
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
16761676
*
1677-
* @param name Output only. Identifier. The resource name of the DatasetVersion.
1677+
* @param name Output only. Identifier. The resource name of the DatasetVersion. Format:
1678+
* `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_versi
1679+
* on}`
16781680
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1DatasetVersion}
16791681
* @return the request
16801682
*/
@@ -1702,7 +1704,9 @@ public class Patch extends AiplatformRequest<com.google.api.services.aiplatform.
17021704
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
17031705
* be called to initialize this instance immediately after invoking the constructor. </p>
17041706
*
1705-
* @param name Output only. Identifier. The resource name of the DatasetVersion.
1707+
* @param name Output only. Identifier. The resource name of the DatasetVersion. Format:
1708+
* `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_versi
1709+
* on}`
17061710
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1DatasetVersion}
17071711
* @since 1.13
17081712
*/
@@ -1771,17 +1775,24 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
17711775
return (Patch) super.setUploadProtocol(uploadProtocol);
17721776
}
17731777

1774-
/** Output only. Identifier. The resource name of the DatasetVersion. */
1778+
/**
1779+
* Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{proj
1780+
* ect}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
1781+
*/
17751782
@com.google.api.client.util.Key
17761783
private java.lang.String name;
17771784

1778-
/** Output only. Identifier. The resource name of the DatasetVersion.
1785+
/** Output only. Identifier. The resource name of the DatasetVersion. Format:
1786+
`projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
17791787
*/
17801788
public java.lang.String getName() {
17811789
return name;
17821790
}
17831791

1784-
/** Output only. Identifier. The resource name of the DatasetVersion. */
1792+
/**
1793+
* Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{proj
1794+
* ect}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
1795+
*/
17851796
public Patch setName(java.lang.String name) {
17861797
if (!getSuppressPatternChecks()) {
17871798
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
@@ -14279,7 +14290,9 @@ public List set(String parameterName, Object value) {
1427914290
* This request holds the parameters needed by the aiplatform server. After setting any optional
1428014291
* parameters, call the {@link Patch#execute()} method to invoke the remote operation.
1428114292
*
14282-
* @param name Output only. Identifier. The resource name of the DatasetVersion.
14293+
* @param name Output only. Identifier. The resource name of the DatasetVersion. Format:
14294+
* `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_versi
14295+
* on}`
1428314296
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1DatasetVersion}
1428414297
* @return the request
1428514298
*/
@@ -14307,7 +14320,9 @@ public class Patch extends AiplatformRequest<com.google.api.services.aiplatform.
1430714320
* Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
1430814321
* be called to initialize this instance immediately after invoking the constructor. </p>
1430914322
*
14310-
* @param name Output only. Identifier. The resource name of the DatasetVersion.
14323+
* @param name Output only. Identifier. The resource name of the DatasetVersion. Format:
14324+
* `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_versi
14325+
* on}`
1431114326
* @param content the {@link com.google.api.services.aiplatform.v1.model.GoogleCloudAiplatformV1DatasetVersion}
1431214327
* @since 1.13
1431314328
*/
@@ -14376,17 +14391,24 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
1437614391
return (Patch) super.setUploadProtocol(uploadProtocol);
1437714392
}
1437814393

14379-
/** Output only. Identifier. The resource name of the DatasetVersion. */
14394+
/**
14395+
* Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{
14396+
* project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
14397+
*/
1438014398
@com.google.api.client.util.Key
1438114399
private java.lang.String name;
1438214400

14383-
/** Output only. Identifier. The resource name of the DatasetVersion.
14401+
/** Output only. Identifier. The resource name of the DatasetVersion. Format:
14402+
`projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
1438414403
*/
1438514404
public java.lang.String getName() {
1438614405
return name;
1438714406
}
1438814407

14389-
/** Output only. Identifier. The resource name of the DatasetVersion. */
14408+
/**
14409+
* Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{
14410+
* project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
14411+
*/
1439014412
public Patch setName(java.lang.String name) {
1439114413
if (!getSuppressPatternChecks()) {
1439214414
com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/CloudAiPlatformCommonCreatePipelineJobApiErrorDetail.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-
* Create API error message for Vertex Pipeline. Next Id: 3.
20+
* Create API error message for Vertex Pipeline.
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/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1ApiAuth.java

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

1919
/**
20-
* The generic reusable api auth config.
20+
* The generic reusable api auth config. Deprecated. Please use AuthConfig
21+
* (google/cloud/aiplatform/master/auth.proto) instead.
2122
*
2223
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2324
* 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/GoogleCloudAiplatformV1DatasetVersion.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ public final class GoogleCloudAiplatformV1DatasetVersion extends com.google.api.
7575
private java.lang.String modelReference;
7676

7777
/**
78-
* Output only. Identifier. The resource name of the DatasetVersion.
78+
* Output only. Identifier. The resource name of the DatasetVersion. Format:
79+
* `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
7980
* The value may be {@code null}.
8081
*/
8182
@com.google.api.client.util.Key
@@ -211,15 +212,17 @@ public GoogleCloudAiplatformV1DatasetVersion setModelReference(java.lang.String
211212
}
212213

213214
/**
214-
* Output only. Identifier. The resource name of the DatasetVersion.
215+
* Output only. Identifier. The resource name of the DatasetVersion. Format:
216+
* `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
215217
* @return value or {@code null} for none
216218
*/
217219
public java.lang.String getName() {
218220
return name;
219221
}
220222

221223
/**
222-
* Output only. Identifier. The resource name of the DatasetVersion.
224+
* Output only. Identifier. The resource name of the DatasetVersion. Format:
225+
* `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
223226
* @param name name or {@code null} for none
224227
*/
225228
public GoogleCloudAiplatformV1DatasetVersion setName(java.lang.String name) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public final class GoogleCloudAiplatformV1NotebookExecutionJob extends com.googl
142142
private java.lang.String notebookRuntimeTemplateResourceName;
143143

144144
/**
145-
* Output only. The Schedule resource name if this job is triggered by one. Format:
145+
* The Schedule resource name if this job is triggered by one. Format:
146146
* `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
147147
* The value may be {@code null}.
148148
*/
@@ -448,7 +448,7 @@ public GoogleCloudAiplatformV1NotebookExecutionJob setNotebookRuntimeTemplateRes
448448
}
449449

450450
/**
451-
* Output only. The Schedule resource name if this job is triggered by one. Format:
451+
* The Schedule resource name if this job is triggered by one. Format:
452452
* `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
453453
* @return value or {@code null} for none
454454
*/
@@ -457,7 +457,7 @@ public java.lang.String getScheduleResourceName() {
457457
}
458458

459459
/**
460-
* Output only. The Schedule resource name if this job is triggered by one. Format:
460+
* The Schedule resource name if this job is triggered by one. Format:
461461
* `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
462462
* @param scheduleResourceName scheduleResourceName or {@code null} for none
463463
*/
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+
* Retrieval config.
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 GoogleCloudAiplatformV1RetrievalConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The language code of the user.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String languageCode;
38+
39+
/**
40+
* The location of the user.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleTypeLatLng latLng;
45+
46+
/**
47+
* The language code of the user.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getLanguageCode() {
51+
return languageCode;
52+
}
53+
54+
/**
55+
* The language code of the user.
56+
* @param languageCode languageCode or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1RetrievalConfig setLanguageCode(java.lang.String languageCode) {
59+
this.languageCode = languageCode;
60+
return this;
61+
}
62+
63+
/**
64+
* The location of the user.
65+
* @return value or {@code null} for none
66+
*/
67+
public GoogleTypeLatLng getLatLng() {
68+
return latLng;
69+
}
70+
71+
/**
72+
* The location of the user.
73+
* @param latLng latLng or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1RetrievalConfig setLatLng(GoogleTypeLatLng latLng) {
76+
this.latLng = latLng;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1RetrievalConfig set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1RetrievalConfig) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1RetrievalConfig clone() {
87+
return (GoogleCloudAiplatformV1RetrievalConfig) super.clone();
88+
}
89+
90+
}

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

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

39+
/**
40+
* Optional. Retrieval config.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudAiplatformV1RetrievalConfig retrievalConfig;
45+
3946
/**
4047
* Optional. Function calling config.
4148
* @return value or {@code null} for none
@@ -53,6 +60,23 @@ public GoogleCloudAiplatformV1ToolConfig setFunctionCallingConfig(GoogleCloudAip
5360
return this;
5461
}
5562

63+
/**
64+
* Optional. Retrieval config.
65+
* @return value or {@code null} for none
66+
*/
67+
public GoogleCloudAiplatformV1RetrievalConfig getRetrievalConfig() {
68+
return retrievalConfig;
69+
}
70+
71+
/**
72+
* Optional. Retrieval config.
73+
* @param retrievalConfig retrievalConfig or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1ToolConfig setRetrievalConfig(GoogleCloudAiplatformV1RetrievalConfig retrievalConfig) {
76+
this.retrievalConfig = retrievalConfig;
77+
return this;
78+
}
79+
5680
@Override
5781
public GoogleCloudAiplatformV1ToolConfig set(String fieldName, Object value) {
5882
return (GoogleCloudAiplatformV1ToolConfig) super.set(fieldName, value);

0 commit comments

Comments
 (0)