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.
1944 1945 1946 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1944 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max ⇒ Float
The inclusive maximum of the acceptable range.
Corresponds to the JSON property max
1937 1938 1939 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1937 def max @max end |
#min ⇒ Float
The inclusive minimum of the acceptable range.
Corresponds to the JSON property min
1942 1943 1944 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1942 def min @min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1949 1950 1951 1952 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1949 def update!(**args) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) end |