Class ProjectsResource.JobsResource.ListRequest
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
.
Inheritance
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.JobsResource.ListRequest : DataflowBaseServiceRequest<ListJobsResponse>, IClientServiceRequest<ListJobsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string projectId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | projectId |
Properties
Filter
The kind of filter to use.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual ProjectsResource.JobsResource.ListRequest.FilterEnum? Filter { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.JobsResource.ListRequest.FilterEnum? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Location
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
Declaration
[RequestParameter("location", RequestParameterType.Query)]
public virtual string Location { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Optional. The job name.
Declaration
[RequestParameter("name", RequestParameterType.Query)]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Set this to the 'next_page_token' field of a previous response to request additional results in a long list.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
The project which owns the jobs.
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
View
Deprecated. ListJobs always returns summaries now. Use GetJob for other JobViews.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual ProjectsResource.JobsResource.ListRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.JobsResource.ListRequest.ViewEnum? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()