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

pub struct HumanAnnotationConfig {
    pub instruction: String,
    pub annotated_dataset_display_name: String,
    pub annotated_dataset_description: String,
    pub label_group: String,
    pub language_code: String,
    pub replica_count: i32,
    pub question_duration: Option<Duration>,
    pub contributor_emails: Vec<String>,
    pub user_email_address: String,
}

Configuration for how human labeling task should be done.

Fields

instruction: String

Required. Instruction resource name.

annotated_dataset_display_name: String

Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .

annotated_dataset_description: String

Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.

label_group: String

Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression [a-zA-Z\\d_-]{0,128}.

language_code: String

Optional. The Language of this question, as a BCP-47. Default value is en-US. Only need to set this when task is language related. For example, French text classification.

replica_count: i32

Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.

question_duration: Option<Duration>

Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.

contributor_emails: Vec<String>

Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/

user_email_address: String

Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.

Trait Implementations

impl Clone for HumanAnnotationConfig[src]

impl Debug for HumanAnnotationConfig[src]

impl Default for HumanAnnotationConfig[src]

impl Message for HumanAnnotationConfig[src]

impl PartialEq<HumanAnnotationConfig> for HumanAnnotationConfig[src]

impl StructuralPartialEq for HumanAnnotationConfig[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]