The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of BatchServiceClient.
The optional options argument may be used to configure aspects of the returned BatchServiceConnection. 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 Batch C++ client library, specifically version 2.31.0, and offers links to documentation for other versions, including the latest release candidate (2.37.0-rc).\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes information on core classes such as \u003ccode\u003eBatchServiceClient\u003c/code\u003e, \u003ccode\u003eBatchServiceConnection\u003c/code\u003e, and various retry and idempotency policies like \u003ccode\u003eBatchServiceConnectionIdempotencyPolicy\u003c/code\u003e, \u003ccode\u003eBatchServiceLimitedErrorCountRetryPolicy\u003c/code\u003e, and \u003ccode\u003eBatchServiceLimitedTimeRetryPolicy\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page also details several structs used for configuration, including \u003ccode\u003eBatchServiceBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eBatchServiceConnectionIdempotencyPolicyOption\u003c/code\u003e, \u003ccode\u003eBatchServicePollingPolicyOption\u003c/code\u003e, and \u003ccode\u003eBatchServiceRetryPolicyOption\u003c/code\u003e, all of which are designed to be used with \u003ccode\u003egoogle::cloud::Options\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA factory function \u003ccode\u003eMakeBatchServiceConnection(Options)\u003c/code\u003e is provided to construct \u003ccode\u003eBatchServiceConnection\u003c/code\u003e objects, where the function takes optional parameters for the configurations of the Batch Service Connection.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeDefaultBatchServiceConnectionIdempotencyPolicy()\u003c/code\u003e function is provided to return a pointer to a \u003ccode\u003eBatchServiceConnectionIdempotencyPolicy\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]