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 C++ reference documentation for Google Cloud Datastore, offering a range of versions from 2.15.1 up to the latest release candidate, 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers several classes, including \u003ccode\u003eDatastoreClient\u003c/code\u003e and \u003ccode\u003eDatastoreConnection\u003c/code\u003e, which are fundamental components for interacting with Google Cloud Datastore.\u003c/p\u003e\n"],["\u003cp\u003eSeveral structs, such as \u003ccode\u003eDatastoreBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eDatastoreConnectionIdempotencyPolicyOption\u003c/code\u003e, and \u003ccode\u003eDatastoreRetryPolicyOption\u003c/code\u003e are described for custom configurations of the connection and requests.\u003c/p\u003e\n"],["\u003cp\u003eKey functions like \u003ccode\u003eMakeDatastoreConnection\u003c/code\u003e facilitate the creation of a \u003ccode\u003eDatastoreConnection\u003c/code\u003e object, which requires options for the created connection to be configured from a predefined list.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakeDefaultDatastoreConnectionIdempotencyPolicy\u003c/code\u003e is a function for creating a default policy, it returns a \u003ccode\u003estd::unique_ptr\u003c/code\u003e of the DatastoreConnectionIdempotencyPolicy.\u003c/p\u003e\n"]]],[],null,[]]