15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_MOCKS_MOCK_TOPIC_ADMIN_CONNECTION_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_MOCKS_MOCK_TOPIC_ADMIN_CONNECTION_H
18#include "google/cloud/pubsub/topic_admin_connection.h"
19#include <gmock/gmock.h>
24GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
27
28
29
30
33 MOCK_METHOD(StatusOr<
google::pubsub::v1::Topic>, CreateTopic,
39 MOCK_METHOD(StatusOr<
google::pubsub::v1::Topic>, UpdateTopic,
47 MOCK_METHOD(StatusOr<
google::pubsub::v1::DetachSubscriptionResponse>,
50 MOCK_METHOD(
pubsub::ListTopicSubscriptionsRange, ListTopicSubscriptions,
53 MOCK_METHOD(
pubsub::ListTopicSnapshotsRange, ListTopicSnapshots,
57GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
A connection to Cloud Pub/Sub for topic-related administrative operations.
Definition: topic_admin_connection.h:91
A googlemock-based mock for pubsub::TopicAdminConnection.
Definition: mock_topic_admin_connection.h:31
A namespace for googlemock-based Cloud Pub/Sub C++ client mocks.
Definition: mock_ack_handler.h:25
Contains all the Cloud Pub/Sub C++ client types and functions.
Definition: ack_handler.h:25
The namespace Google Cloud Platform C++ client libraries.
Wrap the arguments for CreateTopic()
Definition: topic_admin_connection.h:96
Wrap the arguments for DeleteTopic()
Definition: topic_admin_connection.h:116
Wrap the arguments for DetachSubscription()
Definition: topic_admin_connection.h:121
Wrap the arguments for GetTopic()
Definition: topic_admin_connection.h:101
Wrap the arguments for ListTopicSnapshots()
Definition: topic_admin_connection.h:131
Wrap the arguments for ListTopicSubscriptions()
Definition: topic_admin_connection.h:126
Wrap the arguments for ListTopics()
Definition: topic_admin_connection.h:111
Wrap the arguments for UpdateTopic()
Definition: topic_admin_connection.h:106