This interface defines virtual methods for each of the user-facing overload sets in LoggingServiceV2Client. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type LoggingServiceV2Client.
[[["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-04-17 UTC."],[[["This webpage provides documentation for the `LoggingServiceV2Connection` class, which is part of the Google Cloud Logging C++ client library and offers an interface to interact with the `LoggingServiceV2Client`."],["The page lists multiple versions of the `LoggingServiceV2Connection` class, ranging from version 2.37.0-rc (latest) down to version 2.11.0, showing the evolution and changes of the interface."],["`LoggingServiceV2Connection` enables users to define custom behaviors, typically through mocking, when writing tests that involve `LoggingServiceV2Client`."],["The documentation details the virtual methods available within `LoggingServiceV2Connection`, including functions such as `DeleteLog`, `WriteLogEntries`, `ListLogEntries`, `ListMonitoredResourceDescriptors`, `ListLogs`, `AsyncTailLogEntries`, and `AsyncWriteLogEntries`, each with parameters and return types."],["Users can create concrete instances of this interface using `MakeLoggingServiceV2Connection()` or create mocks using `logging_v2_mocks::MockLoggingServiceV2Connection` for testing purposes."]]],[]]