Class: Google::Maps::FleetEngine::V1::VisualTrafficReportPolylineRendering::RoadStretch

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/maps/fleetengine/v1/vehicles.rb

Overview

One road stretch that should be rendered.

Defined Under Namespace

Modules: Style

Instance Attribute Summary collapse

Instance Attribute Details

#length_meters::Integer

Returns Required. The length of the path where to apply the style.

Returns:

  • (::Integer)

    Required. The length of the path where to apply the style.



248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
# File 'proto_docs/google/maps/fleetengine/v1/vehicles.rb', line 248

class RoadStretch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The traffic style, indicating traffic speed.
  module Style
    # No style selected.
    STYLE_UNSPECIFIED = 0

    # Traffic is slowing down.
    SLOWER_TRAFFIC = 1

    # There is a traffic jam.
    TRAFFIC_JAM = 2
  end
end

#offset_meters::Integer

Returns Required. The style should be applied between [offset_meters, offset_meters + length_meters).

Returns:

  • (::Integer)

    Required. The style should be applied between [offset_meters, offset_meters + length_meters).



248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
# File 'proto_docs/google/maps/fleetengine/v1/vehicles.rb', line 248

class RoadStretch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The traffic style, indicating traffic speed.
  module Style
    # No style selected.
    STYLE_UNSPECIFIED = 0

    # Traffic is slowing down.
    SLOWER_TRAFFIC = 1

    # There is a traffic jam.
    TRAFFIC_JAM = 2
  end
end

#style::Google::Maps::FleetEngine::V1::VisualTrafficReportPolylineRendering::RoadStretch::Style

Returns Required. The style to apply.



248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
# File 'proto_docs/google/maps/fleetengine/v1/vehicles.rb', line 248

class RoadStretch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The traffic style, indicating traffic speed.
  module Style
    # No style selected.
    STYLE_UNSPECIFIED = 0

    # Traffic is slowing down.
    SLOWER_TRAFFIC = 1

    # There is a traffic jam.
    TRAFFIC_JAM = 2
  end
end