Class: Google::Apis::DisplayvideoV4::AlgorithmRulesComparisonValue

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



1702
1703
1704
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1702

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)


1634
1635
1636
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1634

def bool_value
  @bool_value
end

#content_duration_valueString

Video content duration value. Corresponds to the JSON property contentDurationValue

Returns:

  • (String)


1640
1641
1642
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1640

def content_duration_value
  @content_duration_value
end

#content_genre_id_valueFixnum

Video genre id value. Corresponds to the JSON property contentGenreIdValue

Returns:

  • (Fixnum)


1645
1646
1647
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1645

def content_genre_id_value
  @content_genre_id_value
end

#content_stream_type_valueString

Video delivery type value. Corresponds to the JSON property contentStreamTypeValue

Returns:

  • (String)


1650
1651
1652
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1650

def content_stream_type_value
  @content_stream_type_value
end

#creative_dimension_valueGoogle::Apis::DisplayvideoV4::Dimensions

Dimensions. Corresponds to the JSON property creativeDimensionValue



1655
1656
1657
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1655

def creative_dimension_value
  @creative_dimension_value
end

#day_and_time_valueGoogle::Apis::DisplayvideoV4::DayAndTime

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



1660
1661
1662
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1660

def day_and_time_value
  @day_and_time_value
end

#device_type_valueString

Device type value. Corresponds to the JSON property deviceTypeValue

Returns:

  • (String)


1665
1666
1667
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1665

def device_type_value
  @device_type_value
end

#double_valueFloat

Double value. Corresponds to the JSON property doubleValue

Returns:

  • (Float)


1670
1671
1672
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1670

def double_value
  @double_value
end

#environment_valueString

Environment value. Corresponds to the JSON property environmentValue

Returns:

  • (String)


1675
1676
1677
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1675

def environment_value
  @environment_value
end

#exchange_valueString

Exchange value. Corresponds to the JSON property exchangeValue

Returns:

  • (String)


1680
1681
1682
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1680

def exchange_value
  @exchange_value
end

#int64_valueFixnum

Integer value. Corresponds to the JSON property int64Value

Returns:

  • (Fixnum)


1685
1686
1687
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1685

def int64_value
  @int64_value
end

#on_screen_position_valueString

Ad position value. Corresponds to the JSON property onScreenPositionValue

Returns:

  • (String)


1690
1691
1692
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1690

def on_screen_position_value
  @on_screen_position_value
end

#string_valueString

String value. Corresponds to the JSON property stringValue

Returns:

  • (String)


1695
1696
1697
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1695

def string_value
  @string_value
end

#video_player_size_valueString

Video player size value. This field is only supported for allowlisted partners. Corresponds to the JSON property videoPlayerSizeValue

Returns:

  • (String)


1700
1701
1702
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1700

def video_player_size_value
  @video_player_size_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 1707

def update!(**args)
  @bool_value = args[:bool_value] if args.key?(:bool_value)
  @content_duration_value = args[:content_duration_value] if args.key?(:content_duration_value)
  @content_genre_id_value = args[:content_genre_id_value] if args.key?(:content_genre_id_value)
  @content_stream_type_value = args[:content_stream_type_value] if args.key?(:content_stream_type_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)
  @video_player_size_value = args[:video_player_size_value] if args.key?(:video_player_size_value)
end