#[non_exhaustive]pub struct ListMigrationSubtasksRequest {
pub parent: String,
pub read_mask: Option<FieldMask>,
pub page_size: i32,
pub page_token: String,
pub filter: String,
/* private fields */
}Expand description
A request to list previously created migration subtasks.
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. The migration task of the subtasks to list.
Example: projects/123/locations/us/workflows/1234
read_mask: Option<FieldMask>Optional. The list of fields to be retrieved.
page_size: i32Optional. The maximum number of migration tasks to return. The service may return fewer than this number.
page_token: StringOptional. A page token, received from previous ListMigrationSubtasks
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListMigrationSubtasks
must match the call that provided the page token.
filter: StringOptional. The filter to apply. This can be used to get the subtasks of a
specific tasks in a workflow, e.g. migration_task = "ab012" where
"ab012" is the task ID (not the name in the named map).
Implementations§
Source§impl ListMigrationSubtasksRequest
impl ListMigrationSubtasksRequest
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_read_mask<T>(self, v: T) -> Self
pub fn set_read_mask<T>(self, v: T) -> Self
Sets the value of read_mask.
Sourcepub fn set_or_clear_read_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_read_mask<T>(self, v: Option<T>) -> Self
Sets or clears the value of read_mask.
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_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_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sets the value of filter.
Trait Implementations§
Source§impl Clone for ListMigrationSubtasksRequest
impl Clone for ListMigrationSubtasksRequest
Source§fn clone(&self) -> ListMigrationSubtasksRequest
fn clone(&self) -> ListMigrationSubtasksRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListMigrationSubtasksRequest
impl Debug for ListMigrationSubtasksRequest
Source§impl Default for ListMigrationSubtasksRequest
impl Default for ListMigrationSubtasksRequest
Source§fn default() -> ListMigrationSubtasksRequest
fn default() -> ListMigrationSubtasksRequest
Source§impl PartialEq for ListMigrationSubtasksRequest
impl PartialEq for ListMigrationSubtasksRequest
Source§fn eq(&self, other: &ListMigrationSubtasksRequest) -> bool
fn eq(&self, other: &ListMigrationSubtasksRequest) -> bool
self and other values to be equal, and is used by ==.