Class: Google::Apis::DfareportingV2_1::FloodlightActivityDynamicTag

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

Overview

Dynamic Tag

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FloodlightActivityDynamicTag

Returns a new instance of FloodlightActivityDynamicTag.


5332
5333
5334
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5332

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

Instance Attribute Details

#idString

ID of this dynamic tag. This is a read-only, auto-generated field. Corresponds to the JSON property id

Returns:

  • (String)

5320
5321
5322
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5320

def id
  @id
end

#nameString

Name of this tag. Corresponds to the JSON property name

Returns:

  • (String)

5325
5326
5327
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5325

def name
  @name
end

#tagString

Tag code. Corresponds to the JSON property tag

Returns:

  • (String)

5330
5331
5332
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5330

def tag
  @tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5337
5338
5339
5340
5341
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 5337

def update!(**args)
  @id = args[:id] unless args[:id].nil?
  @name = args[:name] unless args[:name].nil?
  @tag = args[:tag] unless args[:tag].nil?
end