The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of DatastreamClient.
The optional options argument may be used to configure aspects of the returned DatastreamConnection. 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\u003eThe latest release candidate version for the Google Cloud Datastream C++ library is 2.37.0-rc, with a variety of previous stable versions available ranging from 2.36.0 to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDatastreamClient\u003c/code\u003e class provides the primary interface for interacting with the Datastream service, with an accompanying \u003ccode\u003eDatastreamConnection\u003c/code\u003e class to create the connection to \u003ccode\u003eDatastreamClient\u003c/code\u003e and \u003ccode\u003eDatastreamConnectionIdempotencyPolicy\u003c/code\u003e to configure which operations are retried.\u003c/p\u003e\n"],["\u003cp\u003eSeveral structs are available for configuration, including \u003ccode\u003eDatastreamBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eDatastreamConnectionIdempotencyPolicyOption\u003c/code\u003e, \u003ccode\u003eDatastreamPollingPolicyOption\u003c/code\u003e, and \u003ccode\u003eDatastreamRetryPolicyOption\u003c/code\u003e which are all used with \u003ccode\u003egoogle::cloud::Options\u003c/code\u003e for specific aspects of the Datastream service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeDatastreamConnection\u003c/code\u003e function constructs a \u003ccode\u003eDatastreamConnection\u003c/code\u003e object for \u003ccode\u003eDatastreamClient\u003c/code\u003e, allowing you to configure the connection using various option lists such as \u003ccode\u003eCommonOptionList\u003c/code\u003e, \u003ccode\u003eGrpcOptionList\u003c/code\u003e, \u003ccode\u003eUnifiedCredentialsOptionList\u003c/code\u003e, and \u003ccode\u003eDatastreamPolicyOptionList\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page also provides type aliases like \u003ccode\u003eDatastreamRetryPolicy\u003c/code\u003e, \u003ccode\u003eDatastreamLimitedTimeRetryPolicy\u003c/code\u003e, \u003ccode\u003eDatastreamLimitedErrorCountRetryPolicy\u003c/code\u003e, and \u003ccode\u003eDatastreamPolicyOptionList\u003c/code\u003e which help in defining different retry and policy options for Datastream interactions.\u003c/p\u003e\n"]]],[],null,[]]