Class: Google::Apis::DfareportingV4::CustomFloodlightVariable

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

Overview

A custom floodlight variable. This field may only be used when calling batchinsert; it is not supported by batchupdate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomFloodlightVariable

Returns a new instance of CustomFloodlightVariable.



4948
4949
4950
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4948

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)


4934
4935
4936
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4934

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)


4940
4941
4942
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4940

def type
  @type
end

#valueString

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

Returns:

  • (String)


4946
4947
4948
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4946

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4953
4954
4955
4956
4957
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4953

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