Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageLocation
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2ImageLocation
- 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
-
#bounding_boxes ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2BoundingBox>
Bounding boxes locating the pixels within the image containing the finding.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2ImageLocation
constructor
A new instance of GooglePrivacyDlpV2ImageLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2ImageLocation
Returns a new instance of GooglePrivacyDlpV2ImageLocation
1929 1930 1931 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1929 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bounding_boxes ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2BoundingBox>
Bounding boxes locating the pixels within the image containing the finding.
Corresponds to the JSON property boundingBoxes
1927 1928 1929 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1927 def bounding_boxes @bounding_boxes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1934 1935 1936 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1934 def update!(**args) @bounding_boxes = args[:bounding_boxes] if args.key?(:bounding_boxes) end |