Class ProjectsResource.SubscriptionsResource.PullRequest
Pulls messages from the server.
Inheritance
ProjectsResource.SubscriptionsResource.PullRequest
Inherited Members
Namespace: Google.Apis.Pubsub.v1
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class ProjectsResource.SubscriptionsResource.PullRequest : PubsubBaseServiceRequest<PullResponse>, IClientServiceRequest<PullResponse>, IClientServiceRequest
Constructors
PullRequest(IClientService, PullRequest, string)
Constructs a new Pull request.
Declaration
public PullRequest(IClientService service, PullRequest body, string subscription)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
PullRequest | 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 subscription from which messages should be pulled. 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 Pull parameter list.
Declaration
protected override void InitParameters()