Google Cloud Pub/Sub C++ Client  1.35.0
A C++ Client Library for Google Cloud Pub/Sub
Public Member Functions | List of all members
google::cloud::pubsub_mocks::MockTopicAdminConnection Class Reference

A googlemock-based mock for pubsub::TopicAdminConnection. More...

#include <google/cloud/pubsub/mocks/mock_topic_admin_connection.h>

Public Member Functions

 MOCK_METHOD (StatusOr< google::pubsub::v1::Topic >, CreateTopic,(CreateTopicParams),(override))
 
 MOCK_METHOD (StatusOr< google::pubsub::v1::Topic >, GetTopic,(GetTopicParams),(override))
 
 MOCK_METHOD (StatusOr< google::pubsub::v1::Topic >, UpdateTopic,(UpdateTopicParams),(override))
 
 MOCK_METHOD (pubsub::ListTopicsRange, ListTopics,(ListTopicsParams),(override))
 
 MOCK_METHOD (Status, DeleteTopic,(DeleteTopicParams),(override))
 
 MOCK_METHOD (StatusOr< google::pubsub::v1::DetachSubscriptionResponse >, DetachSubscription,(DetachSubscriptionParams),(override))
 
 MOCK_METHOD (pubsub::ListTopicSubscriptionsRange, ListTopicSubscriptions,(ListTopicSubscriptionsParams),(override))
 
 MOCK_METHOD (pubsub::ListTopicSnapshotsRange, ListTopicSnapshots,(ListTopicSnapshotsParams),(override))
 
virtual StatusOr< google::pubsub::v1::Topic > CreateTopic (CreateTopicParams)
 Defines the interface for TopicAdminClient::CreateTopic() More...
 
virtual StatusOr< google::pubsub::v1::Topic > GetTopic (GetTopicParams)
 Defines the interface for TopicAdminClient::GetTopic() More...
 
virtual StatusOr< google::pubsub::v1::Topic > UpdateTopic (UpdateTopicParams)
 Defines the interface for TopicAdminClient::UpdateTopic() More...
 
virtual ListTopicsRange ListTopics (ListTopicsParams)
 Defines the interface for TopicAdminClient::ListTopics() More...
 
virtual Status DeleteTopic (DeleteTopicParams)
 Defines the interface for TopicAdminClient::DeleteTopic() More...
 
virtual StatusOr< google::pubsub::v1::DetachSubscriptionResponse > DetachSubscription (DetachSubscriptionParams)
 Defines the interface for TopicAdminClient::DetachSubscriptions() More...
 
virtual ListTopicSubscriptionsRange ListTopicSubscriptions (ListTopicSubscriptionsParams)
 Defines the interface for TopicAdminClient::ListTopicSubscriptions() More...
 
virtual ListTopicSnapshotsRange ListTopicSnapshots (ListTopicSnapshotsParams)
 Defines the interface for TopicAdminClient::ListTopicSnapshots() More...
 

Detailed Description

A googlemock-based mock for pubsub::TopicAdminConnection.

Definition at line 31 of file mock_topic_admin_connection.h.

Member Function Documentation

◆ CreateTopic()

virtual StatusOr<google::pubsub::v1::Topic> google::cloud::pubsub::TopicAdminConnection::CreateTopic ( CreateTopicParams  )
virtualinherited

Defines the interface for TopicAdminClient::CreateTopic()

◆ DeleteTopic()

virtual Status google::cloud::pubsub::TopicAdminConnection::DeleteTopic ( DeleteTopicParams  )
virtualinherited

Defines the interface for TopicAdminClient::DeleteTopic()

◆ DetachSubscription()

virtual StatusOr<google::pubsub::v1::DetachSubscriptionResponse> google::cloud::pubsub::TopicAdminConnection::DetachSubscription ( DetachSubscriptionParams  )
virtualinherited

Defines the interface for TopicAdminClient::DetachSubscriptions()

◆ GetTopic()

virtual StatusOr<google::pubsub::v1::Topic> google::cloud::pubsub::TopicAdminConnection::GetTopic ( GetTopicParams  )
virtualinherited

Defines the interface for TopicAdminClient::GetTopic()

◆ ListTopics()

virtual ListTopicsRange google::cloud::pubsub::TopicAdminConnection::ListTopics ( ListTopicsParams  )
virtualinherited

Defines the interface for TopicAdminClient::ListTopics()

◆ ListTopicSnapshots()

virtual ListTopicSnapshotsRange google::cloud::pubsub::TopicAdminConnection::ListTopicSnapshots ( ListTopicSnapshotsParams  )
virtualinherited

Defines the interface for TopicAdminClient::ListTopicSnapshots()

◆ ListTopicSubscriptions()

virtual ListTopicSubscriptionsRange google::cloud::pubsub::TopicAdminConnection::ListTopicSubscriptions ( ListTopicSubscriptionsParams  )
virtualinherited

Defines the interface for TopicAdminClient::ListTopicSubscriptions()

◆ MOCK_METHOD() [1/8]

google::cloud::pubsub_mocks::MockTopicAdminConnection::MOCK_METHOD ( pubsub::ListTopicSnapshotsRange  ,
ListTopicSnapshots  ,
(ListTopicSnapshotsParams ,
(override)   
)

◆ MOCK_METHOD() [2/8]

google::cloud::pubsub_mocks::MockTopicAdminConnection::MOCK_METHOD ( pubsub::ListTopicsRange  ,
ListTopics  ,
(ListTopicsParams ,
(override)   
)

◆ MOCK_METHOD() [3/8]

google::cloud::pubsub_mocks::MockTopicAdminConnection::MOCK_METHOD ( pubsub::ListTopicSubscriptionsRange  ,
ListTopicSubscriptions  ,
(ListTopicSubscriptionsParams ,
(override)   
)

◆ MOCK_METHOD() [4/8]

google::cloud::pubsub_mocks::MockTopicAdminConnection::MOCK_METHOD ( Status  ,
DeleteTopic  ,
(DeleteTopicParams ,
(override)   
)

◆ MOCK_METHOD() [5/8]

google::cloud::pubsub_mocks::MockTopicAdminConnection::MOCK_METHOD ( StatusOr< google::pubsub::v1::DetachSubscriptionResponse >  ,
DetachSubscription  ,
(DetachSubscriptionParams ,
(override)   
)

◆ MOCK_METHOD() [6/8]

google::cloud::pubsub_mocks::MockTopicAdminConnection::MOCK_METHOD ( StatusOr< google::pubsub::v1::Topic >  ,
CreateTopic  ,
(CreateTopicParams ,
(override)   
)

◆ MOCK_METHOD() [7/8]

google::cloud::pubsub_mocks::MockTopicAdminConnection::MOCK_METHOD ( StatusOr< google::pubsub::v1::Topic >  ,
GetTopic  ,
(GetTopicParams ,
(override)   
)

◆ MOCK_METHOD() [8/8]

google::cloud::pubsub_mocks::MockTopicAdminConnection::MOCK_METHOD ( StatusOr< google::pubsub::v1::Topic >  ,
UpdateTopic  ,
(UpdateTopicParams ,
(override)   
)

◆ UpdateTopic()

virtual StatusOr<google::pubsub::v1::Topic> google::cloud::pubsub::TopicAdminConnection::UpdateTopic ( UpdateTopicParams  )
virtualinherited

Defines the interface for TopicAdminClient::UpdateTopic()