Class: Google::Apis::DfareportingV3_4::FloodlightActivityDynamicTag

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

Overview

Dynamic Tag

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) ⇒ FloodlightActivityDynamicTag

Returns a new instance of FloodlightActivityDynamicTag.



6499
6500
6501
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6499

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

Instance Attribute Details

#idFixnum

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

Returns:

  • (Fixnum)


6487
6488
6489
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6487

def id
  @id
end

#nameString

Name of this tag. Corresponds to the JSON property name

Returns:

  • (String)


6492
6493
6494
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6492

def name
  @name
end

#tagString

Tag code. Corresponds to the JSON property tag

Returns:

  • (String)


6497
6498
6499
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6497

def tag
  @tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6504
6505
6506
6507
6508
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6504

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