Skip to main content

instructions

Overview

Nameinstructions
TypeResource
Idgoogle.datalabeling.instructions

Fields

NameDatatypeDescription
namestringOutput only. Instruction resource name, format: projects/{project_id}/instructions/{instruction_id}
descriptionstringOptional. User-provided description of the instruction. The description can be up to 10000 characters long.
pdfInstructionobjectInstruction from a PDF file.
displayNamestringRequired. The display name of the instruction. Maximum of 64 characters.
updateTimestringOutput only. Last update time of instruction.
createTimestringOutput only. Creation time of instruction.
csvInstructionobjectDeprecated: this instruction format is not supported any more. Instruction from a CSV file.
dataTypestringRequired. The data type of this instruction.
blockingResourcesarrayOutput only. The names of any related resources that are blocking changes to the instruction.

Methods

NameAccessible byRequired ParamsDescription
projects_instructions_getSELECTinstructionsId, projectsIdGets an instruction by resource name.
projects_instructions_listSELECTprojectsIdLists instructions for a project. Pagination is supported.
projects_instructions_createINSERTprojectsIdCreates an instruction for how data should be labeled.
projects_instructions_deleteDELETEinstructionsId, projectsIdDeletes an instruction object by resource name.
_projects_instructions_listEXECprojectsIdLists instructions for a project. Pagination is supported.