Class: Google::Apis::DfareportingV4::ChannelGroupingRule
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::ChannelGroupingRule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/representations.rb
Overview
Represents a DfaReporting channel grouping rule.
Instance Attribute Summary collapse
-
#disjunctive_match_statements ⇒ Array<Google::Apis::DfareportingV4::DisjunctiveMatchStatement>
The disjunctive match statements contained within this rule.
-
#kind ⇒ String
The kind of resource this is, in this case dfareporting#channelGroupingRule.
-
#name ⇒ String
Rule name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelGroupingRule
constructor
A new instance of ChannelGroupingRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChannelGroupingRule
Returns a new instance of ChannelGroupingRule.
2277 2278 2279 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2277 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disjunctive_match_statements ⇒ Array<Google::Apis::DfareportingV4::DisjunctiveMatchStatement>
The disjunctive match statements contained within this rule.
Corresponds to the JSON property disjunctiveMatchStatements
2265 2266 2267 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2265 def disjunctive_match_statements @disjunctive_match_statements end |
#kind ⇒ String
The kind of resource this is, in this case dfareporting#channelGroupingRule.
Corresponds to the JSON property kind
2270 2271 2272 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2270 def kind @kind end |
#name ⇒ String
Rule name.
Corresponds to the JSON property name
2275 2276 2277 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2275 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2282 2283 2284 2285 2286 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2282 def update!(**args) @disjunctive_match_statements = args[:disjunctive_match_statements] if args.key?(:disjunctive_match_statements) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) end |