Class: Google::Apis::DfareportingV2_6::EventTagOverride

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_6/classes.rb,
generated/google/apis/dfareporting_v2_6/representations.rb,
generated/google/apis/dfareporting_v2_6/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.


5364
5365
5366
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 5364

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)

5356
5357
5358
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 5356

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)

5362
5363
5364
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 5362

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


5369
5370
5371
5372
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 5369

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