google.cloud.hooks.gcs

This module contains a Google Cloud Storage hook.

Module Contents

Classes

GCSHookAsync

Abstract base class for hooks, hooks are meant as an interface to

Attributes

DEFAULT_TIMEOUT

google.cloud.hooks.gcs.DEFAULT_TIMEOUT = 60
class google.cloud.hooks.gcs.GCSHookAsync(**kwargs)

Bases: astronomer.providers.google.common.hooks.base_google.GoogleBaseHookAsync

Abstract base class for hooks, hooks are meant as an interface to interact with external systems. MySqlHook, HiveHook, PigHook return object that can handle the connection and interaction to specific instances of these systems, and expose consistent methods to interact with them.

sync_hook_class
async get_storage_client(self, session)

Returns a Google Cloud Storage service object.