class Google::Apis::DlpV2::GooglePrivacyDlpV2BoundingBox
Bounding box encompassing detected text within an image.
Attributes
height[RW]
Height of the bounding box in pixels. Corresponds to the JSON property `height` @return [Fixnum]
left[RW]
Left coordinate of the bounding box. (0,0) is upper left. Corresponds to the JSON property `left` @return [Fixnum]
top[RW]
Top coordinate of the bounding box. (0,0) is upper left. Corresponds to the JSON property `top` @return [Fixnum]
width[RW]
Width of the bounding box in pixels. Corresponds to the JSON property `width` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 398 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dlp_v2/classes.rb, line 403 def update!(**args) @height = args[:height] if args.key?(:height) @left = args[:left] if args.key?(:left) @top = args[:top] if args.key?(:top) @width = args[:width] if args.key?(:width) end