Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Location
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2Location
- 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
Specifies the location of the finding.
Instance Attribute Summary collapse
-
#byte_range ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Range
Generic half-open interval [start, end) Corresponds to the JSON property
byteRange
. -
#codepoint_range ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Range
Generic half-open interval [start, end) Corresponds to the JSON property
codepointRange
. -
#content_locations ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ContentLocation>
List of nested objects pointing to the precise location of the finding within the file or record.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2Location
constructor
A new instance of GooglePrivacyDlpV2Location.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2Location
Returns a new instance of GooglePrivacyDlpV2Location
3864 3865 3866 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3864 def initialize(**args) update!(**args) end |
Instance Attribute Details
#byte_range ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Range
Generic half-open interval [start, end)
Corresponds to the JSON property byteRange
3851 3852 3853 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3851 def byte_range @byte_range end |
#codepoint_range ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Range
Generic half-open interval [start, end)
Corresponds to the JSON property codepointRange
3856 3857 3858 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3856 def codepoint_range @codepoint_range end |
#content_locations ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ContentLocation>
List of nested objects pointing to the precise location of the finding
within the file or record.
Corresponds to the JSON property contentLocations
3862 3863 3864 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3862 def content_locations @content_locations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3869 3870 3871 3872 3873 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3869 def update!(**args) @byte_range = args[:byte_range] if args.key?(:byte_range) @codepoint_range = args[:codepoint_range] if args.key?(:codepoint_range) @content_locations = args[:content_locations] if args.key?(:content_locations) end |