napkin-backend-bigquery-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Auth.GoogleEnvironment

Synopsis

Documentation

type BigQueryScopes = '["https://www.googleapis.com/auth/bigquery", "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/cloud-platform.read-only", "https://www.googleapis.com/auth/devstorage.full_control", "https://www.googleapis.com/auth/devstorage.read_only", "https://www.googleapis.com/auth/devstorage.read_write"] #

makeGoogleEnvWithCredentials :: (MonadIO m, MonadCatch m, Katip m) => Maybe Text -> Maybe Seconds -> Maybe Seconds -> Credentials BigQueryScopes -> m GoogleEnv #

Creates a google env with the scopes required for bigquery ops