class Google::Cloud::Spanner::Credentials
Represents the authentication and authorization used to connect to the Spanner
API.
@example
require "google/cloud/spanner" keyfile = "/path/to/keyfile.json" creds = Google::Cloud::Spanner::Credentials.new keyfile spanner = Google::Cloud::Spanner.new( project_id: "my-project", credentials: creds ) spanner.project_id #=> "my-project"