airflow.providers.google.cloud.hooks.gdm
¶
Module Contents¶
Classes¶
Interact with Google Cloud Deployment Manager using the Google Cloud connection. |
- class airflow.providers.google.cloud.hooks.gdm.GoogleDeploymentManagerHook(gcp_conn_id='google_cloud_default', delegate_to=None, impersonation_chain=None)[source]¶
Bases:
airflow.providers.google.common.hooks.base_google.GoogleBaseHook
Interact with Google Cloud Deployment Manager using the Google Cloud connection. This allows for scheduled and programmatic inspection and deletion fo resources managed by GDM.
- get_conn(self)[source]¶
Returns a Google Deployment Manager service object.
- Return type
googleapiclient.discovery.Resource
- list_deployments(self, project_id=None, deployment_filter=None, order_by=None)[source]¶
Lists deployments in a google cloud project.