#[non_exhaustive]pub struct MigrationWorkflow {
pub name: String,
pub display_name: String,
pub tasks: HashMap<String, MigrationTask>,
pub state: State,
pub create_time: Option<Timestamp>,
pub last_update_time: Option<Timestamp>,
/* private fields */
}Expand description
A migration workflow which specifies what needs to be done for an EDW migration.
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.name: StringOutput only. Immutable. Identifier. The unique identifier for the migration workflow. The ID is server-generated.
Example: projects/123/locations/us/workflows/345
display_name: StringThe display name of the workflow. This can be set to give a workflow a descriptive name. There is no guarantee or enforcement of uniqueness.
tasks: HashMap<String, MigrationTask>The tasks in a workflow in a named map. The name (i.e. key) has no meaning and is merely a convenient way to address a specific task in a workflow.
state: StateOutput only. That status of the workflow.
create_time: Option<Timestamp>Time when the workflow was created.
last_update_time: Option<Timestamp>Time when the workflow was last updated.
Implementations§
Source§impl MigrationWorkflow
impl MigrationWorkflow
pub fn new() -> Self
Sourcepub fn set_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of display_name.
Sourcepub fn set_create_time<T>(self, v: T) -> Self
pub fn set_create_time<T>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of create_time.
Sourcepub fn set_last_update_time<T>(self, v: T) -> Self
pub fn set_last_update_time<T>(self, v: T) -> Self
Sets the value of last_update_time.
Sourcepub fn set_or_clear_last_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_last_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of last_update_time.
Trait Implementations§
Source§impl Clone for MigrationWorkflow
impl Clone for MigrationWorkflow
Source§fn clone(&self) -> MigrationWorkflow
fn clone(&self) -> MigrationWorkflow
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more