Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultMetric

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) ⇒ GoogleCloudDialogflowCxV3beta1ExperimentResultMetric

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExperimentResultMetric.



6558
6559
6560
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6558

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

Instance Attribute Details

#confidence_intervalGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval

Corresponds to the JSON property confidenceInterval



6536
6537
6538
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6536

def confidence_interval
  @confidence_interval
end

#countFloat

Corresponds to the JSON property count

Returns:

  • (Float)


6541
6542
6543
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6541

def count
  @count
end

#count_typeString

Corresponds to the JSON property countType

Returns:

  • (String)


6546
6547
6548
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6546

def count_type
  @count_type
end

#ratioFloat

Corresponds to the JSON property ratio

Returns:

  • (Float)


6551
6552
6553
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6551

def ratio
  @ratio
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


6556
6557
6558
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6556

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6563
6564
6565
6566
6567
6568
6569
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6563

def update!(**args)
  @confidence_interval = args[:confidence_interval] if args.key?(:confidence_interval)
  @count = args[:count] if args.key?(:count)
  @count_type = args[:count_type] if args.key?(:count_type)
  @ratio = args[:ratio] if args.key?(:ratio)
  @type = args[:type] if args.key?(:type)
end