Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Intent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Intent
- 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
-
#action ⇒ String
Corresponds to the JSON property
action. -
#default_response_platforms ⇒ Array<String>
Corresponds to the JSON property
defaultResponsePlatforms. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#end_interaction ⇒ Boolean
(also: #end_interaction?)
Corresponds to the JSON property
endInteraction. -
#events ⇒ Array<String>
Corresponds to the JSON property
events. -
#followup_intent_info ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo>
Corresponds to the JSON property
followupIntentInfo. -
#input_context_names ⇒ Array<String>
Corresponds to the JSON property
inputContextNames. -
#is_fallback ⇒ Boolean
(also: #is_fallback?)
Corresponds to the JSON property
isFallback. -
#live_agent_handoff ⇒ Boolean
(also: #live_agent_handoff?)
Corresponds to the JSON property
liveAgentHandoff. -
#messages ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessage>
Corresponds to the JSON property
messages. -
#ml_disabled ⇒ Boolean
(also: #ml_disabled?)
Corresponds to the JSON property
mlDisabled. -
#ml_enabled ⇒ Boolean
(also: #ml_enabled?)
Corresponds to the JSON property
mlEnabled. -
#name ⇒ String
Corresponds to the JSON property
name. -
#output_contexts ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Context>
Corresponds to the JSON property
outputContexts. -
#parameters ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentParameter>
Corresponds to the JSON property
parameters. -
#parent_followup_intent_name ⇒ String
Corresponds to the JSON property
parentFollowupIntentName. -
#priority ⇒ Fixnum
Corresponds to the JSON property
priority. -
#reset_contexts ⇒ Boolean
(also: #reset_contexts?)
Corresponds to the JSON property
resetContexts. -
#root_followup_intent_name ⇒ String
Corresponds to the JSON property
rootFollowupIntentName. -
#training_phrases ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentTrainingPhrase>
Corresponds to the JSON property
trainingPhrases. -
#webhook_state ⇒ String
Corresponds to the JSON property
webhookState.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Intent
constructor
A new instance of GoogleCloudDialogflowV2beta1Intent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Intent
Returns a new instance of GoogleCloudDialogflowV2beta1Intent.
18959 18960 18961 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18959 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
18851 18852 18853 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18851 def action @action end |
#default_response_platforms ⇒ Array<String>
Corresponds to the JSON property defaultResponsePlatforms
18856 18857 18858 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18856 def default_response_platforms @default_response_platforms end |
#display_name ⇒ String
Corresponds to the JSON property displayName
18861 18862 18863 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18861 def display_name @display_name end |
#end_interaction ⇒ Boolean Also known as: end_interaction?
Corresponds to the JSON property endInteraction
18866 18867 18868 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18866 def end_interaction @end_interaction end |
#events ⇒ Array<String>
Corresponds to the JSON property events
18872 18873 18874 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18872 def events @events end |
#followup_intent_info ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo>
Corresponds to the JSON property followupIntentInfo
18877 18878 18879 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18877 def followup_intent_info @followup_intent_info end |
#input_context_names ⇒ Array<String>
Corresponds to the JSON property inputContextNames
18882 18883 18884 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18882 def input_context_names @input_context_names end |
#is_fallback ⇒ Boolean Also known as: is_fallback?
Corresponds to the JSON property isFallback
18887 18888 18889 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18887 def is_fallback @is_fallback end |
#live_agent_handoff ⇒ Boolean Also known as: live_agent_handoff?
Corresponds to the JSON property liveAgentHandoff
18893 18894 18895 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18893 def live_agent_handoff @live_agent_handoff end |
#messages ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessage>
Corresponds to the JSON property messages
18899 18900 18901 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18899 def @messages end |
#ml_disabled ⇒ Boolean Also known as: ml_disabled?
Corresponds to the JSON property mlDisabled
18904 18905 18906 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18904 def ml_disabled @ml_disabled end |
#ml_enabled ⇒ Boolean Also known as: ml_enabled?
Corresponds to the JSON property mlEnabled
18910 18911 18912 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18910 def ml_enabled @ml_enabled end |
#name ⇒ String
Corresponds to the JSON property name
18916 18917 18918 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18916 def name @name end |
#output_contexts ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Context>
Corresponds to the JSON property outputContexts
18921 18922 18923 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18921 def output_contexts @output_contexts end |
#parameters ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentParameter>
Corresponds to the JSON property parameters
18926 18927 18928 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18926 def parameters @parameters end |
#parent_followup_intent_name ⇒ String
Corresponds to the JSON property parentFollowupIntentName
18931 18932 18933 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18931 def parent_followup_intent_name @parent_followup_intent_name end |
#priority ⇒ Fixnum
Corresponds to the JSON property priority
18936 18937 18938 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18936 def priority @priority end |
#reset_contexts ⇒ Boolean Also known as: reset_contexts?
Corresponds to the JSON property resetContexts
18941 18942 18943 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18941 def reset_contexts @reset_contexts end |
#root_followup_intent_name ⇒ String
Corresponds to the JSON property rootFollowupIntentName
18947 18948 18949 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18947 def root_followup_intent_name @root_followup_intent_name end |
#training_phrases ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentTrainingPhrase>
Corresponds to the JSON property trainingPhrases
18952 18953 18954 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18952 def training_phrases @training_phrases end |
#webhook_state ⇒ String
Corresponds to the JSON property webhookState
18957 18958 18959 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18957 def webhook_state @webhook_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18964 def update!(**args) @action = args[:action] if args.key?(:action) @default_response_platforms = args[:default_response_platforms] if args.key?(:default_response_platforms) @display_name = args[:display_name] if args.key?(:display_name) @end_interaction = args[:end_interaction] if args.key?(:end_interaction) @events = args[:events] if args.key?(:events) @followup_intent_info = args[:followup_intent_info] if args.key?(:followup_intent_info) @input_context_names = args[:input_context_names] if args.key?(:input_context_names) @is_fallback = args[:is_fallback] if args.key?(:is_fallback) @live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff) @messages = args[:messages] if args.key?(:messages) @ml_disabled = args[:ml_disabled] if args.key?(:ml_disabled) @ml_enabled = args[:ml_enabled] if args.key?(:ml_enabled) @name = args[:name] if args.key?(:name) @output_contexts = args[:output_contexts] if args.key?(:output_contexts) @parameters = args[:parameters] if args.key?(:parameters) @parent_followup_intent_name = args[:parent_followup_intent_name] if args.key?(:parent_followup_intent_name) @priority = args[:priority] if args.key?(:priority) @reset_contexts = args[:reset_contexts] if args.key?(:reset_contexts) @root_followup_intent_name = args[:root_followup_intent_name] if args.key?(:root_followup_intent_name) @training_phrases = args[:training_phrases] if args.key?(:training_phrases) @webhook_state = args[:webhook_state] if args.key?(:webhook_state) end |