class Google::Cloud::ErrorReporting::Credentials

# Credentials

Represents the authentication and authorization used to connect to the Stackdriver Error Reporting service.

@example

require "google/cloud/error_reporting"

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

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

error_reporting.project_id #=> "my-project"