Class ProjectsResource.JobsResource.WorkItemsResource.LeaseRequest
Leases a dataflow WorkItem to run.
Inheritance
ProjectsResource.JobsResource.WorkItemsResource.LeaseRequest
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.JobsResource.WorkItemsResource.LeaseRequest : DataflowBaseServiceRequest<LeaseWorkItemResponse>, IClientServiceRequest<LeaseWorkItemResponse>, IClientServiceRequest
Constructors
LeaseRequest(IClientService, LeaseWorkItemRequest, string, string)
Constructs a new Lease request.
Declaration
public LeaseRequest(IClientService service, LeaseWorkItemRequest body, string projectId, string jobId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
LeaseWorkItemRequest | body | |
string | projectId | |
string | jobId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
JobId
Identifies the workflow job this worker belongs to.
Declaration
[RequestParameter("jobId", RequestParameterType.Path)]
public virtual string JobId { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProjectId
Identifies the project this worker belongs to.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Lease parameter list.
Declaration
protected override void InitParameters()