Show / Hide Table of Contents

Namespace Google.Apis.Pubsub.v1beta1a

Classes

PubsubBaseServiceRequest<TResponse>

A base abstract class for Pubsub requests.

PubsubService

The Pubsub Service.

PubsubService.Scope

Available OAuth 2.0 scopes for use with the Cloud Pub/Sub API.

PubsubService.ScopeConstants

Available OAuth 2.0 scope constants for use with the Cloud Pub/Sub API.

SubscriptionsResource

The "subscriptions" collection of methods.

SubscriptionsResource.AcknowledgeRequest

Acknowledges a particular received message: the Pub/Sub system can remove the given message from the subscription. Acknowledging a message whose Ack deadline has expired may succeed, but the message could have been already redelivered. Acknowledging a message more than once will not result in an error. This is only used for messages received via pull.

SubscriptionsResource.CreateRequest

Creates a subscription on a given topic for a given subscriber. If the subscription already exists, returns ALREADY_EXISTS. If the corresponding topic doesn't exist, returns NOT_FOUND. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.

SubscriptionsResource.DeleteRequest

Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to Pull after deletion will return NOT_FOUND.

SubscriptionsResource.GetRequest

Gets the configuration details of a subscription.

SubscriptionsResource.ListRequest

Lists matching subscriptions.

SubscriptionsResource.ModifyAckDeadlineRequest

Modifies the Ack deadline for a message received from a pull request.

SubscriptionsResource.ModifyPushConfigRequest

Modifies the PushConfig for a specified subscription. This method can be used to suspend the flow of messages to an endpoint by clearing the PushConfig field in the request. Messages will be accumulated for delivery even if no push configuration is defined or while the configuration is modified.

SubscriptionsResource.PullBatchRequest

Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The system is free to return UNAVAILABLE if there are too many pull requests outstanding for the given subscription.

SubscriptionsResource.PullRequest

Pulls a single message from the server. If return_immediately is true, and no messages are available in the subscription, this method returns FAILED_PRECONDITION. The system is free to return an UNAVAILABLE error if no messages are available in a reasonable amount of time (to reduce system load).

TopicsResource

The "topics" collection of methods.

TopicsResource.CreateRequest

Creates the given topic with the given name.

TopicsResource.DeleteRequest

Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name.

TopicsResource.GetRequest

Gets the configuration of a topic. Since the topic only has the name attribute, this method is only useful to check the existence of a topic. If other attributes are added in the future, they will be returned here.

TopicsResource.ListRequest

Lists matching topics.

TopicsResource.PublishBatchRequest

Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist.

TopicsResource.PublishRequest

Adds a message to the topic. Returns NOT_FOUND if the topic does not exist.

Enums

PubsubBaseServiceRequest<TResponse>.AltEnum

Data format for response.

PubsubBaseServiceRequest<TResponse>.XgafvEnum

V1 error format.

In this article
Back to top Generated by DocFX