Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverageIntent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverageIntent
- 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
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) ⇒ GoogleCloudDialogflowCxV3beta1IntentCoverageIntent
constructor
A new instance of GoogleCloudDialogflowCxV3beta1IntentCoverageIntent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1IntentCoverageIntent
Returns a new instance of GoogleCloudDialogflowCxV3beta1IntentCoverageIntent.
8971 8972 8973 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8971 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
8963 8964 8965 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8963 def covered @covered end |
#intent ⇒ String
The intent full resource name
Corresponds to the JSON property intent
8969 8970 8971 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8969 def intent @intent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8976 8977 8978 8979 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8976 def update!(**args) @covered = args[:covered] if args.key?(:covered) @intent = args[:intent] if args.key?(:intent) end |