class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction

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

Attributes

blocking_resources[RW]

Output only. The names of any related resources that are blocking changes to the instruction. Corresponds to the JSON property `blockingResources` @return [Array<String>]

create_time[RW]

Output only. Creation time of instruction. Corresponds to the JSON property `createTime` @return [String]

csv_instruction[RW]

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]

data_type[RW]

Required. The data type of this instruction. Corresponds to the JSON property `dataType` @return [String]

description[RW]

Optional. User-provided description of the instruction. The description can be up to 10000 characters long. Corresponds to the JSON property `description` @return [String]

display_name[RW]

Required. The display name of the instruction. Maximum of 64 characters. Corresponds to the JSON property `displayName` @return [String]

name[RW]

Output only. Instruction resource name, format: projects/`project_id`/ instructions/`instruction_id` Corresponds to the JSON property `name` @return [String]

pdf_instruction[RW]

Instruction from a PDF file. Corresponds to the JSON property `pdfInstruction` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PdfInstruction]

update_time[RW]

Output only. Last update time of instruction. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2916
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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