Class ProjectsResource.LocationsResource.JobsResource
The "jobs" collection of methods.
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.LocationsResource.JobsResource
Constructors
JobsResource(IClientService)
Constructs a new resource.
Declaration
public JobsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Debug
Gets the Debug resource.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.DebugResource Debug { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.DebugResource |
Messages
Gets the Messages resource.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.MessagesResource Messages { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.MessagesResource |
Snapshots
Gets the Snapshots resource.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.SnapshotsResource Snapshots { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.SnapshotsResource |
Stages
Gets the Stages resource.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.StagesResource Stages { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.StagesResource |
WorkItems
Gets the WorkItems resource.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.WorkItemsResource WorkItems { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.WorkItemsResource |
Methods
Create(Job, string, string)
Creates a Cloud Dataflow job. To create a job, we recommend using projects.locations.jobs.create
with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints).
Using projects.jobs.create
is not recommended, as your job will always start in us-central1
. Do
not enter confidential information when you supply string values using the API.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.CreateRequest Create(Job body, string projectId, string location)
Parameters
Type | Name | Description |
---|---|---|
Job | body | The body of the request. |
string | projectId | The ID of the Cloud Platform project that the job belongs to. |
string | location | The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.CreateRequest |
Get(string, string, string)
Gets the state of the specified Cloud Dataflow job. To get the state of a job, we recommend using
projects.locations.jobs.get
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using projects.jobs.get
is
not recommended, as you can only get the state of jobs that are running in us-central1
.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.GetRequest Get(string projectId, string location, string jobId)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | The ID of the Cloud Platform project that the job belongs to. |
string | location | The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. |
string | jobId | The job ID. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.GetRequest |
GetExecutionDetails(string, string, string)
Request detailed information about the execution status of the job. EXPERIMENTAL. This API is subject to change or removal without notice.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.GetExecutionDetailsRequest GetExecutionDetails(string projectId, string location, string jobId)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | A project id. |
string | location | The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id. |
string | jobId | The job to get execution details for. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.GetExecutionDetailsRequest |
GetMetrics(string, string, string)
Request the job status. To request the status of a job, we recommend using
projects.locations.jobs.getMetrics
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
projects.jobs.getMetrics
is not recommended, as you can only request the status of jobs that are
running in us-central1
.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.GetMetricsRequest GetMetrics(string projectId, string location, string jobId)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | A project id. |
string | location | The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains the job specified by job_id. |
string | jobId | The job to get metrics for. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.GetMetricsRequest |
List(string, string)
List the jobs of a project. To list the jobs of a project in a region, we recommend using
projects.locations.jobs.list
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). To list the all jobs across
all regions, use projects.jobs.aggregated
. Using projects.jobs.list
is not recommended, because
you can only get the list of jobs that are running in us-central1
. projects.locations.jobs.list
and projects.jobs.list
support filtering the list of jobs by name. Filtering by name isn't
supported by projects.jobs.aggregated
.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.ListRequest List(string projectId, string location)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | The project which owns the jobs. |
string | location | The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.ListRequest |
Snapshot(SnapshotJobRequest, string, string, string)
Snapshot the state of a streaming job.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.SnapshotRequest Snapshot(SnapshotJobRequest body, string projectId, string location, string jobId)
Parameters
Type | Name | Description |
---|---|---|
SnapshotJobRequest | body | The body of the request. |
string | projectId | The project which owns the job to be snapshotted. |
string | location | The location that contains this job. |
string | jobId | The job to be snapshotted. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.SnapshotRequest |
Update(Job, string, string, string)
Updates the state of an existing Cloud Dataflow job. To update the state of an existing job, we
recommend using projects.locations.jobs.update
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using projects.jobs.update
is not recommended, as you can only update the state of jobs that are running in us-central1
.
Declaration
public virtual ProjectsResource.LocationsResource.JobsResource.UpdateRequest Update(Job body, string projectId, string location, string jobId)
Parameters
Type | Name | Description |
---|---|---|
Job | body | The body of the request. |
string | projectId | The ID of the Cloud Platform project that the job belongs to. |
string | location | The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job. |
string | jobId | The job ID. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.UpdateRequest |