Class ProjectsResource.LocationsResource.JobsResource.WorkItemsResource.LeaseRequest
Leases a dataflow WorkItem to run.
Inheritance
ProjectsResource.LocationsResource.JobsResource.WorkItemsResource.LeaseRequest
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.LocationsResource.JobsResource.WorkItemsResource.LeaseRequest : DataflowBaseServiceRequest<LeaseWorkItemResponse>, IClientServiceRequest<LeaseWorkItemResponse>, IClientServiceRequest
Constructors
LeaseRequest(IClientService, LeaseWorkItemRequest, string, string, string)
Constructs a new Lease request.
Declaration
public LeaseRequest(IClientService service, LeaseWorkItemRequest body, string projectId, string location, string jobId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
LeaseWorkItemRequest | body | |
string | projectId | |
string | location | |
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 |
Location
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job.
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { 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()