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

Encapsulates a filter criterion for searching for a set of playable locations.

Attributes

  • fieldsToReturn (type: String.t, default: nil) - Specifies which PlayableLocation fields are returned. name (which is used for logging impressions), center_point and place_id (or plus_code) are always returned. The following fields are omitted unless you specify them here: snapped_point types Note: The more fields you include, the more expensive in terms of data and associated latency your query will be.
  • filter (type: GoogleApi.PlayableLocations.V3.Model.GoogleMapsPlayablelocationsV3SampleFilter.t, default: nil) - Specifies filtering options, and specifies what will be included in the result set.
  • gameObjectType (type: integer(), default: nil) - Required. An arbitrary, developer-defined identifier of the type of game object that the playable location is used for. This field allows you to specify criteria per game object type when searching for playable locations. You should assign a unique game_object_type ID across all request_criteria to represent a distinct type of game object. For example, 1=monster location, 2=powerup location. The response contains a map.

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.GoogleMapsPlayablelocationsV3SampleCriterion{
    fieldsToReturn: String.t() | nil,
    filter:
      GoogleApi.PlayableLocations.V3.Model.GoogleMapsPlayablelocationsV3SampleFilter.t()
      | nil,
    gameObjectType: integer() | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.