Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/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.
1989 1990 1991 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1989 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max ⇒ Float
The inclusive maximum of the acceptable range.
Corresponds to the JSON property max
1982 1983 1984 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1982 def max @max end |
#min ⇒ Float
The inclusive minimum of the acceptable range.
Corresponds to the JSON property min
1987 1988 1989 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1987 def min @min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1994 1995 1996 1997 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1994 def update!(**args) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) end |