[][src]Struct gcp_client::google::cloud::datalabeling::v1beta1::AnnotationSpecSet

pub struct AnnotationSpecSet {
    pub name: String,
    pub display_name: String,
    pub description: String,
    pub annotation_specs: Vec<AnnotationSpec>,
    pub blocking_resources: Vec<String>,
}

An AnnotationSpecSet is a collection of label definitions. For example, in image classification tasks, you define a set of possible labels for images as an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation.

Fields

name: String

Output only. The AnnotationSpecSet resource name in the following format:

"projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"

display_name: String

Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.

description: String

Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.

annotation_specs: Vec<AnnotationSpec>

Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.

blocking_resources: Vec<String>

Output only. The names of any related resources that are blocking changes to the annotation spec set.

Trait Implementations

impl Clone for AnnotationSpecSet[src]

impl Debug for AnnotationSpecSet[src]

impl Default for AnnotationSpecSet[src]

impl Message for AnnotationSpecSet[src]

impl PartialEq<AnnotationSpecSet> for AnnotationSpecSet[src]

impl StructuralPartialEq for AnnotationSpecSet[src]

Auto Trait Implementations

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

impl<T> WithSubscriber for T[src]