Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverageIntent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverageIntent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
The agent's intent.
Instance Attribute Summary collapse
-
#covered ⇒ Boolean
(also: #covered?)
Whether the intent is covered by at least one of the agent's test cases.
-
#intent ⇒ String
The intent full resource name Corresponds to the JSON property
intent
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3IntentCoverageIntent
constructor
A new instance of GoogleCloudDialogflowCxV3IntentCoverageIntent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3IntentCoverageIntent
Returns a new instance of GoogleCloudDialogflowCxV3IntentCoverageIntent.
4541 4542 4543 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4541 def initialize(**args) update!(**args) end |
Instance Attribute Details
#covered ⇒ Boolean Also known as: covered?
Whether the intent is covered by at least one of the agent's test cases.
Corresponds to the JSON property covered
4533 4534 4535 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4533 def covered @covered end |
#intent ⇒ String
The intent full resource name
Corresponds to the JSON property intent
4539 4540 4541 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4539 def intent @intent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4546 4547 4548 4549 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4546 def update!(**args) @covered = args[:covered] if args.key?(:covered) @intent = args[:intent] if args.key?(:intent) end |