Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Interval
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Interval
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
A floating point interval.
Instance Attribute Summary collapse
-
#exclusive_maximum ⇒ Float
Exclusive upper bound.
-
#exclusive_minimum ⇒ Float
Exclusive lower bound.
-
#maximum ⇒ Float
Inclusive upper bound.
-
#minimum ⇒ Float
Inclusive lower bound.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1Interval
constructor
A new instance of GoogleCloudDiscoveryengineV1Interval.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1Interval
Returns a new instance of GoogleCloudDiscoveryengineV1Interval.
5230 5231 5232 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5230 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclusive_maximum ⇒ Float
Exclusive upper bound.
Corresponds to the JSON property exclusiveMaximum
5213 5214 5215 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5213 def exclusive_maximum @exclusive_maximum end |
#exclusive_minimum ⇒ Float
Exclusive lower bound.
Corresponds to the JSON property exclusiveMinimum
5218 5219 5220 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5218 def exclusive_minimum @exclusive_minimum end |
#maximum ⇒ Float
Inclusive upper bound.
Corresponds to the JSON property maximum
5223 5224 5225 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5223 def maximum @maximum end |
#minimum ⇒ Float
Inclusive lower bound.
Corresponds to the JSON property minimum
5228 5229 5230 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5228 def minimum @minimum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5235 5236 5237 5238 5239 5240 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5235 def update!(**args) @exclusive_maximum = args[:exclusive_maximum] if args.key?(:exclusive_maximum) @exclusive_minimum = args[:exclusive_minimum] if args.key?(:exclusive_minimum) @maximum = args[:maximum] if args.key?(:maximum) @minimum = args[:minimum] if args.key?(:minimum) end |