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

Constructor Details

#initialize(**args) ⇒ CustomEventsBatchInsertRequest

Returns a new instance of CustomEventsBatchInsertRequest.



4904
4905
4906
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4904

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



4896
4897
4898
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4896

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)


4902
4903
4904
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4902

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4909
4910
4911
4912
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4909

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