Class: Google::Apis::DoubleclickbidmanagerV1_1::ChannelGrouping
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV1_1::ChannelGrouping
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/doubleclickbidmanager_v1_1/classes.rb,
lib/google/apis/doubleclickbidmanager_v1_1/representations.rb,
lib/google/apis/doubleclickbidmanager_v1_1/representations.rb
Overview
A channel grouping defines a set of rules that can be used to categorize events in a path report.
Instance Attribute Summary collapse
-
#fallback_name ⇒ String
The name to apply to an event that does not match any of the rules in the channel grouping.
-
#name ⇒ String
Channel Grouping name.
-
#rules ⇒ Array<Google::Apis::DoubleclickbidmanagerV1_1::Rule>
Rules within 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.
47 48 49 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 47 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fallback_name ⇒ String
The name to apply to an event that does not match any of the rules in the
channel grouping.
Corresponds to the JSON property fallbackName
34 35 36 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 34 def fallback_name @fallback_name end |
#name ⇒ String
Channel Grouping name.
Corresponds to the JSON property name
39 40 41 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 39 def name @name end |
#rules ⇒ Array<Google::Apis::DoubleclickbidmanagerV1_1::Rule>
Rules within Channel Grouping. There is a limit of 100 rules that can be set
per channel grouping.
Corresponds to the JSON property rules
45 46 47 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 45 def rules @rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
52 53 54 55 56 |
# File 'lib/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 52 def update!(**args) @fallback_name = args[:fallback_name] if args.key?(:fallback_name) @name = args[:name] if args.key?(:name) @rules = args[:rules] if args.key?(:rules) end |