pubsub.v1 library Null safety

Cloud Pub/Sub API - v1

Provides reliable, many-to-many, asynchronous messaging between applications.

For more information, see cloud.google.com/pubsub/docs

Create an instance of PubsubApi to access these resources:

Classes

AcknowledgeRequest
Request for the Acknowledge method.
Binding
Associates members with a role.
CreateSnapshotRequest
Request for the CreateSnapshot method.
DeadLetterPolicy
Dead lettering is done on a best effort basis. [...]
ExpirationPolicy
A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).
ListSchemasResponse
Response for the ListSchemas method.
ListSnapshotsResponse
Response for the ListSnapshots method.
ListSubscriptionsResponse
Response for the ListSubscriptions method.
ListTopicSnapshotsResponse
Response for the ListTopicSnapshots method.
ListTopicsResponse
Response for the ListTopics method.
ListTopicSubscriptionsResponse
Response for the ListTopicSubscriptions method.
MessageStoragePolicy
A policy constraining the storage of messages published to the topic.
ModifyAckDeadlineRequest
Request for the ModifyAckDeadline method.
ModifyPushConfigRequest
Request for the ModifyPushConfig method.
OidcToken
Contains information needed for generating an OpenID Connect token.
Policy
An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. [...]
ProjectsResource
ProjectsSchemasResource
ProjectsSnapshotsResource
ProjectsSubscriptionsResource
ProjectsTopicsResource
ProjectsTopicsSnapshotsResource
ProjectsTopicsSubscriptionsResource
PublishRequest
Request for the Publish method.
PublishResponse
Response for the Publish method.
PubsubApi
Provides reliable, many-to-many, asynchronous messaging between applications.
PullRequest
Request for the Pull method.
PullResponse
Response for the Pull method.
PushConfig
Configuration for a push delivery endpoint.
ReceivedMessage
A message and its corresponding acknowledgment ID.
RetryPolicy
A policy that specifies how Cloud Pub/Sub retries message delivery. [...]
Schema
A schema resource.
SchemaSettings
Settings for validating messages published against a schema.
SeekRequest
Request for the Seek method.
SetIamPolicyRequest
Request message for SetIamPolicy method.
Snapshot
A snapshot resource. [...]
Subscription
A subscription resource.
Topic
A topic resource.
UpdateSnapshotRequest
Request for the UpdateSnapshot method.
UpdateSubscriptionRequest
Request for the UpdateSubscription method.
UpdateTopicRequest
Request for the UpdateTopic method.
ValidateMessageRequest
Request for the ValidateMessage method.
ValidateSchemaRequest
Request for the ValidateSchema method.

Typedefs

DetachSubscriptionResponse = $Empty
Response for the DetachSubscription method. [...]
Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. [...]
Expr = $Expr
Represents a textual expression in the Common Expression Language (CEL) syntax. [...]
PubsubMessage = $PubsubMessage
A message that is published by publishers and consumed by subscribers. [...]
SeekResponse = $Empty
Response for the Seek method (this response is empty).
TestIamPermissionsRequest = $TestIamPermissionsRequest
Request message for TestIamPermissions method.
TestIamPermissionsResponse = $PermissionsResponse
Response message for TestIamPermissions method.
ValidateMessageResponse = $Empty
Response for the ValidateMessage method. [...]
ValidateSchemaResponse = $Empty
Response for the ValidateSchema method. [...]

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.