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::MockSubscriptionAdminConnection Class Reference

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

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

Public Member Functions

 MOCK_METHOD (StatusOr< google::pubsub::v1::Subscription >, CreateSubscription,(CreateSubscriptionParams),(override))
 
 MOCK_METHOD (StatusOr< google::pubsub::v1::Subscription >, GetSubscription,(GetSubscriptionParams),(override))
 
 MOCK_METHOD (StatusOr< google::pubsub::v1::Subscription >, UpdateSubscription,(UpdateSubscriptionParams),(override))
 
 MOCK_METHOD (pubsub::ListSubscriptionsRange, ListSubscriptions,(ListSubscriptionsParams),(override))
 
 MOCK_METHOD (Status, DeleteSubscription,(DeleteSubscriptionParams),(override))
 
 MOCK_METHOD (Status, ModifyPushConfig,(ModifyPushConfigParams),(override))
 
 MOCK_METHOD (StatusOr< google::pubsub::v1::Snapshot >, CreateSnapshot,(CreateSnapshotParams),(override))
 
 MOCK_METHOD (StatusOr< google::pubsub::v1::Snapshot >, GetSnapshot,(GetSnapshotParams),(override))
 
 MOCK_METHOD (StatusOr< google::pubsub::v1::Snapshot >, UpdateSnapshot,(UpdateSnapshotParams),(override))
 
 MOCK_METHOD (pubsub::ListSnapshotsRange, ListSnapshots,(ListSnapshotsParams),(override))
 
 MOCK_METHOD (Status, DeleteSnapshot,(DeleteSnapshotParams),(override))
 
 MOCK_METHOD (StatusOr< google::pubsub::v1::SeekResponse >, Seek,(SeekParams),(override))
 
virtual StatusOr< google::pubsub::v1::Subscription > CreateSubscription (CreateSubscriptionParams)
 Defines the interface for SubscriptionAdminClient::CreateSubscription() More...
 
virtual StatusOr< google::pubsub::v1::Subscription > GetSubscription (GetSubscriptionParams)
 Defines the interface for SubscriptionAdminClient::GetSubscription() More...
 
virtual StatusOr< google::pubsub::v1::Subscription > UpdateSubscription (UpdateSubscriptionParams)
 Defines the interface for SubscriptionAdminClient::UpdateSubscription() More...
 
virtual ListSubscriptionsRange ListSubscriptions (ListSubscriptionsParams)
 Defines the interface for SubscriptionAdminClient::ListSubscriptions() More...
 
virtual Status DeleteSubscription (DeleteSubscriptionParams)
 Defines the interface for SubscriptionAdminClient::DeleteSubscription() More...
 
virtual Status ModifyPushConfig (ModifyPushConfigParams)
 Defines the interface for SubscriptionAdminClient::ModifyPushConfig() More...
 
virtual StatusOr< google::pubsub::v1::Snapshot > CreateSnapshot (CreateSnapshotParams)
 Defines the interface for SnapshotAdminClient::CreateSnapshot() More...
 
virtual StatusOr< google::pubsub::v1::Snapshot > GetSnapshot (GetSnapshotParams)
 Defines the interface for SnapshotAdminClient::GetSnapshot() More...
 
virtual StatusOr< google::pubsub::v1::Snapshot > UpdateSnapshot (UpdateSnapshotParams)
 Defines the interface for SnapshotAdminClient::UpdateSnapshot() More...
 
virtual ListSnapshotsRange ListSnapshots (ListSnapshotsParams)
 Defines the interface for SubscriptionAdminClient::ListSnapshots() More...
 
virtual Status DeleteSnapshot (DeleteSnapshotParams)
 Defines the interface for SnapshotAdminClient::DeleteSnapshot() More...
 
virtual StatusOr< google::pubsub::v1::SeekResponse > Seek (SeekParams)
 Defines the interface for SubscriptionAdminClient::Seek() More...
 

Detailed Description

A googlemock-based mock for pubsub::SubscriptionAdminConnection.

Definition at line 32 of file mock_subscription_admin_connection.h.

Member Function Documentation

◆ CreateSnapshot()

virtual StatusOr<google::pubsub::v1::Snapshot> google::cloud::pubsub::SubscriptionAdminConnection::CreateSnapshot ( CreateSnapshotParams  )
virtualinherited

Defines the interface for SnapshotAdminClient::CreateSnapshot()

◆ CreateSubscription()

virtual StatusOr<google::pubsub::v1::Subscription> google::cloud::pubsub::SubscriptionAdminConnection::CreateSubscription ( CreateSubscriptionParams  )
virtualinherited

Defines the interface for SubscriptionAdminClient::CreateSubscription()

◆ DeleteSnapshot()

virtual Status google::cloud::pubsub::SubscriptionAdminConnection::DeleteSnapshot ( DeleteSnapshotParams  )
virtualinherited

Defines the interface for SnapshotAdminClient::DeleteSnapshot()

◆ DeleteSubscription()

virtual Status google::cloud::pubsub::SubscriptionAdminConnection::DeleteSubscription ( DeleteSubscriptionParams  )
virtualinherited

Defines the interface for SubscriptionAdminClient::DeleteSubscription()

◆ GetSnapshot()

virtual StatusOr<google::pubsub::v1::Snapshot> google::cloud::pubsub::SubscriptionAdminConnection::GetSnapshot ( GetSnapshotParams  )
virtualinherited

