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.



1053
1054
1055
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 1053

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

Instance Attribute Details

#numberFloat

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

Returns:

  • (Float)


1051
1052
1053
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 1051

def number
  @number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1058
1059
1060
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 1058

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