class Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1BoundingPoly

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::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta1NormalizedVertex>]

vertices[RW]

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

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/documentai_v1beta3/classes.rb, line 1069
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_v1beta3/classes.rb, line 1074
def update!(**args)
  @normalized_vertices = args[:normalized_vertices] if args.key?(:normalized_vertices)
  @vertices = args[:vertices] if args.key?(:vertices)
end