Skip to content

Commit 27e8cae

Browse files
1 parent 9a0dd39 commit 27e8cae

File tree

50 files changed

+2433
-311
lines changed

Some content is hidden

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

50 files changed

+2433
-311
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-rev20260228-2.0.0</version>
25+
<version>v1-rev20260302-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-rev20260228-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20260302-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: 448 additions & 0 deletions
Large diffs are not rendered by default.
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+
* Agentic Retrieval Ask API for RAG. Request message for VertexRagService.AskContexts.
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 GoogleCloudAiplatformV1AskContextsRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. Single RAG retrieve query.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudAiplatformV1RagQuery query;
38+
39+
/**
40+
* Optional. The tools to use for AskContexts.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<GoogleCloudAiplatformV1Tool> tools;
45+
46+
/**
47+
* Required. Single RAG retrieve query.
48+
* @return value or {@code null} for none
49+
*/
50+
public GoogleCloudAiplatformV1RagQuery getQuery() {
51+
return query;
52+
}
53+
54+
/**
55+
* Required. Single RAG retrieve query.
56+
* @param query query or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1AskContextsRequest setQuery(GoogleCloudAiplatformV1RagQuery query) {
59+
this.query = query;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. The tools to use for AskContexts.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.util.List<GoogleCloudAiplatformV1Tool> getTools() {
68+
return tools;
69+
}
70+
71+
/**
72+
* Optional. The tools to use for AskContexts.
73+
* @param tools tools or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1AskContextsRequest setTools(java.util.List<GoogleCloudAiplatformV1Tool> tools) {
76+
this.tools = tools;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1AskContextsRequest set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1AskContextsRequest) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1AskContextsRequest clone() {
87+
return (GoogleCloudAiplatformV1AskContextsRequest) super.clone();
88+
}
89+
90+
}
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+
* Response message for VertexRagService.AskContexts.
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 GoogleCloudAiplatformV1AskContextsResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The contexts of the query.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudAiplatformV1RagContexts contexts;
38+
39+
/**
40+
* The Retrieval Response.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String response;
45+
46+
/**
47+
* The contexts of the query.
48+
* @return value or {@code null} for none
49+
*/
50+
public GoogleCloudAiplatformV1RagContexts getContexts() {
51+
return contexts;
52+
}
53+
54+
/**
55+
* The contexts of the query.
56+
* @param contexts contexts or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1AskContextsResponse setContexts(GoogleCloudAiplatformV1RagContexts contexts) {
59+
this.contexts = contexts;
60+
return this;
61+
}
62+
63+
/**
64+
* The Retrieval Response.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getResponse() {
68+
return response;
69+
}
70+
71+
/**
72+
* The Retrieval Response.
73+
* @param response response or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1AskContextsResponse setResponse(java.lang.String response) {
76+
this.response = response;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1AskContextsResponse set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1AskContextsResponse) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1AskContextsResponse clone() {
87+
return (GoogleCloudAiplatformV1AskContextsResponse) super.clone();
88+
}
89+
90+
}
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+
* Request message for VertexRagService.AsyncRetrieveContexts.
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 GoogleCloudAiplatformV1AsyncRetrieveContextsRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. Single RAG retrieve query.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private GoogleCloudAiplatformV1RagQuery query;
38+
39+
/**
40+
* Optional. The tools to use for AskContexts.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<GoogleCloudAiplatformV1Tool> tools;
45+
46+
/**
47+
* Required. Single RAG retrieve query.
48+
* @return value or {@code null} for none
49+
*/
50+
public GoogleCloudAiplatformV1RagQuery getQuery() {
51+
return query;
52+
}
53+
54+
/**
55+
* Required. Single RAG retrieve query.
56+
* @param query query or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1AsyncRetrieveContextsRequest setQuery(GoogleCloudAiplatformV1RagQuery query) {
59+
this.query = query;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. The tools to use for AskContexts.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.util.List<GoogleCloudAiplatformV1Tool> getTools() {
68+
return tools;
69+
}
70+
71+
/**
72+
* Optional. The tools to use for AskContexts.
73+
* @param tools tools or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1AsyncRetrieveContextsRequest setTools(java.util.List<GoogleCloudAiplatformV1Tool> tools) {
76+
this.tools = tools;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1AsyncRetrieveContextsRequest set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1AsyncRetrieveContextsRequest) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1AsyncRetrieveContextsRequest clone() {
87+
return (GoogleCloudAiplatformV1AsyncRetrieveContextsRequest) super.clone();
88+
}
89+
90+
}

0 commit comments

Comments
 (0)