class Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentPageDimension
Dimension for the page.
Attributes
height[RW]
Page height. Corresponds to the JSON property `height` @return [Float]
unit[RW]
Dimension unit. Corresponds to the JSON property `unit` @return [String]
width[RW]
Page width. Corresponds to the JSON property `width` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/documentai_v1/classes.rb, line 1561 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 1566 def update!(**args) @height = args[:height] if args.key?(:height) @unit = args[:unit] if args.key?(:unit) @width = args[:width] if args.key?(:width) end