Struct gapi_grpc::google::cloud::aiplatform::v1::Annotation[][src]

pub struct Annotation {
    pub name: String,
    pub payload_schema_uri: String,
    pub payload: Option<Value>,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub etag: String,
    pub annotation_source: Option<UserActionReference>,
    pub labels: HashMap<String, String>,
}

Used to assign specific AnnotationSpec to a particular area of a DataItem or the whole part of the DataItem.

Fields

name: String

Output only. Resource name of the Annotation.

payload_schema_uri: String

Required. Google Cloud Storage URI points to a YAML file describing [payload][google.cloud.aiplatform.v1.Annotation.payload]. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with the parent Dataset’s [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri].

payload: Option<Value>

Required. The schema of the payload can be found in [payload_schema][google.cloud.aiplatform.v1.Annotation.payload_schema_uri].

create_time: Option<Timestamp>

Output only. Timestamp when this Annotation was created.

update_time: Option<Timestamp>

Output only. Timestamp when this Annotation was last updated.

etag: String

Optional. Used to perform consistent read-modify-write updates. If not set, a blind “overwrite” update happens.

annotation_source: Option<UserActionReference>

Output only. The source of the Annotation.

labels: HashMap<String, String>

Optional. The labels with user-defined metadata to organize your Annotations.

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 Annotation(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. Following system labels exist for each Annotation:

Trait Implementations

impl Clone for Annotation[src]

impl Debug for Annotation[src]

impl Default for Annotation[src]

impl Message for Annotation[src]

impl PartialEq<Annotation> for Annotation[src]

impl StructuralPartialEq for Annotation[src]

Auto Trait Implementations

impl RefUnwindSafe for Annotation

impl Send for Annotation

impl Sync for Annotation

impl Unpin for Annotation

impl UnwindSafe for Annotation

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]