#[non_exhaustive]pub struct ListTransferLogsRequest {
pub parent: String,
pub page_token: String,
pub page_size: i32,
pub message_types: Vec<MessageSeverity>,
/* private fields */
}Expand description
A request to get user facing log messages associated with data transfer run.
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. Transfer run name in the form:
projects/{project_id}/transferConfigs/{config_id}/runs/{run_id} or
projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}
page_token: StringPagination token, which can be used to request a specific page
of ListTransferLogsRequest list results. For multiple-page
results, ListTransferLogsResponse 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.
message_types: Vec<MessageSeverity>Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.
Implementations§
Source§impl ListTransferLogsRequest
impl ListTransferLogsRequest
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_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_message_types<T, V>(self, v: T) -> Self
pub fn set_message_types<T, V>(self, v: T) -> Self
Sets the value of message_types.
Trait Implementations§
Source§impl Clone for ListTransferLogsRequest
impl Clone for ListTransferLogsRequest
Source§fn clone(&self) -> ListTransferLogsRequest
fn clone(&self) -> ListTransferLogsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more