Class: Google::Cloud::Dlp::V2::Location

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

Specifies the location of the finding.

Instance Attribute Summary collapse

Instance Attribute Details

#byte_range::Google::Cloud::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::Cloud::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.



480
481
482
483
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 480

class Location
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#codepoint_range::Google::Cloud::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::Cloud::Dlp::V2::Range)

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



480
481
482
483
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 480

class Location
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#container::Google::Cloud::Dlp::V2::Container

Returns Information about the container where this finding occurred, if available.

Returns:



480
481
482
483
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 480

class Location
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#content_locations::Array<::Google::Cloud::Dlp::V2::ContentLocation>

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

Returns:



480
481
482
483
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 480

class Location
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end