Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaInterval

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaInterval

Returns a new instance of GoogleCloudDiscoveryengineV1alphaInterval.



12684
12685
12686
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12684

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

Instance Attribute Details

#exclusive_maximumFloat

Exclusive upper bound. Corresponds to the JSON property exclusiveMaximum

Returns:

  • (Float)


12667
12668
12669
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12667

def exclusive_maximum
  @exclusive_maximum
end

#exclusive_minimumFloat

Exclusive lower bound. Corresponds to the JSON property exclusiveMinimum

Returns:

  • (Float)


12672
12673
12674
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12672

def exclusive_minimum
  @exclusive_minimum
end

#maximumFloat

Inclusive upper bound. Corresponds to the JSON property maximum

Returns:

  • (Float)


12677
12678
12679
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12677

def maximum
  @maximum
end

#minimumFloat

Inclusive lower bound. Corresponds to the JSON property minimum

Returns:

  • (Float)


12682
12683
12684
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12682

def minimum
  @minimum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12689
12690
12691
12692
12693
12694
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 12689

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