Class: Google::Maps::FleetEngine::V1::VehicleLocation
- Inherits:
-
Object
- Object
- Google::Maps::FleetEngine::V1::VehicleLocation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/maps/fleetengine/v1/fleetengine.rb
Overview
The location, speed, and heading of a vehicle at a point in time.
Instance Attribute Summary collapse
-
#altitude ⇒ ::Google::Protobuf::DoubleValue
Altitude in meters above WGS84.
-
#altitude_accuracy ⇒ ::Google::Protobuf::DoubleValue
Accuracy of
altitudein meters. -
#bearing_accuracy ⇒ ::Google::Protobuf::DoubleValue
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#heading ⇒ ::Google::Protobuf::Int32Value
Direction the vehicle is moving in degrees.
-
#heading_accuracy ⇒ ::Google::Protobuf::DoubleValue
Accuracy of
headingin degrees. -
#horizontal_accuracy ⇒ ::Google::Protobuf::DoubleValue
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#is_gps_sensor_enabled ⇒ ::Google::Protobuf::BoolValue
Input only.
-
#is_road_snapped ⇒ ::Google::Protobuf::BoolValue
Whether
locationis snapped to a road. -
#latlng_accuracy ⇒ ::Google::Protobuf::DoubleValue
Accuracy of
locationin meters as a radius. -
#location ⇒ ::Google::Type::LatLng
The location of the vehicle.
-
#location_sensor ⇒ ::Google::Maps::FleetEngine::V1::LocationSensor
Provider of location data (for example,
GPS). -
#num_stale_updates ⇒ ::Google::Protobuf::Int32Value
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#raw_location ⇒ ::Google::Type::LatLng
Raw vehicle location (unprocessed by road-snapper).
-
#raw_location_accuracy ⇒ ::Google::Protobuf::DoubleValue
Accuracy of
raw_locationas a radius, in meters. -
#raw_location_sensor ⇒ ::Google::Maps::FleetEngine::V1::LocationSensor
Source of the raw location.
-
#raw_location_time ⇒ ::Google::Protobuf::Timestamp
Timestamp associated with the raw location.
-
#road_snapped ⇒ ::Boolean
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#server_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#speed ⇒ ::Google::Protobuf::DoubleValue
Speed of the vehicle in meters/second.
-
#speed_accuracy ⇒ ::Google::Protobuf::DoubleValue
Accuracy of
speedin meters/second. -
#speed_kmph ⇒ ::Google::Protobuf::Int32Value
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#supplemental_location ⇒ ::Google::Type::LatLng
Supplemental location provided by the integrating app.
-
#supplemental_location_accuracy ⇒ ::Google::Protobuf::DoubleValue
Accuracy of
supplemental_locationas a radius, in meters. -
#supplemental_location_sensor ⇒ ::Google::Maps::FleetEngine::V1::LocationSensor
Source of the supplemental location.
-
#supplemental_location_time ⇒ ::Google::Protobuf::Timestamp
Timestamp associated with the supplemental location.
-
#time_since_update ⇒ ::Google::Protobuf::Int32Value
Input only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
The time when
locationwas reported by the sensor according to the sensor's clock. -
#vertical_accuracy ⇒ ::Google::Protobuf::DoubleValue
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
Instance Attribute Details
#altitude ⇒ ::Google::Protobuf::DoubleValue
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#altitude_accuracy ⇒ ::Google::Protobuf::DoubleValue
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#bearing_accuracy ⇒ ::Google::Protobuf::DoubleValue
This field is deprecated and may be removed in the next major version update.
Returns Deprecated: Use heading_accuracy instead.
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#heading ⇒ ::Google::Protobuf::Int32Value
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#heading_accuracy ⇒ ::Google::Protobuf::DoubleValue
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#horizontal_accuracy ⇒ ::Google::Protobuf::DoubleValue
This field is deprecated and may be removed in the next major version update.
Returns Deprecated: Use latlng_accuracy instead.
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#is_gps_sensor_enabled ⇒ ::Google::Protobuf::BoolValue
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#is_road_snapped ⇒ ::Google::Protobuf::BoolValue
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#latlng_accuracy ⇒ ::Google::Protobuf::DoubleValue
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#location ⇒ ::Google::Type::LatLng
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#location_sensor ⇒ ::Google::Maps::FleetEngine::V1::LocationSensor
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#num_stale_updates ⇒ ::Google::Protobuf::Int32Value
This field is deprecated and may be removed in the next major version update.
Returns Input only. Deprecated: Other signals are now used to determine if a location is stale.
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#raw_location ⇒ ::Google::Type::LatLng
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#raw_location_accuracy ⇒ ::Google::Protobuf::DoubleValue
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#raw_location_sensor ⇒ ::Google::Maps::FleetEngine::V1::LocationSensor
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#raw_location_time ⇒ ::Google::Protobuf::Timestamp
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#road_snapped ⇒ ::Boolean
This field is deprecated and may be removed in the next major version update.
Returns Deprecated: Use is_road_snapped instead.
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#server_time ⇒ ::Google::Protobuf::Timestamp (readonly)
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#speed ⇒ ::Google::Protobuf::DoubleValue
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#speed_accuracy ⇒ ::Google::Protobuf::DoubleValue
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#speed_kmph ⇒ ::Google::Protobuf::Int32Value
This field is deprecated and may be removed in the next major version update.
Returns Speed of the vehicle in kilometers per hour.
Deprecated: Use speed instead.
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#supplemental_location ⇒ ::Google::Type::LatLng
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#supplemental_location_accuracy ⇒ ::Google::Protobuf::DoubleValue
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#supplemental_location_sensor ⇒ ::Google::Maps::FleetEngine::V1::LocationSensor
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#supplemental_location_time ⇒ ::Google::Protobuf::Timestamp
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#time_since_update ⇒ ::Google::Protobuf::Int32Value
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_time ⇒ ::Google::Protobuf::Timestamp
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#vertical_accuracy ⇒ ::Google::Protobuf::DoubleValue
This field is deprecated and may be removed in the next major version update.
Returns Deprecated: Use altitude_accuracy instead.
253 254 255 256 |
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 253 class VehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |