pub struct GetQueryResultsRequest {
pub start_index: i64,
pub page_token: Option<String>,
pub max_results: Option<i64>,
pub timeout_ms: Option<i64>,
pub location: Option<String>,
pub format_options: Option<DataFormatOptions>,
}Fields§
§start_index: i64Zero-based index of the starting row.
page_token: Option<String>Page token, returned by a previous call, to request the next page of results.
max_results: Option<i64>Maximum number of results to read.
timeout_ms: Option<i64>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: Option<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 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.
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§fn default() -> GetQueryResultsRequest
fn default() -> GetQueryResultsRequest
Source§impl<'de> Deserialize<'de> for GetQueryResultsRequest
impl<'de> Deserialize<'de> for GetQueryResultsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for GetQueryResultsRequest
impl PartialEq for GetQueryResultsRequest
Source§impl Serialize for GetQueryResultsRequest
impl Serialize for GetQueryResultsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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