class Google::Apis::TagmanagerV1::Parameter

Represents a Google Tag Manager Parameter.

Attributes

key[RW]

The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. @mutable tagmanager.accounts.containers.variables.create @mutable tagmanager.accounts. containers.variables.update @mutable tagmanager.accounts.containers.triggers. create @mutable tagmanager.accounts.containers.triggers.update @mutable tagmanager.accounts.containers.tags.create @mutable tagmanager.accounts. containers.tags.update Corresponds to the JSON property `key` @return [String]

list[RW]

This list parameter's parameters (keys will be ignored). @mutable tagmanager. accounts.containers.variables.create @mutable tagmanager.accounts.containers. variables.update @mutable tagmanager.accounts.containers.triggers.create @ mutable tagmanager.accounts.containers.triggers.update @mutable tagmanager. accounts.containers.tags.create @mutable tagmanager.accounts.containers.tags. update Corresponds to the JSON property `list` @return [Array<Google::Apis::TagmanagerV1::Parameter>]

map[RW]

This map parameter's parameters (must have keys; keys must be unique). @ mutable tagmanager.accounts.containers.variables.create @mutable tagmanager. accounts.containers.variables.update @mutable tagmanager.accounts.containers. triggers.create @mutable tagmanager.accounts.containers.triggers.update @ mutable tagmanager.accounts.containers.tags.create @mutable tagmanager. accounts.containers.tags.update Corresponds to the JSON property `map` @return [Array<Google::Apis::TagmanagerV1::Parameter>]

type[RW]

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 - tag_reference: The value represents a tag, represented as the tag name @mutable tagmanager.accounts. containers.variables.create @mutable tagmanager.accounts.containers.variables. update @mutable tagmanager.accounts.containers.triggers.create @mutable tagmanager.accounts.containers.triggers.update @mutable tagmanager.accounts. containers.tags.create @mutable tagmanager.accounts.containers.tags.update Corresponds to the JSON property `type` @return [String]

value[RW]

A parameter's value (may contain variable references such as ““myVariable“”) as appropriate to the specified type. @mutable tagmanager.accounts.containers. variables.create @mutable tagmanager.accounts.containers.variables.update @ mutable tagmanager.accounts.containers.triggers.create @mutable tagmanager. accounts.containers.triggers.update @mutable tagmanager.accounts.containers. tags.create @mutable tagmanager.accounts.containers.tags.update Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/tagmanager_v1/classes.rb, line 997
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/tagmanager_v1/classes.rb, line 1002
def update!(**args)
  @key = args[:key] if args.key?(:key)
  @list = args[:list] if args.key?(:list)
  @map = args[:map] if args.key?(:map)
  @type = args[:type] if args.key?(:type)
  @value = args[:value] if args.key?(:value)
end