Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange

Returns a new instance of EnterpriseCrmEventbusProtoParamSpecEntryValidationRuleDoubleRange.



1864
1865
1866
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1864

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#maxFloat

The inclusive maximum of the acceptable range. Corresponds to the JSON property max

Returns:

  • (Float)


1857
1858
1859
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1857

def max
  @max
end

#minFloat

The inclusive minimum of the acceptable range. Corresponds to the JSON property min

Returns:

  • (Float)


1862
1863
1864
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1862

def min
  @min
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1869
1870
1871
1872
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1869

def update!(**args)
  @max = args[:max] if args.key?(:max)
  @min = args[:min] if args.key?(:min)
end