#[non_exhaustive]pub struct ListTransferRunsRequest {
pub parent: String,
pub states: Vec<TransferState>,
pub page_token: String,
pub page_size: i32,
pub run_attempt: RunAttempt,
/* private fields */
}Expand description
A request to list data transfer runs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. 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<TransferState>When specified, only transfer runs with requested states are returned.
page_token: StringPagination 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: i32Page size. The default page size is the maximum value of 1000 results.
run_attempt: RunAttemptIndicates how run attempts are to be pulled.
Implementations§
Source§impl ListTransferRunsRequest
impl ListTransferRunsRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_states<T, V>(self, v: T) -> Self
pub fn set_states<T, V>(self, v: T) -> Self
Sets the value of states.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Sourcepub fn set_run_attempt<T: Into<RunAttempt>>(self, v: T) -> Self
pub fn set_run_attempt<T: Into<RunAttempt>>(self, v: T) -> Self
Sets the value of run_attempt.
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 more