Class: Google::Apis::DfareportingV3_3::Activities
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_3::Activities
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_3/classes.rb,
generated/google/apis/dfareporting_v3_3/representations.rb,
generated/google/apis/dfareporting_v3_3/representations.rb
Overview
Represents an activity group.
Instance Attribute Summary collapse
-
#filters ⇒ Array<Google::Apis::DfareportingV3_3::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.
Constructor Details
#initialize(**args) ⇒ Activities
Returns a new instance of Activities.
567 568 569 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 567 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filters ⇒ Array<Google::Apis::DfareportingV3_3::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
555 556 557 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 555 def filters @filters end |
#kind ⇒ String
The kind of resource this is, in this case dfareporting#activities.
Corresponds to the JSON property kind
560 561 562 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 560 def kind @kind end |
#metric_names ⇒ Array<String>
List of names of floodlight activity metrics.
Corresponds to the JSON property metricNames
565 566 567 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 565 def metric_names @metric_names end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
572 573 574 575 576 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 572 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 |