Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics
- 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
Overview
Version variant and associated metrics.
Instance Attribute Summary collapse
-
#metrics ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultMetric>
The metrics and corresponding confidence intervals in the inference result.
-
#session_count ⇒ Fixnum
Number of sessions that were allocated to this version.
-
#version ⇒ String
The name of the flow Version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics
constructor
A new instance of GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics
Returns a new instance of GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics.
1681 1682 1683 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1681 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metrics ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultMetric>
The metrics and corresponding confidence intervals in the inference result.
Corresponds to the JSON property metrics
1668 1669 1670 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1668 def metrics @metrics end |
#session_count ⇒ Fixnum
Number of sessions that were allocated to this version.
Corresponds to the JSON property sessionCount
1673 1674 1675 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1673 def session_count @session_count end |
#version ⇒ String
The name of the flow Version. Format: projects//locations//agents//flows//
versions/
.
Corresponds to the JSON property version
1679 1680 1681 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1679 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1686 1687 1688 1689 1690 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1686 def update!(**args) @metrics = args[:metrics] if args.key?(:metrics) @session_count = args[:session_count] if args.key?(:session_count) @version = args[:version] if args.key?(:version) end |