Skip to content

Commit 2a33851

Browse files
Google APIscopybara-github
authored andcommitted
feat: add EncryptionSpec for RagCorpus CMEK feature
PiperOrigin-RevId: 756904146
1 parent ccce76f commit 2a33851

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/vertex_rag_data.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package google.cloud.aiplatform.v1beta1;
1919
import "google/api/field_behavior.proto";
2020
import "google/api/resource.proto";
2121
import "google/cloud/aiplatform/v1beta1/api_auth.proto";
22+
import "google/cloud/aiplatform/v1beta1/encryption_spec.proto";
2223
import "google/cloud/aiplatform/v1beta1/io.proto";
2324
import "google/protobuf/timestamp.proto";
2425

@@ -308,6 +309,15 @@ message RagCorpus {
308309

309310
// Output only. Number of RagFiles in the RagCorpus.
310311
int32 rag_files_count = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
312+
313+
// Optional. Immutable. The CMEK key name used to encrypt at-rest data related
314+
// to this Corpus. Only applicable to RagManagedDb option for Vector DB. This
315+
// field can only be set at corpus creation time, and cannot be updated or
316+
// deleted.
317+
EncryptionSpec encryption_spec = 12 [
318+
(google.api.field_behavior) = IMMUTABLE,
319+
(google.api.field_behavior) = OPTIONAL
320+
];
311321
}
312322

313323
// A RagFile contains user data for chunking, embedding and indexing.

0 commit comments

Comments
 (0)