構造体プロセス(0.5.0)

プロセスは、データ変換オペレーションの定義です。

フィールド

name

変更不可。リネージ プロセスのリソース名。形式: projects/{project}/locations/{location}/processes/{process}。指定することも、自動的に割り当てることもできます。{process} は 200 文字以下にする必要があります。また、使用できる文字は a-zA-Z0-9_-:. のみです。

display_name

省略可。ユーザー インターフェースに表示される、人が読める形式の名前。200 文字以下で、UTF-8 の英字、数字、スペース、_-:&. などの文字のみを使用する必要があります。

属性

省略可。プロセスの属性。非セマンティック管理(プロセスの分類、記述、ラベル付け)の目的でのみ使用してください。

最大 100 個の属性を使用できます。

origin

省略可。このプロセスとその実行、リネージ イベントの発生元。

実装

新規

 fn new() -> Self

set_name

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

[name][crate::model::Process::name] の値を設定します。

set_display_name

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

[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>,

[attributes][crate::model::Process::attributes] の値を設定します。

set_origin

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

[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>,

[origin][crate::model::Process::origin] の値を設定またはクリアします。