Google Cloud Pub/Sub C++ Client 2.13.0
A C++ Client Library for Google Cloud Pub/Sub
|
A connection to Cloud Pub/Sub for topic-related administrative operations. More...
#include <google/cloud/pubsub/topic_admin_connection.h>
Classes | |
struct | CreateTopicParams |
Wrap the arguments for CreateTopic() More... | |
struct | DeleteTopicParams |
Wrap the arguments for DeleteTopic() More... | |
struct | DetachSubscriptionParams |
Wrap the arguments for DetachSubscription() More... | |
struct | GetTopicParams |
Wrap the arguments for GetTopic() More... | |
struct | ListTopicSnapshotsParams |
Wrap the arguments for ListTopicSnapshots() More... | |
struct | ListTopicsParams |
Wrap the arguments for ListTopics() More... | |
struct | ListTopicSubscriptionsParams |
Wrap the arguments for ListTopicSubscriptions() More... | |
struct | UpdateTopicParams |
Wrap the arguments for UpdateTopic() More... | |
A connection to Cloud Pub/Sub for topic-related administrative operations.
This interface defines pure-virtual functions for each of the user-facing overload sets in TopicAdminClient
. That is, all of TopicAdminClient
's overloads will forward to the one pure-virtual function declared in this interface. This allows users to inject custom behavior (e.g., with a Google Mock object) in a TopicAdminClient
object for use in their own tests.
To create a concrete instance that connects you to the real Cloud Pub/Sub service, see MakeTopicAdminConnection()
.
TopicAdminConnection
, for example, because they want to mock the class. To avoid breaking all such derived classes when we change the number or type of the arguments to the member functions we define lightweight structures to pass the arguments.
|
pure virtual |
|
virtual |
Defines the interface for TopicAdminClient::CreateTopic()
|
virtual |
Defines the interface for TopicAdminClient::DeleteTopic()
|
virtual |
Defines the interface for TopicAdminClient::DetachSubscriptions()
|
virtual |
Defines the interface for TopicAdminClient::GetTopic()
|
virtual |
Defines the interface for TopicAdminClient::ListTopics()
|
virtual |
Defines the interface for TopicAdminClient::ListTopicSnapshots()
|
virtual |
Defines the interface for TopicAdminClient::ListTopicSubscriptions()
|
inlinevirtual |
Returns the options used to create the connection.
|
virtual |
Defines the interface for TopicAdminClient::UpdateTopic()