Skip to content

Commit 00fc547

Browse files
1 parent bac1927 commit 00fc547

File tree

44 files changed

+21276
-15932
lines changed

Some content is hidden

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

44 files changed

+21276
-15932
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-rev20250902-2.0.0</version>
25+
<version>v1-rev20250916-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-rev20250902-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20250916-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: 593 additions & 6 deletions
Large diffs are not rendered by default.

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

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

3232
/**
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
33+
* Optional. By default, if dedicated endpoint is enabled and private service connect config is
34+
* not set, the endpoint will be exposed through a dedicated DNS
35+
* [Endpoint.dedicated_endpoint_dns]. If private service connect config is set, the endpoint will
36+
* be exposed through private service connect. Your request to the dedicated DNS will be isolated
37+
* from other users' traffic and will have better performance and reliability. Note: Once you
38+
* enabled dedicated endpoint, you won't be able to send request to the shared DNS
3739
* {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set
3840
* to true, the dedicated endpoint will be disabled and the deployed model will be exposed through
3941
* the shared DNS {region}-aiplatform.googleapis.com.
@@ -76,10 +78,20 @@ public final class GoogleCloudAiplatformV1DeployRequestEndpointConfig extends co
7678
private java.lang.String endpointUserId;
7779

7880
/**
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
81+
* Optional. Configuration for private service connect. If set, the endpoint will be exposed
82+
* through private service connect.
83+
* The value may be {@code null}.
84+
*/
85+
@com.google.api.client.util.Key
86+
private GoogleCloudAiplatformV1PrivateServiceConnectConfig privateServiceConnectConfig;
87+
88+
/**
89+
* Optional. By default, if dedicated endpoint is enabled and private service connect config is
90+
* not set, the endpoint will be exposed through a dedicated DNS
91+
* [Endpoint.dedicated_endpoint_dns]. If private service connect config is set, the endpoint will
92+
* be exposed through private service connect. Your request to the dedicated DNS will be isolated
93+
* from other users' traffic and will have better performance and reliability. Note: Once you
94+
* enabled dedicated endpoint, you won't be able to send request to the shared DNS
8395
* {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set
8496
* to true, the dedicated endpoint will be disabled and the deployed model will be exposed through
8597
* the shared DNS {region}-aiplatform.googleapis.com.
@@ -90,10 +102,12 @@ public java.lang.Boolean getDedicatedEndpointDisabled() {
90102
}
91103

92104
/**
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
105+
* Optional. By default, if dedicated endpoint is enabled and private service connect config is
106+
* not set, the endpoint will be exposed through a dedicated DNS
107+
* [Endpoint.dedicated_endpoint_dns]. If private service connect config is set, the endpoint will
108+
* be exposed through private service connect. Your request to the dedicated DNS will be isolated
109+
* from other users' traffic and will have better performance and reliability. Note: Once you
110+
* enabled dedicated endpoint, you won't be able to send request to the shared DNS
97111
* {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set
98112
* to true, the dedicated endpoint will be disabled and the deployed model will be exposed through
99113
* the shared DNS {region}-aiplatform.googleapis.com.
@@ -179,6 +193,25 @@ public GoogleCloudAiplatformV1DeployRequestEndpointConfig setEndpointUserId(java
179193
return this;
180194
}
181195

196+
/**
197+
* Optional. Configuration for private service connect. If set, the endpoint will be exposed
198+
* through private service connect.
199+
* @return value or {@code null} for none
200+
*/
201+
public GoogleCloudAiplatformV1PrivateServiceConnectConfig getPrivateServiceConnectConfig() {
202+
return privateServiceConnectConfig;
203+
}
204+
205+
/**
206+
* Optional. Configuration for private service connect. If set, the endpoint will be exposed
207+
* through private service connect.
208+
* @param privateServiceConnectConfig privateServiceConnectConfig or {@code null} for none
209+
*/
210+
public GoogleCloudAiplatformV1DeployRequestEndpointConfig setPrivateServiceConnectConfig(GoogleCloudAiplatformV1PrivateServiceConnectConfig privateServiceConnectConfig) {
211+
this.privateServiceConnectConfig = privateServiceConnectConfig;
212+
return this;
213+
}
214+
182215
@Override
183216
public GoogleCloudAiplatformV1DeployRequestEndpointConfig set(String fieldName, Object value) {
184217
return (GoogleCloudAiplatformV1DeployRequestEndpointConfig) super.set(fieldName, value);

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

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

32-
/**
33-
* Spec for a computation based metric.
34-
* The value may be {@code null}.
35-
*/
36-
@com.google.api.client.util.Key
37-
private GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec computationBasedMetricSpec;
38-
3932
/**
4033
* Spec for an LLM based metric.
4134
* The value may be {@code null}.
@@ -64,23 +57,6 @@ public final class GoogleCloudAiplatformV1EvaluationRunMetric extends com.google
6457
@com.google.api.client.util.Key
6558
private GoogleCloudAiplatformV1EvaluationRunMetricRubricBasedMetricSpec rubricBasedMetricSpec;
6659

67-
/**
68-
* Spec for a computation based metric.
69-
* @return value or {@code null} for none
70-
*/
71-
public GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec getComputationBasedMetricSpec() {
72-
return computationBasedMetricSpec;
73-
}
74-
75-
/**
76-
* Spec for a computation based metric.
77-
* @param computationBasedMetricSpec computationBasedMetricSpec or {@code null} for none
78-
*/
79-
public GoogleCloudAiplatformV1EvaluationRunMetric setComputationBasedMetricSpec(GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec computationBasedMetricSpec) {
80-
this.computationBasedMetricSpec = computationBasedMetricSpec;
81-
return this;
82-
}
83-
8460
/**
8561
* Spec for an LLM based metric.
8662
* @return value or {@code null} for none

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

Lines changed: 0 additions & 90 deletions
This file was deleted.

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

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

1919
/**
20-
* Content filter results for a prompt sent in the request.
20+
* Content filter results for a prompt sent in the request. Note: This is sent only in the first
21+
* stream chunk and only if no candidates were generated due to content violations.
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:
@@ -30,36 +31,36 @@
3031
public final class GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback extends com.google.api.client.json.GenericJson {
3132

3233
/**
33-
* Output only. Blocked reason.
34+
* Output only. The reason why the prompt was blocked.
3435
* The value may be {@code null}.
3536
*/
3637
@com.google.api.client.util.Key
3738
private java.lang.String blockReason;
3839

3940
/**
40-
* Output only. A readable block reason message.
41+
* Output only. A readable message that explains the reason why the prompt was blocked.
4142
* The value may be {@code null}.
4243
*/
4344
@com.google.api.client.util.Key
4445
private java.lang.String blockReasonMessage;
4546

4647
/**
47-
* Output only. Safety ratings.
48+
* Output only. A list of safety ratings for the prompt. There is one rating per category.
4849
* The value may be {@code null}.
4950
*/
5051
@com.google.api.client.util.Key
5152
private java.util.List<GoogleCloudAiplatformV1SafetyRating> safetyRatings;
5253

5354
/**
54-
* Output only. Blocked reason.
55+
* Output only. The reason why the prompt was blocked.
5556
* @return value or {@code null} for none
5657
*/
5758
public java.lang.String getBlockReason() {
5859
return blockReason;
5960
}
6061

6162
/**
62-
* Output only. Blocked reason.
63+
* Output only. The reason why the prompt was blocked.
6364
* @param blockReason blockReason or {@code null} for none
6465
*/
6566
public GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback setBlockReason(java.lang.String blockReason) {
@@ -68,15 +69,15 @@ public GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback setBlockReas
6869
}
6970

7071
/**
71-
* Output only. A readable block reason message.
72+
* Output only. A readable message that explains the reason why the prompt was blocked.
7273
* @return value or {@code null} for none
7374
*/
7475
public java.lang.String getBlockReasonMessage() {
7576
return blockReasonMessage;
7677
}
7778

7879
/**
79-
* Output only. A readable block reason message.
80+
* Output only. A readable message that explains the reason why the prompt was blocked.
8081
* @param blockReasonMessage blockReasonMessage or {@code null} for none
8182
*/
8283
public GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback setBlockReasonMessage(java.lang.String blockReasonMessage) {
@@ -85,15 +86,15 @@ public GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback setBlockReas
8586
}
8687

8788
/**
88-
* Output only. Safety ratings.
89+
* Output only. A list of safety ratings for the prompt. There is one rating per category.
8990
* @return value or {@code null} for none
9091
*/
9192
public java.util.List<GoogleCloudAiplatformV1SafetyRating> getSafetyRatings() {
9293
return safetyRatings;
9394
}
9495

9596
/**
96-
* Output only. Safety ratings.
97+
* Output only. A list of safety ratings for the prompt. There is one rating per category.
9798
* @param safetyRatings safetyRatings or {@code null} for none
9899
*/
99100
public GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback setSafetyRatings(java.util.List<GoogleCloudAiplatformV1SafetyRating> safetyRatings) {

0 commit comments

Comments
 (0)