Class: Google::Privacy::Dlp::V2::Location

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb

Overview

Specifies the location of the finding.

Instance Attribute Summary collapse

Instance Attribute Details

#byte_rangeGoogle::Privacy::Dlp::V2::Range

Returns Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.

Returns:

  • (Google::Privacy::Dlp::V2::Range)

    Zero-based byte offsets delimiting the finding. These are relative to the finding's containing element. Note that when the content is not textual, this references the UTF-8 encoded textual representation of the content. Omitted if content is an image.



195
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 195

class Location; end

#codepoint_rangeGoogle::Privacy::Dlp::V2::Range

Returns Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.

Returns:

  • (Google::Privacy::Dlp::V2::Range)

    Unicode character offsets delimiting the finding. These are relative to the finding's containing element. Provided when the content is text.



195
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 195

class Location; end

#content_locationsArray<Google::Privacy::Dlp::V2::ContentLocation>

Returns List of nested objects pointing to the precise location of the finding within the file or record.

Returns:



195
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 195

class Location; end