InstructionArgs

data class InstructionArgs(val csvInstruction: Output<GoogleCloudDatalabelingV1beta1CsvInstructionArgs>? = null, val dataType: Output<InstructionDataType>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val pdfInstruction: Output<GoogleCloudDatalabelingV1beta1PdfInstructionArgs>? = null, val project: Output<String>? = null) : ConvertibleToJava<InstructionArgs>

Creates an instruction for how data should be labeled. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun InstructionArgs(csvInstruction: Output<GoogleCloudDatalabelingV1beta1CsvInstructionArgs>? = null, dataType: Output<InstructionDataType>? = null, description: Output<String>? = null, displayName: Output<String>? = null, pdfInstruction: Output<GoogleCloudDatalabelingV1beta1PdfInstructionArgs>? = null, project: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): InstructionArgs

Properties

Link copied to clipboard

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.

Link copied to clipboard
val dataType: Output<InstructionDataType>? = null

The data type of this instruction.

Link copied to clipboard
val description: Output<String>? = null

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

Link copied to clipboard
val displayName: Output<String>? = null

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

Link copied to clipboard

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

Link copied to clipboard
val project: Output<String>? = null