Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateInstructionRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb

Overview

Request message for CreateInstruction.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1CreateInstructionRequest

Returns a new instance of GoogleCloudDatalabelingV1beta1CreateInstructionRequest.



1551
1552
1553
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1551

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#instructionGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction

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



1549
1550
1551
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1549

def instruction
  @instruction
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1556
1557
1558
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1556

def update!(**args)
  @instruction = args[:instruction] if args.key?(:instruction)
end