Class: Google::Apis::DfareportingV4::ChannelGrouping

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_nameString

ChannelGrouping fallback name. Corresponds to the JSON property fallbackName

Returns:

  • (String)


2228
2229
2230
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2228

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)


2233
2234
2235
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2233

def kind
  @kind
end

#nameString

ChannelGrouping name. Corresponds to the JSON property name

Returns:

  • (String)


2238
2239
2240
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2238

def name
  @name
end

#rulesArray<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