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. -
#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.
4935 4936 4937 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4935 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
4897 4898 4899 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4897 def description @description end |
#display_name ⇒ String
Corresponds to the JSON property displayName
4902 4903 4904 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4902 def display_name @display_name end |
#is_fallback ⇒ Boolean Also known as: is_fallback?
Corresponds to the JSON property isFallback
4907 4908 4909 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4907 def is_fallback @is_fallback end |
#labels ⇒ Hash<String,String>
Corresponds to the JSON property labels
4913 4914 4915 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4913 def labels @labels end |
#name ⇒ String
Corresponds to the JSON property name
4918 4919 4920 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4918 def name @name end |
#parameters ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1IntentParameter>
Corresponds to the JSON property parameters
4923 4924 4925 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4923 def parameters @parameters end |
#priority ⇒ Fixnum
Corresponds to the JSON property priority
4928 4929 4930 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4928 def priority @priority end |
#training_phrases ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase>
Corresponds to the JSON property trainingPhrases
4933 4934 4935 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4933 def training_phrases @training_phrases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4940 def update!(**args) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @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 |