Class: Google::Apis::DfareportingV2_5::CustomRichMediaEvents

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

Represents a Custom Rich Media Events group.

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

Returns a new instance of CustomRichMediaEvents.



4199
4200
4201
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4199

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

Instance Attribute Details

#filtered_event_idsArray<Google::Apis::DfareportingV2_5::DimensionValue>

List of custom rich media event IDs. Dimension values must be all of type dfa: richMediaEventTypeIdAndName. Corresponds to the JSON property filteredEventIds



4192
4193
4194
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4192

def filtered_event_ids
  @filtered_event_ids
end

#kindString

The kind of resource this is, in this case dfareporting#customRichMediaEvents. Corresponds to the JSON property kind

Returns:

  • (String)


4197
4198
4199
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4197

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4204
4205
4206
4207
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 4204

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