Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval

Returns a new instance of GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval.



2394
2395
2396
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2394

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

Instance Attribute Details

#confidence_levelFloat

Corresponds to the JSON property confidenceLevel

Returns:

  • (Float)


2377
2378
2379
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2377

def confidence_level
  @confidence_level
end

#lower_boundFloat

Corresponds to the JSON property lowerBound

Returns:

  • (Float)


2382
2383
2384
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2382

def lower_bound
  @lower_bound
end

#ratioFloat

Corresponds to the JSON property ratio

Returns:

  • (Float)


2387
2388
2389
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2387

def ratio
  @ratio
end

#upper_boundFloat

Corresponds to the JSON property upperBound

Returns:

  • (Float)


2392
2393
2394
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2392

def upper_bound
  @upper_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2399
2400
2401
2402
2403
2404
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2399

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