Skip to content

Commit 58b1634

Browse files
Google APIscopybara-github
authored andcommitted
feat: add Vertex Multimodal Datasets as input and output types in google.cloud.aiplatform.v1beta1.BatchPredictionJob
PiperOrigin-RevId: 866379511
1 parent f2e9a88 commit 58b1634

File tree

2 files changed

+46
-2
lines changed

2 files changed

+46
-2
lines changed

google/cloud/aiplatform/v1beta1/batch_prediction_job.proto

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -70,6 +70,10 @@ message BatchPredictionJob {
7070
// additional columns that are not described by the schema, and they will
7171
// be ignored.
7272
BigQuerySource bigquery_source = 3;
73+
74+
// A Vertex Managed Dataset. Currently, only datasets of type Multimodal
75+
// are supported.
76+
VertexMultimodalDatasetSource vertex_multimodal_dataset_source = 4;
7377
}
7478

7579
// Required. The format in which instances are given, must be one of the
@@ -230,6 +234,11 @@ message BatchPredictionJob {
230234
// has [google.rpc.Status][google.rpc.Status]
231235
// represented as a STRUCT, and containing only `code` and `message`.
232236
BigQueryDestination bigquery_destination = 3;
237+
238+
// The details for a Vertex Multimodal Dataset that will be created for
239+
// the output.
240+
VertexMultimodalDatasetDestination vertex_multimodal_dataset_destination =
241+
6;
233242
}
234243

235244
// Required. The format in which Vertex AI gives the predictions, must be
@@ -255,6 +264,16 @@ message BatchPredictionJob {
255264
// format, into which the prediction output is written.
256265
string bigquery_output_dataset = 2
257266
[(google.api.field_behavior) = OUTPUT_ONLY];
267+
268+
// Output only. The resource name of the Vertex Managed Dataset created,
269+
// into which the prediction output is written. Format:
270+
// `projects/{project}/locations/{location}/datasets/{dataset}`
271+
string vertex_multimodal_dataset_name = 5 [
272+
(google.api.field_behavior) = OUTPUT_ONLY,
273+
(google.api.resource_reference) = {
274+
type: "aiplatform.googleapis.com/Dataset"
275+
}
276+
];
258277
}
259278

260279
// Output only. The name of the BigQuery table created, in

google/cloud/aiplatform/v1beta1/io.proto

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -17,6 +17,7 @@ syntax = "proto3";
1717
package google.cloud.aiplatform.v1beta1;
1818

1919
import "google/api/field_behavior.proto";
20+
import "google/api/resource.proto";
2021
import "google/cloud/aiplatform/v1beta1/api_auth.proto";
2122
import "google/protobuf/timestamp.proto";
2223

@@ -82,6 +83,30 @@ message BigQueryDestination {
8283
string output_uri = 1 [(google.api.field_behavior) = REQUIRED];
8384
}
8485

86+
// The Vertex Multimodal Dataset for the input content.
87+
message VertexMultimodalDatasetSource {
88+
// Required. The resource name of the Vertex Dataset.
89+
// Format: `projects/{project}/locations/{location}/datasets/{dataset}`
90+
string dataset_name = 1 [
91+
(google.api.field_behavior) = REQUIRED,
92+
(google.api.resource_reference) = {
93+
type: "aiplatform.googleapis.com/Dataset"
94+
}
95+
];
96+
}
97+
98+
// The details for a Vertex Multimodal Dataset output.
99+
message VertexMultimodalDatasetDestination {
100+
// Optional. The destination of the underlying BigQuery table that will be
101+
// created for the output Multimodal Dataset. If not specified, the BigQuery
102+
// table will be created in a default BigQuery dataset.
103+
BigQueryDestination bigquery_destination = 1
104+
[(google.api.field_behavior) = OPTIONAL];
105+
106+
// Optional. Display name of the output dataset.
107+
string display_name = 2 [(google.api.field_behavior) = OPTIONAL];
108+
}
109+
85110
// The storage details for CSV output content.
86111
message CsvDestination {
87112
// Required. Google Cloud Storage location.

0 commit comments

Comments
 (0)