Airflow Summit 2025 is coming October 07-09. Register now for early bird ticket!

airflow.providers.google.cloud.operators.cloud_base

This module contains a Google API base operator.

Classes

GoogleCloudBaseOperator

Abstract base class for operators using Google API client libraries.

Module Contents

class airflow.providers.google.cloud.operators.cloud_base.GoogleCloudBaseOperator(**kwargs)[source]

Bases: airflow.models.BaseOperator

Abstract base class for operators using Google API client libraries.

__deepcopy__(memo)[source]

Update the memo to fix the non-copyable global constant.

This constant can be specified in operator parameters as a retry configuration to indicate a default. See https://github.com/apache/airflow/issues/28751 for details.

Override this method to include parameters for link formatting in extra links.

For example; most of the links on the Google provider require project_id and location in the Link. To be not repeat; you can override this function and return something like the following:

{
    "project_id": self.project_id,
    "location": self.location,
}

Was this entry helpful?