Skip to content

Commit 1c90c88

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
fix: Support CMEK for scheduled pipeline jobs.
FUTURE_COPYBARA_INTEGRATE_REVIEW=#3066 from googleapis:release-please--branches--main 5353beb PiperOrigin-RevId: 590338288
1 parent 4347c9c commit 1c90c88

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

google/cloud/aiplatform/pipeline_job_schedules.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ def __init__(
106106
create_pipeline_job_request["pipeline_job"][
107107
"labels"
108108
] = pipeline_job._gca_resource.labels
109+
if "encryption_spec" in pipeline_job._gca_resource:
110+
create_pipeline_job_request["pipeline_job"][
111+
"encryption_spec"
112+
] = pipeline_job._gca_resource.encryption_spec
109113
pipeline_job_schedule_args = {
110114
"display_name": display_name,
111115
"create_pipeline_job_request": create_pipeline_job_request,

0 commit comments

Comments
 (0)