GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1Instruction (google_api_data_labeling v0.2.1) View Source

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

Attributes

  • blockingResources (type: list(String.t), default: nil) - Output only. The names of any related resources that are blocking changes to the instruction.
  • createTime (type: DateTime.t, default: nil) - Output only. Creation time of instruction.
  • csvInstruction (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1CsvInstruction.t, default: nil) - 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.
  • dataType (type: String.t, default: nil) - Required. The data type of this instruction.
  • description (type: String.t, default: nil) - Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
  • displayName (type: String.t, default: nil) - Required. The display name of the instruction. Maximum of 64 characters.
  • name (type: String.t, default: nil) - Output only. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}
  • pdfInstruction (type: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1PdfInstruction.t, default: nil) - Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
  • updateTime (type: DateTime.t, default: nil) - Output only. Last update time of instruction.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1Instruction{
    blockingResources: [String.t()],
    createTime: DateTime.t(),
    csvInstruction:
      GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1CsvInstruction.t(),
    dataType: String.t(),
    description: String.t(),
    displayName: String.t(),
    name: String.t(),
    pdfInstruction:
      GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1PdfInstruction.t(),
    updateTime: DateTime.t()
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.