Class: Google::Apis::DfareportingV4::ChannelGroupingRule

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_statementsArray<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

#kindString

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

Returns:

  • (String)


2270
2271
2272
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2270

def kind
  @kind
end

#nameString

Rule name. Corresponds to the JSON property name

Returns:

  • (String)


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