Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v3beta1/classes.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb
Overview
Intent coverage represents the percentage of all possible intents in the agent that are triggered in any of a parent's test cases.
Instance Attribute Summary collapse
-
#coverage_score ⇒ Float
The percent of intents in the agent that are covered.
-
#intents ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverageIntent>
The list of Intents present in the agent Corresponds to the JSON property
intents
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1IntentCoverage
constructor
A new instance of GoogleCloudDialogflowCxV3beta1IntentCoverage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1IntentCoverage
Returns a new instance of GoogleCloudDialogflowCxV3beta1IntentCoverage.
4025 4026 4027 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 4025 def initialize(**args) update!(**args) end |
Instance Attribute Details
#coverage_score ⇒ Float
The percent of intents in the agent that are covered.
Corresponds to the JSON property coverageScore
4018 4019 4020 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 4018 def coverage_score @coverage_score end |
#intents ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverageIntent>
The list of Intents present in the agent
Corresponds to the JSON property intents
4023 4024 4025 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 4023 def intents @intents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4030 4031 4032 4033 |
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 4030 def update!(**args) @coverage_score = args[:coverage_score] if args.key?(:coverage_score) @intents = args[:intents] if args.key?(:intents) end |