Class: Google::Apis::DoubleclickbidmanagerV2::Rule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/doubleclickbidmanager_v2/classes.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb

Overview

A Rule defines a name, and a boolean expression in conjunctive normal form.external that can be applied to a path event to determine if that name should be applied.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Rule

Returns a new instance of Rule.



711
712
713
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 711

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

Instance Attribute Details

#disjunctive_match_statementsArray<Google::Apis::DoubleclickbidmanagerV2::DisjunctiveMatchStatement>

DisjunctiveMatchStatements within a Rule. DisjunctiveMatchStatement OR's all contained filters. Corresponds to the JSON property disjunctiveMatchStatements



704
705
706
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 704

def disjunctive_match_statements
  @disjunctive_match_statements
end

#nameString

Rule name. Corresponds to the JSON property name

Returns:

  • (String)


709
710
711
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 709

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



716
717
718
719
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 716

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