Class: Google::Apis::DfareportingV3_5::ChannelGroupingRule

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

Instance Method Summary collapse

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

#kindString

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

Returns:

  • (String)


1865
1866
1867
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 1865

def kind
  @kind
end

#nameString

Rule name. Corresponds to the JSON property name

Returns:

  • (String)


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