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 webpage provides documentation for the Google Cloud Batch C++ client library, with version 2.21.0 being the current version discussed on the page, and 2.37.0-rc being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe content includes links to documentation for various versions of the Batch service, ranging from version 2.11.0 up to the most recent release candidate 2.37.0-rc, with 2.21.0 being the central focus.\u003c/p\u003e\n"],["\u003cp\u003eKey classes documented on this page are \u003ccode\u003eBatchServiceClient\u003c/code\u003e and \u003ccode\u003eBatchServiceConnection\u003c/code\u003e, including other related classes that handle retry and connection policies such as \u003ccode\u003eBatchServiceConnectionIdempotencyPolicy\u003c/code\u003e, \u003ccode\u003eBatchServiceRetryPolicy\u003c/code\u003e, and their variants.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes details on how to create a \u003ccode\u003eBatchServiceConnection\u003c/code\u003e using the \u003ccode\u003eMakeBatchServiceConnection\u003c/code\u003e function, as well as how to configure the connection using different option lists like \u003ccode\u003eCommonOptionList\u003c/code\u003e, \u003ccode\u003eGrpcOptionList\u003c/code\u003e, \u003ccode\u003eUnifiedCredentialsOptionList\u003c/code\u003e, and \u003ccode\u003eBatchServicePolicyOptionList\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe content details the usage of various structs, such as \u003ccode\u003eBatchServiceBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eBatchServiceConnectionIdempotencyPolicyOption\u003c/code\u003e, \u003ccode\u003eBatchServicePollingPolicyOption\u003c/code\u003e, \u003ccode\u003eBatchServiceRetryPolicyOption\u003c/code\u003e and the type alias \u003ccode\u003eBatchServicePolicyOptionList\u003c/code\u003e to facilitate the configuration and management of Batch service interactions.\u003c/p\u003e\n"]]],[],null,[]]