google_api_tag_manager v0.6.0 GoogleApi.TagManager.V2.Model.Parameter View Source

Represents a Google Tag Manager Parameter.

Attributes

  • key (type: String.t, default: nil) - The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
  • list (type: list(GoogleApi.TagManager.V2.Model.Parameter.t), default: nil) - This list parameter's parameters (keys will be ignored).
  • map (type: list(GoogleApi.TagManager.V2.Model.Parameter.t), default: nil) - This map parameter's parameters (must have keys; keys must be unique).
  • type (type: String.t, default: nil) - The parameter type. Valid values are:

    • boolean: The value represents a boolean, represented as 'true' or 'false'
    • integer: The value represents a 64-bit signed integer value, in base 10
    • list: A list of parameters should be specified
    • map: A map of parameters should be specified
    • template: The value represents any text; this can include variable references (even variable references that might return non-string types)
    • trigger_reference: The value represents a trigger, represented as the trigger id
  • value (type: String.t, default: nil) - A parameter's value (may contain variable references such as "{{myVariable}}") as appropriate to the specified type.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.TagManager.V2.Model.Parameter{
  key: String.t(),
  list: [GoogleApi.TagManager.V2.Model.Parameter.t()],
  map: [GoogleApi.TagManager.V2.Model.Parameter.t()],
  type: String.t(),
  value: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.