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

pub struct DataItem {
    pub name: String,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub labels: HashMap<String, String>,
    pub payload: Option<Value>,
    pub etag: String,
}

A piece of data in a Dataset. Could be an image, a video, a document or plain text.

Fields

name: String

Output only. The resource name of the DataItem.

create_time: Option<Timestamp>

Output only. Timestamp when this DataItem was created.

update_time: Option<Timestamp>

Output only. Timestamp when this DataItem was last updated.

labels: HashMap<String, String>

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

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 DataItem(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.

payload: Option<Value>

Required. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset’s [metadata schema’s][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] dataItemSchemaUri field.

etag: String

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

Trait Implementations

impl Clone for DataItem[src]

impl Debug for DataItem[src]

impl Default for DataItem[src]

impl Message for DataItem[src]

impl PartialEq<DataItem> for DataItem[src]

impl StructuralPartialEq for DataItem[src]

Auto Trait Implementations

impl RefUnwindSafe for DataItem

impl Send for DataItem

impl Sync for DataItem

impl Unpin for DataItem

impl UnwindSafe for DataItem

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]