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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis document details the \u003ccode\u003eLoggingServiceV2Connection\u003c/code\u003e interface, which provides virtual methods mirroring the user-facing overload sets found in \u003ccode\u003eLoggingServiceV2Client\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe interface allows for custom behavior injection during testing by using objects such as Google Mock objects with the \u003ccode\u003eLoggingServiceV2Client\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release is version 2.37.0-rc, with numerous previous versions from 2.36.0 all the way back to 2.11.0 being available, each with its own reference page.\u003c/p\u003e\n"],["\u003cp\u003eThe interface includes virtual functions for \u003ccode\u003eDeleteLog\u003c/code\u003e, \u003ccode\u003eWriteLogEntries\u003c/code\u003e, \u003ccode\u003eListLogEntries\u003c/code\u003e, \u003ccode\u003eListMonitoredResourceDescriptors\u003c/code\u003e, \u003ccode\u003eListLogs\u003c/code\u003e, \u003ccode\u003eAsyncTailLogEntries\u003c/code\u003e, and \u003ccode\u003eAsyncWriteLogEntries\u003c/code\u003e among other functions.\u003c/p\u003e\n"],["\u003cp\u003eTo create a concrete instance of the connection class, \u003ccode\u003eMakeLoggingServiceV2Connection()\u003c/code\u003e should be used and \u003ccode\u003elogging_v2_mocks::MockLoggingServiceV2Connection\u003c/code\u003e for mocking.\u003c/p\u003e\n"]]],[],null,[]]