Class Instruction (1.6.0)

Instruction(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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


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


builtins.object > proto.message.Message > Instruction