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-03-14 UTC."],[[["This page details the `LoggingServiceV2Connection` object, which is used with the `LoggingServiceV2Client` for interacting with logging services."],["The `LoggingServiceV2Connection` interface allows for injecting custom behavior in tests, such as using Google Mock objects, through virtual methods."],["The `MakeLoggingServiceV2Connection()` function is available for creating a concrete instance of this connection, and `logging_v2_mocks::MockLoggingServiceV2Connection` is provided for mocking purposes."],["The interface includes several virtual functions for logging operations, such as `DeleteLog`, `WriteLogEntries`, `ListLogEntries`, `ListMonitoredResourceDescriptors`, `ListLogs`, `AsyncTailLogEntries`, and `AsyncWriteLogEntries`."],["The latest version available is 2.37.0-rc, and there is a list of previous versions going down to version 2.11.0, each linking to the `LoggingServiceV2Connection` documentation for that specific version."]]],[]]