Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly

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

Normalized bounding polygon.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly

Returns a new instance of GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly.



3677
3678
3679
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3677

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

Instance Attribute Details

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

The bounding polygon normalized vertices. Corresponds to the JSON property normalizedVertices



3675
3676
3677
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3675

def normalized_vertices
  @normalized_vertices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3682
3683
3684
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 3682

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