Class: Google::Apis::DfareportingV3_4::ChannelGrouping
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_4::ChannelGrouping
- 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
-
#fallback_name ⇒ String
ChannelGrouping fallback name.
-
#kind ⇒ String
The kind of resource this is, in this case dfareporting#channelGrouping.
-
#name ⇒ String
ChannelGrouping name.
-
#rules ⇒ Array<Google::Apis::DfareportingV3_4::ChannelGroupingRule>
The rules contained within this channel grouping.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChannelGrouping
constructor
A new instance of ChannelGrouping.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_name ⇒ String
ChannelGrouping fallback name.
Corresponds to the JSON property fallbackName
1885 1886 1887 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1885 def fallback_name @fallback_name end |
#kind ⇒ String
The kind of resource this is, in this case dfareporting#channelGrouping.
Corresponds to the JSON property kind
1890 1891 1892 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1890 def kind @kind end |
#name ⇒ String
ChannelGrouping name.
Corresponds to the JSON property name
1895 1896 1897 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 1895 def name @name end |
#rules ⇒ Array<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 |