Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::TextLocator::Position (v1.1.0)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::TextLocator::Position.

The position of a byte within the text.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#column

def column() -> ::Integer
Returns
  • (::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.

#column=

def column=(value) -> ::Integer
Parameter
  • value (::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.
Returns
  • (::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.

#line

def line() -> ::Integer
Returns
  • (::Integer) — The line, starting with 1, where the byte is positioned.

#line=

def line=(value) -> ::Integer
Parameter
  • value (::Integer) — The line, starting with 1, where the byte is positioned.
Returns
  • (::Integer) — The line, starting with 1, where the byte is positioned.