Class: Google::Apis::DfareportingV3_5::ChannelGroupingRule
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_5::ChannelGroupingRule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v3_5/classes.rb,
lib/google/apis/dfareporting_v3_5/representations.rb,
lib/google/apis/dfareporting_v3_5/representations.rb
Overview
Represents a DfaReporting channel grouping rule.
Instance Attribute Summary collapse
-
#disjunctive_match_statements ⇒ Array<Google::Apis::DfareportingV3_5::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.
1872 1873 1874 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 1872 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disjunctive_match_statements ⇒ Array<Google::Apis::DfareportingV3_5::DisjunctiveMatchStatement>
The disjunctive match statements contained within this rule.
Corresponds to the JSON property disjunctiveMatchStatements
1860 1861 1862 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 1860 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
1865 1866 1867 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 1865 def kind @kind end |
#name ⇒ String
Rule name.
Corresponds to the JSON property name
1870 1871 1872 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 1870 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1877 1878 1879 1880 1881 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 1877 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 |