Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dialogflow_v3/classes.rb,
generated/google/apis/dialogflow_v3/representations.rb,
generated/google/apis/dialogflow_v3/representations.rb

Overview

Transition coverage represents the percentage of all possible transitions present within any of a parent's test cases.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TransitionCoverage

Returns a new instance of GoogleCloudDialogflowCxV3TransitionCoverage.



3926
3927
3928
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 3926

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

Instance Attribute Details

#coverage_scoreFloat

The percent of transitions in the agent that are covered. Corresponds to the JSON property coverageScore

Returns:

  • (Float)


3919
3920
3921
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 3919

def coverage_score
  @coverage_score
end

#transitionsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransition>

The list of Transitions present in the agent. Corresponds to the JSON property transitions



3924
3925
3926
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 3924

def transitions
  @transitions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3931
3932
3933
3934
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 3931

def update!(**args)
  @coverage_score = args[:coverage_score] if args.key?(:coverage_score)
  @transitions = args[:transitions] if args.key?(:transitions)
end