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."],[[["This document outlines the `BatchServiceConnection` class, which defines the interface for interacting with the Google Cloud Batch service and allows for custom behavior injection during testing using `BatchServiceClient`."],["The `BatchServiceConnection` provides virtual methods for various operations, including creating, getting, deleting, and canceling jobs, as well as managing tasks and locations."],["The latest release candidate is version `2.37.0-rc`, while the current version presented in this document is `2.36.0`, and there is a list of the available previous versions going as far back as `2.11.0`."],["Mocking capabilities are supported through the `batch_v1_mocks::MockBatchServiceConnection` class, aiding in the creation of test scenarios."],["Methods like `DeleteJob` and `CancelJob` include overloads that allow for asynchronous operations using `NoAwaitTag`, providing flexibility in handling long-running tasks."]]],[]]