Class: Google::Apis::DfareportingV3_4::ChannelGroupingRule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/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.



1934
1935
1936
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1934

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disjunctive_match_statementsArray<Google::Apis::DfareportingV3_4::DisjunctiveMatchStatement>

The disjunctive match statements contained within this rule. Corresponds to the JSON property disjunctiveMatchStatements



1922
1923
1924
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1922

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)


1927
1928
1929
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1927

def kind
  @kind
end

#nameString

Rule name. Corresponds to the JSON property name

Returns:

  • (String)


1932
1933
1934
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1932

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1939
1940
1941
1942
1943
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1939

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