Skip to content

Commit 3a45aa3

Browse files
Google APIscopybara-github
authored andcommitted
feat: add EncryptionSpec field for RagCorpus CMEK feature to v1
PiperOrigin-RevId: 770837205
1 parent 435cbe5 commit 3a45aa3

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/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.v1;
1919
import "google/api/field_behavior.proto";
2020
import "google/api/resource.proto";
2121
import "google/cloud/aiplatform/v1/api_auth.proto";
22+
import "google/cloud/aiplatform/v1/encryption_spec.proto";
2223
import "google/cloud/aiplatform/v1/io.proto";
2324
import "google/protobuf/timestamp.proto";
2425

@@ -263,6 +264,15 @@ message RagCorpus {
263264

264265
// Output only. RagCorpus state.
265266
CorpusStatus corpus_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
267+
268+
// Optional. Immutable. The CMEK key name used to encrypt at-rest data related
269+
// to this Corpus. Only applicable to RagManagedDb option for Vector DB. This
270+
// field can only be set at corpus creation time, and cannot be updated or
271+
// deleted.
272+
EncryptionSpec encryption_spec = 12 [
273+
(google.api.field_behavior) = IMMUTABLE,
274+
(google.api.field_behavior) = OPTIONAL
275+
];
266276
}
267277

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

0 commit comments

Comments
 (0)