Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
Range used to validate doubles and floats.
Instance Attribute Summary collapse
-
#max ⇒ Float
The inclusive maximum of the acceptable range.
-
#min ⇒ Float
The inclusive minimum of the acceptable range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange
constructor
A new instance of EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange
Returns a new instance of EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange.
1804 1805 1806 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1804 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max ⇒ Float
The inclusive maximum of the acceptable range.
Corresponds to the JSON property max
1797 1798 1799 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1797 def max @max end |
#min ⇒ Float
The inclusive minimum of the acceptable range.
Corresponds to the JSON property min
1802 1803 1804 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1802 def min @min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1809 1810 1811 1812 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1809 def update!(**args) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) end |