This interface defines virtual methods for each of the user-facing overload sets in TopicAdminClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type TopicAdminClient.
[[["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 document details the `TopicAdminConnection` class, which provides virtual methods for each user-facing overload set in `TopicAdminClient` for the Google Cloud Pub/Sub service."],["The `TopicAdminConnection` class allows for the injection of custom behavior, especially useful when writing tests that utilize `TopicAdminClient` objects, such as using a Google Mock object."],["This page covers multiple versions of the TopicAdminConnection, the latest being the 2.37.0-rc release, with several previous releases available dating back to version 2.11.0."],["The `TopicAdminConnection` class has functions for managing Pub/Sub topics, such as `CreateTopic`, `UpdateTopic`, `GetTopic`, `ListTopics`, `DeleteTopic` and more, with corresponding parameter and return types."],["There are options available to create a concrete instance of `TopicAdminConnection`, such as using `MakeTopicAdminConnection()`, or you can utilize `pubsub_admin_mocks::MockTopicAdminConnection` for mocking purposes."]]],[]]