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
Instance Attribute Summary collapse
-
#metrics ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultMetric>
Corresponds to the JSON property
metrics. -
#session_count ⇒ Fixnum
Corresponds to the JSON property
sessionCount. -
#version ⇒ String
Corresponds to the JSON property
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.
2469 2470 2471 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2469 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metrics ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultMetric>
Corresponds to the JSON property metrics
2457 2458 2459 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2457 def metrics @metrics end |
#session_count ⇒ Fixnum
Corresponds to the JSON property sessionCount
2462 2463 2464 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2462 def session_count @session_count end |
#version ⇒ String
Corresponds to the JSON property version
2467 2468 2469 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2467 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2474 2475 2476 2477 2478 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2474 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 |