# Cloud Pub/Sub API - Class Google::Cloud::PubSub::SubscriptionAdmin::Client (v3.3.0)

3.3.0 (latest) 3.2.1 3.1.1 3.0.3 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.1 2.17.0 2.16.0 2.15.5 2.14.0 2.12.1 2.11.0 2.10.0 2.9.2 Reference documentation and code samples for the Cloud Pub/Sub API class Google::Cloud::PubSub::SubscriptionAdmin::Client.

The SubscriptionAdmin client is used to manage subscriptions.


<br />

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.

## Inherits

- Google::Cloud::PubSub::V1::SubscriptionAdmin::Client

## Methods

### #acknowledge

    def acknowledge(*args, **kwargs)

The `acknowledge` method is a data plane operation.
**Raises**

- (NotImplementedError) --- This method is not implemented on the admin client. Use [Google::Cloud::PubSub::Subscriber](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-pubsub/latest/Google-Cloud-PubSub-Subscriber "Google::Cloud::PubSub::Subscriber (class)") instead.

### #modify_ack_deadline

    def modify_ack_deadline(*args, **kwargs)

The `modify_ack_deadline` method is a data plane operation.
**Raises**

- (NotImplementedError) --- This method is not implemented on the admin client. Use [Google::Cloud::PubSub::Subscriber](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-pubsub/latest/Google-Cloud-PubSub-Subscriber "Google::Cloud::PubSub::Subscriber (class)") instead.

### #pull

    def pull(*args, **kwargs)

The `pull` method is a data plane operation.
**Raises**

- (NotImplementedError) --- This method is not implemented on the admin client. Use [Google::Cloud::PubSub::Subscriber](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-pubsub/latest/Google-Cloud-PubSub-Subscriber "Google::Cloud::PubSub::Subscriber (class)") instead.

### #streaming_pull

    def streaming_pull(*args, **kwargs)

The `streaming_pull` method is a data plane operation.
**Raises**

- (NotImplementedError) --- This method is not implemented on the admin client. Use [Google::Cloud::PubSub::Subscriber](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-pubsub/latest/Google-Cloud-PubSub-Subscriber "Google::Cloud::PubSub::Subscriber (class)") instead.