class Google::Cloud::Dns::Credentials

# Credentials

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

@example

require "google/cloud/dns"

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

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

dns.project_id #=> "my-project"

Constants

DEFAULT_PATHS
JSON_ENV_VARS
PATH_ENV_VARS
SCOPE