Skip to content

Commit 5821d25

Browse files
1 parent 9cfc6dd commit 5821d25

File tree

30 files changed

+1864
-45
lines changed

30 files changed

+1864
-45
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-rev20250731-2.0.0</version>
25+
<version>v1-rev20250806-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-rev20250731-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20250806-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 102 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,24 @@
3030
public final class GoogleCloudAiplatformV1DeployRequestEndpointConfig extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Optional. If true, the endpoint will be exposed through a dedicated DNS
34-
* [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from
35-
* other users' traffic and will have better performance and reliability. Note: Once you enabled
36-
* dedicated endpoint, you won't be able to send request to the shared DNS
37-
* {region}-aiplatform.googleapis.com. The limitations will be removed soon.
33+
* Optional. By default, if dedicated endpoint is enabled, the endpoint will be exposed through a
34+
* dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be
35+
* isolated from other users' traffic and will have better performance and reliability. Note: Once
36+
* you enabled dedicated endpoint, you won't be able to send request to the shared DNS
37+
* {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set
38+
* to true, the dedicated endpoint will be disabled and the deployed model will be exposed through
39+
* the shared DNS {region}-aiplatform.googleapis.com.
40+
* The value may be {@code null}.
41+
*/
42+
@com.google.api.client.util.Key
43+
private java.lang.Boolean dedicatedEndpointDisabled;
44+
45+
/**
46+
* Optional. Deprecated. Use dedicated_endpoint_disabled instead. If true, the endpoint will be
47+
* exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the
48+
* dedicated DNS will be isolated from other users' traffic and will have better performance and
49+
* reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to
50+
* the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon.
3851
* The value may be {@code null}.
3952
*/
4053
@com.google.api.client.util.Key
@@ -49,23 +62,66 @@ public final class GoogleCloudAiplatformV1DeployRequestEndpointConfig extends co
4962
private java.lang.String endpointDisplayName;
5063

5164
/**
52-
* Optional. If true, the endpoint will be exposed through a dedicated DNS
53-
* [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from
54-
* other users' traffic and will have better performance and reliability. Note: Once you enabled
55-
* dedicated endpoint, you won't be able to send request to the shared DNS
56-
* {region}-aiplatform.googleapis.com. The limitations will be removed soon.
65+
* Optional. Immutable. The ID to use for endpoint, which will become the final component of the
66+
* endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the
67+
* first character is a letter, this value may be up to 63 characters, and valid characters are
68+
* `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number,
69+
* this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros.
70+
* When using HTTP/JSON, this field is populated based on a query string argument, such as
71+
* `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI
72+
* or the body.
73+
* The value may be {@code null}.
74+
*/
75+
@com.google.api.client.util.Key
76+
private java.lang.String endpointUserId;
77+
78+
/**
79+
* Optional. By default, if dedicated endpoint is enabled, the endpoint will be exposed through a
80+
* dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be
81+
* isolated from other users' traffic and will have better performance and reliability. Note: Once
82+
* you enabled dedicated endpoint, you won't be able to send request to the shared DNS
83+
* {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set
84+
* to true, the dedicated endpoint will be disabled and the deployed model will be exposed through
85+
* the shared DNS {region}-aiplatform.googleapis.com.
86+
* @return value or {@code null} for none
87+
*/
88+
public java.lang.Boolean getDedicatedEndpointDisabled() {
89+
return dedicatedEndpointDisabled;
90+
}
91+
92+
/**
93+
* Optional. By default, if dedicated endpoint is enabled, the endpoint will be exposed through a
94+
* dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be
95+
* isolated from other users' traffic and will have better performance and reliability. Note: Once
96+
* you enabled dedicated endpoint, you won't be able to send request to the shared DNS
97+
* {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set
98+
* to true, the dedicated endpoint will be disabled and the deployed model will be exposed through
99+
* the shared DNS {region}-aiplatform.googleapis.com.
100+
* @param dedicatedEndpointDisabled dedicatedEndpointDisabled or {@code null} for none
101+
*/
102+
public GoogleCloudAiplatformV1DeployRequestEndpointConfig setDedicatedEndpointDisabled(java.lang.Boolean dedicatedEndpointDisabled) {
103+
this.dedicatedEndpointDisabled = dedicatedEndpointDisabled;
104+
return this;
105+
}
106+
107+
/**
108+
* Optional. Deprecated. Use dedicated_endpoint_disabled instead. If true, the endpoint will be
109+
* exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the
110+
* dedicated DNS will be isolated from other users' traffic and will have better performance and
111+
* reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to
112+
* the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon.
57113
* @return value or {@code null} for none
58114
*/
59115
public java.lang.Boolean getDedicatedEndpointEnabled() {
60116
return dedicatedEndpointEnabled;
61117
}
62118

63119
/**
64-
* Optional. If true, the endpoint will be exposed through a dedicated DNS
65-
* [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from
66-
* other users' traffic and will have better performance and reliability. Note: Once you enabled
67-
* dedicated endpoint, you won't be able to send request to the shared DNS
68-
* {region}-aiplatform.googleapis.com. The limitations will be removed soon.
120+
* Optional. Deprecated. Use dedicated_endpoint_disabled instead. If true, the endpoint will be
121+
* exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the
122+
* dedicated DNS will be isolated from other users' traffic and will have better performance and
123+
* reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to
124+
* the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon.
69125
* @param dedicatedEndpointEnabled dedicatedEndpointEnabled or {@code null} for none
70126
*/
71127
public GoogleCloudAiplatformV1DeployRequestEndpointConfig setDedicatedEndpointEnabled(java.lang.Boolean dedicatedEndpointEnabled) {
@@ -92,6 +148,37 @@ public GoogleCloudAiplatformV1DeployRequestEndpointConfig setEndpointDisplayName
92148
return this;
93149
}
94150

151+
/**
152+
* Optional. Immutable. The ID to use for endpoint, which will become the final component of the
153+
* endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the
154+
* first character is a letter, this value may be up to 63 characters, and valid characters are
155+
* `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number,
156+
* this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros.
157+
* When using HTTP/JSON, this field is populated based on a query string argument, such as
158+
* `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI
159+
* or the body.
160+
* @return value or {@code null} for none
161+
*/
162+
public java.lang.String getEndpointUserId() {
163+
return endpointUserId;
164+
}
165+
166+
/**
167+
* Optional. Immutable. The ID to use for endpoint, which will become the final component of the
168+
* endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the
169+
* first character is a letter, this value may be up to 63 characters, and valid characters are
170+
* `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number,
171+
* this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros.
172+
* When using HTTP/JSON, this field is populated based on a query string argument, such as
173+
* `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI
174+
* or the body.
175+
* @param endpointUserId endpointUserId or {@code null} for none
176+
*/
177+
public GoogleCloudAiplatformV1DeployRequestEndpointConfig setEndpointUserId(java.lang.String endpointUserId) {
178+
this.endpointUserId = endpointUserId;
179+
return this;
180+
}
181+
95182
@Override
96183
public GoogleCloudAiplatformV1DeployRequestEndpointConfig set(String fieldName, Object value) {
97184
return (GoogleCloudAiplatformV1DeployRequestEndpointConfig) super.set(fieldName, value);

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ public final class GoogleCloudAiplatformV1GenerateContentRequest extends com.goo
7272
@com.google.api.client.util.Key
7373
private java.util.Map<String, java.lang.String> labels;
7474

75+
/**
76+
* Optional. Settings for prompt and response sanitization using the Model Armor service. If
77+
* supplied, safety_settings must not be supplied.
78+
* The value may be {@code null}.
79+
*/
80+
@com.google.api.client.util.Key
81+
private GoogleCloudAiplatformV1ModelArmorConfig modelArmorConfig;
82+
7583
/**
7684
* Optional. Per request settings for blocking unsafe content. Enforced on
7785
* GenerateContentResponse.candidates.
@@ -190,6 +198,25 @@ public GoogleCloudAiplatformV1GenerateContentRequest setLabels(java.util.Map<Str
190198
return this;
191199
}
192200

201+
/**
202+
* Optional. Settings for prompt and response sanitization using the Model Armor service. If
203+
* supplied, safety_settings must not be supplied.
204+
* @return value or {@code null} for none
205+
*/
206+
public GoogleCloudAiplatformV1ModelArmorConfig getModelArmorConfig() {
207+
return modelArmorConfig;
208+
}
209+
210+
/**
211+
* Optional. Settings for prompt and response sanitization using the Model Armor service. If
212+
* supplied, safety_settings must not be supplied.
213+
* @param modelArmorConfig modelArmorConfig or {@code null} for none
214+
*/
215+
public GoogleCloudAiplatformV1GenerateContentRequest setModelArmorConfig(GoogleCloudAiplatformV1ModelArmorConfig modelArmorConfig) {
216+
this.modelArmorConfig = modelArmorConfig;
217+
return this;
218+
}
219+
193220
/**
194221
* Optional. Per request settings for blocking unsafe content. Enforced on
195222
* GenerateContentResponse.candidates.

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

32+
/**
33+
* Output only. The full document name for the referenced Vertex AI Search document.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String documentName;
38+
3239
/**
3340
* Additional context for the RAG retrieval result. This is only populated when using the RAG
3441
* retrieval tool.
@@ -58,6 +65,23 @@ public final class GoogleCloudAiplatformV1GroundingChunkRetrievedContext extends
5865
@com.google.api.client.util.Key
5966
private java.lang.String uri;
6067

68+
/**
69+
* Output only. The full document name for the referenced Vertex AI Search document.
70+
* @return value or {@code null} for none
71+
*/
72+
public java.lang.String getDocumentName() {
73+
return documentName;
74+
}
75+
76+
/**
77+
* Output only. The full document name for the referenced Vertex AI Search document.
78+
* @param documentName documentName or {@code null} for none
79+
*/
80+
public GoogleCloudAiplatformV1GroundingChunkRetrievedContext setDocumentName(java.lang.String documentName) {
81+
this.documentName = documentName;
82+
return this;
83+
}
84+
6185
/**
6286
* Additional context for the RAG retrieval result. This is only populated when using the RAG
6387
* retrieval tool.
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+
* Configuration for Model Armor integrations of prompt and responses.
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 GoogleCloudAiplatformV1ModelArmorConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The name of the Model Armor template to use for prompt sanitization.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String promptTemplateName;
38+
39+
/**
40+
* Optional. The name of the Model Armor template to use for response sanitization.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String responseTemplateName;
45+
46+
/**
47+
* Optional. The name of the Model Armor template to use for prompt sanitization.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getPromptTemplateName() {
51+
return promptTemplateName;
52+
}
53+
54+
/**
55+
* Optional. The name of the Model Armor template to use for prompt sanitization.
56+
* @param promptTemplateName promptTemplateName or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1ModelArmorConfig setPromptTemplateName(java.lang.String promptTemplateName) {
59+
this.promptTemplateName = promptTemplateName;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. The name of the Model Armor template to use for response sanitization.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getResponseTemplateName() {
68+
return responseTemplateName;
69+
}
70+
71+
/**
72+
* Optional. The name of the Model Armor template to use for response sanitization.
73+
* @param responseTemplateName responseTemplateName or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1ModelArmorConfig setResponseTemplateName(java.lang.String responseTemplateName) {
76+
this.responseTemplateName = responseTemplateName;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1ModelArmorConfig set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1ModelArmorConfig) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1ModelArmorConfig clone() {
87+
return (GoogleCloudAiplatformV1ModelArmorConfig) super.clone();
88+
}
89+
90+
}

0 commit comments

Comments
 (0)