Class: Google::Apis::DisplayvideoV3::AlgorithmRulesComparisonValue

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

A value to compare the signal to.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AlgorithmRulesComparisonValue

Returns a new instance of AlgorithmRulesComparisonValue.



774
775
776
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 774

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

Instance Attribute Details

#bool_valueBoolean Also known as: bool_value?

Boolean value. Corresponds to the JSON property boolValue

Returns:

  • (Boolean)


726
727
728
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 726

def bool_value
  @bool_value
end

#creative_dimension_valueGoogle::Apis::DisplayvideoV3::Dimensions

Dimensions. Corresponds to the JSON property creativeDimensionValue



732
733
734
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 732

def creative_dimension_value
  @creative_dimension_value
end

#day_and_time_valueGoogle::Apis::DisplayvideoV3::DayAndTime

Representation of time defined by day of the week and hour of the day. Corresponds to the JSON property dayAndTimeValue



737
738
739
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 737

def day_and_time_value
  @day_and_time_value
end

#device_type_valueString

Device type value. Corresponds to the JSON property deviceTypeValue

Returns:

  • (String)


742
743
744
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 742

def device_type_value
  @device_type_value
end

#double_valueFloat

Double value. Corresponds to the JSON property doubleValue

Returns:

  • (Float)


747
748
749
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 747

def double_value
  @double_value
end

#environment_valueString

Environment value. Corresponds to the JSON property environmentValue

Returns:

  • (String)


752
753
754
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 752

def environment_value
  @environment_value
end

#exchange_valueString

Exchange value. Corresponds to the JSON property exchangeValue

Returns:

  • (String)


757
758
759
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 757

def exchange_value
  @exchange_value
end

#int64_valueFixnum

Integer value. Corresponds to the JSON property int64Value

Returns:

  • (Fixnum)


762
763
764
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 762

def int64_value
  @int64_value
end

#on_screen_position_valueString

Ad position value. Corresponds to the JSON property onScreenPositionValue

Returns:

  • (String)


767
768
769
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 767

def on_screen_position_value
  @on_screen_position_value
end

#string_valueString

String value. Corresponds to the JSON property stringValue

Returns:

  • (String)


772
773
774
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 772

def string_value
  @string_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



779
780
781
782
783
784
785
786
787
788
789
790
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 779

def update!(**args)
  @bool_value = args[:bool_value] if args.key?(:bool_value)
  @creative_dimension_value = args[:creative_dimension_value] if args.key?(:creative_dimension_value)
  @day_and_time_value = args[:day_and_time_value] if args.key?(:day_and_time_value)
  @device_type_value = args[:device_type_value] if args.key?(:device_type_value)
  @double_value = args[:double_value] if args.key?(:double_value)
  @environment_value = args[:environment_value] if args.key?(:environment_value)
  @exchange_value = args[:exchange_value] if args.key?(:exchange_value)
  @int64_value = args[:int64_value] if args.key?(:int64_value)
  @on_screen_position_value = args[:on_screen_position_value] if args.key?(:on_screen_position_value)
  @string_value = args[:string_value] if args.key?(:string_value)
end