Class: Google::Apis::DfareportingV3_1::Activities

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_1/classes.rb,
generated/google/apis/dfareporting_v3_1/representations.rb,
generated/google/apis/dfareporting_v3_1/representations.rb

Overview

Represents an activity 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) ⇒ Activities

Returns a new instance of Activities



634
635
636
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 634

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

Instance Attribute Details

#filtersArray<Google::Apis::DfareportingV3_1::DimensionValue>

List of activity filters. The dimension values need to be all either of type " dfa:activity" or "dfa:activityGroup". Corresponds to the JSON property filters



622
623
624
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 622

def filters
  @filters
end

#kindString

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

Returns:

  • (String)


627
628
629
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 627

def kind
  @kind
end

#metric_namesArray<String>

List of names of floodlight activity metrics. Corresponds to the JSON property metricNames

Returns:

  • (Array<String>)


632
633
634
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 632

def metric_names
  @metric_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



639
640
641
642
643
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 639

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