Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Intent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Intent
- 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
-
#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::DialogflowV3::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::DialogflowV3::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::DialogflowV3::GoogleCloudDialogflowV2beta1Context>
Corresponds to the JSON property
outputContexts. -
#parameters ⇒ Array<Google::Apis::DialogflowV3::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::DialogflowV3::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.
18407 18408 18409 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18407 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
18299 18300 18301 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18299 def action @action end |
#default_response_platforms ⇒ Array<String>
Corresponds to the JSON property defaultResponsePlatforms
18304 18305 18306 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18304 def default_response_platforms @default_response_platforms end |
#display_name ⇒ String
Corresponds to the JSON property displayName
18309 18310 18311 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18309 def display_name @display_name end |
#end_interaction ⇒ Boolean Also known as: end_interaction?
Corresponds to the JSON property endInteraction
18314 18315 18316 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18314 def end_interaction @end_interaction end |
#events ⇒ Array<String>
Corresponds to the JSON property events
18320 18321 18322 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18320 def events @events end |
#followup_intent_info ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo>
Corresponds to the JSON property followupIntentInfo
18325 18326 18327 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18325 def followup_intent_info @followup_intent_info end |
#input_context_names ⇒ Array<String>
Corresponds to the JSON property inputContextNames
18330 18331 18332 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18330 def input_context_names @input_context_names end |
#is_fallback ⇒ Boolean Also known as: is_fallback?
Corresponds to the JSON property isFallback
18335 18336 18337 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18335 def is_fallback @is_fallback end |
#live_agent_handoff ⇒ Boolean Also known as: live_agent_handoff?
Corresponds to the JSON property liveAgentHandoff
18341 18342 18343 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18341 def live_agent_handoff @live_agent_handoff end |
#messages ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage>
Corresponds to the JSON property messages
18347 18348 18349 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18347 def @messages end |
#ml_disabled ⇒ Boolean Also known as: ml_disabled?
Corresponds to the JSON property mlDisabled
18352 18353 18354 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18352 def ml_disabled @ml_disabled end |
#ml_enabled ⇒ Boolean Also known as: ml_enabled?
Corresponds to the JSON property mlEnabled
18358 18359 18360 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18358 def ml_enabled @ml_enabled end |
#name ⇒ String
Corresponds to the JSON property name
18364 18365 18366 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18364 def name @name end |
#output_contexts ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context>
Corresponds to the JSON property outputContexts
18369 18370 18371 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18369 def output_contexts @output_contexts end |
#parameters ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentParameter>
Corresponds to the JSON property parameters
18374 18375 18376 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18374 def parameters @parameters end |
#parent_followup_intent_name ⇒ String
Corresponds to the JSON property parentFollowupIntentName
18379 18380 18381 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18379 def parent_followup_intent_name @parent_followup_intent_name end |
#priority ⇒ Fixnum
Corresponds to the JSON property priority
18384 18385 18386 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18384 def priority @priority end |
#reset_contexts ⇒ Boolean Also known as: reset_contexts?
Corresponds to the JSON property resetContexts
18389 18390 18391 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18389 def reset_contexts @reset_contexts end |
#root_followup_intent_name ⇒ String
Corresponds to the JSON property rootFollowupIntentName
18395 18396 18397 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18395 def root_followup_intent_name @root_followup_intent_name end |
#training_phrases ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentTrainingPhrase>
Corresponds to the JSON property trainingPhrases
18400 18401 18402 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18400 def training_phrases @training_phrases end |
#webhook_state ⇒ String
Corresponds to the JSON property webhookState
18405 18406 18407 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18405 def webhook_state @webhook_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 18412 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 |