Skip to content

Commit 12537f5

Browse files
1 parent fc22144 commit 12537f5

25 files changed

+1057
-50
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-rev20250307-2.0.0</version>
25+
<version>v1-rev20250319-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-rev20250307-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20250319-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: 512 additions & 4 deletions
Large diffs are not rendered by default.

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

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,26 @@ public final class GoogleCloudAiplatformV1FeatureGroup extends com.google.api.cl
8080
@com.google.api.client.util.Key
8181
private java.lang.String name;
8282

83+
/**
84+
* Output only. A Service Account unique to this FeatureGroup. The role bigquery.dataViewer should
85+
* be granted to this service account to allow Vertex AI Feature Store to access source data while
86+
* running jobs under this FeatureGroup.
87+
* The value may be {@code null}.
88+
*/
89+
@com.google.api.client.util.Key
90+
private java.lang.String serviceAccountEmail;
91+
92+
/**
93+
* Optional. Service agent type used during jobs under a FeatureGroup. By default, the Vertex AI
94+
* Service Agent is used. When using an IAM Policy to isolate this FeatureGroup within a project,
95+
* a separate service account should be provisioned by setting this field to
96+
* `SERVICE_AGENT_TYPE_FEATURE_GROUP`. This will generate a separate service account to access the
97+
* BigQuery source table.
98+
* The value may be {@code null}.
99+
*/
100+
@com.google.api.client.util.Key
101+
private java.lang.String serviceAgentType;
102+
83103
/**
84104
* Output only. Timestamp when this FeatureGroup was last updated.
85105
* The value may be {@code null}.
@@ -207,6 +227,52 @@ public GoogleCloudAiplatformV1FeatureGroup setName(java.lang.String name) {
207227
return this;
208228
}
209229

230+
/**
231+
* Output only. A Service Account unique to this FeatureGroup. The role bigquery.dataViewer should
232+
* be granted to this service account to allow Vertex AI Feature Store to access source data while
233+
* running jobs under this FeatureGroup.
234+
* @return value or {@code null} for none
235+
*/
236+
public java.lang.String getServiceAccountEmail() {
237+
return serviceAccountEmail;
238+
}
239+
240+
/**
241+
* Output only. A Service Account unique to this FeatureGroup. The role bigquery.dataViewer should
242+
* be granted to this service account to allow Vertex AI Feature Store to access source data while
243+
* running jobs under this FeatureGroup.
244+
* @param serviceAccountEmail serviceAccountEmail or {@code null} for none
245+
*/
246+
public GoogleCloudAiplatformV1FeatureGroup setServiceAccountEmail(java.lang.String serviceAccountEmail) {
247+
this.serviceAccountEmail = serviceAccountEmail;
248+
return this;
249+
}
250+
251+
/**
252+
* Optional. Service agent type used during jobs under a FeatureGroup. By default, the Vertex AI
253+
* Service Agent is used. When using an IAM Policy to isolate this FeatureGroup within a project,
254+
* a separate service account should be provisioned by setting this field to
255+
* `SERVICE_AGENT_TYPE_FEATURE_GROUP`. This will generate a separate service account to access the
256+
* BigQuery source table.
257+
* @return value or {@code null} for none
258+
*/
259+
public java.lang.String getServiceAgentType() {
260+
return serviceAgentType;
261+
}
262+
263+
/**
264+
* Optional. Service agent type used during jobs under a FeatureGroup. By default, the Vertex AI
265+
* Service Agent is used. When using an IAM Policy to isolate this FeatureGroup within a project,
266+
* a separate service account should be provisioned by setting this field to
267+
* `SERVICE_AGENT_TYPE_FEATURE_GROUP`. This will generate a separate service account to access the
268+
* BigQuery source table.
269+
* @param serviceAgentType serviceAgentType or {@code null} for none
270+
*/
271+
public GoogleCloudAiplatformV1FeatureGroup setServiceAgentType(java.lang.String serviceAgentType) {
272+
this.serviceAgentType = serviceAgentType;
273+
return this;
274+
}
275+
210276
/**
211277
* Output only. Timestamp when this FeatureGroup was last updated.
212278
* @return value or {@code null} for none

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1GroundingChunkWeb.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 GoogleCloudAiplatformV1GroundingChunkWeb extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Domain of the (original) URI.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String domain;
38+
3239
/**
3340
* Title of the chunk.
3441
* The value may be {@code null}.
@@ -43,6 +50,23 @@ public final class GoogleCloudAiplatformV1GroundingChunkWeb extends com.google.a
4350
@com.google.api.client.util.Key
4451
private java.lang.String uri;
4552

53+
/**
54+
* Domain of the (original) URI.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getDomain() {
58+
return domain;
59+
}
60+
61+
/**
62+
* Domain of the (original) URI.
63+
* @param domain domain or {@code null} for none
64+
*/
65+
public GoogleCloudAiplatformV1GroundingChunkWeb setDomain(java.lang.String domain) {
66+
this.domain = domain;
67+
return this;
68+
}
69+
4670
/**
4771
* Title of the chunk.
4872
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ public final class GoogleCloudAiplatformV1RagCorpus extends com.google.api.clien
7979
@com.google.api.client.util.Key
8080
private GoogleCloudAiplatformV1RagVectorDbConfig vectorDbConfig;
8181

82+
/**
83+
* Optional. Immutable. The config for the Vertex AI Search.
84+
* The value may be {@code null}.
85+
*/
86+
@com.google.api.client.util.Key
87+
private GoogleCloudAiplatformV1VertexAiSearchConfig vertexAiSearchConfig;
88+
8289
/**
8390
* Output only. RagCorpus state.
8491
* @return value or {@code null} for none
@@ -200,6 +207,23 @@ public GoogleCloudAiplatformV1RagCorpus setVectorDbConfig(GoogleCloudAiplatformV
200207
return this;
201208
}
202209

210+
/**
211+
* Optional. Immutable. The config for the Vertex AI Search.
212+
* @return value or {@code null} for none
213+
*/
214+
public GoogleCloudAiplatformV1VertexAiSearchConfig getVertexAiSearchConfig() {
215+
return vertexAiSearchConfig;
216+
}
217+
218+
/**
219+
* Optional. Immutable. The config for the Vertex AI Search.
220+
* @param vertexAiSearchConfig vertexAiSearchConfig or {@code null} for none
221+
*/
222+
public GoogleCloudAiplatformV1RagCorpus setVertexAiSearchConfig(GoogleCloudAiplatformV1VertexAiSearchConfig vertexAiSearchConfig) {
223+
this.vertexAiSearchConfig = vertexAiSearchConfig;
224+
return this;
225+
}
226+
203227
@Override
204228
public GoogleCloudAiplatformV1RagCorpus set(String fieldName, Object value) {
205229
return (GoogleCloudAiplatformV1RagCorpus) super.set(fieldName, value);

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

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

39+
/**
40+
* Optional. Config for ranking and reranking.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudAiplatformV1RagRetrievalConfigRanking ranking;
45+
3946
/**
4047
* Optional. The number of contexts to retrieve.
4148
* The value may be {@code null}.
@@ -60,6 +67,23 @@ public GoogleCloudAiplatformV1RagRetrievalConfig setFilter(GoogleCloudAiplatform
6067
return this;
6168
}
6269

70+
/**
71+
* Optional. Config for ranking and reranking.
72+
* @return value or {@code null} for none
73+
*/
74+
public GoogleCloudAiplatformV1RagRetrievalConfigRanking getRanking() {
75+
return ranking;
76+
}
77+
78+
/**
79+
* Optional. Config for ranking and reranking.
80+
* @param ranking ranking or {@code null} for none
81+
*/
82+
public GoogleCloudAiplatformV1RagRetrievalConfig setRanking(GoogleCloudAiplatformV1RagRetrievalConfigRanking ranking) {
83+
this.ranking = ranking;
84+
return this;
85+
}
86+
6387
/**
6488
* Optional. The number of contexts to retrieve.
6589
* @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 for ranking and reranking.
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 GoogleCloudAiplatformV1RagRetrievalConfigRanking extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Config for LlmRanker.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker llmRanker;
38+
39+
/**
40+
* Optional. Config for Rank Service.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService rankService;
45+
46+
/**
47+
* Optional. Config for LlmRanker.
48+
* @return value or {@code null} for none
49+
*/
50+
public GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker getLlmRanker() {
51+
return llmRanker;
52+
}
53+
54+
/**
55+
* Optional. Config for LlmRanker.
56+
* @param llmRanker llmRanker or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1RagRetrievalConfigRanking setLlmRanker(GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker llmRanker) {
59+
this.llmRanker = llmRanker;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. Config for Rank Service.
65+
* @return value or {@code null} for none
66+
*/
67+
public GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService getRankService() {
68+
return rankService;
69+
}
70+
71+
/**
72+
* Optional. Config for Rank Service.
73+
* @param rankService rankService or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1RagRetrievalConfigRanking setRankService(GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService rankService) {
76+
this.rankService = rankService;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1RagRetrievalConfigRanking set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1RagRetrievalConfigRanking) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1RagRetrievalConfigRanking clone() {
87+
return (GoogleCloudAiplatformV1RagRetrievalConfigRanking) 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+
* Config for LlmRanker.
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 GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The model name used for ranking. Format: `gemini-1.5-pro`
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String modelName;
38+
39+
/**
40+
* Optional. The model name used for ranking. Format: `gemini-1.5-pro`
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getModelName() {
44+
return modelName;
45+
}
46+
47+
/**
48+
* Optional. The model name used for ranking. Format: `gemini-1.5-pro`
49+
* @param modelName modelName or {@code null} for none
50+
*/
51+
public GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker setModelName(java.lang.String modelName) {
52+
this.modelName = modelName;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker set(String fieldName, Object value) {
58+
return (GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker clone() {
63+
return (GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker) super.clone();
64+
}
65+
66+
}

0 commit comments

Comments
 (0)