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.



3499
3500
3501
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3499

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

Instance Attribute Details

#agent_utteranceGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentUtterance

Corresponds to the JSON property agentUtterance



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

def agent_utterance
  @agent_utterance
end

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


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

def complete_time
  @complete_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


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

def display_name
  @display_name
end

#eventGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Event

Corresponds to the JSON property event



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

def event
  @event
end

#flow_invocationGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation

Corresponds to the JSON property flowInvocation



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

def flow_invocation
  @flow_invocation
end

#flow_state_updateGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdate

Corresponds to the JSON property flowStateUpdate



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

def flow_state_update
  @flow_state_update
end

#flow_transitionGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowTransition

Corresponds to the JSON property flowTransition



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

def flow_transition
  @flow_transition
end

#intent_matchGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionIntentMatch

Corresponds to the JSON property intentMatch



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

def intent_match
  @intent_match
end

#llm_callGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmCall

Corresponds to the JSON property llmCall



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

def llm_call
  @llm_call
end

#playbook_invocationGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation

Corresponds to the JSON property playbookInvocation



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

def playbook_invocation
  @playbook_invocation
end

#playbook_transitionGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookTransition

Corresponds to the JSON property playbookTransition



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

def playbook_transition
  @playbook_transition
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


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

def start_time
  @start_time
end

#statusGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Status

Corresponds to the JSON property status



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

def status
  @status
end

#sttGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionStt

Corresponds to the JSON property stt



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

def stt
  @stt
end

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

Corresponds to the JSON property subExecutionSteps



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

def sub_execution_steps
  @sub_execution_steps
end

#tool_useGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUse

Corresponds to the JSON property toolUse



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

def tool_use
  @tool_use
end

#ttsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionTts

Corresponds to the JSON property tts



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

def tts
  @tts
end

#user_utteranceGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1UserUtterance

Corresponds to the JSON property userUtterance



3497
3498
3499
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3497

def user_utterance
  @user_utterance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3504

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