Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Intent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Intent
- 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::GoogleCloudDialogflowV2IntentFollowupIntentInfo>
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::GoogleCloudDialogflowV2IntentMessage>
Corresponds to the JSON property
messages. -
#ml_disabled ⇒ Boolean
(also: #ml_disabled?)
Corresponds to the JSON property
mlDisabled. -
#name ⇒ String
Corresponds to the JSON property
name. -
#output_contexts ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Context>
Corresponds to the JSON property
outputContexts. -
#parameters ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentParameter>
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::GoogleCloudDialogflowV2IntentTrainingPhrase>
Corresponds to the JSON property
trainingPhrases. -
#webhook_state ⇒ String
Corresponds to the JSON property
webhookState.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2Intent
constructor
A new instance of GoogleCloudDialogflowV2Intent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2Intent
Returns a new instance of GoogleCloudDialogflowV2Intent.
14573 14574 14575 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14573 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Corresponds to the JSON property action
14471 14472 14473 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14471 def action @action end |
#default_response_platforms ⇒ Array<String>
Corresponds to the JSON property defaultResponsePlatforms
14476 14477 14478 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14476 def default_response_platforms @default_response_platforms end |
#display_name ⇒ String
Corresponds to the JSON property displayName
14481 14482 14483 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14481 def display_name @display_name end |
#end_interaction ⇒ Boolean Also known as: end_interaction?
Corresponds to the JSON property endInteraction
14486 14487 14488 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14486 def end_interaction @end_interaction end |
#events ⇒ Array<String>
Corresponds to the JSON property events
14492 14493 14494 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14492 def events @events end |
#followup_intent_info ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentFollowupIntentInfo>
Corresponds to the JSON property followupIntentInfo
14497 14498 14499 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14497 def followup_intent_info @followup_intent_info end |
#input_context_names ⇒ Array<String>
Corresponds to the JSON property inputContextNames
14502 14503 14504 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14502 def input_context_names @input_context_names end |
#is_fallback ⇒ Boolean Also known as: is_fallback?
Corresponds to the JSON property isFallback
14507 14508 14509 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14507 def is_fallback @is_fallback end |
#live_agent_handoff ⇒ Boolean Also known as: live_agent_handoff?
Corresponds to the JSON property liveAgentHandoff
14513 14514 14515 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14513 def live_agent_handoff @live_agent_handoff end |
#messages ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage>
Corresponds to the JSON property messages
14519 14520 14521 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14519 def @messages end |
#ml_disabled ⇒ Boolean Also known as: ml_disabled?
Corresponds to the JSON property mlDisabled
14524 14525 14526 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14524 def ml_disabled @ml_disabled end |
#name ⇒ String
Corresponds to the JSON property name
14530 14531 14532 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14530 def name @name end |
#output_contexts ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2Context>
Corresponds to the JSON property outputContexts
14535 14536 14537 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14535 def output_contexts @output_contexts end |
#parameters ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentParameter>
Corresponds to the JSON property parameters
14540 14541 14542 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14540 def parameters @parameters end |
#parent_followup_intent_name ⇒ String
Corresponds to the JSON property parentFollowupIntentName
14545 14546 14547 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14545 def parent_followup_intent_name @parent_followup_intent_name end |
#priority ⇒ Fixnum
Corresponds to the JSON property priority
14550 14551 14552 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14550 def priority @priority end |
#reset_contexts ⇒ Boolean Also known as: reset_contexts?
Corresponds to the JSON property resetContexts
14555 14556 14557 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14555 def reset_contexts @reset_contexts end |
#root_followup_intent_name ⇒ String
Corresponds to the JSON property rootFollowupIntentName
14561 14562 14563 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14561 def root_followup_intent_name @root_followup_intent_name end |
#training_phrases ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentTrainingPhrase>
Corresponds to the JSON property trainingPhrases
14566 14567 14568 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14566 def training_phrases @training_phrases end |
#webhook_state ⇒ String
Corresponds to the JSON property webhookState
14571 14572 14573 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14571 def webhook_state @webhook_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14578 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) @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 |