Class: Google::Apis::DisplayvideoV3::AlgorithmRulesSignalValue

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

Overview

Adjusted value of the signal used for rule evaluation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AlgorithmRulesSignalValue

Returns a new instance of AlgorithmRulesSignalValue.



951
952
953
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 951

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

Instance Attribute Details

#numberFloat

Value to use as result. Corresponds to the JSON property number

Returns:

  • (Float)


949
950
951
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 949

def number
  @number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



956
957
958
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 956

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