Show / Hide Table of Contents

Namespace Google.Apis.Pubsub.v1beta2

Classes

ProjectsResource

The "projects" collection of methods.

ProjectsResource.SubscriptionsResource

The "subscriptions" collection of methods.

ProjectsResource.SubscriptionsResource.AcknowledgeRequest

Acknowledges the messages associated with the ack_ids in the AcknowledgeRequest. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.

ProjectsResource.SubscriptionsResource.CreateRequest

Creates a subscription to a given topic. 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. Note that for REST API requests, you must specify a name.

ProjectsResource.SubscriptionsResource.DeleteRequest

Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to Pull after deletion will return NOT_FOUND. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription, or its topic unless the same topic is specified.

ProjectsResource.SubscriptionsResource.GetIamPolicyRequest

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

ProjectsResource.SubscriptionsResource.GetRequest

Gets the configuration details of a subscription.

ProjectsResource.SubscriptionsResource.ListRequest

Lists matching subscriptions.

ProjectsResource.SubscriptionsResource.ModifyAckDeadlineRequest

Modifies the ack deadline for a specific message. This method is useful to indicate that more time is needed to process a message by the subscriber, or to make the message available for redelivery if the processing was interrupted. Note that this does not modify the subscription-level ackDeadlineSeconds used for subsequent messages.

ProjectsResource.SubscriptionsResource.ModifyPushConfigRequest

Modifies the PushConfig for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty PushConfig) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the PushConfig.

ProjectsResource.SubscriptionsResource.PullRequest

Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The server may return UNAVAILABLE if there are too many concurrent pull requests pending for the given subscription.

ProjectsResource.SubscriptionsResource.SetIamPolicyRequest

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

ProjectsResource.SubscriptionsResource.TestIamPermissionsRequest

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

ProjectsResource.TopicsResource

The "topics" collection of methods.

ProjectsResource.TopicsResource.CreateRequest

Creates the given topic with the given name.

ProjectsResource.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; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their topic field is set to _deleted-topic_.

ProjectsResource.TopicsResource.GetIamPolicyRequest

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

ProjectsResource.TopicsResource.GetRequest

Gets the configuration of a topic.

ProjectsResource.TopicsResource.ListRequest

Lists matching topics.

ProjectsResource.TopicsResource.PublishRequest

Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.

ProjectsResource.TopicsResource.SetIamPolicyRequest

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

ProjectsResource.TopicsResource.SubscriptionsResource

The "subscriptions" collection of methods.

ProjectsResource.TopicsResource.SubscriptionsResource.ListRequest

Lists the name of the subscriptions for this topic.

ProjectsResource.TopicsResource.TestIamPermissionsRequest

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

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.

Enums

PubsubBaseServiceRequest<TResponse>.AltEnum

Data format for response.

PubsubBaseServiceRequest<TResponse>.XgafvEnum

V1 error format.

In this article
Back to top Generated by DocFX