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 outlines the `TopicAdminConnection` interface for the Google Cloud Pub/Sub Admin API, defining the virtual methods corresponding to the user-facing overload sets in `TopicAdminClient`."],["The `TopicAdminConnection` interface facilitates the injection of custom behavior for testing purposes, especially useful when utilizing Google Mock objects with `TopicAdminClient`."],["The latest available version of `TopicAdminConnection` is 2.37.0-rc, and there are many available versions starting from 2.11.0, including but not limited to 2.30.0, 2.20.0, and 2.15.1."],["Key functions include managing topics (creating, updating, getting, listing, and deleting), listing topic subscriptions and snapshots, detaching subscriptions, and managing IAM policies."],["For creating concrete instances of `TopicAdminConnection` and for mocking this interface in tests, you can refer to the `MakeTopicAdminConnection()` function and the `pubsub_admin_mocks::MockTopicAdminConnection` class respectively."]]],[]]