This interface defines virtual methods for each of the user-facing overload sets in DocumentServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type DocumentServiceClient.
[[["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-07-18 UTC."],[[["The `DocumentServiceConnection` object provides virtual methods for each user-facing overload set found in `DocumentServiceClient`, enabling custom behavior injection during testing."],["The latest version of `DocumentServiceConnection` is `2.37.0-rc`, with multiple previous versions ranging from `2.36.0` to `2.15.1` that are available to view."],["It supports various operations such as `GetDocument`, `ListDocuments`, `CreateDocument`, `UpdateDocument`, `DeleteDocument`, `ImportDocuments`, and `PurgeDocuments`."],["You can create a real instance using `MakeDocumentServiceConnection()` and use `discoveryengine_v1_mocks::MockDocumentServiceConnection` for mocking."],["The interface also provides methods to manage long running operations such as `ListOperations`, `GetOperation`, and `CancelOperation` to handle asynchronous tasks."]]],[]]