Class: Aws::Pinpoint::Types::GPSPointDimension

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

Overview

Note:

When making an API call, you may pass GPSPointDimension data as a hash:

{
  coordinates: { # required
    latitude: 1.0, # required
    longitude: 1.0, # required
  },
  range_in_kilometers: 1.0,
}

Specifies GPS-based criteria for including or excluding endpoints from a segment.

Instance Attribute Summary collapse

Instance Attribute Details

#coordinatesTypes::GPSCoordinates

The GPS coordinates to measure distance from.



7835
7836
7837
7838
7839
# File 'lib/aws-sdk-pinpoint/types.rb', line 7835

class GPSPointDimension < Struct.new(
  :coordinates,
  :range_in_kilometers)
  include Aws::Structure
end

#range_in_kilometersFloat

The range, in kilometers, from the GPS coordinates.

Returns:

  • (Float)


7835
7836
7837
7838
7839
# File 'lib/aws-sdk-pinpoint/types.rb', line 7835

class GPSPointDimension < Struct.new(
  :coordinates,
  :range_in_kilometers)
  include Aws::Structure
end