Class: Google::Apis::DfareportingV3_4::EventTagOverride

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

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.



6047
6048
6049
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6047

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)


6039
6040
6041
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6039

def enabled
  @enabled
end

#idFixnum

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

Returns:

  • (Fixnum)


6045
6046
6047
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6045

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6052
6053
6054
6055
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 6052

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