Class: Google::Apis::DfareportingV4::RuleBlock

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

Contains a list of field filters that the given custom rule will apply.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RuleBlock

Returns a new instance of RuleBlock.



12543
12544
12545
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12543

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

Instance Attribute Details

#field_filterArray<Google::Apis::DfareportingV4::FieldFilter>

Optional. A list of non-auto field filters Corresponds to the JSON property fieldFilter



12541
12542
12543
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12541

def field_filter
  @field_filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12548
12549
12550
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 12548

def update!(**args)
  @field_filter = args[:field_filter] if args.key?(:field_filter)
end