#[non_exhaustive]pub struct Execution {
pub name: String,
pub display_name: String,
pub state: State,
pub etag: String,
pub labels: HashMap<String, String>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub schema_title: String,
pub schema_version: String,
pub metadata: Option<Struct>,
pub description: String,
/* private fields */
}Expand description
Instance of a general execution.
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. The resource name of the Execution.
display_name: StringUser provided display name of the Execution. May be up to 128 Unicode characters.
state: StateThe state of this Execution. This is a property of the Execution, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines) and the system does not prescribe or check the validity of state transitions.
etag: StringAn eTag used to perform consistent read-modify-write updates. If not set, a blind “overwrite” update happens.
labels: HashMap<String, String>The labels with user-defined metadata to organize your Executions.
Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Execution (System labels are excluded).
create_time: Option<Timestamp>Output only. Timestamp when this Execution was created.
update_time: Option<Timestamp>Output only. Timestamp when this Execution was last updated.
schema_title: StringThe title of the schema describing the metadata.
Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
schema_version: StringThe version of the schema in schema_title to use.
Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
metadata: Option<Struct>Properties of the Execution. Top level metadata keys’ heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
description: StringDescription of the Execution
Implementations§
Source§impl Execution
impl Execution
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_labels<T, K, V>(self, v: T) -> Self
pub fn set_labels<T, K, V>(self, v: T) -> Self
Sets the value of labels.
Sourcepub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_create_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_update_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
pub fn set_update_time<T: Into<Option<Timestamp>>>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_schema_title<T: Into<String>>(self, v: T) -> Self
pub fn set_schema_title<T: Into<String>>(self, v: T) -> Self
Sets the value of schema_title.
Sourcepub fn set_schema_version<T: Into<String>>(self, v: T) -> Self
pub fn set_schema_version<T: Into<String>>(self, v: T) -> Self
Sets the value of schema_version.
Sourcepub fn set_description<T: Into<String>>(self, v: T) -> Self
pub fn set_description<T: Into<String>>(self, v: T) -> Self
Sets the value of description.