GetInstructionResult constructor

const GetInstructionResult({
  1. required List<String> blockingResources,
  2. required String createTime,
  3. required GoogleCloudDatalabelingV1beta1CsvInstructionResponse csvInstruction,
  4. required String dataType,
  5. required String description,
  6. required String displayName,
  7. required String name,
  8. required GoogleCloudDatalabelingV1beta1PdfInstructionResponse pdfInstruction,
  9. required String updateTime,
})

Creates a new GetInstructionResult. blockingResources The names of any related resources that are blocking changes to the instruction. createTime Creation time of instruction. csvInstruction 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 The data type of this instruction. description Optional. User-provided description of the instruction. The description can be up to 10000 characters long. displayName The display name of the instruction. Maximum of 64 characters. name Instruction resource name, format: projects/{project_id}/instructions/{instruction_id} pdfInstruction Instruction from a PDF document. The PDF should be in a Cloud Storage bucket. updateTime Last update time of instruction.

Implementation

const GetInstructionResult({
  required this.blockingResources,
  required this.createTime,
  required this.csvInstruction,
  required this.dataType,
  required this.description,
  required this.displayName,
  required this.name,
  required this.pdfInstruction,
  required this.updateTime,
});