Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::GuidanceInstruction (v1.18.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::GuidanceInstruction.

Guidance instruction for the companion agent.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#actions

def actions() -> ::Array<::Google::Cloud::Dialogflow::V2::GuidanceInstruction::Action>
Returns

#actions=

def actions=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::GuidanceInstruction::Action>
Parameter
Returns

#condition

def condition() -> ::String
Returns
  • (::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.

#condition=

def condition=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.

#disable_suggested_reply

def disable_suggested_reply() -> ::Boolean
Returns
  • (::Boolean) — Optional. Whether to disable suggested reply generation for this instruction. When set to true, guidance generated from this instruction will not include a suggested reply. Default is false (suggested reply enabled).

#disable_suggested_reply=

def disable_suggested_reply=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Whether to disable suggested reply generation for this instruction. When set to true, guidance generated from this instruction will not include a suggested reply. Default is false (suggested reply enabled).
Returns
  • (::Boolean) — Optional. Whether to disable suggested reply generation for this instruction. When set to true, guidance generated from this instruction will not include a suggested reply. Default is false (suggested reply enabled).

#display_details

def display_details() -> ::String
Returns
  • (::String) — Optional. The detailed description of this instruction.

#display_details=

def display_details=(value) -> ::String
Parameter
  • value (::String) — Optional. The detailed description of this instruction.
Returns
  • (::String) — Optional. The detailed description of this instruction.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. Display name for the instruction. This name should be unique within the companion agent.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. Display name for the instruction. This name should be unique within the companion agent.
Returns
  • (::String) — Optional. Display name for the instruction. This name should be unique within the companion agent.

#trigger_event

def trigger_event() -> ::Google::Cloud::Dialogflow::V2::CompanionAgent::TriggerEvent
Returns

#trigger_event=

def trigger_event=(value) -> ::Google::Cloud::Dialogflow::V2::CompanionAgent::TriggerEvent
Parameter
Returns