#[non_exhaustive]pub struct InvocationConfig {
pub included_targets: Vec<Target>,
pub included_tags: Vec<String>,
pub transitive_dependencies_included: bool,
pub transitive_dependents_included: bool,
pub fully_refresh_incremental_tables_enabled: bool,
pub service_account: String,
/* private fields */
}Expand description
Includes various configuration options for a workflow invocation.
If both included_targets and included_tags are unset, all actions
will be included.
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.included_targets: Vec<Target>Optional. The set of action identifiers to include.
Optional. The set of tags to include.
transitive_dependencies_included: boolOptional. When set to true, transitive dependencies of included actions will be executed.
transitive_dependents_included: boolOptional. When set to true, transitive dependents of included actions will be executed.
fully_refresh_incremental_tables_enabled: boolOptional. When set to true, any incremental tables will be fully refreshed.
service_account: StringOptional. The service account to run workflow invocations under.
Implementations§
Source§impl InvocationConfig
impl InvocationConfig
pub fn new() -> Self
Sourcepub fn set_included_targets<T, V>(self, v: T) -> Self
pub fn set_included_targets<T, V>(self, v: T) -> Self
Sets the value of included_targets.
§Example
use google_cloud_dataform_v1::model::Target;
let x = InvocationConfig::new()
.set_included_targets([
Target::default()/* use setters */,
Target::default()/* use (different) setters */,
]);Sets the value of included_tags.
§Example
let x = InvocationConfig::new().set_included_tags(["a", "b", "c"]);Sourcepub fn set_transitive_dependencies_included<T: Into<bool>>(self, v: T) -> Self
pub fn set_transitive_dependencies_included<T: Into<bool>>(self, v: T) -> Self
Sets the value of transitive_dependencies_included.
§Example
let x = InvocationConfig::new().set_transitive_dependencies_included(true);Sourcepub fn set_transitive_dependents_included<T: Into<bool>>(self, v: T) -> Self
pub fn set_transitive_dependents_included<T: Into<bool>>(self, v: T) -> Self
Sets the value of transitive_dependents_included.
§Example
let x = InvocationConfig::new().set_transitive_dependents_included(true);Sourcepub fn set_fully_refresh_incremental_tables_enabled<T: Into<bool>>(
self,
v: T,
) -> Self
pub fn set_fully_refresh_incremental_tables_enabled<T: Into<bool>>( self, v: T, ) -> Self
Sets the value of fully_refresh_incremental_tables_enabled.
§Example
let x = InvocationConfig::new().set_fully_refresh_incremental_tables_enabled(true);Sourcepub fn set_service_account<T: Into<String>>(self, v: T) -> Self
pub fn set_service_account<T: Into<String>>(self, v: T) -> Self
Sets the value of service_account.
§Example
let x = InvocationConfig::new().set_service_account("example");Trait Implementations§
Source§impl Clone for InvocationConfig
impl Clone for InvocationConfig
Source§fn clone(&self) -> InvocationConfig
fn clone(&self) -> InvocationConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more