Class: Google::Apis::DfareportingV4::ChannelGrouping
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::ChannelGrouping
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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::DfareportingV4::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.
2245 2246 2247 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2245 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fallback_name ⇒ String
ChannelGrouping fallback name.
Corresponds to the JSON property fallbackName
2228 2229 2230 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2228 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
2233 2234 2235 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2233 def kind @kind end |
#name ⇒ String
ChannelGrouping name.
Corresponds to the JSON property name
2238 2239 2240 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2238 def name @name end |
#rules ⇒ Array<Google::Apis::DfareportingV4::ChannelGroupingRule>
The rules contained within this channel grouping.
Corresponds to the JSON property rules
2243 2244 2245 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2243 def rules @rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2250 2251 2252 2253 2254 2255 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2250 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 |