class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2BoundingPoly

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::DocumentaiV1::GoogleCloudDocumentaiV1beta2NormalizedVertex>]

vertices[RW]

The bounding polygon vertices. Corresponds to the JSON property `vertices` @return [Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2Vertex>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/documentai_v1/classes.rb, line 4600
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/documentai_v1/classes.rb, line 4605
def update!(**args)
  @normalized_vertices = args[:normalized_vertices] if args.key?(:normalized_vertices)
  @vertices = args[:vertices] if args.key?(:vertices)
end