Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval.



6516
6517
6518
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6516

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

Instance Attribute Details

#confidence_levelFloat

Corresponds to the JSON property confidenceLevel

Returns:

  • (Float)


6499
6500
6501
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6499

def confidence_level
  @confidence_level
end

#lower_boundFloat

Corresponds to the JSON property lowerBound

Returns:

  • (Float)


6504
6505
6506
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6504

def lower_bound
  @lower_bound
end

#ratioFloat

Corresponds to the JSON property ratio

Returns:

  • (Float)


6509
6510
6511
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6509

def ratio
  @ratio
end

#upper_boundFloat

Corresponds to the JSON property upperBound

Returns:

  • (Float)


6514
6515
6516
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6514

def upper_bound
  @upper_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6521
6522
6523
6524
6525
6526
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6521

def update!(**args)
  @confidence_level = args[:confidence_level] if args.key?(:confidence_level)
  @lower_bound = args[:lower_bound] if args.key?(:lower_bound)
  @ratio = args[:ratio] if args.key?(:ratio)
  @upper_bound = args[:upper_bound] if args.key?(:upper_bound)
end