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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics.



6597
6598
6599
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6597

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

Instance Attribute Details

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

Corresponds to the JSON property metrics



6585
6586
6587
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6585

def metrics
  @metrics
end

#session_countFixnum

Corresponds to the JSON property sessionCount

Returns:

  • (Fixnum)


6590
6591
6592
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6590

def session_count
  @session_count
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


6595
6596
6597
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6595

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6602
6603
6604
6605
6606
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6602

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