Class: Google::Cloud::PubSub::SubscriptionAdmin::Client
- Inherits:
-
V1::SubscriptionAdmin::Client
- Object
- V1::SubscriptionAdmin::Client
- Google::Cloud::PubSub::SubscriptionAdmin::Client
- Defined in:
- lib/google/cloud/pubsub/admin_clients.rb
Overview
The SubscriptionAdmin client is used to manage subscriptions.
This client is a subclass of the auto-generated SubscriptionAdmin client, and provides the same methods. However, it raises errors on data plane operations to prevent misuse.
Instance Method Summary collapse
-
#acknowledge(*args, **kwargs) ⇒ Object
The
acknowledgemethod is a data plane operation. -
#modify_ack_deadline(*args, **kwargs) ⇒ Object
The
modify_ack_deadlinemethod is a data plane operation. -
#pull(*args, **kwargs) ⇒ Object
The
pullmethod is a data plane operation. -
#streaming_pull(*args, **kwargs) ⇒ Object
The
streaming_pullmethod is a data plane operation.
Instance Method Details
#acknowledge(*args, **kwargs) ⇒ Object
The acknowledge method is a data plane operation.
83 84 85 86 87 |
# File 'lib/google/cloud/pubsub/admin_clients.rb', line 83 def acknowledge *args, **kwargs raise NotImplementedError, "The `acknowledge` method is a data plane operation. " \ "Use Google::Cloud::PubSub::Subscriber instead." end |
#modify_ack_deadline(*args, **kwargs) ⇒ Object
The modify_ack_deadline method is a data plane operation.
71 72 73 74 75 |
# File 'lib/google/cloud/pubsub/admin_clients.rb', line 71 def modify_ack_deadline *args, **kwargs raise NotImplementedError, "The `modify_ack_deadline` method is a data plane operation. " \ "Use Google::Cloud::PubSub::Subscriber instead." end |
#pull(*args, **kwargs) ⇒ Object
The pull method is a data plane operation.
95 96 97 98 99 |
# File 'lib/google/cloud/pubsub/admin_clients.rb', line 95 def pull *args, **kwargs raise NotImplementedError, "The `pull` method is a data plane operation. " \ "Use Google::Cloud::PubSub::Subscriber instead." end |
#streaming_pull(*args, **kwargs) ⇒ Object
The streaming_pull method is a data plane operation.
107 108 109 110 111 |
# File 'lib/google/cloud/pubsub/admin_clients.rb', line 107 def streaming_pull *args, **kwargs raise NotImplementedError, "The `streaming_pull` method is a data plane operation. " \ "Use Google::Cloud::PubSub::Subscriber instead." end |