This interface defines virtual methods for each of the user-facing overload sets in SubscriptionAdminClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type SubscriptionAdminClient.
[[["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-04-17 UTC."],[[["This document details the `SubscriptionAdminConnection` interface for the Google Cloud Pub/Sub Admin API, providing a set of virtual methods that correspond to the user-facing overloads in `SubscriptionAdminClient`."],["The latest version of the `SubscriptionAdminConnection` reference is 2.37.0-rc, while version 2.22.1 is specifically described in detail, with numerous prior versions also being directly accessible."],["The `SubscriptionAdminConnection` interface facilitates custom behavior injection, such as with Google Mock objects, to simplify and improve testing of code that utilizes `SubscriptionAdminClient`."],["The interface includes virtual methods for managing subscriptions, such as `CreateSubscription`, `GetSubscription`, `UpdateSubscription`, `ListSubscriptions`, `DeleteSubscription`, and modifying push configurations."],["It also includes virtual methods for managing snapshots like `GetSnapshot`, `ListSnapshots`, `CreateSnapshot`, `UpdateSnapshot`, and `DeleteSnapshot`, as well as a method for seeking to a specific point in a subscription with `Seek`."]]],[]]