apache-airflow-providers-google 19.1.0rc1__py3-none-any.whl → 19.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. airflow/providers/google/__init__.py +1 -1
  2. airflow/providers/google/ads/hooks/ads.py +1 -2
  3. airflow/providers/google/cloud/bundles/gcs.py +1 -1
  4. airflow/providers/google/cloud/hooks/alloy_db.py +1 -1
  5. airflow/providers/google/cloud/hooks/bigquery.py +15 -17
  6. airflow/providers/google/cloud/hooks/cloud_batch.py +1 -1
  7. airflow/providers/google/cloud/hooks/cloud_build.py +1 -1
  8. airflow/providers/google/cloud/hooks/cloud_composer.py +1 -1
  9. airflow/providers/google/cloud/hooks/cloud_memorystore.py +1 -1
  10. airflow/providers/google/cloud/hooks/cloud_run.py +1 -1
  11. airflow/providers/google/cloud/hooks/cloud_sql.py +1 -1
  12. airflow/providers/google/cloud/hooks/cloud_storage_transfer_service.py +2 -1
  13. airflow/providers/google/cloud/hooks/compute.py +1 -1
  14. airflow/providers/google/cloud/hooks/compute_ssh.py +1 -1
  15. airflow/providers/google/cloud/hooks/datacatalog.py +2 -1
  16. airflow/providers/google/cloud/hooks/dataflow.py +2 -2
  17. airflow/providers/google/cloud/hooks/dataform.py +1 -1
  18. airflow/providers/google/cloud/hooks/datafusion.py +20 -18
  19. airflow/providers/google/cloud/hooks/dataplex.py +1 -1
  20. airflow/providers/google/cloud/hooks/dataproc.py +1 -1
  21. airflow/providers/google/cloud/hooks/dataproc_metastore.py +1 -1
  22. airflow/providers/google/cloud/hooks/dlp.py +1 -1
  23. airflow/providers/google/cloud/hooks/functions.py +1 -1
  24. airflow/providers/google/cloud/hooks/gcs.py +2 -2
  25. airflow/providers/google/cloud/hooks/gdm.py +1 -1
  26. airflow/providers/google/cloud/hooks/kubernetes_engine.py +1 -1
  27. airflow/providers/google/cloud/hooks/looker.py +1 -2
  28. airflow/providers/google/cloud/hooks/managed_kafka.py +1 -1
  29. airflow/providers/google/cloud/hooks/mlengine.py +1 -1
  30. airflow/providers/google/cloud/hooks/pubsub.py +3 -0
  31. airflow/providers/google/cloud/hooks/spanner.py +1 -1
  32. airflow/providers/google/cloud/hooks/stackdriver.py +1 -1
  33. airflow/providers/google/cloud/hooks/tasks.py +1 -1
  34. airflow/providers/google/cloud/hooks/translate.py +1 -1
  35. airflow/providers/google/cloud/hooks/vertex_ai/auto_ml.py +2 -1
  36. airflow/providers/google/cloud/hooks/vertex_ai/batch_prediction_job.py +1 -1
  37. airflow/providers/google/cloud/hooks/vertex_ai/custom_job.py +1 -1
  38. airflow/providers/google/cloud/hooks/vertex_ai/feature_store.py +1 -1
  39. airflow/providers/google/cloud/hooks/vertex_ai/hyperparameter_tuning_job.py +1 -1
  40. airflow/providers/google/cloud/hooks/vertex_ai/model_service.py +1 -1
  41. airflow/providers/google/cloud/hooks/vertex_ai/pipeline_job.py +1 -1
  42. airflow/providers/google/cloud/hooks/vertex_ai/ray.py +1 -1
  43. airflow/providers/google/cloud/hooks/vision.py +1 -1
  44. airflow/providers/google/cloud/log/gcs_task_handler.py +41 -13
  45. airflow/providers/google/cloud/operators/alloy_db.py +1 -1
  46. airflow/providers/google/cloud/operators/bigquery.py +2 -2
  47. airflow/providers/google/cloud/operators/bigquery_dts.py +1 -1
  48. airflow/providers/google/cloud/operators/bigtable.py +1 -1
  49. airflow/providers/google/cloud/operators/cloud_batch.py +1 -1
  50. airflow/providers/google/cloud/operators/cloud_build.py +1 -1
  51. airflow/providers/google/cloud/operators/cloud_composer.py +1 -1
  52. airflow/providers/google/cloud/operators/cloud_logging_sink.py +1 -1
  53. airflow/providers/google/cloud/operators/cloud_run.py +1 -1
  54. airflow/providers/google/cloud/operators/cloud_sql.py +1 -2
  55. airflow/providers/google/cloud/operators/cloud_storage_transfer_service.py +1 -1
  56. airflow/providers/google/cloud/operators/compute.py +1 -1
  57. airflow/providers/google/cloud/operators/dataflow.py +2 -1
  58. airflow/providers/google/cloud/operators/datafusion.py +1 -1
  59. airflow/providers/google/cloud/operators/dataplex.py +1 -1
  60. airflow/providers/google/cloud/operators/dataproc.py +2 -1
  61. airflow/providers/google/cloud/operators/dataproc_metastore.py +1 -1
  62. airflow/providers/google/cloud/operators/datastore.py +1 -1
  63. airflow/providers/google/cloud/operators/functions.py +1 -1
  64. airflow/providers/google/cloud/operators/gcs.py +2 -1
  65. airflow/providers/google/cloud/operators/kubernetes_engine.py +2 -1
  66. airflow/providers/google/cloud/operators/looker.py +1 -1
  67. airflow/providers/google/cloud/operators/managed_kafka.py +1 -1
  68. airflow/providers/google/cloud/operators/pubsub.py +8 -1
  69. airflow/providers/google/cloud/operators/spanner.py +1 -1
  70. airflow/providers/google/cloud/operators/speech_to_text.py +1 -1
  71. airflow/providers/google/cloud/operators/text_to_speech.py +1 -1
  72. airflow/providers/google/cloud/operators/translate.py +1 -1
  73. airflow/providers/google/cloud/operators/translate_speech.py +1 -1
  74. airflow/providers/google/cloud/operators/vertex_ai/batch_prediction_job.py +1 -1
  75. airflow/providers/google/cloud/operators/vertex_ai/custom_job.py +1 -1
  76. airflow/providers/google/cloud/operators/vertex_ai/dataset.py +1 -1
  77. airflow/providers/google/cloud/operators/vertex_ai/experiment_service.py +1 -1
  78. airflow/providers/google/cloud/operators/vertex_ai/feature_store.py +1 -1
  79. airflow/providers/google/cloud/operators/vertex_ai/generative_model.py +2 -1
  80. airflow/providers/google/cloud/operators/vertex_ai/hyperparameter_tuning_job.py +1 -1
  81. airflow/providers/google/cloud/operators/vertex_ai/pipeline_job.py +1 -1
  82. airflow/providers/google/cloud/operators/vertex_ai/ray.py +1 -1
  83. airflow/providers/google/cloud/secrets/secret_manager.py +3 -2
  84. airflow/providers/google/cloud/sensors/bigquery.py +2 -2
  85. airflow/providers/google/cloud/sensors/bigquery_dts.py +1 -2
  86. airflow/providers/google/cloud/sensors/cloud_composer.py +1 -2
  87. airflow/providers/google/cloud/sensors/cloud_storage_transfer_service.py +1 -2
  88. airflow/providers/google/cloud/sensors/dataflow.py +1 -2
  89. airflow/providers/google/cloud/sensors/dataform.py +1 -2
  90. airflow/providers/google/cloud/sensors/datafusion.py +1 -2
  91. airflow/providers/google/cloud/sensors/dataplex.py +1 -2
  92. airflow/providers/google/cloud/sensors/dataproc.py +1 -2
  93. airflow/providers/google/cloud/sensors/dataproc_metastore.py +1 -2
  94. airflow/providers/google/cloud/sensors/gcs.py +1 -2
  95. airflow/providers/google/cloud/sensors/looker.py +1 -2
  96. airflow/providers/google/cloud/sensors/pubsub.py +1 -2
  97. airflow/providers/google/cloud/sensors/vertex_ai/feature_store.py +1 -2
  98. airflow/providers/google/cloud/sensors/workflows.py +1 -2
  99. airflow/providers/google/cloud/transfers/azure_fileshare_to_gcs.py +2 -1
  100. airflow/providers/google/cloud/transfers/bigquery_to_gcs.py +6 -1
  101. airflow/providers/google/cloud/transfers/cassandra_to_gcs.py +1 -1
  102. airflow/providers/google/cloud/transfers/facebook_ads_to_gcs.py +1 -1
  103. airflow/providers/google/cloud/transfers/gcs_to_bigquery.py +1 -1
  104. airflow/providers/google/cloud/transfers/gcs_to_gcs.py +2 -1
  105. airflow/providers/google/cloud/transfers/gcs_to_local.py +1 -1
  106. airflow/providers/google/cloud/transfers/gcs_to_sftp.py +1 -1
  107. airflow/providers/google/cloud/transfers/s3_to_gcs.py +1 -1
  108. airflow/providers/google/cloud/transfers/sftp_to_gcs.py +1 -1
  109. airflow/providers/google/cloud/triggers/bigquery.py +1 -1
  110. airflow/providers/google/cloud/triggers/cloud_composer.py +1 -1
  111. airflow/providers/google/cloud/triggers/cloud_run.py +1 -1
  112. airflow/providers/google/cloud/triggers/cloud_storage_transfer_service.py +1 -1
  113. airflow/providers/google/cloud/triggers/dataproc.py +1 -1
  114. airflow/providers/google/cloud/triggers/kubernetes_engine.py +2 -1
  115. airflow/providers/google/cloud/triggers/vertex_ai.py +1 -1
  116. airflow/providers/google/cloud/utils/credentials_provider.py +1 -1
  117. airflow/providers/google/cloud/utils/field_sanitizer.py +1 -1
  118. airflow/providers/google/cloud/utils/field_validator.py +1 -1
  119. airflow/providers/google/common/hooks/base_google.py +1 -2
  120. airflow/providers/google/common/hooks/operation_helpers.py +1 -1
  121. airflow/providers/google/firebase/hooks/firestore.py +1 -1
  122. airflow/providers/google/firebase/operators/firestore.py +1 -1
  123. airflow/providers/google/leveldb/hooks/leveldb.py +2 -2
  124. airflow/providers/google/marketing_platform/hooks/campaign_manager.py +1 -1
  125. airflow/providers/google/marketing_platform/hooks/search_ads.py +1 -1
  126. airflow/providers/google/marketing_platform/operators/analytics_admin.py +1 -1
  127. airflow/providers/google/marketing_platform/operators/campaign_manager.py +1 -1
  128. airflow/providers/google/marketing_platform/sensors/display_video.py +1 -2
  129. airflow/providers/google/suite/hooks/calendar.py +1 -1
  130. airflow/providers/google/suite/hooks/sheets.py +1 -1
  131. airflow/providers/google/suite/transfers/gcs_to_gdrive.py +1 -1
  132. {apache_airflow_providers_google-19.1.0rc1.dist-info → apache_airflow_providers_google-19.3.0.dist-info}/METADATA +17 -17
  133. {apache_airflow_providers_google-19.1.0rc1.dist-info → apache_airflow_providers_google-19.3.0.dist-info}/RECORD +137 -137
  134. {apache_airflow_providers_google-19.1.0rc1.dist-info → apache_airflow_providers_google-19.3.0.dist-info}/WHEEL +0 -0
  135. {apache_airflow_providers_google-19.1.0rc1.dist-info → apache_airflow_providers_google-19.3.0.dist-info}/entry_points.txt +0 -0
  136. {apache_airflow_providers_google-19.1.0rc1.dist-info → apache_airflow_providers_google-19.3.0.dist-info}/licenses/LICENSE +0 -0
  137. {apache_airflow_providers_google-19.1.0rc1.dist-info → apache_airflow_providers_google-19.3.0.dist-info}/licenses/NOTICE +0 -0
