Class ProjectsResource.LocationsResource.JobsResource.WorkItemsResource
The "workItems" collection of methods.
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.LocationsResource.JobsResource.WorkItemsResource
Constructors
WorkItemsResource(IClientService)
Constructs a new resource.
Declaration
public WorkItemsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Lease(LeaseWorkItemRequest, string, string, string)
Leases a dataflow WorkItem to run.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.WorkItemsResource.LeaseRequest Lease(LeaseWorkItemRequest body, string projectId, string location, string jobId)
Parameters
Type | Name | Description |
---|---|---|
LeaseWorkItemRequest | body | The body of the request. |
string | projectId | Identifies the project this worker belongs to. |
string | location | The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job. |
string | jobId | Identifies the workflow job this worker belongs to. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.WorkItemsResource.LeaseRequest |
ReportStatus(ReportWorkItemStatusRequest, string, string, string)
Reports the status of dataflow WorkItems leased by a worker.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.WorkItemsResource.ReportStatusRequest ReportStatus(ReportWorkItemStatusRequest body, string projectId, string location, string jobId)
Parameters
Type | Name | Description |
---|---|---|
ReportWorkItemStatusRequest | body | The body of the request. |
string | projectId | The project which owns the WorkItem's job. |
string | location | The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the WorkItem's job. |
string | jobId | The job which the WorkItem is part of. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.WorkItemsResource.ReportStatusRequest |