Skip to content

Commit ece5c2d

Browse files
1 parent deeff22 commit ece5c2d

File tree

36 files changed

+1544
-64
lines changed

36 files changed

+1544
-64
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-rev20240830-2.0.0</version>
25+
<version>v1-rev20240907-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-rev20240830-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20240907-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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20471,15 +20471,15 @@ public Create setParent(java.lang.String parent) {
2047120471

2047220472
/**
2047320473
* Required. The ID to use for this FeatureGroup, which will become the final component of
20474-
* the FeatureGroup's resource name. This value may be up to 60 characters, and valid
20474+
* the FeatureGroup's resource name. This value may be up to 128 characters, and valid
2047520475
* characters are `[a-z0-9_]`. The first character cannot be a number. The value must be
2047620476
* unique within the project and location.
2047720477
*/
2047820478
@com.google.api.client.util.Key
2047920479
private java.lang.String featureGroupId;
2048020480

2048120481
/** Required. The ID to use for this FeatureGroup, which will become the final component of the
20482-
FeatureGroup's resource name. This value may be up to 60 characters, and valid characters are
20482+
FeatureGroup's resource name. This value may be up to 128 characters, and valid characters are
2048320483
`[a-z0-9_]`. The first character cannot be a number. The value must be unique within the project
2048420484
and location.
2048520485
*/
@@ -20489,7 +20489,7 @@ public java.lang.String getFeatureGroupId() {
2048920489

2049020490
/**
2049120491
* Required. The ID to use for this FeatureGroup, which will become the final component of
20492-
* the FeatureGroup's resource name. This value may be up to 60 characters, and valid
20492+
* the FeatureGroup's resource name. This value may be up to 128 characters, and valid
2049320493
* characters are `[a-z0-9_]`. The first character cannot be a number. The value must be
2049420494
* unique within the project and location.
2049520495
*/

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

Lines changed: 25 additions & 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-
* Model definition for CloudAiLargeModelsVisionRaiInfo.
20+
* Next ID: 6
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:
@@ -29,6 +29,13 @@
2929
@SuppressWarnings("javadoc")
3030
public final class CloudAiLargeModelsVisionRaiInfo extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* List of blocked entities from the blocklist if it is detected.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<java.lang.String> blockedEntities;
38+
3239
/**
3340
* The list of detected labels for different rai categories.
3441
* The value may be {@code null}.
@@ -59,6 +66,23 @@ public final class CloudAiLargeModelsVisionRaiInfo extends com.google.api.client
5966
@com.google.api.client.util.Key
6067
private java.util.List<java.lang.Float> scores;
6168

69+
/**
70+
* List of blocked entities from the blocklist if it is detected.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.util.List<java.lang.String> getBlockedEntities() {
74+
return blockedEntities;
75+
}
76+
77+
/**
78+
* List of blocked entities from the blocklist if it is detected.
79+
* @param blockedEntities blockedEntities or {@code null} for none
80+
*/
81+
public CloudAiLargeModelsVisionRaiInfo setBlockedEntities(java.util.List<java.lang.String> blockedEntities) {
82+
this.blockedEntities = blockedEntities;
83+
return this;
84+
}
85+
6286
/**
6387
* The list of detected labels for different rai categories.
6488
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ public final class GoogleCloudAiplatformV1CountTokensRequest extends com.google.
4242
com.google.api.client.util.Data.nullOf(GoogleCloudAiplatformV1Content.class);
4343
}
4444

45+
/**
46+
* Optional. Generation config that the model will use to generate the response.
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private GoogleCloudAiplatformV1GenerationConfig generationConfig;
51+
4552
/**
4653
* Optional. The instances that are the input to token counting call. Schema is identical to the
4754
* prediction schema of the underlying model.
@@ -92,6 +99,23 @@ public GoogleCloudAiplatformV1CountTokensRequest setContents(java.util.List<Goog
9299
return this;
93100
}
94101

102+
/**
103+
* Optional. Generation config that the model will use to generate the response.
104+
* @return value or {@code null} for none
105+
*/
106+
public GoogleCloudAiplatformV1GenerationConfig getGenerationConfig() {
107+
return generationConfig;
108+
}
109+
110+
/**
111+
* Optional. Generation config that the model will use to generate the response.
112+
* @param generationConfig generationConfig or {@code null} for none
113+
*/
114+
public GoogleCloudAiplatformV1CountTokensRequest setGenerationConfig(GoogleCloudAiplatformV1GenerationConfig generationConfig) {
115+
this.generationConfig = generationConfig;
116+
return this;
117+
}
118+
95119
/**
96120
* Optional. The instances that are the input to token counting call. Schema is identical to the
97121
* prediction schema of the underlying model.

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,15 @@ public final class GoogleCloudAiplatformV1DeployedIndex extends com.google.api.c
141141
@com.google.api.client.util.Key
142142
private GoogleCloudAiplatformV1IndexPrivateEndpoints privateEndpoints;
143143

144+
/**
145+
* Optional. If set for PSC deployed index, PSC connection will be automatically created after
146+
* deployment is done and the endpoint information is populated in
147+
* private_endpoints.psc_automated_endpoints.
148+
* The value may be {@code null}.
149+
*/
150+
@com.google.api.client.util.Key
151+
private java.util.List<GoogleCloudAiplatformV1PSCAutomationConfig> pscAutomationConfigs;
152+
144153
/**
145154
* Optional. A list of reserved ip ranges under the VPC network that can be used for this
146155
* DeployedIndex. If set, we will deploy the index within the provided ip ranges. Otherwise, the
@@ -410,6 +419,27 @@ public GoogleCloudAiplatformV1DeployedIndex setPrivateEndpoints(GoogleCloudAipla
410419
return this;
411420
}
412421

422+
/**
423+
* Optional. If set for PSC deployed index, PSC connection will be automatically created after
424+
* deployment is done and the endpoint information is populated in
425+
* private_endpoints.psc_automated_endpoints.
426+
* @return value or {@code null} for none
427+
*/
428+
public java.util.List<GoogleCloudAiplatformV1PSCAutomationConfig> getPscAutomationConfigs() {
429+
return pscAutomationConfigs;
430+
}
431+
432+
/**
433+
* Optional. If set for PSC deployed index, PSC connection will be automatically created after
434+
* deployment is done and the endpoint information is populated in
435+
* private_endpoints.psc_automated_endpoints.
436+
* @param pscAutomationConfigs pscAutomationConfigs or {@code null} for none
437+
*/
438+
public GoogleCloudAiplatformV1DeployedIndex setPscAutomationConfigs(java.util.List<GoogleCloudAiplatformV1PSCAutomationConfig> pscAutomationConfigs) {
439+
this.pscAutomationConfigs = pscAutomationConfigs;
440+
return this;
441+
}
442+
413443
/**
414444
* Optional. A list of reserved ip ranges under the VPC network that can be used for this
415445
* DeployedIndex. If set, we will deploy the index within the provided ip ranges. Otherwise, the

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ public final class GoogleCloudAiplatformV1FeatureGroupBigQuery extends com.googl
4040
* Optional. If set, all feature values will be fetched from a single row per unique entityId
4141
* including nulls. If not set, will collapse all rows for each unique entityId into a singe row
4242
* with any non-null values if present, if no non-null values are present will sync null. ex: If
43-
* source has schema (entity_id, feature_timestamp, f0, f1) and values (e1,
44-
* 2020-01-01T10:00:00.123Z, 10, 15) (e1, 2020-02-01T10:00:00.123Z, 20, null) If dense is set,
45-
* (e1, 20, null) is synced to online stores. If dense is not set, (e1, 20, 15) is synced to
43+
* source has schema `(entity_id, feature_timestamp, f0, f1)` and the following rows: `(e1,
44+
* 2020-01-01T10:00:00.123Z, 10, 15)` `(e1, 2020-02-01T10:00:00.123Z, 20, null)` If dense is set,
45+
* `(e1, 20, null)` is synced to online stores. If dense is not set, `(e1, 20, 15)` is synced to
4646
* online stores.
4747
* The value may be {@code null}.
4848
*/
@@ -93,9 +93,9 @@ public GoogleCloudAiplatformV1FeatureGroupBigQuery setBigQuerySource(GoogleCloud
9393
* Optional. If set, all feature values will be fetched from a single row per unique entityId
9494
* including nulls. If not set, will collapse all rows for each unique entityId into a singe row
9595
* with any non-null values if present, if no non-null values are present will sync null. ex: If
96-
* source has schema (entity_id, feature_timestamp, f0, f1) and values (e1,
97-
* 2020-01-01T10:00:00.123Z, 10, 15) (e1, 2020-02-01T10:00:00.123Z, 20, null) If dense is set,
98-
* (e1, 20, null) is synced to online stores. If dense is not set, (e1, 20, 15) is synced to
96+
* source has schema `(entity_id, feature_timestamp, f0, f1)` and the following rows: `(e1,
97+
* 2020-01-01T10:00:00.123Z, 10, 15)` `(e1, 2020-02-01T10:00:00.123Z, 20, null)` If dense is set,
98+
* `(e1, 20, null)` is synced to online stores. If dense is not set, `(e1, 20, 15)` is synced to
9999
* online stores.
100100
* @return value or {@code null} for none
101101
*/
@@ -107,9 +107,9 @@ public java.lang.Boolean getDense() {
107107
* Optional. If set, all feature values will be fetched from a single row per unique entityId
108108
* including nulls. If not set, will collapse all rows for each unique entityId into a singe row
109109
* with any non-null values if present, if no non-null values are present will sync null. ex: If
110-
* source has schema (entity_id, feature_timestamp, f0, f1) and values (e1,
111-
* 2020-01-01T10:00:00.123Z, 10, 15) (e1, 2020-02-01T10:00:00.123Z, 20, null) If dense is set,
112-
* (e1, 20, null) is synced to online stores. If dense is not set, (e1, 20, 15) is synced to
110+
* source has schema `(entity_id, feature_timestamp, f0, f1)` and the following rows: `(e1,
111+
* 2020-01-01T10:00:00.123Z, 10, 15)` `(e1, 2020-02-01T10:00:00.123Z, 20, null)` If dense is set,
112+
* `(e1, 20, null)` is synced to online stores. If dense is not set, `(e1, 20, 15)` is synced to
113113
* online stores.
114114
* @param dense dense or {@code null} for none
115115
*/

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

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ public final class GoogleCloudAiplatformV1FeatureViewVertexRagSource extends com
3838

3939
/**
4040
* Required. The BigQuery view/table URI that will be materialized on each manual sync trigger.
41-
* The table/view is expected to have the following columns at least: Field name Type Mode
42-
* corpus_id STRING REQUIRED/NULLABLE file_id STRING REQUIRED/NULLABLE chunk_id STRING
43-
* REQUIRED/NULLABLE chunk_data_type STRING REQUIRED/NULLABLE chunk_data STRING REQUIRED/NULLABLE
44-
* embeddings FLOAT REPEATED file_original_uri STRING REQUIRED/NULLABLE
41+
* The table/view is expected to have the following columns and types at least: - `corpus_id`
42+
* (STRING, NULLABLE/REQUIRED) - `file_id` (STRING, NULLABLE/REQUIRED) - `chunk_id` (STRING,
43+
* NULLABLE/REQUIRED) - `chunk_data_type` (STRING, NULLABLE/REQUIRED) - `chunk_data` (STRING,
44+
* NULLABLE/REQUIRED) - `embeddings` (FLOAT, REPEATED) - `file_original_uri` (STRING,
45+
* NULLABLE/REQUIRED)
4546
* The value may be {@code null}.
4647
*/
4748
@com.google.api.client.util.Key
@@ -66,10 +67,11 @@ public GoogleCloudAiplatformV1FeatureViewVertexRagSource setRagCorpusId(java.lan
6667

6768
/**
6869
* Required. The BigQuery view/table URI that will be materialized on each manual sync trigger.
69-
* The table/view is expected to have the following columns at least: Field name Type Mode
70-
* corpus_id STRING REQUIRED/NULLABLE file_id STRING REQUIRED/NULLABLE chunk_id STRING
71-
* REQUIRED/NULLABLE chunk_data_type STRING REQUIRED/NULLABLE chunk_data STRING REQUIRED/NULLABLE
72-
* embeddings FLOAT REPEATED file_original_uri STRING REQUIRED/NULLABLE
70+
* The table/view is expected to have the following columns and types at least: - `corpus_id`
71+
* (STRING, NULLABLE/REQUIRED) - `file_id` (STRING, NULLABLE/REQUIRED) - `chunk_id` (STRING,
72+
* NULLABLE/REQUIRED) - `chunk_data_type` (STRING, NULLABLE/REQUIRED) - `chunk_data` (STRING,
73+
* NULLABLE/REQUIRED) - `embeddings` (FLOAT, REPEATED) - `file_original_uri` (STRING,
74+
* NULLABLE/REQUIRED)
7375
* @return value or {@code null} for none
7476
*/
7577
public java.lang.String getUri() {
@@ -78,10 +80,11 @@ public java.lang.String getUri() {
7880

7981
/**
8082
* Required. The BigQuery view/table URI that will be materialized on each manual sync trigger.
81-
* The table/view is expected to have the following columns at least: Field name Type Mode
82-
* corpus_id STRING REQUIRED/NULLABLE file_id STRING REQUIRED/NULLABLE chunk_id STRING
83-
* REQUIRED/NULLABLE chunk_data_type STRING REQUIRED/NULLABLE chunk_data STRING REQUIRED/NULLABLE
84-
* embeddings FLOAT REPEATED file_original_uri STRING REQUIRED/NULLABLE
83+
* The table/view is expected to have the following columns and types at least: - `corpus_id`
84+
* (STRING, NULLABLE/REQUIRED) - `file_id` (STRING, NULLABLE/REQUIRED) - `chunk_id` (STRING,
85+
* NULLABLE/REQUIRED) - `chunk_data_type` (STRING, NULLABLE/REQUIRED) - `chunk_data` (STRING,
86+
* NULLABLE/REQUIRED) - `embeddings` (FLOAT, REPEATED) - `file_original_uri` (STRING,
87+
* NULLABLE/REQUIRED)
8588
* @param uri uri or {@code null} for none
8689
*/
8790
public GoogleCloudAiplatformV1FeatureViewVertexRagSource setUri(java.lang.String uri) {

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,17 @@ public final class GoogleCloudAiplatformV1GenerateContentRequest extends com.goo
5151
@com.google.api.client.util.Key
5252
private GoogleCloudAiplatformV1GenerationConfig generationConfig;
5353

54+
/**
55+
* Optional. The labels with user-defined metadata for the request. It is used for billing and
56+
* reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints)
57+
* and can only contain lowercase letters, numeric characters, underscores, and dashes.
58+
* International characters are allowed. Label values are optional. Label keys must start with a
59+
* letter.
60+
* The value may be {@code null}.
61+
*/
62+
@com.google.api.client.util.Key
63+
private java.util.Map<String, java.lang.String> labels;
64+
5465
/**
5566
* Optional. Per request settings for blocking unsafe content. Enforced on
5667
* GenerateContentResponse.candidates.
@@ -121,6 +132,31 @@ public GoogleCloudAiplatformV1GenerateContentRequest setGenerationConfig(GoogleC
121132
return this;
122133
}
123134

135+
/**
136+
* Optional. The labels with user-defined metadata for the request. It is used for billing and
137+
* reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints)
138+
* and can only contain lowercase letters, numeric characters, underscores, and dashes.
139+
* International characters are allowed. Label values are optional. Label keys must start with a
140+
* letter.
141+
* @return value or {@code null} for none
142+
*/
143+
public java.util.Map<String, java.lang.String> getLabels() {
144+
return labels;
145+
}
146+
147+
/**
148+
* Optional. The labels with user-defined metadata for the request. It is used for billing and
149+
* reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints)
150+
* and can only contain lowercase letters, numeric characters, underscores, and dashes.
151+
* International characters are allowed. Label values are optional. Label keys must start with a
152+
* letter.
153+
* @param labels labels or {@code null} for none
154+
*/
155+
public GoogleCloudAiplatformV1GenerateContentRequest setLabels(java.util.Map<String, java.lang.String> labels) {
156+
this.labels = labels;
157+
return this;
158+
}
159+
124160
/**
125161
* Optional. Per request settings for blocking unsafe content. Enforced on
126162
* GenerateContentResponse.candidates.

0 commit comments

Comments
 (0)