Class: Google::Apis::DfareportingV2_1::Activities
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::Activities
- 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 an activity group.
Instance Attribute Summary collapse
-
#filters ⇒ Array<Google::Apis::DfareportingV2_1::DimensionValue>
List of activity filters.
-
#kind ⇒ String
The kind of resource this is, in this case dfareporting#activities.
-
#metric_names ⇒ Array<String>
List of names of floodlight activity metrics.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Activities
constructor
A new instance of Activities.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Activities
Returns a new instance of Activities
624 625 626 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 624 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filters ⇒ Array<Google::Apis::DfareportingV2_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
612 613 614 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 612 def filters @filters end |
#kind ⇒ String
The kind of resource this is, in this case dfareporting#activities.
Corresponds to the JSON property kind
617 618 619 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 617 def kind @kind end |
#metric_names ⇒ Array<String>
List of names of floodlight activity metrics.
Corresponds to the JSON property metricNames
622 623 624 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 622 def metric_names @metric_names end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
629 630 631 632 633 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 629 def update!(**args) @filters = args[:filters] unless args[:filters].nil? @kind = args[:kind] unless args[:kind].nil? @metric_names = args[:metric_names] unless args[:metric_names].nil? end |