Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PolylineConfig

Inherits:
Object
  • Object
show all
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

Config for image polyline human labeling task.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1PolylineConfig

Returns a new instance of GoogleCloudDatalabelingV1beta1PolylineConfig.



3985
3986
3987
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3985

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

Instance Attribute Details

#annotation_spec_setString

Required. Annotation spec set resource name. Corresponds to the JSON property annotationSpecSet

Returns:

  • (String)


3978
3979
3980
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3978

def annotation_spec_set
  @annotation_spec_set
end

#instruction_messageString

Optional. Instruction message showed on contributors UI. Corresponds to the JSON property instructionMessage

Returns:

  • (String)


3983
3984
3985
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3983

def instruction_message
  @instruction_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3990
3991
3992
3993
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3990

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