Class Action (2.0.0)

Action(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Action performed by end user or Dialogflow agent in the conversation.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
user_utterance google.cloud.dialogflowcx_v3beta1.types.UserUtterance
Optional. Agent obtained a message from the customer. This field is a member of oneof_ action.
event google.cloud.dialogflowcx_v3beta1.types.Event
Optional. The agent received an event from the customer or a system event is emitted. This field is a member of oneof_ action.
agent_utterance google.cloud.dialogflowcx_v3beta1.types.AgentUtterance
Optional. Action performed by the agent as a message. This field is a member of oneof_ action.
tool_use google.cloud.dialogflowcx_v3beta1.types.ToolUse
Optional. Action performed on behalf of the agent by calling a plugin tool. This field is a member of oneof_ action.
llm_call google.cloud.dialogflowcx_v3beta1.types.LlmCall
Optional. Output only. LLM call performed by the agent. This field is a member of oneof_ action.
intent_match google.cloud.dialogflowcx_v3beta1.types.Action.IntentMatch
Optional. Output only. Intent Match in flows. This field is a member of oneof_ action.
flow_state_update google.cloud.dialogflowcx_v3beta1.types.Action.FlowStateUpdate
Optional. Output only. The state machine update in flows. This field is a member of oneof_ action.
playbook_invocation google.cloud.dialogflowcx_v3beta1.types.PlaybookInvocation
Optional. Action performed on behalf of the agent by invoking a child playbook. This field is a member of oneof_ action.
flow_invocation google.cloud.dialogflowcx_v3beta1.types.FlowInvocation
Optional. Action performed on behalf of the agent by invoking a CX flow. This field is a member of oneof_ action.
playbook_transition google.cloud.dialogflowcx_v3beta1.types.PlaybookTransition
Optional. Action performed on behalf of the agent by transitioning to a target playbook. This field is a member of oneof_ action.
flow_transition google.cloud.dialogflowcx_v3beta1.types.FlowTransition
Optional. Action performed on behalf of the agent by transitioning to a target CX flow. This field is a member of oneof_ action.
tts google.cloud.dialogflowcx_v3beta1.types.Action.TTS
Optional. Text-to-speech action performed by the agent. This field is a member of oneof_ action.
stt google.cloud.dialogflowcx_v3beta1.types.Action.STT
Optional. Speech-to-text action performed by the agent. This field is a member of oneof_ action.
display_name str
Output only. The display name of the action.
start_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp of the start of the agent action.
complete_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp of the completion of the agent action.
sub_execution_steps MutableSequence[google.cloud.dialogflowcx_v3beta1.types.Span]
Optional. The detailed tracing information for sub execution steps of the action.
status google.cloud.dialogflowcx_v3beta1.types.Status
Optional. Output only. The status of the action.

Classes

FlowStateUpdate

FlowStateUpdate(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Stores metadata of the state update action, such as a state machine execution in flows.

IntentMatch

IntentMatch(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Stores metadata of the intent match action.

STT

STT(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Stores metadata of the Speech-to-Text action.

TTS

TTS(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Stores metadata of the Text-to-Speech action.