Class Instruction

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

Attributes
NameDescription
strname
Output only. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}
strdisplay_name
Required. The display name of the instruction. Maximum of 64 characters.
strdescription
Optional. User-provided description of the instruction. The description can be up to 10000 characters long.
google.protobuf.timestamp_pb2.Timestampcreate_time
Output only. Creation time of instruction.
google.protobuf.timestamp_pb2.Timestampupdate_time
Output only. Last update time of instruction.
google.cloud.datalabeling_v1beta1.types.DataTypedata_type
Required. The data type of this instruction.
google.cloud.datalabeling_v1beta1.types.CsvInstructioncsv_instruction
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.
google.cloud.datalabeling_v1beta1.types.PdfInstructionpdf_instruction
Instruction from a PDF document. The PDF should be in a Cloud Storage bucket.
Sequence[str]blocking_resources
Output only. The names of any related resources that are blocking changes to the instruction.

Inheritance

builtins.object > proto.message.Message > Instruction