Class: Google::Cloud::Debugger::Credentials

Inherits:
V2::Debugger::Credentials
  • Object
show all
Defined in:
lib/google/cloud/debugger/credentials.rb

Overview

Credentials

Represents the authentication and authorization used to connect to the Stackdriver Debugger service.

Examples:

require "google/cloud/debugger"

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

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

debugger.project_id #=> "my-project"