Struct google_datalabeling1_beta1::api::GoogleCloudDatalabelingV1beta1Instruction[][src]

pub struct GoogleCloudDatalabelingV1beta1Instruction {
    pub blocking_resources: Option<Vec<String>>,
    pub create_time: Option<String>,
    pub csv_instruction: Option<GoogleCloudDatalabelingV1beta1CsvInstruction>,
    pub data_type: Option<String>,
    pub description: Option<String>,
    pub display_name: Option<String>,
    pub name: Option<String>,
    pub pdf_instruction: Option<GoogleCloudDatalabelingV1beta1PdfInstruction>,
    pub update_time: Option<String>,
}

Instruction of how to perform the labeling task for human operators. Currently only PDF instruction is supported.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

blocking_resources: Option<Vec<String>>

Output only. The names of any related resources that are blocking changes to the instruction.

create_time: Option<String>

Output only. Creation time of instruction.

csv_instruction: Option<GoogleCloudDatalabelingV1beta1CsvInstruction>

Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data.

data_type: Option<String>

Required. The data type of this instruction.

description: Option<String>

Optional. User-provided description of the instruction. The description can be up to 10000 characters long.

display_name: Option<String>

Required. The display name of the instruction. Maximum of 64 characters.

name: Option<String>

Output only. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}

pdf_instruction: Option<GoogleCloudDatalabelingV1beta1PdfInstruction>

Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.

update_time: Option<String>

Output only. Last update time of instruction.

Trait Implementations

impl Clone for GoogleCloudDatalabelingV1beta1Instruction[src]

impl Debug for GoogleCloudDatalabelingV1beta1Instruction[src]

impl Default for GoogleCloudDatalabelingV1beta1Instruction[src]

impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1Instruction[src]

impl ResponseResult for GoogleCloudDatalabelingV1beta1Instruction[src]

impl Serialize for GoogleCloudDatalabelingV1beta1Instruction[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> 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.