Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#intent ⇒ String
Corresponds to the JSON property
intent. -
#language_code ⇒ String
Corresponds to the JSON property
languageCode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentInput
constructor
A new instance of GoogleCloudDialogflowV2beta1IntentInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentInput
Returns a new instance of GoogleCloudDialogflowV2beta1IntentInput.
15474 15475 15476 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15474 def initialize(**args) update!(**args) end |
Instance Attribute Details
#intent ⇒ String
Corresponds to the JSON property intent
15467 15468 15469 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15467 def intent @intent end |
#language_code ⇒ String
Corresponds to the JSON property languageCode
15472 15473 15474 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15472 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15479 15480 15481 15482 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15479 def update!(**args) @intent = args[:intent] if args.key?(:intent) @language_code = args[:language_code] if args.key?(:language_code) end |