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 document provides a comprehensive reference for Google Cloud Tasks C++ client library, with version 2.24.0 being the current base version, and version 2.37.0-rc as the most recent version.\u003c/p\u003e\n"],["\u003cp\u003eThe library includes classes such as \u003ccode\u003eCloudTasksClient\u003c/code\u003e and \u003ccode\u003eCloudTasksConnection\u003c/code\u003e to facilitate the management of background tasks in applications.\u003c/p\u003e\n"],["\u003cp\u003eIt offers various retry policies, including \u003ccode\u003eCloudTasksLimitedErrorCountRetryPolicy\u003c/code\u003e, and \u003ccode\u003eCloudTasksLimitedTimeRetryPolicy\u003c/code\u003e, to enhance the reliability of task execution.\u003c/p\u003e\n"],["\u003cp\u003eThe document also details configuration options for managing the connection and retry behaviors, using structs like \u003ccode\u003eCloudTasksBackoffPolicyOption\u003c/code\u003e, \u003ccode\u003eCloudTasksRetryPolicyOption\u003c/code\u003e and the function \u003ccode\u003eMakeCloudTasksConnection\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe included functions, like \u003ccode\u003eMakeDefaultCloudTasksConnectionIdempotencyPolicy\u003c/code\u003e, provide tools for customizing idempotency and other operational aspects of the connection to Google Cloud Tasks.\u003c/p\u003e\n"]]],[],null,[]]