Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Polyline

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

A line with multiple line segments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1Polyline

Returns a new instance of GoogleCloudDatalabelingV1beta1Polyline.



3961
3962
3963
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3961

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

Instance Attribute Details

#verticesArray<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1Vertex>

The polyline vertices. Corresponds to the JSON property vertices



3959
3960
3961
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3959

def vertices
  @vertices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3966
3967
3968
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3966

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