#[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,
pub query_priority: Option<QueryPriority>,
/* 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.
query_priority: Option<QueryPriority>Optional. Specifies the priority for query execution in BigQuery. More information can be found at https://cloud.google.com/bigquery/docs/running-queries#queries.
Implementations§
Source§impl InvocationConfig
impl InvocationConfig
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");Sourcepub fn set_query_priority<T>(self, v: T) -> Selfwhere
T: Into<QueryPriority>,
pub fn set_query_priority<T>(self, v: T) -> Selfwhere
T: Into<QueryPriority>,
Sets the value of query_priority.
§Example
use google_cloud_dataform_v1::model::invocation_config::QueryPriority;
let x0 = InvocationConfig::new().set_query_priority(QueryPriority::Interactive);
let x1 = InvocationConfig::new().set_query_priority(QueryPriority::Batch);Sourcepub fn set_or_clear_query_priority<T>(self, v: Option<T>) -> Selfwhere
T: Into<QueryPriority>,
pub fn set_or_clear_query_priority<T>(self, v: Option<T>) -> Selfwhere
T: Into<QueryPriority>,
Sets or clears the value of query_priority.
§Example
use google_cloud_dataform_v1::model::invocation_config::QueryPriority;
let x0 = InvocationConfig::new().set_or_clear_query_priority(Some(QueryPriority::Interactive));
let x1 = InvocationConfig::new().set_or_clear_query_priority(Some(QueryPriority::Batch));
let x_none = InvocationConfig::new().set_or_clear_query_priority(None::<QueryPriority>);Trait Implementations§
Source§impl Clone for InvocationConfig
impl Clone for InvocationConfig
Source§fn clone(&self) -> InvocationConfig
fn clone(&self) -> InvocationConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for InvocationConfig
impl Debug for InvocationConfig
Source§impl Default for InvocationConfig
impl Default for InvocationConfig
Source§fn default() -> InvocationConfig
fn default() -> InvocationConfig
Source§impl Message for InvocationConfig
impl Message for InvocationConfig
Source§impl PartialEq for InvocationConfig
impl PartialEq for InvocationConfig
impl StructuralPartialEq for InvocationConfig
Auto Trait Implementations§
impl Freeze for InvocationConfig
impl RefUnwindSafe for InvocationConfig
impl Send for InvocationConfig
impl Sync for InvocationConfig
impl Unpin for InvocationConfig
impl UnsafeUnpin for InvocationConfig
impl UnwindSafe for InvocationConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request