Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaInterval
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaInterval
- 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) ⇒ GoogleCloudDiscoveryengineV1betaInterval
constructor
A new instance of GoogleCloudDiscoveryengineV1betaInterval.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaInterval
Returns a new instance of GoogleCloudDiscoveryengineV1betaInterval.
16357 16358 16359 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16357 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclusive_maximum ⇒ Float
Exclusive upper bound.
Corresponds to the JSON property exclusiveMaximum
16340 16341 16342 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16340 def exclusive_maximum @exclusive_maximum end |
#exclusive_minimum ⇒ Float
Exclusive lower bound.
Corresponds to the JSON property exclusiveMinimum
16345 16346 16347 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16345 def exclusive_minimum @exclusive_minimum end |
#maximum ⇒ Float
Inclusive upper bound.
Corresponds to the JSON property maximum
16350 16351 16352 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16350 def maximum @maximum end |
#minimum ⇒ Float
Inclusive lower bound.
Corresponds to the JSON property minimum
16355 16356 16357 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16355 def minimum @minimum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16362 16363 16364 16365 16366 16367 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16362 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 |