Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageLocation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb

Overview

Location of the finding within an image.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2ImageLocation

Returns a new instance of GooglePrivacyDlpV2ImageLocation.



3006
3007
3008
# File 'generated/google/apis/dlp_v2/classes.rb', line 3006

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bounding_boxesArray<Google::Apis::DlpV2::GooglePrivacyDlpV2BoundingBox>

Bounding boxes locating the pixels within the image containing the finding. Corresponds to the JSON property boundingBoxes



3004
3005
3006
# File 'generated/google/apis/dlp_v2/classes.rb', line 3004

def bounding_boxes
  @bounding_boxes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3011
3012
3013
# File 'generated/google/apis/dlp_v2/classes.rb', line 3011

def update!(**args)
  @bounding_boxes = args[:bounding_boxes] if args.key?(:bounding_boxes)
end