Class: Google::Apis::DfareportingV3_5::ChannelGrouping

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ChannelGrouping

Returns a new instance of ChannelGrouping.



1840
1841
1842
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 1840

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

Instance Attribute Details

#fallback_nameString

ChannelGrouping fallback name. Corresponds to the JSON property fallbackName

Returns:

  • (String)


1823
1824
1825
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 1823

def fallback_name
  @fallback_name
end

#kindString

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

Returns:

  • (String)


1828
1829
1830
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 1828

def kind
  @kind
end

#nameString

ChannelGrouping name. Corresponds to the JSON property name

Returns:

  • (String)


1833
1834
1835
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 1833

def name
  @name
end

#rulesArray<Google::Apis::DfareportingV3_5::ChannelGroupingRule>

The rules contained within this channel grouping. Corresponds to the JSON property rules



1838
1839
1840
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 1838

def rules
  @rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1845
1846
1847
1848
1849
1850
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 1845

def update!(**args)
  @fallback_name = args[:fallback_name] if args.key?(:fallback_name)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @rules = args[:rules] if args.key?(:rules)
end