GoogleApi.PlayableLocations.V3.Model.GoogleMapsPlayablelocationsV3SampleFilter (google_api_playable_locations v0.3.0) View Source

Specifies the filters to use when searching for playable locations.

Attributes

  • includedTypes (type: list(String.t), default: nil) - Restricts the set of playable locations to just the types that you want.
  • maxLocationCount (type: integer(), default: nil) - Specifies the maximum number of playable locations to return. This value must not be greater than 1000. The default value is 100. Only the top-ranking playable locations are returned.
  • spacing (type: GoogleApi.PlayableLocations.V3.Model.GoogleMapsPlayablelocationsV3SampleSpacingOptions.t, default: nil) - A set of options that control the spacing between playable locations. By default the minimum distance between locations is 200m.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.PlayableLocations.V3.Model.GoogleMapsPlayablelocationsV3SampleFilter{
    includedTypes: [String.t()] | nil,
    maxLocationCount: integer() | nil,
    spacing:
      GoogleApi.PlayableLocations.V3.Model.GoogleMapsPlayablelocationsV3SampleSpacingOptions.t()
      | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.