Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedPolyline

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

Normalized polyline.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1NormalizedPolyline

Returns a new instance of GoogleCloudDatalabelingV1beta1NormalizedPolyline.



3696
3697
3698
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3696

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

Instance Attribute Details

#normalized_verticesArray<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedVertex>

The normalized polyline vertices. Corresponds to the JSON property normalizedVertices



3694
3695
3696
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3694

def normalized_vertices
  @normalized_vertices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3701
3702
3703
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3701

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