InstructionArgs class
The set of arguments for Instruction. The set of arguments for Instruction.
Constructors
-
InstructionArgs({Input<
GoogleCloudDatalabelingV1beta1CsvInstruction> ? csvInstruction, required Input<InstructionDataType> dataType, Input<String> ? description, required Input<String> displayName, Input<GoogleCloudDatalabelingV1beta1PdfInstruction> ? pdfInstruction, Input<String> ? project}) -
Creates a new InstructionArgs.
csvInstructionDeprecated: 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.dataTypeThe data type of this instruction.descriptionOptional. User-provided description of the instruction. The description can be up to 10000 characters long.displayNameThe display name of the instruction. Maximum of 64 characters.pdfInstructionInstruction from a PDF document. The PDF should be in a Cloud Storage bucket.projectOptional.const -
InstructionArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
csvInstruction
→ Input<
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.
final
-
dataType
→ Input<
InstructionDataType> -
The data type of this instruction.
final
-
description
→ Input<
String> ? -
Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
final
-
displayName
→ Input<
String> -
The display name of the instruction. Maximum of 64 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pdfInstruction
→ Input<
GoogleCloudDatalabelingV1beta1PdfInstruction> ? -
Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
final
-
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited