Class: Google::Apis::DfareportingV2_3::EventTagOverride

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



4883
4884
4885
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4883

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)


4875
4876
4877
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4875

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)


4881
4882
4883
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4881

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4888
4889
4890
4891
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4888

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