The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of DatastoreClient.
The optional options argument may be used to configure aspects of the returned DatastoreConnection. Expected options are any of the types in the following option lists:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[[["The latest release candidate version for the Datastore API is 2.37.0-rc, while the most recent stable version listed is 2.36.0, with a range of previous versions from 2.35.0 down to 2.15.1 also available."],["Key classes provided include `DatastoreClient` for managing Datastore entities and `DatastoreConnection` for connection management, alongside associated policies like `DatastoreConnectionIdempotencyPolicy`, `DatastoreLimitedErrorCountRetryPolicy`, and `DatastoreLimitedTimeRetryPolicy`."],["Structs such as `DatastoreBackoffPolicyOption`, `DatastoreConnectionIdempotencyPolicyOption`, and `DatastoreRetryPolicyOption` are provided to configure the behavior of retry and connection policies using the `google::cloud::Options` class."],["The `MakeDatastoreConnection` function creates and configures a `DatastoreConnection` object, which should then be passed to the constructor of `DatastoreClient`, and the options used to configure it can be selected from `CommonOptionList`, `GrpcOptionList`, `UnifiedCredentialsOptionList`, and `DatastorePolicyOptionList`."],["The `MakeDefaultDatastoreConnectionIdempotencyPolicy()` function can be used to create a default `DatastoreConnectionIdempotencyPolicy`."]]],[]]