This interface defines virtual methods for each of the user-facing overload sets in BatchServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type BatchServiceClient.
[[["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-05 UTC."],[[["The latest version available is 2.37.0-rc, with numerous other versions, down to 2.11.0, also listed for the C++ Batch service."],["The webpage focuses on the `BatchServiceConnection` object, which is used by `BatchServiceClient` to define virtual methods and allows users to inject custom behavior, such as mocking, during testing."],["`BatchServiceConnection` provides functions such as `CreateJob`, `GetJob`, `DeleteJob`, `ListJobs`, `GetTask`, and `ListTasks` to interact with the Batch service."],["Users can use `MakeBatchServiceConnection()` to create a concrete instance, or use `batch_v1_mocks::MockBatchServiceConnection` for mocking purposes in testing environments."],["The `Options` function is available to return options and each function uses specific requests, such as `CreateJobRequest` and `GetTaskRequest`, which return data such as `StatusOr\u003c google::cloud::batch::v1::Job \u003e` or `StreamRange\u003c google::cloud::batch::v1::Task \u003e`."]]],[]]