Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaInterval
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaInterval
- 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) ⇒ GoogleCloudDiscoveryengineV1alphaInterval
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaInterval.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaInterval
Returns a new instance of GoogleCloudDiscoveryengineV1alphaInterval.
11968 11969 11970 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11968 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclusive_maximum ⇒ Float
Exclusive upper bound.
Corresponds to the JSON property exclusiveMaximum
11951 11952 11953 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11951 def exclusive_maximum @exclusive_maximum end |
#exclusive_minimum ⇒ Float
Exclusive lower bound.
Corresponds to the JSON property exclusiveMinimum
11956 11957 11958 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11956 def exclusive_minimum @exclusive_minimum end |
#maximum ⇒ Float
Inclusive upper bound.
Corresponds to the JSON property maximum
11961 11962 11963 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11961 def maximum @maximum end |
#minimum ⇒ Float
Inclusive lower bound.
Corresponds to the JSON property minimum
11966 11967 11968 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11966 def minimum @minimum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11973 11974 11975 11976 11977 11978 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11973 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 |