Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent
- 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
Instance Attribute Summary collapse
-
#description ⇒ String
Corresponds to the JSON property
description. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#dtmf_pattern ⇒ String
Corresponds to the JSON property
dtmfPattern. -
#is_fallback ⇒ Boolean
(also: #is_fallback?)
Corresponds to the JSON property
isFallback. -
#labels ⇒ Hash<String,String>
Corresponds to the JSON property
labels. -
#name ⇒ String
Corresponds to the JSON property
name. -
#parameters ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentParameter>
Corresponds to the JSON property
parameters. -
#priority ⇒ Fixnum
Corresponds to the JSON property
priority. -
#training_phrases ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentTrainingPhrase>
Corresponds to the JSON property
trainingPhrases.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Intent
constructor
A new instance of GoogleCloudDialogflowCxV3Intent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Intent
Returns a new instance of GoogleCloudDialogflowCxV3Intent.
4437 4438 4439 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4437 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
4394 4395 4396 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4394 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
4399 4400 4401 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4399 def display_name @display_name end |
#dtmf_pattern ⇒ String
Corresponds to the JSON property dtmfPattern
4404 4405 4406 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4404 def dtmf_pattern @dtmf_pattern end |
#is_fallback ⇒ Boolean Also known as: is_fallback?
Corresponds to the JSON property isFallback
4409 4410 4411 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4409 def is_fallback @is_fallback end |
#labels ⇒ Hash<String,String>
Corresponds to the JSON property labels
4415 4416 4417 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4415 def labels @labels end |
#name ⇒ String
Corresponds to the JSON property name
4420 4421 4422 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4420 def name @name end |
#parameters ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentParameter>
Corresponds to the JSON property parameters
4425 4426 4427 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4425 def parameters @parameters end |
#priority ⇒ Fixnum
Corresponds to the JSON property priority
4430 4431 4432 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4430 def priority @priority end |
#training_phrases ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentTrainingPhrase>
Corresponds to the JSON property trainingPhrases
4435 4436 4437 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4435 def training_phrases @training_phrases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4442 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @dtmf_pattern = args[:dtmf_pattern] if args.key?(:dtmf_pattern) @is_fallback = args[:is_fallback] if args.key?(:is_fallback) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @parameters = args[:parameters] if args.key?(:parameters) @priority = args[:priority] if args.key?(:priority) @training_phrases = args[:training_phrases] if args.key?(:training_phrases) end |