Class: Google::Apis::DfareportingV2_5::EventTagOverride

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

Event tag override information.

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

Returns a new instance of EventTagOverride.


5262
5263
5264
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 5262

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whether this override is enabled. Corresponds to the JSON property enabled

Returns:

  • (Boolean)

5254
5255
5256
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 5254

def enabled
  @enabled
end

#idString

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

Returns:

  • (String)

5260
5261
5262
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 5260

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5267
5268
5269
5270
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 5267

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