Struct gapi_grpc::google::cloud::bigquery::datatransfer::v1::ListTransferRunsRequest[][src]

pub struct ListTransferRunsRequest {
    pub parent: String,
    pub states: Vec<i32>,
    pub page_token: String,
    pub page_size: i32,
    pub run_attempt: i32,
}

A request to list data transfer runs. UI can use this method to show/filter specific data transfer runs. The data source can use this method to request all scheduled 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

impl ListTransferRunsRequest[src]

pub fn states(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<TransferState>>
[src]

Returns an iterator which yields the valid enum values contained in states.

pub fn push_states(&mut self, value: TransferState)[src]

Appends the provided enum value to states.

pub fn run_attempt(&self) -> RunAttempt[src]

Returns the enum value of run_attempt, or the default if the field is set to an invalid enum value.

pub fn set_run_attempt(&mut self, value: RunAttempt)[src]

Sets run_attempt to the provided enum value.

Trait Implementations

impl Clone for ListTransferRunsRequest[src]

impl Debug for ListTransferRunsRequest[src]

impl Default for ListTransferRunsRequest[src]

impl Message for ListTransferRunsRequest[src]

impl PartialEq<ListTransferRunsRequest> for ListTransferRunsRequest[src]

impl StructuralPartialEq for ListTransferRunsRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ListTransferRunsRequest

impl Send for ListTransferRunsRequest

impl Sync for ListTransferRunsRequest

impl Unpin for ListTransferRunsRequest

impl UnwindSafe for ListTransferRunsRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]