This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 60e65de4335 Add gcp_conn_id as template field (#58298)
60e65de4335 is described below
commit 60e65de43359225563f3b6cb8fc7e98d3c296713
Author: vitstransky <[email protected]>
AuthorDate: Sun Nov 16 15:53:22 2025 +0100
Add gcp_conn_id as template field (#58298)
---
.../google/src/airflow/providers/google/cloud/operators/gcs.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git
a/providers/google/src/airflow/providers/google/cloud/operators/gcs.py
b/providers/google/src/airflow/providers/google/cloud/operators/gcs.py
index b36c32dcdd7..d3b93c8c2fd 100644
--- a/providers/google/src/airflow/providers/google/cloud/operators/gcs.py
+++ b/providers/google/src/airflow/providers/google/cloud/operators/gcs.py
@@ -110,6 +110,7 @@ class GCSCreateBucketOperator(GoogleCloudBaseOperator):
"storage_class",
"location",
"project_id",
+ "gcp_conn_id",
"impersonation_chain",
)
ui_color = "#f0eee4"
@@ -204,6 +205,7 @@ class GCSListObjectsOperator(GoogleCloudBaseOperator):
"prefix",
"delimiter",
"match_glob",
+ "gcp_conn_id",
"impersonation_chain",
)
@@ -291,6 +293,7 @@ class GCSDeleteObjectsOperator(GoogleCloudBaseOperator):
"bucket_name",
"prefix",
"objects",
+ "gcp_conn_id",
"impersonation_chain",
)
@@ -406,6 +409,7 @@ class
GCSBucketCreateAclEntryOperator(GoogleCloudBaseOperator):
"entity",
"role",
"user_project",
+ "gcp_conn_id",
"impersonation_chain",
)
# [END gcs_bucket_create_acl_template_fields]
@@ -484,6 +488,7 @@ class
GCSObjectCreateAclEntryOperator(GoogleCloudBaseOperator):
"generation",
"role",
"user_project",
+ "gcp_conn_id",
"impersonation_chain",
)
# [END gcs_object_create_acl_template_fields]
@@ -571,6 +576,7 @@ class GCSFileTransformOperator(GoogleCloudBaseOperator):
"destination_bucket",
"destination_object",
"transform_script",
+ "gcp_conn_id",
"impersonation_chain",
)
operator_extra_links = (FileDetailsLink(),)
@@ -723,7 +729,9 @@ class
GCSTimeSpanFileTransformOperator(GoogleCloudBaseOperator):
"destination_bucket",
"destination_prefix",
"transform_script",
+ "source_gcp_conn_id",
"source_impersonation_chain",
+ "destination_gcp_conn_id",
"destination_impersonation_chain",
)
operator_extra_links = (StorageLink(),)