The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of CloudTasksClient.
The optional options argument may be used to configure aspects of the returned CloudTasksConnection. 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 Tasks C++ client library, with version 2.37.0-rc being the latest release candidate and version 2.30.0 being the currently viewed documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe library allows developers to manage background task execution in their applications, using classes like \u003ccode\u003eCloudTasksClient\u003c/code\u003e and \u003ccode\u003eCloudTasksConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt also provides different ways to control how tasks are retried with error and time policies such as \u003ccode\u003eCloudTasksLimitedErrorCountRetryPolicy\u003c/code\u003e and \u003ccode\u003eCloudTasksLimitedTimeRetryPolicy\u003c/code\u003e, to name a couple.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakeCloudTasksConnection(Options)\u003c/code\u003e is a factory function that creates a \u003ccode\u003eCloudTasksConnection\u003c/code\u003e object, which is used with \u003ccode\u003eCloudTasksClient\u003c/code\u003e, and the function can be configured with several option types.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage covers configuration options for backoff, idempotency, and retry policies through structs like \u003ccode\u003eCloudTasksBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eCloudTasksConnectionIdempotencyPolicyOption\u003c/code\u003e, and \u003ccode\u003eCloudTasksRetryPolicyOption\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]