Class ProjectsResource.RegionsResource.JobsResource.ListRequest
Lists regions/{region}/jobs in a project.
Inheritance
Inherited Members
Namespace: Google.Apis.Dataproc.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class ProjectsResource.RegionsResource.JobsResource.ListRequest : DataprocBaseServiceRequest<ListJobsResponse>, IClientServiceRequest<ListJobsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string projectId, string region)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | projectId | |
string | region |
Properties
ClusterName
Optional. If set, the returned jobs list includes only jobs that were submitted to the named cluster.
Declaration
[RequestParameter("clusterName", RequestParameterType.Query)]
public virtual string ClusterName { get; set; }
Property Value
Type | Description |
---|---|
string |
Filter
Optional. A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax:field = value AND field = value ...where field is status.state or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be either ACTIVE or NON_ACTIVE. Only the logical AND operator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env = staging AND labels.starred = *
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
JobStateMatcher
Optional. Specifies enumerated categories of jobs to list. (default = match ALL jobs).If filter is provided, jobStateMatcher will be ignored.
Declaration
[RequestParameter("jobStateMatcher", RequestParameterType.Query)]
public virtual ProjectsResource.RegionsResource.JobsResource.ListRequest.JobStateMatcherEnum? JobStateMatcher { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.RegionsResource.JobsResource.ListRequest.JobStateMatcherEnum? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Optional. The number of results to return in each response.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. The page token, returned by a previous call, to request the next page of results.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Required. The ID of the Google Cloud Platform project that the job belongs to.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
Region
Required. The Dataproc region in which to handle the request.
Declaration
[RequestParameter("region", RequestParameterType.Path)]
public virtual string Region { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()