Class: Google::Apis::DfareportingV2_1::EventTagOverride

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

Event tag override information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ EventTagOverride

Returns a new instance of EventTagOverride.



4813
4814
4815
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4813

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)


4805
4806
4807
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4805

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)


4811
4812
4813
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4811

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4818
4819
4820
4821
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4818

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