Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultMetric

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

Overview

Metric and corresponding confidence intervals.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExperimentResultMetric

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExperimentResultMetric.



3380
3381
3382
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3380

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

Instance Attribute Details

#confidence_intervalGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval

A confidence interval is a range of possible values for the experiment objective you are trying to measure. Corresponds to the JSON property confidenceInterval



3368
3369
3370
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3368

def confidence_interval
  @confidence_interval
end

#ratioFloat

Ratio value of a metric. Corresponds to the JSON property ratio

Returns:

  • (Float)


3373
3374
3375
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3373

def ratio
  @ratio
end

#typeString

The type of the metric. Corresponds to the JSON property type

Returns:

  • (String)


3378
3379
3380
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3378

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3385
3386
3387
3388
3389
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3385

def update!(**args)
  @confidence_interval = args[:confidence_interval] if args.key?(:confidence_interval)
  @ratio = args[:ratio] if args.key?(:ratio)
  @type = args[:type] if args.key?(:type)
end