Struct gapi_grpc::google::cloud::aiplatform::v1beta1::Event[][src]

pub struct Event {
    pub artifact: String,
    pub execution: String,
    pub event_time: Option<Timestamp>,
    pub type: i32,
    pub labels: HashMap<String, String>,
}
[]

An edge describing the relationship between an Artifact and an Execution in a lineage graph.

Fields

artifact: String
[]

Required. The relative resource name of the Artifact in the Event.

execution: String
[]

Output only. The relative resource name of the Execution in the Event.

event_time: Option<Timestamp>
[]

Output only. Time the Event occurred.

type: i32
[]

Required. The type of the Event.

labels: HashMap<String, String>
[]

The labels with user-defined metadata to annotate Events.

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 Event (System labels are excluded).

See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with “aiplatform.googleapis.com/” and are immutable.

Implementations

impl Event[src][]

pub fn type(&self) -> Type[src][]

Returns the enum value of type, or the default if the field is set to an invalid enum value.

pub fn set_type(&mut self, value: Type)[src][]

Sets type to the provided enum value.

Trait Implementations

impl Clone for Event[src][+]

impl Debug for Event[src][+]

impl Default for Event[src][+]

impl Message for Event[src][+]

impl PartialEq<Event> for Event[src][+]

impl StructuralPartialEq for Event[src]

Auto Trait Implementations

impl RefUnwindSafe for Event

impl Send for Event

impl Sync for Event

impl Unpin for Event

impl UnwindSafe for Event

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T> Instrument for T[src][+]

impl<T> Instrument for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> IntoRequest<T> for T[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]