The "projects" collection of methods.
ProjectsResource.SubscriptionsResourceThe "subscriptions" collection of methods.
ProjectsResource.SubscriptionsResource.AcknowledgeRequestAcknowledges 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.
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.
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.
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.GetRequestGets the configuration details of a subscription.
ProjectsResource.SubscriptionsResource.ListRequestLists matching subscriptions.
ProjectsResource.SubscriptionsResource.ModifyAckDeadlineRequestModifies 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.
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
.
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.
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
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.
The "topics" collection of methods.
ProjectsResource.TopicsResource.CreateRequestCreates the given topic with the given name.
ProjectsResource.TopicsResource.DeleteRequestDeletes 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_
.
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.GetRequestGets the configuration of a topic.
ProjectsResource.TopicsResource.ListRequestLists matching topics.
ProjectsResource.TopicsResource.PublishRequestAdds 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.
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
The "subscriptions" collection of methods.
ProjectsResource.TopicsResource.SubscriptionsResource.ListRequestLists the name of the subscriptions for this topic.
ProjectsResource.TopicsResource.TestIamPermissionsRequestReturns 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.
A base abstract class for Pubsub requests.
PubsubServiceThe Pubsub Service.
PubsubService.ScopeAvailable OAuth 2.0 scopes for use with the Cloud Pub/Sub API.
PubsubService.ScopeConstantsAvailable OAuth 2.0 scope constants for use with the Cloud Pub/Sub API.
Enums PubsubBaseServiceRequest<TResponse>.AltEnumData format for response.
PubsubBaseServiceRequest<TResponse>.XgafvEnumV1 error format.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4