Class: Google::Apis::DfareportingV2_5::CustomFloodlightVariable

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_5/classes.rb,
generated/google/apis/dfareporting_v2_5/representations.rb,
generated/google/apis/dfareporting_v2_5/representations.rb

Overview

A custom floodlight variable.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CustomFloodlightVariable

Returns a new instance of CustomFloodlightVariable.



4172
4173
4174
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4172

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#customFloodlightVariable". Corresponds to the JSON property kind

Returns:

  • (String)


4158
4159
4160
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4158

def kind
  @kind
end

#typeString

The type of custom floodlight variable to supply a value for. These map to the "u[1-20]=" in the tags. Corresponds to the JSON property type

Returns:

  • (String)


4164
4165
4166
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4164

def type
  @type
end

#valueString

The value of the custom floodlight variable. The length of string must not exceed 50 characters. Corresponds to the JSON property value

Returns:

  • (String)


4170
4171
4172
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4170

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4177
4178
4179
4180
4181
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4177

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @type = args[:type] if args.key?(:type)
  @value = args[:value] if args.key?(:value)
end