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 document outlines the `CloudTasksConnection` object, which interfaces with `CloudTasksClient` and is used to define virtual methods for various Cloud Tasks operations."],["The `CloudTasksConnection` allows for the injection of custom behaviors in tests, such as using a Google Mock object, for objects of type `CloudTasksClient`."],["A concrete instance of `CloudTasksConnection` can be created using the `MakeCloudTasksConnection()` function, while a mock instance can be utilized through `tasks_v2_mocks::MockCloudTasksConnection`."],["The interface includes virtual methods for managing queues and tasks, including listing, getting, creating, updating, deleting, purging, pausing, and resuming queues, along with methods to get, create, delete, and run tasks."],["The document also includes the ability to manage IAM policies and list/get locations, using their own virtual methods."]]],[]]