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

Encapsulates impression event details.

Attributes

  • gameObjectType (type: integer(), default: nil) - An arbitrary, developer-defined type identifier for each type of game object used in your game. Since players interact with differ types of game objects in different ways, this field allows you to segregate impression data by type for analysis. You should assign a unique game_object_type ID to represent a distinct type of game object in your game. For example, 1=monster location, 2=powerup location.
  • impressionType (type: String.t, default: nil) - Required. The type of impression event.
  • locationName (type: String.t, default: nil) - Required. The name of the playable location.

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.GoogleMapsPlayablelocationsV3Impression{
    gameObjectType: integer() | nil,
    impressionType: String.t() | nil,
    locationName: String.t() | nil
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.