Skip to content

Commit 1a8d81e

Browse files
Google APIscopybara-github
authored andcommitted
feat: add import result gcs sink to the import files API
feat: add import result bq sink to the import files API PiperOrigin-RevId: 738391305
1 parent f95ceda commit 1a8d81e

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/vertex_rag_data.proto

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,21 @@ message ImportRagFilesConfig {
367367
BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true];
368368
}
369369

370+
// Optional. If provided, all successfully imported files and all partial
371+
// failures are written to the sink.
372+
oneof import_result_sink {
373+
// The Cloud Storage path to write import result to.
374+
GcsDestination import_result_gcs_sink = 14;
375+
376+
// The BigQuery destination to write import result to. It should be a
377+
// bigquery table resource name (e.g.
378+
// "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the
379+
// table does not exist, it will be created with the expected schema. If the
380+
// table exists, the schema will be validated and data will be added to this
381+
// existing table.
382+
BigQueryDestination import_result_bigquery_sink = 15;
383+
}
384+
370385
// Specifies the transformation config for RagFiles.
371386
RagFileTransformationConfig rag_file_transformation_config = 16;
372387

0 commit comments

Comments
 (0)