Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentLocation
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentLocation
 
- 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 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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DocumentLocation
Returns a new instance of GooglePrivacyDlpV2DocumentLocation
| 1607 1608 1609 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1607 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
| 1605 1606 1607 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1605 def file_offset @file_offset end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1612 1613 1614 | # File 'generated/google/apis/dlp_v2/classes.rb', line 1612 def update!(**args) @file_offset = args[:file_offset] if args.key?(:file_offset) end |