@@ -24,8 +24,7 @@ from functools import cached_property
24
24
  from typing import TYPE_CHECKING, Any
25
25
 
26
26
  from airflow.configuration import conf
27
- from airflow.exceptions import AirflowException
28
- from airflow.providers.common.compat.sdk import BaseSensorOperator, PokeReturnValue
27
+ from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator, PokeReturnValue
29
28
  from airflow.providers.google.cloud.hooks.dataflow import (
30
29
  DEFAULT_DATAFLOW_LOCATION,
31
30
  DataflowHook,
@@ -22,8 +22,7 @@ from __future__ import annotations
22
22
  from collections.abc import Iterable, Sequence
23
23
  from typing import TYPE_CHECKING
24
24
 
25
- from airflow.exceptions import AirflowException
26
- from airflow.providers.common.compat.sdk import BaseSensorOperator
25
+ from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator
27
26
  from airflow.providers.google.cloud.hooks.dataform import DataformHook
28
27
 
29
28
  if TYPE_CHECKING:
@@ -22,8 +22,7 @@ from __future__ import annotations
22
22
  from collections.abc import Iterable, Sequence
23
23
  from typing import TYPE_CHECKING
24
24
 
25
- from airflow.exceptions import AirflowException, AirflowNotFoundException
26
- from airflow.providers.common.compat.sdk import BaseSensorOperator
25
+ from airflow.providers.common.compat.sdk import AirflowException, AirflowNotFoundException, BaseSensorOperator
27
26
  from airflow.providers.google.cloud.hooks.datafusion import DataFusionHook
28
27
  from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
29
28
 
@@ -31,8 +31,7 @@ from google.api_core.exceptions import GoogleAPICallError
31
31
  from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
32
32
  from google.cloud.dataplex_v1.types import DataScanJob
33
33
 
34
- from airflow.exceptions import AirflowException
35
- from airflow.providers.common.compat.sdk import BaseSensorOperator
34
+ from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator
36
35
  from airflow.providers.google.cloud.hooks.dataplex import (
37
36
  AirflowDataQualityScanException,
38
37
  AirflowDataQualityScanResultTimeoutException,
@@ -26,8 +26,7 @@ from typing import TYPE_CHECKING
26
26
  from google.api_core.exceptions import ServerError
27
27
  from google.cloud.dataproc_v1.types import Batch, JobStatus
28
28
 
29
- from airflow.exceptions import AirflowException
30
- from airflow.providers.common.compat.sdk import BaseSensorOperator
29
+ from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator
31
30
  from airflow.providers.google.cloud.hooks.dataproc import DataprocHook
32
31
  from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
33
32
 
@@ -20,8 +20,7 @@ from __future__ import annotations
20
20
  from collections.abc import Sequence
21
21
  from typing import TYPE_CHECKING
22
22
 
23
- from airflow.exceptions import AirflowException
24
- from airflow.providers.common.compat.sdk import BaseSensorOperator
23
+ from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator
25
24
  from airflow.providers.google.cloud.hooks.dataproc_metastore import DataprocMetastoreHook
26
25
  from airflow.providers.google.cloud.hooks.gcs import parse_json_from_gcs
27
26
 
@@ -28,8 +28,7 @@ from typing import TYPE_CHECKING, Any
28
28
  from google.cloud.storage.retry import DEFAULT_RETRY
29
29
 
30
30
  from airflow.configuration import conf
31
- from airflow.exceptions import AirflowException
32
- from airflow.providers.common.compat.sdk import BaseSensorOperator, poke_mode_only
31
+ from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator, poke_mode_only
33
32
  from airflow.providers.google.cloud.hooks.gcs import GCSHook
34
33
  from airflow.providers.google.cloud.triggers.gcs import (
35
34
  GCSBlobTrigger,
@@ -21,8 +21,7 @@ from __future__ import annotations
21
21
 
22
22
  from typing import TYPE_CHECKING
23
23
 
24
- from airflow.exceptions import AirflowException
25
- from airflow.providers.common.compat.sdk import BaseSensorOperator
24
+ from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator
26
25
  from airflow.providers.google.cloud.hooks.looker import JobStatus, LookerHook
27
26
 
28
27
  if TYPE_CHECKING:
@@ -27,8 +27,7 @@ from google.cloud import pubsub_v1
27
27
  from google.cloud.pubsub_v1.types import ReceivedMessage
28
28
 
29
29
  from airflow.configuration import conf
30
- from airflow.exceptions import AirflowException
31
- from airflow.providers.common.compat.sdk import BaseSensorOperator
30
+ from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator
32
31
  from airflow.providers.google.cloud.hooks.pubsub import PubSubHook
33
32
  from airflow.providers.google.cloud.triggers.pubsub import PubsubPullTrigger
34
33
 
@@ -23,8 +23,7 @@ import time
23
23
  from collections.abc import Sequence
24
24
  from typing import TYPE_CHECKING
25
25
 
26
- from airflow.exceptions import AirflowException
27
- from airflow.providers.common.compat.sdk import BaseSensorOperator
26
+ from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator
28
27
  from airflow.providers.google.cloud.hooks.vertex_ai.feature_store import FeatureStoreHook
29
28
 
30
29
  if TYPE_CHECKING:
@@ -22,8 +22,7 @@ from typing import TYPE_CHECKING
22
22
  from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
23
23
  from google.cloud.workflows.executions_v1beta import Execution
24
24
 
25
- from airflow.exceptions import AirflowException
26
- from airflow.providers.common.compat.sdk import BaseSensorOperator
25
+ from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator
27
26
  from airflow.providers.google.cloud.hooks.workflows import WorkflowsHook
28
27
  from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
29
28
 
@@ -22,7 +22,8 @@ from collections.abc import Sequence
22
22
  from tempfile import NamedTemporaryFile
23
23
  from typing import TYPE_CHECKING
24
24
 
25
- from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
25
+ from airflow.exceptions import AirflowProviderDeprecationWarning
26
+ from airflow.providers.common.compat.sdk import AirflowException
26
27
  from airflow.providers.google.cloud.hooks.gcs import GCSHook, _parse_gcs_url, gcs_object_is_directory
27
28
  from airflow.providers.google.version_compat import BaseOperator
28
29
 
@@ -26,7 +26,7 @@ from google.api_core.exceptions import Conflict
26
26
  from google.cloud.bigquery import DEFAULT_RETRY, UnknownJob
27
27
 
28
28
  from airflow.configuration import conf
29
- from airflow.exceptions import AirflowException
29
+ from airflow.providers.common.compat.sdk import AirflowException
30
30
  from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook, BigQueryJob
31
31
  from airflow.providers.google.cloud.links.bigquery import BigQueryTableLink
32
32
  from airflow.providers.google.cloud.triggers.bigquery import BigQueryInsertJobTrigger
@@ -87,6 +87,7 @@ class BigQueryToGCSOperator(BaseOperator):
87
87
  :param reattach_states: Set of BigQuery job's states in case of which we should reattach
88
88
  to the job. Should be other than final states.
89
89
  :param deferrable: Run operator in the deferrable mode
90
+ :return: URIs for the objects created in Google Cloud Storage
90
91
  """
91
92
 
92
93
  template_fields: Sequence[str] = (
@@ -275,6 +276,8 @@ class BigQueryToGCSOperator(BaseOperator):
275
276
  else:
276
277
  job.result(timeout=self.result_timeout, retry=self.result_retry)
277
278
 
279
+ return self.destination_cloud_storage_uris
280
+
278
281
  def execute_complete(self, context: Context, event: dict[str, Any]):
279
282
  """
280
283
  Return immediately and relies on trigger to throw a success event. Callback for the trigger.
@@ -291,6 +294,8 @@ class BigQueryToGCSOperator(BaseOperator):
291
294
  # Save job_id as an attribute to be later used by listeners
292
295
  self.job_id = event.get("job_id")
293
296
 
297
+ return self.destination_cloud_storage_uris
298
+
294
299
  def get_openlineage_facets_on_complete(self, task_instance):
295
300
  """Implement on_complete as we will include final BQ job id."""
296
301
  from airflow.providers.common.compat.openlineage.facet import (
@@ -30,8 +30,8 @@ from uuid import UUID
30
30
 
31
31
  from cassandra.util import Date, OrderedMapSerializedKey, SortedSet, Time
32
32
 
33
- from airflow.exceptions import AirflowException
34
33
  from airflow.providers.apache.cassandra.hooks.cassandra import CassandraHook
34
+ from airflow.providers.common.compat.sdk import AirflowException
35
35
  from airflow.providers.google.cloud.hooks.gcs import GCSHook
36
36
  from airflow.providers.google.version_compat import BaseOperator
37
37
 
@@ -25,7 +25,7 @@ from collections.abc import Sequence
25
25
  from enum import Enum
26
26
  from typing import TYPE_CHECKING, Any
27
27
 
28
- from airflow.exceptions import AirflowException
28
+ from airflow.providers.common.compat.sdk import AirflowException
29
29
  from airflow.providers.facebook.ads.hooks.ads import FacebookAdsReportingHook
30
30
  from airflow.providers.google.cloud.hooks.gcs import GCSHook
31
31
  from airflow.providers.google.version_compat import BaseOperator
@@ -37,7 +37,7 @@ from google.cloud.bigquery import (
37
37
  from google.cloud.bigquery.table import EncryptionConfiguration, Table, TableReference
38
38
 
39
39
  from airflow.configuration import conf
40
- from airflow.exceptions import AirflowException
40
+ from airflow.providers.common.compat.sdk import AirflowException
41
41
  from airflow.providers.google.cloud.hooks.bigquery import BigQueryHook, BigQueryJob
42
42
  from airflow.providers.google.cloud.hooks.gcs import GCSHook
43
43
  from airflow.providers.google.cloud.links.bigquery import BigQueryTableLink
@@ -23,7 +23,8 @@ import warnings
23
23
  from collections.abc import Sequence
24
24
  from typing import TYPE_CHECKING
25
25
 
26
- from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
26
+ from airflow.exceptions import AirflowProviderDeprecationWarning
27
+ from airflow.providers.common.compat.sdk import AirflowException
27
28
  from airflow.providers.google.cloud.hooks.gcs import GCSHook
28
29
  from airflow.providers.google.version_compat import BaseOperator
29
30
 
@@ -19,7 +19,7 @@ from __future__ import annotations
19
19
  from collections.abc import Sequence
20
20
  from typing import TYPE_CHECKING
21
21
 
22
- from airflow.exceptions import AirflowException
22
+ from airflow.providers.common.compat.sdk import AirflowException
23
23
  from airflow.providers.google.cloud.hooks.gcs import GCSHook
24
24
  from airflow.providers.google.version_compat import BaseOperator
25
25
 
@@ -25,7 +25,7 @@ from functools import cached_property
25
25
  from tempfile import NamedTemporaryFile
26
26
  from typing import TYPE_CHECKING
27
27
 
28
- from airflow.exceptions import AirflowException
28
+ from airflow.providers.common.compat.sdk import AirflowException
29
29
  from airflow.providers.google.cloud.hooks.gcs import GCSHook
30
30
  from airflow.providers.google.version_compat import BaseOperator
31
31
  from airflow.providers.sftp.hooks.sftp import SFTPHook
@@ -23,8 +23,8 @@ from tempfile import NamedTemporaryFile
23
23
  from typing import TYPE_CHECKING, Any
24
24
 
25
25
  from airflow.configuration import conf
26
- from airflow.exceptions import AirflowException
27
26
  from airflow.providers.amazon.aws.hooks.s3 import S3Hook
27
+ from airflow.providers.common.compat.sdk import AirflowException
28
28
  from airflow.providers.google.cloud.hooks.cloud_storage_transfer_service import (
29
29
  ACCESS_KEY_ID,
30
30
  AWS_ACCESS_KEY,
@@ -25,7 +25,7 @@ from functools import cached_property
25
25
  from tempfile import NamedTemporaryFile
26
26
  from typing import TYPE_CHECKING
27
27
 
28
- from airflow.exceptions import AirflowException
28
+ from airflow.providers.common.compat.sdk import AirflowException
29
29
  from airflow.providers.google.cloud.hooks.gcs import GCSHook
30
30
  from airflow.providers.google.version_compat import BaseOperator
31
31
  from airflow.providers.sftp.hooks.sftp import SFTPHook
@@ -24,7 +24,7 @@ from aiohttp import ClientSession
24
24
  from aiohttp.client_exceptions import ClientResponseError
25
25
  from asgiref.sync import sync_to_async
26
26
 
27
- from airflow.exceptions import AirflowException
27
+ from airflow.providers.common.compat.sdk import AirflowException
28
28
  from airflow.providers.google.cloud.hooks.bigquery import BigQueryAsyncHook, BigQueryTableAsyncHook
29
29
  from airflow.providers.google.version_compat import AIRFLOW_V_3_0_PLUS
30
30
  from airflow.triggers.base import BaseTrigger, TriggerEvent
@@ -28,7 +28,7 @@ from dateutil import parser
28
28
  from google.api_core.exceptions import NotFound
29
29
  from google.cloud.orchestration.airflow.service_v1.types import ExecuteAirflowCommandResponse
30
30
 
31
- from airflow.exceptions import AirflowException
31
+ from airflow.providers.common.compat.sdk import AirflowException
32
32
  from airflow.providers.google.cloud.hooks.cloud_composer import CloudComposerAsyncHook
33
33
  from airflow.triggers.base import BaseTrigger, TriggerEvent
34
34
 
@@ -21,7 +21,7 @@ from collections.abc import AsyncIterator, Sequence
21
21
  from enum import Enum
22
22
  from typing import TYPE_CHECKING, Any
23
23
 
24
- from airflow.exceptions import AirflowException
24
+ from airflow.providers.common.compat.sdk import AirflowException
25
25
  from airflow.providers.google.cloud.hooks.cloud_run import CloudRunAsyncHook
26
26
  from airflow.triggers.base import BaseTrigger, TriggerEvent
27
27
 
@@ -25,7 +25,7 @@ from google.api_core.exceptions import GoogleAPIError
25
25
  from google.cloud.storage_transfer_v1.types import TransferOperation
26
26
  from google.protobuf.json_format import MessageToDict
27
27
 
28
- from airflow.exceptions import AirflowException
28
+ from airflow.providers.common.compat.sdk import AirflowException
29
29
  from airflow.providers.google.cloud.hooks.cloud_storage_transfer_service import (
30
30
  CloudDataTransferServiceAsyncHook,
31
31
  GcpTransferOperationStatus,
@@ -29,7 +29,7 @@ from asgiref.sync import sync_to_async
29
29
  from google.api_core.exceptions import NotFound
30
30
  from google.cloud.dataproc_v1 import Batch, Cluster, ClusterStatus, Job, JobStatus
31
31
 
32
- from airflow.exceptions import AirflowException
32
+ from airflow.providers.common.compat.sdk import AirflowException
33
33
  from airflow.providers.google.cloud.hooks.dataproc import DataprocAsyncHook, DataprocHook
34
34
  from airflow.providers.google.cloud.utils.dataproc import DataprocOperationType
35
35
  from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
@@ -26,10 +26,11 @@ from typing import TYPE_CHECKING, Any
26
26
  from google.cloud.container_v1.types import Operation
27
27
  from packaging.version import parse as parse_version
28
28
 
29
- from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
29
+ from airflow.exceptions import AirflowProviderDeprecationWarning
30
30
  from airflow.providers.cncf.kubernetes.triggers.pod import KubernetesPodTrigger
31
31
  from airflow.providers.cncf.kubernetes.utils.pod_manager import OnFinishAction, PodManager
32
32
  from airflow.providers.cncf.kubernetes.utils.xcom_sidecar import PodDefaults
33
+ from airflow.providers.common.compat.sdk import AirflowException
33
34
  from airflow.providers.google.cloud.hooks.kubernetes_engine import (
34
35
  GKEAsyncHook,
35
36
  GKEKubernetesAsyncHook,
@@ -28,7 +28,7 @@ from google.cloud.aiplatform_v1 import (
28
28
  types,
29
29
  )
30
30
 
31
- from airflow.exceptions import AirflowException
31
+ from airflow.providers.common.compat.sdk import AirflowException
32
32
  from airflow.providers.google.cloud.hooks.vertex_ai.batch_prediction_job import BatchPredictionJobAsyncHook
33
33
  from airflow.providers.google.cloud.hooks.vertex_ai.custom_job import CustomJobAsyncHook
34
34
  from airflow.providers.google.cloud.hooks.vertex_ai.hyperparameter_tuning_job import (
@@ -33,7 +33,7 @@ from google.auth import impersonated_credentials
33
33
  from google.auth.credentials import AnonymousCredentials, Credentials
34
34
  from google.auth.environment_vars import CREDENTIALS, LEGACY_PROJECT, PROJECT
35
35
 
36
- from airflow.exceptions import AirflowException
36
+ from airflow.providers.common.compat.sdk import AirflowException
37
37
  from airflow.providers.google.cloud._internal_client.secret_manager_client import _SecretManagerClient
38
38
  from airflow.providers.google.cloud.utils.external_token_supplier import (
39
39
  ClientCredentialsGrantFlowTokenSupplier,
@@ -100,7 +100,7 @@ components in all elements of the array.
100
100
 
101
101
  from __future__ import annotations
102
102
 
103
- from airflow.exceptions import AirflowException
103
+ from airflow.providers.common.compat.sdk import AirflowException
104
104
  from airflow.utils.log.logging_mixin import LoggingMixin
105
105
 
106
106
 
@@ -136,7 +136,7 @@ from __future__ import annotations
136
136
  import re
137
137
  from collections.abc import Callable, Sequence
138
138
 
139
- from airflow.exceptions import AirflowException
139
+ from airflow.providers.common.compat.sdk import AirflowException
140
140
  from airflow.utils.log.logging_mixin import LoggingMixin
141
141
 
142
142
  COMPOSITE_FIELD_TYPES = ["union", "dict", "list"]
@@ -48,8 +48,7 @@ from googleapiclient.http import MediaIoBaseDownload, build_http, set_user_agent
48
48
  from requests import Session
49
49
 
50
50
  from airflow import version
51
- from airflow.exceptions import AirflowException
52
- from airflow.providers.common.compat.sdk import BaseHook
51
+ from airflow.providers.common.compat.sdk import AirflowException, BaseHook
53
52
  from airflow.providers.google.cloud.utils.credentials_provider import (
54
53
  _get_scopes,
55
54
  _get_target_principal_and_delegates,
@@ -23,7 +23,7 @@ from typing import TYPE_CHECKING
23
23
 
24
24
  from google.api_core.exceptions import GoogleAPICallError
25
25
 
26
- from airflow.exceptions import AirflowException
26
+ from airflow.providers.common.compat.sdk import AirflowException
27
27
 
28
28
  if TYPE_CHECKING:
29
29
  from google.api_core.operation import Operation
@@ -24,7 +24,7 @@ from collections.abc import Sequence
24
24
 
25
25
  from googleapiclient.discovery import build, build_from_document
26
26
 
27
- from airflow.exceptions import AirflowException
27
+ from airflow.providers.common.compat.sdk import AirflowException
28
28
  from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID, GoogleBaseHook
29
29
 
30
30
  # Time to sleep between active checks of the operation results
@@ -19,7 +19,7 @@ from __future__ import annotations
19
19
  from collections.abc import Sequence
20
20
  from typing import TYPE_CHECKING
21
21
 
22
- from airflow.exceptions import AirflowException
22
+ from airflow.providers.common.compat.sdk import AirflowException
23
23
  from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID
24
24
  from airflow.providers.google.firebase.hooks.firestore import CloudFirestoreHook
25
25
  from airflow.providers.google.version_compat import BaseOperator
@@ -20,8 +20,8 @@ from __future__ import annotations
20
20
 
21
21
  from typing import Any
22
22
 
23
- from airflow.exceptions import AirflowException, AirflowOptionalProviderFeatureException
24
- from airflow.providers.common.compat.sdk import BaseHook
23
+ from airflow.exceptions import AirflowOptionalProviderFeatureException
24
+ from airflow.providers.common.compat.sdk import AirflowException, BaseHook
25
25
 
26
26
  try:
27
27
  import plyvel
@@ -24,7 +24,7 @@ from typing import TYPE_CHECKING, Any
24
24
 
25
25
  from googleapiclient.discovery import Resource, build
26
26
 
27
- from airflow.exceptions import AirflowException
27
+ from airflow.providers.common.compat.sdk import AirflowException
28
28
  from airflow.providers.google.common.hooks.base_google import GoogleBaseHook
29
29
 
30
30
  if TYPE_CHECKING:
@@ -26,7 +26,7 @@ from typing import TYPE_CHECKING, Any
26
26
  from google.oauth2.credentials import Credentials
27
27
  from googleapiclient.discovery import build
28
28
 
29
- from airflow.exceptions import AirflowException
29
+ from airflow.providers.common.compat.sdk import AirflowException
30
30
  from airflow.providers.google.common.hooks.base_google import GoogleBaseHook
31
31
 
32
32
  if TYPE_CHECKING:
@@ -30,7 +30,7 @@ from google.analytics.admin_v1beta import (
30
30
  )
31
31
  from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
32
32
 
33
- from airflow.exceptions import AirflowNotFoundException
33
+ from airflow.providers.common.compat.sdk import AirflowNotFoundException
34
34
  from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
35
35
  from airflow.providers.google.marketing_platform.hooks.analytics_admin import GoogleAnalyticsAdminHook
36
36
  from airflow.providers.google.marketing_platform.links.analytics_admin import GoogleAnalyticsPropertyLink
@@ -27,7 +27,7 @@ from typing import TYPE_CHECKING, Any
27
27
 
28
28
  from googleapiclient import http
29
29
 
30
- from airflow.exceptions import AirflowException
30
+ from airflow.providers.common.compat.sdk import AirflowException
31
31
  from airflow.providers.google.cloud.hooks.gcs import GCSHook
32
32
  from airflow.providers.google.marketing_platform.hooks.campaign_manager import GoogleCampaignManagerHook
33
33
  from airflow.providers.google.version_compat import BaseOperator
@@ -21,8 +21,7 @@ from __future__ import annotations
21
21
  from collections.abc import Sequence
22
22
  from typing import TYPE_CHECKING
23
23
 
24
- from airflow.exceptions import AirflowException
25
- from airflow.providers.common.compat.sdk import BaseSensorOperator
24
+ from airflow.providers.common.compat.sdk import AirflowException, BaseSensorOperator
26
25
  from airflow.providers.google.marketing_platform.hooks.display_video import GoogleDisplayVideo360Hook
27
26
 
28
27
  if TYPE_CHECKING:
@@ -24,7 +24,7 @@ from typing import TYPE_CHECKING, Any
24
24
 
25
25
  from googleapiclient.discovery import build
26
26
 
27
- from airflow.exceptions import AirflowException
27
+ from airflow.providers.common.compat.sdk import AirflowException
28
28
  from airflow.providers.google.common.hooks.base_google import GoogleBaseHook
29
29
 
30
30
  if TYPE_CHECKING:
@@ -25,7 +25,7 @@ from typing import Any
25
25
  from google.api_core.client_options import ClientOptions
26
26
  from googleapiclient.discovery import build
27
27
 
28
- from airflow.exceptions import AirflowException
28
+ from airflow.providers.common.compat.sdk import AirflowException
29
29
  from airflow.providers.google.common.hooks.base_google import GoogleBaseHook
30
30
 
31
31
 
@@ -23,7 +23,7 @@ import tempfile
23
23
  from collections.abc import Sequence
24
24
  from typing import TYPE_CHECKING
25
25
 
26
- from airflow.exceptions import AirflowException
26
+ from airflow.providers.common.compat.sdk import AirflowException
27
27
  from airflow.providers.google.cloud.hooks.gcs import GCSHook
28
28
  from airflow.providers.google.suite.hooks.drive import GoogleDriveHook
29
29
  from airflow.providers.google.version_compat import BaseOperator
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apache-airflow-providers-google
3
- Version: 19.1.0rc1
3
+ Version: 19.3.0
4
4
  Summary: Provider package apache-airflow-providers-google for Apache Airflow
5
5
  Keywords: airflow-provider,google,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -22,9 +22,9 @@ Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Topic :: System :: Monitoring
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: apache-airflow>=2.11.0rc1
26
- Requires-Dist: apache-airflow-providers-common-compat>=1.8.0rc1
27
- Requires-Dist: apache-airflow-providers-common-sql>=1.27.0rc1
25
+ Requires-Dist: apache-airflow>=2.11.0
26
+ Requires-Dist: apache-airflow-providers-common-compat>=1.10.1
27
+ Requires-Dist: apache-airflow-providers-common-sql>=1.27.0
28
28
  Requires-Dist: asgiref>=3.5.2
29
29
  Requires-Dist: dill>=0.2.3
30
30
  Requires-Dist: gcloud-aio-auth>=5.2.0
@@ -63,7 +63,7 @@ Requires-Dist: google-cloud-memcache>=1.7.0
63
63
  Requires-Dist: google-cloud-monitoring>=2.18.0
64
64
  Requires-Dist: google-cloud-orchestration-airflow>=1.10.0
65
65
  Requires-Dist: google-cloud-os-login>=2.9.1
66
- Requires-Dist: google-cloud-pubsub>=2.21.3
66
+ Requires-Dist: google-cloud-pubsub>=2.24.0
67
67
  Requires-Dist: google-cloud-redis>=2.12.0
68
68
  Requires-Dist: google-cloud-secret-manager>=2.16.0
69
69
  Requires-Dist: google-cloud-spanner>=3.50.0
@@ -94,20 +94,20 @@ Requires-Dist: sqlalchemy-spanner>=1.6.2
94
94
  Requires-Dist: tenacity>=8.3.0
95
95
  Requires-Dist: immutabledict>=4.2.0
96
96
  Requires-Dist: types-protobuf!=5.29.1.20250402,>=5.27.0
97
- Requires-Dist: apache-airflow-providers-amazon>=2.6.0rc1 ; extra == "amazon"
97
+ Requires-Dist: apache-airflow-providers-amazon>=2.6.0 ; extra == "amazon"
98
98
  Requires-Dist: apache-beam[gcp]>=2.53.0 ; extra == "apache-beam" and ( python_version < "3.12")
99
99
  Requires-Dist: apache-beam[gcp]>=2.57.0 ; extra == "apache-beam" and ( python_version >= "3.12" and python_version < "3.13")
100
100
  Requires-Dist: apache-airflow-providers-apache-cassandra ; extra == "apache-cassandra"
101
- Requires-Dist: apache-airflow-providers-cncf-kubernetes>=10.1.0rc1 ; extra == "cncf-kubernetes"
102
- Requires-Dist: apache-airflow-providers-fab>=2.0.0rc1 ; extra == "fab" and ( python_version < '3.13')
103
- Requires-Dist: apache-airflow-providers-facebook>=2.2.0rc1 ; extra == "facebook"
101
+ Requires-Dist: apache-airflow-providers-cncf-kubernetes>=10.1.0 ; extra == "cncf-kubernetes"
102
+ Requires-Dist: apache-airflow-providers-fab>=2.0.0 ; extra == "fab" and ( python_version < '3.13')
103
+ Requires-Dist: apache-airflow-providers-facebook>=2.2.0 ; extra == "facebook"
104
104
  Requires-Dist: apache-airflow-providers-http ; extra == "http"
105
105
  Requires-Dist: plyvel>=1.5.1 ; extra == "leveldb" and ( python_version < '3.13')
106
106
  Requires-Dist: apache-airflow-providers-microsoft-azure ; extra == "microsoft-azure"
107
107
  Requires-Dist: apache-airflow-providers-microsoft-mssql ; extra == "microsoft-mssql"
108
108
  Requires-Dist: apache-airflow-providers-mysql ; extra == "mysql"
109
109
  Requires-Dist: apache-airflow-providers-openlineage ; extra == "openlineage"
110
- Requires-Dist: apache-airflow-providers-oracle>=3.1.0rc1 ; extra == "oracle"
110
+ Requires-Dist: apache-airflow-providers-oracle>=3.1.0 ; extra == "oracle"
111
111
  Requires-Dist: apache-airflow-providers-postgres ; extra == "postgres"
112
112
  Requires-Dist: apache-airflow-providers-presto ; extra == "presto"
113
113
  Requires-Dist: apache-airflow-providers-salesforce ; extra == "salesforce"
@@ -116,8 +116,8 @@ Requires-Dist: apache-airflow-providers-ssh ; extra == "ssh"
116
116
  Requires-Dist: apache-airflow-providers-standard ; extra == "standard"
117
117
  Requires-Dist: apache-airflow-providers-trino ; extra == "trino"
118
118
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
119
- Project-URL: Changelog, https://airflow.staged.apache.org/docs/apache-airflow-providers-google/19.1.0/changelog.html
120
- Project-URL: Documentation, https://airflow.staged.apache.org/docs/apache-airflow-providers-google/19.1.0
119
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-google/19.3.0/changelog.html
120
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-google/19.3.0
121
121
  Project-URL: Mastodon, https://fosstodon.org/@airflow
122
122
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
123
123
  Project-URL: Source Code, https://github.com/apache/airflow
@@ -168,7 +168,7 @@ Provides-Extra: trino
168
168
 
169
169
  Package ``apache-airflow-providers-google``
170
170
 
171
- Release: ``19.1.0``
171
+ Release: ``19.3.0``
172
172
 
173
173
 
174
174
  Google services including:
@@ -188,7 +188,7 @@ This is a provider package for ``google`` provider. All classes for this provide
188
188
  are in ``airflow.providers.google`` python package.
189
189
 
190
190
  You can find package information and changelog for the provider
191
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-google/19.1.0/>`_.
191
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-google/19.3.0/>`_.
192
192
 
193
193
  Installation
194
194
  ------------
@@ -206,7 +206,7 @@ Requirements
206
206
  PIP package Version required
207
207
  ========================================== ======================================
208
208
  ``apache-airflow`` ``>=2.11.0``
209
- ``apache-airflow-providers-common-compat`` ``>=1.8.0``
209
+ ``apache-airflow-providers-common-compat`` ``>=1.10.1``
210
210
  ``apache-airflow-providers-common-sql`` ``>=1.27.0``
211
211
  ``asgiref`` ``>=3.5.2``
212
212
  ``dill`` ``>=0.2.3``
@@ -246,7 +246,7 @@ PIP package Version required
246
246
  ``google-cloud-monitoring`` ``>=2.18.0``
247
247
  ``google-cloud-orchestration-airflow`` ``>=1.10.0``
248
248
  ``google-cloud-os-login`` ``>=2.9.1``
249
- ``google-cloud-pubsub`` ``>=2.21.3``
249
+ ``google-cloud-pubsub`` ``>=2.24.0``
250
250
  ``google-cloud-redis`` ``>=2.12.0``
251
251
  ``google-cloud-secret-manager`` ``>=2.16.0``
252
252
  ``google-cloud-spanner`` ``>=3.50.0``
@@ -346,5 +346,5 @@ Extra Dependencies
346
346
  ==================== =========================================================================================================================================
347
347
 
348
348
  The changelog for the provider package can be found in the
349
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-google/19.1.0/changelog.html>`_.
349
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-google/19.3.0/changelog.html>`_.
350
350