ProjectsSubscriptionsResource class

Constructors

ProjectsSubscriptionsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acknowledge(AcknowledgeRequest request, String subscription, {String? $fields}) Future<Empty>
Acknowledges the messages associated with the ack_ids in the AcknowledgeRequest.
create(Subscription request, String name, {String? $fields}) Future<Subscription>
Creates a subscription to a given topic.
delete(String subscription, {String? $fields}) Future<Empty>
Deletes an existing subscription.
detach(String subscription, {String? $fields}) Future<DetachSubscriptionResponse>
Detaches a subscription from this topic.
get(String subscription, {String? $fields}) Future<Subscription>
Gets the configuration details of a subscription.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
list(String project, {int? pageSize, String? pageToken, String? $fields}) Future<ListSubscriptionsResponse>
Lists matching subscriptions.
modifyAckDeadline(ModifyAckDeadlineRequest request, String subscription, {String? $fields}) Future<Empty>
Modifies the ack deadline for a specific message.
modifyPushConfig(ModifyPushConfigRequest request, String subscription, {String? $fields}) Future<Empty>
Modifies the PushConfig for a specified subscription.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(UpdateSubscriptionRequest request, String name, {String? $fields}) Future<Subscription>
Updates an existing subscription by updating the fields specified in the update mask.
pull(PullRequest request, String subscription, {String? $fields}) Future<PullResponse>
Pulls messages from the server.
seek(SeekRequest request, String subscription, {String? $fields}) Future<SeekResponse>
Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Returns permissions that a caller has on the specified resource.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited