Class: Google::Apis::DfareportingV3_4::CustomEventsBatchInsertRequest

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

Insert Custom Events Request.

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

Returns a new instance of CustomEventsBatchInsertRequest.



4857
4858
4859
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4857

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

Instance Attribute Details

#custom_eventsArray<Google::Apis::DfareportingV3_4::CustomEvent>

The set of custom events to insert. Corresponds to the JSON property customEvents



4849
4850
4851
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4849

def custom_events
  @custom_events
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#customEventsBatchInsertRequest". Corresponds to the JSON property kind

Returns:

  • (String)


4855
4856
4857
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4855

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4862
4863
4864
4865
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4862

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