Cloud Pub/Sub V1 API - Module Google::Cloud::PubSub::V1::Subscriber (v1.1.0)

Reference documentation and code samples for the Cloud Pub/Sub V1 API module Google::Cloud::PubSub::V1::Subscriber.

The service that an application uses to manipulate subscriptions and to consume messages from a subscription via the Pull method or by establishing a bi-directional stream using the StreamingPull method.

Example

Load this service and instantiate a gRPC client

require "google/cloud/pubsub/v1/subscriber"
client = ::Google::Cloud::PubSub::V1::Subscriber::Client.new