class Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly
A bounding polygon for the detected image annotation.
Attributes
normalized_vertices[RW]
The bounding polygon normalized vertices. Corresponds to the JSON property `normalizedVertices` @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1NormalizedVertex>]
vertices[RW]
The bounding polygon vertices. Corresponds to the JSON property `vertices` @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1Vertex>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vision_v1p1beta1/classes.rb, line 5190 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/vision_v1p1beta1/classes.rb, line 5195 def update!(**args) @normalized_vertices = args[:normalized_vertices] if args.key?(:normalized_vertices) @vertices = args[:vertices] if args.key?(:vertices) end