Show / Hide Table of Contents

Class JobsResource.GetQueryResultsRequest

RPC to get the results of a query job.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GetQueryResultsResponse>
BigqueryBaseServiceRequest<GetQueryResultsResponse>
JobsResource.GetQueryResultsRequest
Implements
IClientServiceRequest<GetQueryResultsResponse>
IClientServiceRequest
Inherited Members
BigqueryBaseServiceRequest<GetQueryResultsResponse>.Xgafv
BigqueryBaseServiceRequest<GetQueryResultsResponse>.AccessToken
BigqueryBaseServiceRequest<GetQueryResultsResponse>.Alt
BigqueryBaseServiceRequest<GetQueryResultsResponse>.Callback
BigqueryBaseServiceRequest<GetQueryResultsResponse>.Fields
BigqueryBaseServiceRequest<GetQueryResultsResponse>.Key
BigqueryBaseServiceRequest<GetQueryResultsResponse>.OauthToken
BigqueryBaseServiceRequest<GetQueryResultsResponse>.PrettyPrint
BigqueryBaseServiceRequest<GetQueryResultsResponse>.QuotaUser
BigqueryBaseServiceRequest<GetQueryResultsResponse>.UploadType
BigqueryBaseServiceRequest<GetQueryResultsResponse>.UploadProtocol
ClientServiceRequest<GetQueryResultsResponse>.Execute()
ClientServiceRequest<GetQueryResultsResponse>.ExecuteAsStream()
ClientServiceRequest<GetQueryResultsResponse>.ExecuteAsync()
ClientServiceRequest<GetQueryResultsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GetQueryResultsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GetQueryResultsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GetQueryResultsResponse>.CreateRequest(bool?)
ClientServiceRequest<GetQueryResultsResponse>.GenerateRequestUri()
ClientServiceRequest<GetQueryResultsResponse>.GetBody()
ClientServiceRequest<GetQueryResultsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GetQueryResultsResponse>.ETagAction
ClientServiceRequest<GetQueryResultsResponse>.ModifyRequest
ClientServiceRequest<GetQueryResultsResponse>.ValidateParameters
ClientServiceRequest<GetQueryResultsResponse>.ApiVersion
ClientServiceRequest<GetQueryResultsResponse>.RequestParameters
ClientServiceRequest<GetQueryResultsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class JobsResource.GetQueryResultsRequest : BigqueryBaseServiceRequest<GetQueryResultsResponse>, IClientServiceRequest<GetQueryResultsResponse>, IClientServiceRequest

Constructors

GetQueryResultsRequest(IClientService, string, string)

Constructs a new GetQueryResults request.

Declaration
public GetQueryResultsRequest(IClientService service, string projectId, string jobId)
Parameters
Type Name Description
IClientService service
string projectId
string jobId

Properties

FormatOptionsUseInt64Timestamp

Optional. Output timestamp as usec int64. Default is false.

Declaration
[RequestParameter("formatOptions.useInt64Timestamp", RequestParameterType.Query)]
public virtual bool? FormatOptionsUseInt64Timestamp { get; set; }
Property Value
Type Description
bool?

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GetQueryResultsResponse>.HttpMethod

JobId

Required. Job ID of the query job.

Declaration
[RequestParameter("jobId", RequestParameterType.Path)]
public virtual string JobId { get; }
Property Value
Type Description
string

Location

The geographic location of the job. You must specify the location to run the job for the following scenarios: * If the location to run a job is not in the us or the eu multi-regional location * If the job's location is in a single region (for example, us-central1) For more information, see how to specify locations.

Declaration
[RequestParameter("location", RequestParameterType.Query)]
public virtual string Location { get; set; }
Property Value
Type Description
string

MaxResults

Maximum number of results to read.

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
ClientServiceRequest<GetQueryResultsResponse>.MethodName

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

ProjectId

Required. Project ID of the query job.

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
ClientServiceRequest<GetQueryResultsResponse>.RestPath

StartIndex

Zero-based index of the starting row.

Declaration
[RequestParameter("startIndex", RequestParameterType.Query)]
public virtual ulong? StartIndex { get; set; }
Property Value
Type Description
ulong?

TimeoutMs

Optional: Specifies the maximum amount of time, in milliseconds, that the client is willing to wait for the query to complete. By default, this limit is 10 seconds (10,000 milliseconds). If the query is complete, the jobComplete field in the response is true. If the query has not yet completed, jobComplete is false. You can request a longer timeout period in the timeoutMs field. However, the call is not guaranteed to wait for the specified timeout; it typically returns after around 200 seconds (200,000 milliseconds), even if the query is not complete. If jobComplete is false, you can continue to wait for the query to complete by calling the getQueryResults method until the jobComplete field in the getQueryResults response is true.

Declaration
[RequestParameter("timeoutMs", RequestParameterType.Query)]
public virtual long? TimeoutMs { get; set; }
Property Value
Type Description
long?

Methods

InitParameters()

Initializes GetQueryResults parameter list.

Declaration
protected override void InitParameters()
Overrides
BigqueryBaseServiceRequest<GetQueryResultsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX