This interface defines virtual methods for each of the user-facing overload sets in CloudTasksClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type CloudTasksClient.
[[["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-07-26 UTC."],[[["This page details the `CloudTasksConnection` object for `CloudTasksClient`, providing a virtual interface for each user-facing overload set."],["Users can inject custom behavior into tests using `CloudTasksClient` through this interface, for example, with a Google Mock object."],["The `CloudTasksConnection` class defines various virtual methods to manage queues and tasks, such as `ListQueues`, `GetQueue`, `CreateQueue`, `ListTasks`, and `CreateTask`."],["The latest release candidate version of this service is 2.37.0-rc, whereas this page is focused on version 2.11.0."],["The `MakeCloudTasksConnection()` function and the `tasks_v2_mocks::MockCloudTasksConnection` class are provided for creating concrete instances and mocking, respectively."]]],[]]