This interface defines virtual methods for each of the user-facing overload sets in DatastreamClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type DatastreamClient.
[[["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 details the \u003ccode\u003eDatastreamConnection\u003c/code\u003e object, which is an interface defining virtual methods for \u003ccode\u003eDatastreamClient\u003c/code\u003e and allowing custom behavior injection during testing.\u003c/p\u003e\n"],["\u003cp\u003eThe content provides links to various versions of the \u003ccode\u003eDatastreamConnection\u003c/code\u003e class, ranging from version 2.11.0 to the latest release candidate 2.37.0-rc, along with the current version 2.20.0.\u003c/p\u003e\n"],["\u003cp\u003eIt includes information on creating a concrete instance using \u003ccode\u003eMakeDatastreamConnection()\u003c/code\u003e and using \u003ccode\u003eMockDatastreamConnection\u003c/code\u003e for mocking purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines the virtual functions provided by \u003ccode\u003eDatastreamConnection\u003c/code\u003e, such as managing connection profiles, streams, stream objects, backfill jobs, static IPs, private connections, and routes.\u003c/p\u003e\n"],["\u003cp\u003eThe document covers the parameters and return types for the \u003ccode\u003eDatastreamConnection\u003c/code\u003e virtual functions, specifically focusing on \u003ccode\u003eListConnectionProfiles\u003c/code\u003e, \u003ccode\u003eGetConnectionProfile\u003c/code\u003e, \u003ccode\u003eCreateConnectionProfile\u003c/code\u003e, \u003ccode\u003eUpdateConnectionProfile\u003c/code\u003e, \u003ccode\u003eDeleteConnectionProfile\u003c/code\u003e, \u003ccode\u003eDiscoverConnectionProfile\u003c/code\u003e, \u003ccode\u003eListStreams\u003c/code\u003e, \u003ccode\u003eGetStream\u003c/code\u003e, \u003ccode\u003eCreateStream\u003c/code\u003e, \u003ccode\u003eUpdateStream\u003c/code\u003e, \u003ccode\u003eDeleteStream\u003c/code\u003e, \u003ccode\u003eGetStreamObject\u003c/code\u003e, \u003ccode\u003eLookupStreamObject\u003c/code\u003e, \u003ccode\u003eListStreamObjects\u003c/code\u003e, \u003ccode\u003eStartBackfillJob\u003c/code\u003e, \u003ccode\u003eStopBackfillJob\u003c/code\u003e, \u003ccode\u003eFetchStaticIps\u003c/code\u003e, \u003ccode\u003eCreatePrivateConnection\u003c/code\u003e, \u003ccode\u003eGetPrivateConnection\u003c/code\u003e, \u003ccode\u003eListPrivateConnections\u003c/code\u003e, \u003ccode\u003eDeletePrivateConnection\u003c/code\u003e, \u003ccode\u003eCreateRoute\u003c/code\u003e, \u003ccode\u003eGetRoute\u003c/code\u003e, \u003ccode\u003eListRoutes\u003c/code\u003e, and \u003ccode\u003eDeleteRoute\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]