Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Intent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Intent
- 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::GoogleCloudDialogflowCxV3beta1IntentParameter>
Corresponds to the JSON property
parameters. -
#priority ⇒ Fixnum
Corresponds to the JSON property
priority. -
#training_phrases ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase>
Corresponds to the JSON property
trainingPhrases.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Intent
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Intent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Intent
Returns a new instance of GoogleCloudDialogflowCxV3beta1Intent.
11265 11266 11267 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
11222 11223 11224 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11222 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
11227 11228 11229 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11227 def display_name @display_name end |
#dtmf_pattern ⇒ String
Corresponds to the JSON property dtmfPattern
11232 11233 11234 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11232 def dtmf_pattern @dtmf_pattern end |
#is_fallback ⇒ Boolean Also known as: is_fallback?
Corresponds to the JSON property isFallback
11237 11238 11239 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11237 def is_fallback @is_fallback end |
#labels ⇒ Hash<String,String>
Corresponds to the JSON property labels
11243 11244 11245 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11243 def labels @labels end |
#name ⇒ String
Corresponds to the JSON property name
11248 11249 11250 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11248 def name @name end |
#parameters ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentParameter>
Corresponds to the JSON property parameters
11253 11254 11255 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11253 def parameters @parameters end |
#priority ⇒ Fixnum
Corresponds to the JSON property priority
11258 11259 11260 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11258 def priority @priority end |
#training_phrases ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase>
Corresponds to the JSON property trainingPhrases
11263 11264 11265 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11263 def training_phrases @training_phrases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11270 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 |