Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly
- 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 bounding polygon.
Instance Attribute Summary collapse
-
#normalized_vertices ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedVertex>
The bounding polygon normalized vertices.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly
constructor
A new instance of GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly
Returns a new instance of GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly.
3677 3678 3679 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3677 def initialize(**args) update!(**args) end |
Instance Attribute Details
#normalized_vertices ⇒ Array<Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1NormalizedVertex>
The bounding polygon normalized vertices.
Corresponds to the JSON property normalizedVertices
3675 3676 3677 |
# File 'lib/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 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3682 def update!(**args) @normalized_vertices = args[:normalized_vertices] if args.key?(:normalized_vertices) end |