Defines the interface for SnapshotAdminClient::GetSnapshot()

◆ GetSubscription()

virtual StatusOr<google::pubsub::v1::Subscription> google::cloud::pubsub::SubscriptionAdminConnection::GetSubscription ( GetSubscriptionParams  )
virtualinherited

Defines the interface for SubscriptionAdminClient::GetSubscription()

◆ ListSnapshots()

virtual ListSnapshotsRange google::cloud::pubsub::SubscriptionAdminConnection::ListSnapshots ( ListSnapshotsParams  )
virtualinherited

Defines the interface for SubscriptionAdminClient::ListSnapshots()

◆ ListSubscriptions()

virtual ListSubscriptionsRange google::cloud::pubsub::SubscriptionAdminConnection::ListSubscriptions ( ListSubscriptionsParams  )
virtualinherited

Defines the interface for SubscriptionAdminClient::ListSubscriptions()

◆ MOCK_METHOD() [1/12]

google::cloud::pubsub_mocks::MockSubscriptionAdminConnection::MOCK_METHOD ( pubsub::ListSnapshotsRange  ,
ListSnapshots  ,
(ListSnapshotsParams ,
(override)   
)

◆ MOCK_METHOD() [2/12]

google::cloud::pubsub_mocks::MockSubscriptionAdminConnection::MOCK_METHOD ( pubsub::ListSubscriptionsRange  ,
ListSubscriptions  ,
(ListSubscriptionsParams ,
(override)   
)

◆ MOCK_METHOD() [3/12]

google::cloud::pubsub_mocks::MockSubscriptionAdminConnection::MOCK_METHOD ( Status  ,
DeleteSnapshot  ,
(DeleteSnapshotParams ,
(override)   
)

◆ MOCK_METHOD() [4/12]

google::cloud::pubsub_mocks::MockSubscriptionAdminConnection::MOCK_METHOD ( Status  ,
DeleteSubscription  ,
(DeleteSubscriptionParams ,
(override)   
)

◆ MOCK_METHOD() [5/12]

google::cloud::pubsub_mocks::MockSubscriptionAdminConnection::MOCK_METHOD ( Status  ,
ModifyPushConfig  ,
(ModifyPushConfigParams ,
(override)   
)

◆ MOCK_METHOD() [6/12]

google::cloud::pubsub_mocks::MockSubscriptionAdminConnection::MOCK_METHOD ( StatusOr< google::pubsub::v1::SeekResponse >  ,
Seek  ,
(SeekParams ,
(override)   
)

◆ MOCK_METHOD() [7/12]

google::cloud::pubsub_mocks::MockSubscriptionAdminConnection::MOCK_METHOD ( StatusOr< google::pubsub::v1::Snapshot >  ,
CreateSnapshot  ,
(CreateSnapshotParams ,
(override)   
)

◆ MOCK_METHOD() [8/12]

google::cloud::pubsub_mocks::MockSubscriptionAdminConnection::MOCK_METHOD ( StatusOr< google::pubsub::v1::Snapshot >  ,
GetSnapshot  ,
(GetSnapshotParams ,
(override)   
)

◆ MOCK_METHOD() [9/12]

google::cloud::pubsub_mocks::MockSubscriptionAdminConnection::MOCK_METHOD ( StatusOr< google::pubsub::v1::Snapshot >  ,
UpdateSnapshot  ,
(UpdateSnapshotParams ,
(override)   
)

◆ MOCK_METHOD() [10/12]

google::cloud::pubsub_mocks::MockSubscriptionAdminConnection::MOCK_METHOD ( StatusOr< google::pubsub::v1::Subscription >  ,
CreateSubscription  ,
(CreateSubscriptionParams ,
(override)   
)

◆ MOCK_METHOD() [11/12]

google::cloud::pubsub_mocks::MockSubscriptionAdminConnection::MOCK_METHOD ( StatusOr< google::pubsub::v1::Subscription >  ,
GetSubscription  ,
(GetSubscriptionParams ,
(override)   
)

◆ MOCK_METHOD() [12/12]

google::cloud::pubsub_mocks::MockSubscriptionAdminConnection::MOCK_METHOD ( StatusOr< google::pubsub::v1::Subscription >  ,
UpdateSubscription  ,
(UpdateSubscriptionParams ,
(override)   
)

◆ ModifyPushConfig()

virtual Status google::cloud::pubsub::SubscriptionAdminConnection::ModifyPushConfig ( ModifyPushConfigParams  )
virtualinherited

Defines the interface for SubscriptionAdminClient::ModifyPushConfig()

◆ Seek()

virtual StatusOr<google::pubsub::v1::SeekResponse> google::cloud::pubsub::SubscriptionAdminConnection::Seek ( SeekParams  )
virtualinherited

Defines the interface for SubscriptionAdminClient::Seek()

◆ UpdateSnapshot()

virtual StatusOr<google::pubsub::v1::Snapshot> google::cloud::pubsub::SubscriptionAdminConnection::UpdateSnapshot ( UpdateSnapshotParams  )
virtualinherited

Defines the interface for SnapshotAdminClient::UpdateSnapshot()

◆ UpdateSubscription()

virtual StatusOr<google::pubsub::v1::Subscription> google::cloud::pubsub::SubscriptionAdminConnection::UpdateSubscription ( UpdateSubscriptionParams  )
virtualinherited

Defines the interface for SubscriptionAdminClient::UpdateSubscription()