Google Cloud Pub/Sub C++ Client  2.1.0
A C++ Client Library for Google Cloud Pub/Sub
Classes | Namespaces | Typedefs | Functions
topic_admin_connection.h File Reference
#include "google/cloud/pubsub/backoff_policy.h"
#include "google/cloud/pubsub/connection_options.h"
#include "google/cloud/pubsub/internal/publisher_stub.h"
#include "google/cloud/pubsub/retry_policy.h"
#include "google/cloud/pubsub/subscription.h"
#include "google/cloud/pubsub/topic.h"
#include "google/cloud/pubsub/version.h"
#include "google/cloud/internal/non_constructible.h"
#include "google/cloud/internal/pagination_range.h"
#include "google/cloud/status_or.h"
#include <google/pubsub/v1/pubsub.pb.h>
#include <memory>
#include <string>

Go to the source code of this file.

Classes

class  google::cloud::pubsub::TopicAdminConnection
 A connection to Cloud Pub/Sub for topic-related administrative operations. More...
 
struct  google::cloud::pubsub::TopicAdminConnection::CreateTopicParams
 Wrap the arguments for CreateTopic() More...
 
struct  google::cloud::pubsub::TopicAdminConnection::GetTopicParams
 Wrap the arguments for GetTopic() More...
 
struct  google::cloud::pubsub::TopicAdminConnection::UpdateTopicParams
 Wrap the arguments for UpdateTopic() More...
 
struct  google::cloud::pubsub::TopicAdminConnection::ListTopicsParams
 Wrap the arguments for ListTopics() More...
 
struct  google::cloud::pubsub::TopicAdminConnection::DeleteTopicParams
 Wrap the arguments for DeleteTopic() More...
 
struct  google::cloud::pubsub::TopicAdminConnection::DetachSubscriptionParams
 Wrap the arguments for DetachSubscription() More...
 
struct  google::cloud::pubsub::TopicAdminConnection::ListTopicSubscriptionsParams
 Wrap the arguments for ListTopicSubscriptions() More...
 
struct  google::cloud::pubsub::TopicAdminConnection::ListTopicSnapshotsParams
 Wrap the arguments for ListTopicSnapshots() More...
 

Namespaces

 google
 
 google::cloud
 The namespace Google Cloud Platform C++ client libraries.
 
 google::cloud::pubsub
 Contains all the Cloud Pub/Sub C++ client types and functions.
 

Typedefs

using google::cloud::pubsub::ListTopicsRange = google::cloud::internal::PaginationRange< google::pubsub::v1::Topic >
 An input range to stream Cloud Pub/Sub topics. More...
 
using google::cloud::pubsub::ListTopicSubscriptionsRange = google::cloud::internal::PaginationRange< std::string >
 An input range to stream the Cloud Pub/Sub subscriptions of a topic. More...
 
using google::cloud::pubsub::ListTopicSnapshotsRange = google::cloud::internal::PaginationRange< std::string >
 An input range to stream the Cloud Pub/Sub snapshots of a topic. More...
 

Functions

std::shared_ptr< TopicAdminConnection > google::cloud::pubsub::MakeTopicAdminConnection (std::initializer_list< internal::NonConstructible >)
 Creates a new TopicAdminConnection object to work with TopicAdminClient. More...
 
std::shared_ptr< TopicAdminConnection > google::cloud::pubsub::MakeTopicAdminConnection (Options opts={})
 Creates a new TopicAdminConnection object to work with TopicAdminClient. More...
 
std::shared_ptr< TopicAdminConnection > google::cloud::pubsub::MakeTopicAdminConnection (ConnectionOptions const &options, std::unique_ptr< pubsub::RetryPolicy const > retry_policy={}, std::unique_ptr< pubsub::BackoffPolicy const > backoff_policy={})
 Creates a new TopicAdminConnection object to work with TopicAdminClient. More...