Class: Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicleLocation
- Inherits:
-
Object
- Object
- Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicleLocation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/maps/fleetengine/delivery/v1/common.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
altitude
in 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
heading
in 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
location
is snapped to a road. -
#latlng_accuracy ⇒ ::Google::Protobuf::DoubleValue
Accuracy of
location
in meters as a radius. -
#location ⇒ ::Google::Type::LatLng
The location of the vehicle.
-
#location_sensor ⇒ ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicleLocationSensor
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_location
as a radius, in meters. -
#raw_location_sensor ⇒ ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicleLocationSensor
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
speed
in 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_location
as a radius, in meters. -
#supplemental_location_sensor ⇒ ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicleLocationSensor
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
location
was 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
Returns Altitude in meters above WGS84.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#altitude_accuracy ⇒ ::Google::Protobuf::DoubleValue
Returns Accuracy of altitude
in meters.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation 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.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#heading ⇒ ::Google::Protobuf::Int32Value
Returns Direction the vehicle is moving in degrees. 0 represents North. The valid range is [0,360).
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#heading_accuracy ⇒ ::Google::Protobuf::DoubleValue
Returns Accuracy of heading
in degrees.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation 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.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#is_gps_sensor_enabled ⇒ ::Google::Protobuf::BoolValue
Returns Input only. Indicates whether the GPS sensor is enabled on the mobile device.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#is_road_snapped ⇒ ::Google::Protobuf::BoolValue
Returns Whether location
is snapped to a road.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#latlng_accuracy ⇒ ::Google::Protobuf::DoubleValue
Returns Accuracy of location
in meters as a radius.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#location ⇒ ::Google::Type::LatLng
Returns The location of the vehicle.
When it is sent to Fleet Engine, the vehicle's location is a GPS location.
When you receive it in a response, the vehicle's location can be either a
GPS location, a supplemental location, or some other estimated location.
The source is specified in location_sensor
.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#location_sensor ⇒ ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicleLocationSensor
Returns Provider of location data (for example, GPS
).
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation 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.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#raw_location ⇒ ::Google::Type::LatLng
Returns Raw vehicle location (unprocessed by road-snapper).
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#raw_location_accuracy ⇒ ::Google::Protobuf::DoubleValue
Returns Accuracy of raw_location
as a radius, in meters.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#raw_location_sensor ⇒ ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicleLocationSensor
Returns Source of the raw location. Defaults to GPS
.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#raw_location_time ⇒ ::Google::Protobuf::Timestamp
Returns Timestamp associated with the raw location.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation 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.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#server_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the server received the location information.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#speed ⇒ ::Google::Protobuf::DoubleValue
Returns Speed of the vehicle in meters/second.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#speed_accuracy ⇒ ::Google::Protobuf::DoubleValue
Returns Accuracy of speed
in meters/second.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation 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.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#supplemental_location ⇒ ::Google::Type::LatLng
Returns Supplemental location provided by the integrating app.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#supplemental_location_accuracy ⇒ ::Google::Protobuf::DoubleValue
Returns Accuracy of supplemental_location
as a radius, in meters.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#supplemental_location_sensor ⇒ ::Google::Maps::FleetEngine::Delivery::V1::DeliveryVehicleLocationSensor
Returns Source of the supplemental location. Defaults to
CUSTOMER_SUPPLIED_LOCATION
.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#supplemental_location_time ⇒ ::Google::Protobuf::Timestamp
Returns Timestamp associated with the supplemental location.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#time_since_update ⇒ ::Google::Protobuf::Int32Value
Returns Input only. Time (in seconds) since this location was first sent to the server. This will be zero for the first update. If the time is unknown (for example, when the app restarts), this value resets to zero.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_time ⇒ ::Google::Protobuf::Timestamp
Returns The time when location
was reported by the sensor according to the
sensor's clock.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation 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.
156 157 158 159 |
# File 'proto_docs/google/maps/fleetengine/delivery/v1/common.rb', line 156 class DeliveryVehicleLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |