Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DocumentLocation (v1.11.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DocumentLocation.

Location of a finding within a document.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#file_offset

deffile_offset()->::Integer
Returns
  • (::Integer) — Offset of the line, from the beginning of the file, where the finding is located.

#file_offset=

deffile_offset=(value)->::Integer
Parameter
  • value (::Integer) — Offset of the line, from the beginning of the file, where the finding is located.
Returns
  • (::Integer) — Offset of the line, from the beginning of the file, where the finding is located.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.