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 page provides documentation for the Google Cloud Datastore C++ client library, with the latest release candidate being version 2.37.0-rc and the current documented version being 2.21.0.\u003c/p\u003e\n"],["\u003cp\u003eThe library includes classes such as \u003ccode\u003eDatastoreClient\u003c/code\u003e and \u003ccode\u003eDatastoreConnection\u003c/code\u003e for interacting with the Datastore service, as well as classes like \u003ccode\u003eDatastoreLimitedErrorCountRetryPolicy\u003c/code\u003e and \u003ccode\u003eDatastoreLimitedTimeRetryPolicy\u003c/code\u003e to manage retry behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeDatastoreConnection\u003c/code\u003e function creates a \u003ccode\u003eDatastoreConnection\u003c/code\u003e object, which can be customized using various options, including those related to common settings, gRPC, unified credentials, and Datastore-specific policies.\u003c/p\u003e\n"],["\u003cp\u003eThere are also structs for configuring policy options such as the \u003ccode\u003eDatastoreBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eDatastoreConnectionIdempotencyPolicyOption\u003c/code\u003e, and \u003ccode\u003eDatastoreRetryPolicyOption\u003c/code\u003e, all of which are able to be used with \u003ccode\u003egoogle::cloud::Options\u003c/code\u003e to further the configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDatastorePolicyOptionList\u003c/code\u003e is an alias to easily access a list of options to configure for Datastore use.\u003c/p\u003e\n"]]],[],null,[]]