class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction
Instruction of how to perform the labeling task for human operators. Currently only PDF instruction is supported.
Attributes
Output only. The names of any related resources that are blocking changes to the instruction. Corresponds to the JSON property `blockingResources` @return [Array<String>]
Output only. Creation time of instruction. Corresponds to the JSON property `createTime` @return [String]
Deprecated: this instruction format is not supported any more. Instruction from a CSV file. Corresponds to the JSON property `csvInstruction` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CsvInstruction]
Required. The data type of this instruction. Corresponds to the JSON property `dataType` @return [String]
Optional. User-provided description of the instruction. The description can be up to 10000 characters long. Corresponds to the JSON property `description` @return [String]
Required. The display name of the instruction. Maximum of 64 characters. Corresponds to the JSON property `displayName` @return [String]
Output only. Instruction resource name, format: projects/`project_id`/ instructions/`instruction_id` Corresponds to the JSON property `name` @return [String]
Instruction from a PDF file. Corresponds to the JSON property `pdfInstruction` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PdfInstruction]
Output only. Last update time of instruction. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2916 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2921 def update!(**args) @blocking_resources = args[:blocking_resources] if args.key?(:blocking_resources) @create_time = args[:create_time] if args.key?(:create_time) @csv_instruction = args[:csv_instruction] if args.key?(:csv_instruction) @data_type = args[:data_type] if args.key?(:data_type) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @pdf_instruction = args[:pdf_instruction] if args.key?(:pdf_instruction) @update_time = args[:update_time] if args.key?(:update_time) end