Class: Google::Apis::DoubleclickbidmanagerV1_1::Rule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/doubleclickbidmanager_v1_1/classes.rb,
generated/google/apis/doubleclickbidmanager_v1_1/representations.rb,
generated/google/apis/doubleclickbidmanager_v1_1/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.



918
919
920
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 918

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

Instance Attribute Details

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

Corresponds to the JSON property disjunctiveMatchStatements



911
912
913
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 911

def disjunctive_match_statements
  @disjunctive_match_statements
end

#nameString

Rule name. Corresponds to the JSON property name

Returns:

  • (String)


916
917
918
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 916

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



923
924
925
926
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 923

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