Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Intent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Intent
- 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
-
#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::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1IntentParameter>
Corresponds to the JSON property
parameters. -
#priority ⇒ Fixnum
Corresponds to the JSON property
priority. -
#training_phrases ⇒ Array<Google::Apis::DialogflowV2beta1::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.
4958 4959 4960 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4958 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
4915 4916 4917 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4915 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
4920 4921 4922 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4920 def display_name @display_name end |
#dtmf_pattern ⇒ String
Corresponds to the JSON property dtmfPattern
4925 4926 4927 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4925 def dtmf_pattern @dtmf_pattern end |
#is_fallback ⇒ Boolean Also known as: is_fallback?
Corresponds to the JSON property isFallback
4930 4931 4932 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4930 def is_fallback @is_fallback end |
#labels ⇒ Hash<String,String>
Corresponds to the JSON property labels
4936 4937 4938 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4936 def labels @labels end |
#name ⇒ String
Corresponds to the JSON property name
4941 4942 4943 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4941 def name @name end |
#parameters ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1IntentParameter>
Corresponds to the JSON property parameters
4946 4947 4948 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4946 def parameters @parameters end |
#priority ⇒ Fixnum
Corresponds to the JSON property priority
4951 4952 4953 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4951 def priority @priority end |
#training_phrases ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase>
Corresponds to the JSON property trainingPhrases
4956 4957 4958 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4956 def training_phrases @training_phrases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4963 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 |