Struct Process (0.5.0)

A process is the definition of a data transformation operation.

Fields

name

Immutable. The resource name of the lineage process. Format: projects/{project}/locations/{location}/processes/{process}. Can be specified or auto-assigned. {process} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.

display_name

Optional. A human-readable name you can set to display in a user interface. Must be not longer than 200 characters and only contain UTF-8 letters or numbers, spaces or characters like _-:&.

attributes

Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process).

Up to 100 attributes are allowed.

origin

Optional. The origin of this process and its runs and lineage events.

Implementations

new

 fn new() -> Self

set_name

 fn set_name<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [name][crate::model::Process::name].

set_display_name

 fn set_display_name<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

Sets the value of [display_name][crate::model::Process::display_name].

set_attributes

 fn set_attributes<T, K, V>(self, v: T) -> Self
where
    T: std::iter::IntoIterator,
    K: std::convert::Into<std::string::String>,
    V: std::convert::Into<wkt::Value>,

Sets the value of [attributes][crate::model::Process::attributes].

set_origin

 fn set_origin<T>(self, v: T) -> Self
where
    T: std::convert::Into<crate::model::Origin>,

Sets the value of [origin][crate::model::Process::origin].

set_or_clear_origin

 fn set_or_clear_origin<T>(self, v: std::option::Option<T>) -> Self
where
    T: std::convert::Into<crate::model::Origin>,

Sets or clears the value of [origin][crate::model::Process::origin].