Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Action

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Action

Returns a new instance of GoogleCloudDialogflowCxV3beta1Action.



3493
3494
3495
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3493

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#agent_utteranceGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentUtterance

Corresponds to the JSON property agentUtterance



3406
3407
3408
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3406

def agent_utterance
  @agent_utterance
end

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


3411
3412
3413
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3411

def complete_time
  @complete_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3416
3417
3418
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3416

def display_name
  @display_name
end

#eventGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Event

Corresponds to the JSON property event



3421
3422
3423
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3421

def event
  @event
end

#flow_invocationGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation

Corresponds to the JSON property flowInvocation



3426
3427
3428
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3426

def flow_invocation
  @flow_invocation
end

#flow_state_updateGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate

Corresponds to the JSON property flowStateUpdate



3431
3432
3433
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3431

def flow_state_update
  @flow_state_update
end

#flow_transitionGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowTransition

Corresponds to the JSON property flowTransition



3436
3437
3438
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3436

def flow_transition
  @flow_transition
end

#intent_matchGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionIntentMatch

Corresponds to the JSON property intentMatch



3441
3442
3443
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3441

def intent_match
  @intent_match
end

#llm_callGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCall

Corresponds to the JSON property llmCall



3446
3447
3448
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3446

def llm_call
  @llm_call
end

#playbook_invocationGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation

Corresponds to the JSON property playbookInvocation



3451
3452
3453
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3451

def playbook_invocation
  @playbook_invocation
end

#playbook_transitionGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookTransition

Corresponds to the JSON property playbookTransition



3456
3457
3458
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3456

def playbook_transition
  @playbook_transition
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


3461
3462
3463
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3461

def start_time
  @start_time
end

#statusGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Status

Corresponds to the JSON property status



3466
3467
3468
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3466

def status
  @status
end

#sttGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionStt

Corresponds to the JSON property stt



3471
3472
3473
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3471

def stt
  @stt
end

#sub_execution_stepsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Span>

Corresponds to the JSON property subExecutionSteps



3476
3477
3478
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3476

def sub_execution_steps
  @sub_execution_steps
end

#tool_useGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUse

Corresponds to the JSON property toolUse



3481
3482
3483
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3481

def tool_use
  @tool_use
end

#ttsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionTts

Corresponds to the JSON property tts



3486
3487
3488
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3486

def tts
  @tts
end

#user_utteranceGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1UserUtterance

Corresponds to the JSON property userUtterance



3491
3492
3493
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3491

def user_utterance
  @user_utterance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3498

def update!(**args)
  @agent_utterance = args[:agent_utterance] if args.key?(:agent_utterance)
  @complete_time = args[:complete_time] if args.key?(:complete_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @event = args[:event] if args.key?(:event)
  @flow_invocation = args[:flow_invocation] if args.key?(:flow_invocation)
  @flow_state_update = args[:flow_state_update] if args.key?(:flow_state_update)
  @flow_transition = args[:flow_transition] if args.key?(:flow_transition)
  @intent_match = args[:intent_match] if args.key?(:intent_match)
  @llm_call = args[:llm_call] if args.key?(:llm_call)
  @playbook_invocation = args[:playbook_invocation] if args.key?(:playbook_invocation)
  @playbook_transition = args[:playbook_transition] if args.key?(:playbook_transition)
  @start_time = args[:start_time] if args.key?(:start_time)
  @status = args[:status] if args.key?(:status)
  @stt = args[:stt] if args.key?(:stt)
  @sub_execution_steps = args[:sub_execution_steps] if args.key?(:sub_execution_steps)
  @tool_use = args[:tool_use] if args.key?(:tool_use)
  @tts = args[:tts] if args.key?(:tts)
  @user_utterance = args[:user_utterance] if args.key?(:user_utterance)
end