Method: Google::Cloud::Monitoring::V3::TextLocator#nesting_reason
- Defined in:
- proto_docs/google/monitoring/v3/metric.rb
permalink #nesting_reason ⇒ ::String
Returns When nested_locator
is set, this field gives the reason for the nesting.
Usually, the reason is a macro invocation. In that case, the macro name
(including the leading '@') signals the location of the macro call
in the text and a macro argument name (including the leading '$') signals
the location of the macro argument inside the macro body that got
substituted away.
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 |