Class 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.
Inheritance
ProjectsResource.SubscriptionsResource.ModifyAckDeadlineRequest
Inherited Members
Namespace: Google.Apis.Pubsub.v1
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class ProjectsResource.SubscriptionsResource.ModifyAckDeadlineRequest : PubsubBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
ModifyAckDeadlineRequest(IClientService, ModifyAckDeadlineRequest, string)
Constructs a new ModifyAckDeadline request.
Declaration
public ModifyAckDeadlineRequest(IClientService service, ModifyAckDeadlineRequest body, string subscription)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ModifyAckDeadlineRequest | body | |
string | subscription |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Subscription
Required. The name of the subscription. Format is projects/{project}/subscriptions/{sub}
.
Declaration
[RequestParameter("subscription", RequestParameterType.Path)]
public virtual string Subscription { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes ModifyAckDeadline parameter list.
Declaration
protected override void InitParameters()