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
- (::Google::Protobuf::Duration) — The total duration of the route.
#duration=
def duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The total duration of the route.
Returns
- (::Google::Protobuf::Duration) — The total duration of the route.
#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