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 webpage provides documentation for the \u003ccode\u003eLoggingServiceV2Connection\u003c/code\u003e class, which is used in conjunction with \u003ccode\u003eLoggingServiceV2Client\u003c/code\u003e for interacting with Google Cloud Logging services.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists documentation links for numerous versions of the \u003ccode\u003eLoggingServiceV2Connection\u003c/code\u003e class, spanning from version 2.11.0 to 2.37.0-rc, including version 2.13.0 which the main section covers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLoggingServiceV2Connection\u003c/code\u003e class allows users to define custom behavior when testing code that uses \u003ccode\u003eLoggingServiceV2Client\u003c/code\u003e, as well as interact with the service via implemented functions.\u003c/p\u003e\n"],["\u003cp\u003eKey functionalities of \u003ccode\u003eLoggingServiceV2Connection\u003c/code\u003e include deleting logs, writing log entries, listing log entries, listing monitored resource descriptors, listing logs, tailing log entries, and asynchronously writing log entries.\u003c/p\u003e\n"],["\u003cp\u003eThe page contains links to mock class implementations for the class for testing, and a \u003ccode\u003eMakeLoggingServiceV2Connection()\u003c/code\u003e function to instantiate the class.\u003c/p\u003e\n"]]],[],null,[]]