Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateInstructionRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CreateInstructionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb
Overview
Request message for CreateInstruction.
Instance Attribute Summary collapse
-
#instruction ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Instruction
Instruction of how to perform the labeling task for human operators.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1CreateInstructionRequest
constructor
A new instance of GoogleCloudDatalabelingV1beta1CreateInstructionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1CreateInstructionRequest
Returns a new instance of GoogleCloudDatalabelingV1beta1CreateInstructionRequest.
1551 1552 1553 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1551 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instruction ⇒ Google::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 'lib/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 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 1556 def update!(**args) @instruction = args[:instruction] if args.key?(:instruction) end |