Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Intent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Intent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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::DialogflowV2::GoogleCloudDialogflowCxV3IntentParameter>
Corresponds to the JSON property
parameters. -
#priority ⇒ Fixnum
Corresponds to the JSON property
priority. -
#training_phrases ⇒ Array<Google::Apis::DialogflowV2::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.
1578 1579 1580 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1578 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
1535 1536 1537 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1535 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
1540 1541 1542 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1540 def display_name @display_name end |
#dtmf_pattern ⇒ String
Corresponds to the JSON property dtmfPattern
1545 1546 1547 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1545 def dtmf_pattern @dtmf_pattern end |
#is_fallback ⇒ Boolean Also known as: is_fallback?
Corresponds to the JSON property isFallback
1550 1551 1552 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1550 def is_fallback @is_fallback end |
#labels ⇒ Hash<String,String>
Corresponds to the JSON property labels
1556 1557 1558 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1556 def labels @labels end |
#name ⇒ String
Corresponds to the JSON property name
1561 1562 1563 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1561 def name @name end |
#parameters ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3IntentParameter>
Corresponds to the JSON property parameters
1566 1567 1568 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1566 def parameters @parameters end |
#priority ⇒ Fixnum
Corresponds to the JSON property priority
1571 1572 1573 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1571 def priority @priority end |
#training_phrases ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3IntentTrainingPhrase>
Corresponds to the JSON property trainingPhrases
1576 1577 1578 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1576 def training_phrases @training_phrases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 1583 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 |