2.14.1 (latest) 2.14.0 2.13.1 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.1 2.6.0 2.5.0 2.4.0 2.3.1 2.2.4 Reference documentation and code samples for the Firestore in Datastore mode API class Google::Cloud::Datastore::Credentials.

## Credentials

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

## Inherits

- Google::Cloud::Datastore::V1::Datastore::Credentials

## Example

```ruby
require "google/cloud/datastore"

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

datastore = Google::Cloud::Datastore.new(
  project_id: "my-todo-project",
  credentials: creds
)

datastore.project_id #=> "my-todo-project"
```