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-08-14 UTC."],[[["\u003cp\u003eThis document provides reference information for multiple versions of the Google Cloud Datastore C++ client library, ranging from version 2.15.1 to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe document details the classes available in the 2.26.0 version, such as \u003ccode\u003eDatastoreClient\u003c/code\u003e, \u003ccode\u003eDatastoreConnection\u003c/code\u003e, and various policy classes for retries and idempotency.\u003c/p\u003e\n"],["\u003cp\u003eStructs like \u003ccode\u003eDatastoreBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eDatastoreConnectionIdempotencyPolicyOption\u003c/code\u003e, and \u003ccode\u003eDatastoreRetryPolicyOption\u003c/code\u003e are detailed, which are used to configure retry and backoff policies.\u003c/p\u003e\n"],["\u003cp\u003eThe document describes the \u003ccode\u003eMakeDatastoreConnection\u003c/code\u003e factory function, which creates a \u003ccode\u003eDatastoreConnection\u003c/code\u003e object, and is used to create a \u003ccode\u003eDatastoreClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeDefaultDatastoreConnectionIdempotencyPolicy\u003c/code\u003e function is explained as well as it's return type.\u003c/p\u003e\n"]]],[],null,[]]