Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentLocation
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
Location of a finding within a document.
Instance Attribute Summary collapse
-
#file_offset ⇒ Fixnum
Offset of the line, from the beginning of the file, where the finding is located.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DocumentLocation
constructor
A new instance of GooglePrivacyDlpV2DocumentLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DocumentLocation
Returns a new instance of GooglePrivacyDlpV2DocumentLocation.
3998 3999 4000 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3998 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_offset ⇒ Fixnum
Offset of the line, from the beginning of the file, where the finding is
located.
Corresponds to the JSON property fileOffset
3996 3997 3998 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3996 def file_offset @file_offset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4003 4004 4005 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 4003 def update!(**args) @file_offset = args[:file_offset] if args.key?(:file_offset) end |