# Google Utilities


Utility functions for interacting with Google Cloud.

# Functions

top-level functions:                                                                                                                                                       

prefect.utilities.gcp.get_storage_client

(credentials=None, project=None)[source]

Utility function for instantiating a Google Storage Client from a given set of credentials.

Args:

  • credentials (dict, optional): a dictionary of Google credentials used to initialize the Client; if not provided, will attempt to load the Client using ambient environment settings
  • project (str, optional): the Google project to point the Client to; if not provided, Client defaults will be used
Returns:
  • Client: an initialized and authenticated Google Client

prefect.utilities.gcp.get_bigquery_client

(credentials=None, project=None)[source]

Utility function for instantiating a Google BigQuery Client from a given set of credentials.

Args:

  • credentials (dict, optional): a dictionary of Google credentials used to initialize the Client; if not provided, will attempt to load the Client using ambient environment settings
  • project (str, optional): the Google project to point the Client to; if not provided, Client defaults will be used
Returns:
  • Client: an initialized and authenticated Google Client

This documentation was auto-generated from commit n/a
on July 1, 2021 at 18:35 UTC