class Google::Cloud::Bigquery::Credentials

# Credentials

Represents the authentication and authorization used to connect to the BigQuery API.

@example

require "google/cloud/bigquery"

keyfile = "/path/to/keyfile.json"
creds = Google::Cloud::Bigquery::Credentials.new keyfile

bigquery = Google::Cloud::Bigquery.new(
  project_id: "my-project",
  credentials: creds
)

bigquery.project_id #=> "my-project"

Constants

DEFAULT_PATHS
JSON_ENV_VARS
PATH_ENV_VARS
SCOPE