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
Implements
Inherited Members
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class 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 |
---|---|---|
Google.Apis.Services.IClientService | service | |
System.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 |
---|---|
System.Nullable<System.Boolean> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Nullable<System.UInt64> |
MaxResults
Maximum number of results to return
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Nullable<System.UInt64> |
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 |
---|---|
System.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 |
---|---|
System.String |
ProjectId
Project ID of the jobs to list
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Nullable<JobsResource.ListRequest.ProjectionEnum> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
StateFilter
Filter for job state
Declaration
[RequestParameter("stateFilter", RequestParameterType.Query)]
public virtual JobsResource.ListRequest.StateFilterEnum? StateFilter { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<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 |
---|---|
Google.Apis.Util.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()