# Class Instruction (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.2 1.12.0 1.11.1 1.10.5 1.9.0 1.8.3 1.7.0 1.6.3 1.5.2 1.4.0 1.3.0 1.2.4 1.1.0 1.0.0 0.4.2 0.3.0 0.2.1

    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.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `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. |
| `data_type` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.DataType` Required. The data type of this instruction. |
| `csv_instruction` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.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. |
| `pdf_instruction` | `https://docs.cloud.google.com/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.PdfInstruction` Instruction from a PDF document. The PDF should be in a Cloud Storage bucket. |
| `blocking_resources` | `MutableSequence[str]` Output only. The names of any related resources that are blocking changes to the instruction. |