Struct google_api_proto::google::cloud::bigquery::datatransfer::v1::ListTransferRunsRequest
source · pub struct ListTransferRunsRequest {
pub parent: String,
pub states: Vec<i32>,
pub page_token: String,
pub page_size: i32,
pub run_attempt: i32,
}
Expand description
A request to list data transfer runs.
Fields§
§parent: String
Required. Name of transfer configuration for which transfer runs should be
retrieved. Format of transfer configuration resource name is:
projects/{project_id}/transferConfigs/{config_id}
or
projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}
.
states: Vec<i32>
When specified, only transfer runs with requested states are returned.
page_token: String
Pagination token, which can be used to request a specific page
of ListTransferRunsRequest
list results. For multiple-page
results, ListTransferRunsResponse
outputs
a next_page
token, which can be used as the
page_token
value to request the next page of list results.
page_size: i32
Page size. The default page size is the maximum value of 1000 results.
run_attempt: i32
Indicates how run attempts are to be pulled.
Implementations§
source§impl ListTransferRunsRequest
impl ListTransferRunsRequest
sourcepub fn states(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<TransferState>>
pub fn states( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<TransferState>>
Returns an iterator which yields the valid enum values contained in states
.
sourcepub fn push_states(&mut self, value: TransferState)
pub fn push_states(&mut self, value: TransferState)
Appends the provided enum value to states
.
sourcepub fn run_attempt(&self) -> RunAttempt
pub fn run_attempt(&self) -> RunAttempt
Returns the enum value of run_attempt
, or the default if the field is set to an invalid enum value.
sourcepub fn set_run_attempt(&mut self, value: RunAttempt)
pub fn set_run_attempt(&mut self, value: RunAttempt)
Sets run_attempt
to the provided enum value.
Trait Implementations§
source§impl Clone for ListTransferRunsRequest
impl Clone for ListTransferRunsRequest
source§fn clone(&self) -> ListTransferRunsRequest
fn clone(&self) -> ListTransferRunsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTransferRunsRequest
impl Debug for ListTransferRunsRequest
source§impl Default for ListTransferRunsRequest
impl Default for ListTransferRunsRequest
source§impl Message for ListTransferRunsRequest
impl Message for ListTransferRunsRequest
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 ListTransferRunsRequest
impl PartialEq for ListTransferRunsRequest
source§fn eq(&self, other: &ListTransferRunsRequest) -> bool
fn eq(&self, other: &ListTransferRunsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTransferRunsRequest
Auto Trait Implementations§
impl Freeze for ListTransferRunsRequest
impl RefUnwindSafe for ListTransferRunsRequest
impl Send for ListTransferRunsRequest
impl Sync for ListTransferRunsRequest
impl Unpin for ListTransferRunsRequest
impl UnwindSafe for ListTransferRunsRequest
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