Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaInterval

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb

Overview

A floating point interval.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaInterval

Returns a new instance of GoogleCloudDiscoveryengineV1betaInterval.



20469
20470
20471
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 20469

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

Instance Attribute Details

#exclusive_maximumFloat

Exclusive upper bound. Corresponds to the JSON property exclusiveMaximum

Returns:

  • (Float)


20452
20453
20454
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 20452

def exclusive_maximum
  @exclusive_maximum
end

#exclusive_minimumFloat

Exclusive lower bound. Corresponds to the JSON property exclusiveMinimum

Returns:

  • (Float)


20457
20458
20459
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 20457

def exclusive_minimum
  @exclusive_minimum
end

#maximumFloat

Inclusive upper bound. Corresponds to the JSON property maximum

Returns:

  • (Float)


20462
20463
20464
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 20462

def maximum
  @maximum
end

#minimumFloat

Inclusive lower bound. Corresponds to the JSON property minimum

Returns:

  • (Float)


20467
20468
20469
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 20467

def minimum
  @minimum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20474
20475
20476
20477
20478
20479
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 20474

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