Module subscriber.client (2.31.0)

API documentation for pubsub_v1.subscriber.client module.

Classes

Client

Client(
 subscriber_options: typing.Union[
 google.cloud.pubsub_v1.types.SubscriberOptions, typing.Sequence
 ] = (),
 **kwargs: typing.Any
)

A subscriber client for Google Cloud Pub/Sub.

This creates an object that is capable of subscribing to messages. Generally, you can instantiate this client with no arguments, and you get sensible defaults.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月10日 UTC.