Struct google_api_proto::google::cloud::bigquery::v2::GetQueryResultsRequest
source · pub struct GetQueryResultsRequest {
pub project_id: String,
pub job_id: String,
pub start_index: Option<u64>,
pub page_token: String,
pub max_results: Option<u32>,
pub timeout_ms: Option<u32>,
pub location: String,
pub format_options: Option<DataFormatOptions>,
}
Expand description
Request object of GetQueryResults.
Fields§
§project_id: String
Required. Project ID of the query job.
job_id: String
Required. Job ID of the query job.
start_index: Option<u64>
Zero-based index of the starting row.
page_token: String
Page token, returned by a previous call, to request the next page of results.
max_results: Option<u32>
Maximum number of results to read.
timeout_ms: Option<u32>
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.
location: String
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 theeu
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.
format_options: Option<DataFormatOptions>
Optional. Output format adjustments.
Trait Implementations§
source§impl Clone for GetQueryResultsRequest
impl Clone for GetQueryResultsRequest
source§fn clone(&self) -> GetQueryResultsRequest
fn clone(&self) -> GetQueryResultsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetQueryResultsRequest
impl Debug for GetQueryResultsRequest
source§impl Default for GetQueryResultsRequest
impl Default for GetQueryResultsRequest
source§impl Message for GetQueryResultsRequest
impl Message for GetQueryResultsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for GetQueryResultsRequest
impl PartialEq for GetQueryResultsRequest
source§fn eq(&self, other: &GetQueryResultsRequest) -> bool
fn eq(&self, other: &GetQueryResultsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetQueryResultsRequest
Auto Trait Implementations§
impl Freeze for GetQueryResultsRequest
impl RefUnwindSafe for GetQueryResultsRequest
impl Send for GetQueryResultsRequest
impl Sync for GetQueryResultsRequest
impl Unpin for GetQueryResultsRequest
impl UnwindSafe for GetQueryResultsRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request