Class: Google::Apis::DfareportingV2_1::CustomRichMediaEvents

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

Represents a Custom Rich Media Events group.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CustomRichMediaEvents

Returns a new instance of CustomRichMediaEvents



3880
3881
3882
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3880

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

Instance Attribute Details

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

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



3873
3874
3875
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3873

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)


3878
3879
3880
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3878

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3885
3886
3887
3888
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3885

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