Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics

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

Version variant and associated metrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics.



7533
7534
7535
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7533

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

Instance Attribute Details

#metricsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultMetric>

The metrics and corresponding confidence intervals in the inference result. Corresponds to the JSON property metrics



7520
7521
7522
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7520

def metrics
  @metrics
end

#session_countFixnum

Number of sessions that were allocated to this version. Corresponds to the JSON property sessionCount

Returns:

  • (Fixnum)


7525
7526
7527
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7525

def session_count
  @session_count
end

#versionString

The name of the flow Version. Format: projects//locations//agents//flows// versions/. Corresponds to the JSON property version

Returns:

  • (String)


7531
7532
7533
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7531

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7538
7539
7540
7541
7542
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7538

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