Make gcs remote log args optional when using connection id (#50590)
diff --git a/providers/google/src/airflow/providers/google/cloud/log/gcs_task_handler.py b/providers/google/src/airflow/providers/google/cloud/log/gcs_task_handler.py
index 249cb80..894f291 100644
--- a/providers/google/src/airflow/providers/google/cloud/log/gcs_task_handler.py
+++ b/providers/google/src/airflow/providers/google/cloud/log/gcs_task_handler.py
@@ -61,11 +61,11 @@
remote_base: str
base_log_folder: Path = attrs.field(converter=Path)
delete_local_copy: bool
- project_id: str
+ project_id: str | None = None
- gcp_key_path: str | None
- gcp_keyfile_dict: dict | None
- scopes: Collection[str] | None
+ gcp_key_path: str | None = None
+ gcp_keyfile_dict: dict | None = None
+ scopes: Collection[str] | None = _DEFAULT_SCOPESS
processors = ()