Method: Google::Cloud::Monitoring::V3::TextLocator#source
- Defined in:
- proto_docs/google/monitoring/v3/metric.rb
permalink #source ⇒ ::String
Returns The source of the text. The source may be a field in the request, in which case its format is the format of the google.rpc.BadRequest.FieldViolation.field field in https://cloud.google.com/apis/design/errors#error_details. It may also be be a source other than the request field (e.g. a macro definition referenced in the text of the query), in which case this is the name of the source (e.g. the macro name).
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 |