Class: Google::Apis::DfareportingV3_4::ChannelGrouping

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ChannelGrouping

Returns a new instance of ChannelGrouping.



1902
1903
1904
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1902

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

Instance Attribute Details

#fallback_nameString

ChannelGrouping fallback name. Corresponds to the JSON property fallbackName

Returns:

  • (String)


1885
1886
1887
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1885

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)


1890
1891
1892
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1890

def kind
  @kind
end

#nameString

ChannelGrouping name. Corresponds to the JSON property name

Returns:

  • (String)


1895
1896
1897
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1895

def name
  @name
end

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

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



1900
1901
1902
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1900

def rules
  @rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1907
1908
1909
1910
1911
1912
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1907

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