Method: Google::Cloud::Monitoring::V3::TextLocator#nested_locator

Defined in:
proto_docs/google/monitoring/v3/metric.rb

#nested_locator::Google::Cloud::Monitoring::V3::TextLocator

Returns If source, start_position, and end_position describe a call on some object (e.g. a macro in the time series query language text) and a location is to be designated in that object's text, nested_locator identifies the location within that object.

Returns:

  • (::Google::Cloud::Monitoring::V3::TextLocator)

    If source, start_position, and end_position describe a call on some object (e.g. a macro in the time series query language text) and a location is to be designated in that object's text, nested_locator identifies the location within that object.

[View source]

242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
# File 'proto_docs/google/monitoring/v3/metric.rb', line 242

class TextLocator
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The position of a byte within the text.
  # @!attribute [rw] line
  #   @return [::Integer]
  #     The line, starting with 1, where the byte is positioned.
  # @!attribute [rw] column
  #   @return [::Integer]
  #     The column within the line, starting with 1, where the byte is
  #     positioned. This is a byte index even though the text is UTF-8.
  class Position
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end