Class JobsResource.GetQueryResultsRequest
RPC to get the results of a query job.
Inheritance
Inherited Members
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
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
https://cloud.google.com/bigquery/docs/locations#specifying_your_location.
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
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
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()