15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_MOCKS_MOCK_SUBSCRIPTION_ADMIN_CONNECTION_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_MOCKS_MOCK_SUBSCRIPTION_ADMIN_CONNECTION_H
18#include "google/cloud/pubsub/subscription_admin_connection.h"
19#include <gmock/gmock.h>
24GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
27
28
29
30
31
35 MOCK_METHOD(StatusOr<
google::pubsub::v1::Subscription>, CreateSubscription,
38 MOCK_METHOD(StatusOr<
google::pubsub::v1::Subscription>, GetSubscription,
41 MOCK_METHOD(StatusOr<
google::pubsub::v1::Subscription>, UpdateSubscription,
44 MOCK_METHOD(
pubsub::ListSubscriptionsRange, ListSubscriptions,
52 MOCK_METHOD(StatusOr<
google::pubsub::v1::Snapshot>, CreateSnapshot,
55 MOCK_METHOD(StatusOr<
google::pubsub::v1::Snapshot>, GetSnapshot,
58 MOCK_METHOD(StatusOr<
google::pubsub::v1::Snapshot>, UpdateSnapshot,
70GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
A connection to Cloud Pub/Sub for subscription-related administrative operations.
Definition: subscription_admin_connection.h:82
A googlemock-based mock for pubsub::SubscriptionAdminConnection.
Definition: mock_subscription_admin_connection.h:33
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 CreateSnapshot()
Definition: subscription_admin_connection.h:117
Wrap the arguments for CreateSubscription()
Definition: subscription_admin_connection.h:87
Wrap the arguments for DeleteSnapshot()
Definition: subscription_admin_connection.h:137
Wrap the arguments for DeleteSubscription()
Definition: subscription_admin_connection.h:107
Wrap the arguments for GetSnapshot()
Definition: subscription_admin_connection.h:122
Wrap the arguments for GetSubscription()
Definition: subscription_admin_connection.h:92
Wrap the arguments for ListSnapshots()
Definition: subscription_admin_connection.h:127
Wrap the arguments for ListSubscriptions()
Definition: subscription_admin_connection.h:102
Wrap the arguments for ModifyPushConfig()
Definition: subscription_admin_connection.h:112
Wrap the arguments for Seek()
Definition: subscription_admin_connection.h:142
Wrap the arguments for UpdateSnapshot()
Definition: subscription_admin_connection.h:132
Wrap the arguments for UpdateSubscription()
Definition: subscription_admin_connection.h:97