This interface defines virtual methods for each of the user-facing overload sets in JobsClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type JobsClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document outlines the `JobsConnection` interface, which defines virtual methods for each overload set in `JobsClient`, enabling custom behavior injection during testing."],["The interface supports various operations on jobs, including creating, getting, listing, updating, deleting, and running jobs, alongside policy management through `GetIamPolicy`, `SetIamPolicy`, and `TestIamPermissions`."],["`JobsConnection` can be instantiated using `MakeJobsConnection()`, and its mocked version for testing purposes is `run_v2_mocks::MockJobsConnection`."],["The available version include 2.37.0-rc as the latest version, with 2.29.0 being the current version, and many versions ranging between those values, including 2.11.0, down the list."],["Each method within the `JobsConnection` interface, like `CreateJob`, `GetJob`, and `DeleteJob`, accepts specific request objects (e.g., `CreateJobRequest`) and returns corresponding results, such as `StatusOr\u003cgoogle::cloud::run::v2::Job\u003e`, or a `google::longrunning::Operation` for asynchronous operations."]]],[]]