Class: Aws::LocationService::Types::TruckDimensions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb

Overview

Contains details about the truck dimensions in the unit of measurement that you specify. Used to filter out roads that can't support or allow the specified dimensions for requests that specify TravelMode as Truck.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#heightFloat

The height of the truck.

  • For example, 4.5.

^

For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

Returns:

  • (Float)


6190
6191
6192
6193
6194
6195
6196
6197
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 6190

class TruckDimensions < Struct.new(
  :height,
  :length,
  :unit,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#lengthFloat

The length of the truck.

  • For example, 15.5.

^

For routes calculated with a HERE resource, this value must be between 0 and 300 meters.

Returns:

  • (Float)


6190
6191
6192
6193
6194
6195
6196
6197
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 6190

class TruckDimensions < Struct.new(
  :height,
  :length,
  :unit,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

Specifies the unit of measurement for the truck dimensions.

Default Value: Meters

Returns:

  • (String)


6190
6191
6192
6193
6194
6195
6196
6197
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 6190

class TruckDimensions < Struct.new(
  :height,
  :length,
  :unit,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#widthFloat

The width of the truck.

  • For example, 4.5.

^

For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

Returns:

  • (Float)


6190
6191
6192
6193
6194
6195
6196
6197
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 6190

class TruckDimensions < Struct.new(
  :height,
  :length,
  :unit,
  :width)
  SENSITIVE = []
  include Aws::Structure
end