NAME

Google::Cloud::Dialogflow::V2beta1::AgentCoachingInstruction - Compiled Protocol Buffers messages for google/cloud/dialogflow/v2beta1/agent_coaching_instruction.proto

SYNOPSIS

use Google::Cloud::Dialogflow::V2beta1::AgentCoachingInstruction;

my $msg = Google::Cloud::Dialogflow::V2beta1::AgentCoachingInstruction::AgentCoachingInstruction->new({
    display_name => $display_name,
    display_details => $display_details,
    condition => $condition,
    agent_action => $agent_action,
});

# Read or update a field
my $val = $msg->display_name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::V2beta1::AgentCoachingInstruction::AgentCoachingInstruction->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/v2beta1/agent_coaching_instruction.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Dialogflow::V2beta1::AgentCoachingInstruction::AgentCoachingInstruction

Agent Coaching instructions that customer can configure.

Inherits from Protobuf::Message.

Accessors

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Optional. Display name for the instruction.

  • $msg->display_details() / $msg->display_details($value)

    Type: String

    Optional. The detailed description of this instruction.

  • $msg->condition() / $msg->condition($value)

    Type: String

    Optional. The condition of the instruction. For example, "the customer wants to cancel an order". If the users want the instruction to be triggered unconditionally, the condition can be empty.

  • $msg->agent_action() / $msg->agent_action($value)

    Type: String

    Optional. The action that human agent should take. For example, "apologize for the slow shipping". If the users only want to use agent coaching for intent detection, agent_action can be empty

  • $msg->system_action() / $msg->system_action($value)

    Type: String

    Optional. The action that system should take. For example, "call GetOrderTime with order_number={order number provided by the customer}". If the users don't have plugins or don't want to trigger plugins, the system_action can be empty

  • $msg->duplicate_check_result() / $msg->duplicate_check_result($value)

    Type: Message (Google::Cloud::Dialogflow::V2beta1::AgentCoachingInstruction::AgentCoachingInstruction::DuplicateCheckResult)

    Output only. Duplication check for the AgentCoachingInstruction.

  • $msg->triggering_event() / $msg->triggering_event($value)

    Type: Enum (Google::Cloud::Dialogflow::V2beta1::AgentCoachingInstruction::TriggerEvent)

    Optional. The event that should trigger this instruction. If UNSPECIFIED, the instruction triggering will be same as the generator's trigger_event.

Enum: AgentCoachingInstruction::TriggerEvent

  • TRIGGER_EVENT_UNSPECIFIED => 0

  • END_OF_UTTERANCE => 1

  • MANUAL_CALL => 2

  • CUSTOMER_MESSAGE => 3

  • AGENT_MESSAGE => 4

  • TOOL_CALL_COMPLETION => 5

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::V2beta1::AgentCoachingInstruction::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.