Class JobsResource.ListRequest
Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.
Inheritance
Inherited Members
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class JobsResource.ListRequest : BigqueryBaseServiceRequest<JobList>, IClientServiceRequest<JobList>, 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
AllUsers
Whether to display jobs owned by all users in the project. Default false
Declaration
[RequestParameter("allUsers", RequestParameterType.Query)]
public virtual bool? AllUsers { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MaxCreationTime
Max value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created before or at this timestamp are returned
Declaration
[RequestParameter("maxCreationTime", RequestParameterType.Query)]
public virtual ulong? MaxCreationTime { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
MaxResults
Maximum number of results to return
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MinCreationTime
Min value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created after or at this timestamp are returned
Declaration
[RequestParameter("minCreationTime", RequestParameterType.Query)]
public virtual ulong? MinCreationTime { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
PageToken
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 |
ParentJobId
If set, retrieves only jobs whose parent is this job. Otherwise, retrieves only jobs which have no parent
Declaration
[RequestParameter("parentJobId", RequestParameterType.Query)]
public virtual string ParentJobId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProjectId
Project ID of the jobs to list
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| string |
Projection
Restrict information returned to a set of selected fields
Declaration
[RequestParameter("projection", RequestParameterType.Query)]
public virtual JobsResource.ListRequest.ProjectionEnum? Projection { get; set; }
Property Value
| Type | Description |
|---|---|
| JobsResource.ListRequest.ProjectionEnum? |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
StateFilter
Filter for job state
Declaration
[RequestParameter("stateFilter", RequestParameterType.Query)]
public virtual JobsResource.ListRequest.StateFilterEnum? StateFilter { get; set; }
Property Value
| Type | Description |
|---|---|
| JobsResource.ListRequest.StateFilterEnum? |
Remarks
Use this property to set a single value for the parameter, or StateFilterList to set multiple values. Do not set both properties.
StateFilterList
Filter for job state
Declaration
[RequestParameter("stateFilter", RequestParameterType.Query)]
public virtual Repeatable<JobsResource.ListRequest.StateFilterEnum> StateFilterList { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<JobsResource.ListRequest.StateFilterEnum> |
Remarks
Use this property to set one or more values for the parameter. Do not set both this property and StateFilter.
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()