Class: Google::Apis::YoutubePartnerV1::IntervalCondition
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::IntervalCondition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb
Instance Attribute Summary collapse
-
#high ⇒ Float
The maximum (inclusive) allowed value for the condition to be satisfied.
-
#low ⇒ Float
The minimum (inclusive) allowed value for the condition to be satisfied.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IntervalCondition
constructor
A new instance of IntervalCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IntervalCondition
Returns a new instance of IntervalCondition.
1768 1769 1770 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1768 def initialize(**args) update!(**args) end |
Instance Attribute Details
#high ⇒ Float
The maximum (inclusive) allowed value for the condition to be satisfied. The
default value is ∞.
Corresponds to the JSON property high
1760 1761 1762 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1760 def high @high end |
#low ⇒ Float
The minimum (inclusive) allowed value for the condition to be satisfied. The
default value is -∞.
Corresponds to the JSON property low
1766 1767 1768 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1766 def low @low end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1773 1774 1775 1776 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1773 def update!(**args) @high = args[:high] if args.key?(:high) @low = args[:low] if args.key?(:low) end |