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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Datalabeling V1beta1 Client - Class Instruction (0.6.3)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.3 (latest)](/php/docs/reference/cloud-datalabeling/latest/V1beta1.Instruction)\n- [0.6.2](/php/docs/reference/cloud-datalabeling/0.6.2/V1beta1.Instruction)\n- [0.5.7](/php/docs/reference/cloud-datalabeling/0.5.7/V1beta1.Instruction)\n- [0.4.2](/php/docs/reference/cloud-datalabeling/0.4.2/V1beta1.Instruction)\n- [0.3.1](/php/docs/reference/cloud-datalabeling/0.3.1/V1beta1.Instruction)\n- [0.2.0](/php/docs/reference/cloud-datalabeling/0.2.0/V1beta1.Instruction)\n- [0.1.14](/php/docs/reference/cloud-datalabeling/0.1.14/V1beta1.Instruction) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class Instruction.\n\nInstruction of how to perform the labeling task for human operators.\n\nCurrently only PDF instruction is supported.\n\nGenerated from protobuf message `google.cloud.datalabeling.v1beta1.Instruction`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DataLabeling \\\\ V1beta1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. Instruction resource name, format:\nprojects/{project_id}/instructions/{instruction_id}\n\n### setName\n\nOutput only. Instruction resource name, format:\nprojects/{project_id}/instructions/{instruction_id}\n\n### getDisplayName\n\nRequired. The display name of the instruction. Maximum of 64 characters.\n\n### setDisplayName\n\nRequired. The display name of the instruction. Maximum of 64 characters.\n\n### getDescription\n\nOptional. User-provided description of the instruction.\n\nThe description can be up to 10000 characters long.\n\n### setDescription\n\nOptional. User-provided description of the instruction.\n\nThe description can be up to 10000 characters long.\n\n### getCreateTime\n\nOutput only. Creation time of instruction.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. Creation time of instruction.\n\n### getUpdateTime\n\nOutput only. Last update time of instruction.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. Last update time of instruction.\n\n### getDataType\n\nRequired. The data type of this instruction.\n\n### setDataType\n\nRequired. The data type of this instruction.\n\n### getCsvInstruction\n\nDeprecated: this instruction format is not supported any more.\n\nInstruction from a CSV file, such as for classification task.\nThe CSV file should have exact two columns, in the following format:\n\n- The first column is labeled data, such as an image reference, text.\n- The second column is comma separated labels associated with data.\n\n### hasCsvInstruction\n\n### clearCsvInstruction\n\n### setCsvInstruction\n\nDeprecated: this instruction format is not supported any more.\n\nInstruction from a CSV file, such as for classification task.\nThe CSV file should have exact two columns, in the following format:\n\n- The first column is labeled data, such as an image reference, text.\n- The second column is comma separated labels associated with data.\n\n### getPdfInstruction\n\nInstruction from a PDF document. The PDF should be in a Cloud Storage\nbucket.\n\n### hasPdfInstruction\n\n### clearPdfInstruction\n\n### setPdfInstruction\n\nInstruction from a PDF document. The PDF should be in a Cloud Storage\nbucket.\n\n### getBlockingResources\n\nOutput only. The names of any related resources that are blocking changes\nto the instruction.\n\n### setBlockingResources\n\nOutput only. The names of any related resources that are blocking changes\nto the instruction."]]