Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaInterval

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) ⇒ GoogleCloudDiscoveryengineV1betaInterval

Returns a new instance of GoogleCloudDiscoveryengineV1betaInterval.



17277
17278
17279
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 17277

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

Instance Attribute Details

#exclusive_maximumFloat

Exclusive upper bound. Corresponds to the JSON property exclusiveMaximum

Returns:

  • (Float)


17260
17261
17262
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 17260

def exclusive_maximum
  @exclusive_maximum
end

#exclusive_minimumFloat

Exclusive lower bound. Corresponds to the JSON property exclusiveMinimum

Returns:

  • (Float)


17265
17266
17267
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 17265

def exclusive_minimum
  @exclusive_minimum
end

#maximumFloat

Inclusive upper bound. Corresponds to the JSON property maximum

Returns:

  • (Float)


17270
17271
17272
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 17270

def maximum
  @maximum
end

#minimumFloat

Inclusive lower bound. Corresponds to the JSON property minimum

Returns:

  • (Float)


17275
17276
17277
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 17275

def minimum
  @minimum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17282
17283
17284
17285
17286
17287
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 17282

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