Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::GroundingChunk::Maps::Route (v1.47.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::GroundingChunk::Maps::Route.

Route information from Google Maps.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#distance_meters

def distance_meters() -> ::Integer
Returns
  • (::Integer) — The total distance of the route, in meters.

#distance_meters=

def distance_meters=(value) -> ::Integer
Parameter
  • value (::Integer) — The total distance of the route, in meters.
Returns
  • (::Integer) — The total distance of the route, in meters.

#duration

def duration() -> ::Google::Protobuf::Duration
Returns

#duration=

def duration=(value) -> ::Google::Protobuf::Duration
Parameter
Returns

#encoded_polyline

def encoded_polyline() -> ::String
Returns
  • (::String) — An encoded polyline of the route. See https://developers.google.com/maps/documentation/utilities/polylinealgorithm

#encoded_polyline=

def encoded_polyline=(value) -> ::String
Parameter
  • value (::String) — An encoded polyline of the route. See https://developers.google.com/maps/documentation/utilities/polylinealgorithm
Returns
  • (::String) — An encoded polyline of the route. See https://developers.google.com/maps/documentation/utilities/polylinealgorithm