Class: Google::Apis::HealthcareV1alpha2::ImageAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1alpha2::ImageAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/healthcare_v1alpha2/classes.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb
Overview
Image annotation.
Instance Attribute Summary collapse
-
#bounding_polys ⇒ Array<Google::Apis::HealthcareV1alpha2::BoundingPoly>
The list of polygons outlining the sensitive regions in the image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImageAnnotation
constructor
A new instance of ImageAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ImageAnnotation
Returns a new instance of ImageAnnotation
1525 1526 1527 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1525 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bounding_polys ⇒ Array<Google::Apis::HealthcareV1alpha2::BoundingPoly>
The list of polygons outlining the sensitive regions in the image.
Corresponds to the JSON property boundingPolys
1523 1524 1525 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1523 def bounding_polys @bounding_polys end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1530 1531 1532 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1530 def update!(**args) @bounding_polys = args[:bounding_polys] if args.key?(:bounding_polys) end |