Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult

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

The inference result which includes an objective metric to optimize and the confidence interval.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExperimentResult

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExperimentResult.



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

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

Instance Attribute Details

#last_update_timeString

The last time the experiment's stats data was updated. Will have default value if stats have never been computed for this experiment. Corresponds to the JSON property lastUpdateTime

Returns:

  • (String)


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

def last_update_time
  @last_update_time
end

#version_metricsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics>

Version variants and metrics. Corresponds to the JSON property versionMetrics



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

def version_metrics
  @version_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
  @version_metrics = args[:version_metrics] if args.key?(:version_metrics)
end