Struct google_api_proto::google::cloud::bigquery::v2::ListJobsRequest
source · pub struct ListJobsRequest {
pub project_id: String,
pub all_users: bool,
pub max_results: Option<i32>,
pub min_creation_time: u64,
pub max_creation_time: Option<u64>,
pub page_token: String,
pub projection: i32,
pub state_filter: Vec<i32>,
pub parent_job_id: String,
}
Expand description
Describes the format of the list jobs request.
Fields§
§project_id: String
Project ID of the jobs to list.
all_users: bool
Whether to display jobs owned by all users in the project. Default False.
max_results: Option<i32>
The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.
min_creation_time: u64
Min value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created after or at this timestamp are returned.
max_creation_time: Option<u64>
Max value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created before or at this timestamp are returned.
page_token: String
Page token, returned by a previous call, to request the next page of results.
projection: i32
Restrict information returned to a set of selected fields
state_filter: Vec<i32>
Filter for job state
parent_job_id: String
If set, show only child jobs of the specified parent. Otherwise, show all top-level jobs.
Implementations§
source§impl ListJobsRequest
impl ListJobsRequest
sourcepub fn projection(&self) -> Projection
pub fn projection(&self) -> Projection
Returns the enum value of projection
, or the default if the field is set to an invalid enum value.
sourcepub fn set_projection(&mut self, value: Projection)
pub fn set_projection(&mut self, value: Projection)
Sets projection
to the provided enum value.
sourcepub fn state_filter(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<StateFilter>>
pub fn state_filter( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<StateFilter>>
Returns an iterator which yields the valid enum values contained in state_filter
.
sourcepub fn push_state_filter(&mut self, value: StateFilter)
pub fn push_state_filter(&mut self, value: StateFilter)
Appends the provided enum value to state_filter
.
Trait Implementations§
source§impl Clone for ListJobsRequest
impl Clone for ListJobsRequest
source§fn clone(&self) -> ListJobsRequest
fn clone(&self) -> ListJobsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListJobsRequest
impl Debug for ListJobsRequest
source§impl Default for ListJobsRequest
impl Default for ListJobsRequest
source§impl Message for ListJobsRequest
impl Message for ListJobsRequest
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 ListJobsRequest
impl PartialEq for ListJobsRequest
source§fn eq(&self, other: &ListJobsRequest) -> bool
fn eq(&self, other: &ListJobsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListJobsRequest
Auto Trait Implementations§
impl Freeze for ListJobsRequest
impl RefUnwindSafe for ListJobsRequest
impl Send for ListJobsRequest
impl Sync for ListJobsRequest
impl Unpin for ListJobsRequest
impl UnwindSafe for ListJobsRequest
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