Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::WidgetTool (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::WidgetTool.

Represents a widget tool that the agent can invoke. When the tool is chosen by the agent, agent will return the widget to the client. The client is responsible for processing the widget and generating the next user query to continue the interaction with the agent.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data_mapping

def data_mapping() -> ::Google::Cloud::Ces::V1beta::WidgetTool::DataMapping
Returns

#data_mapping=

def data_mapping=(value) -> ::Google::Cloud::Ces::V1beta::WidgetTool::DataMapping
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. The description of the widget tool.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. The description of the widget tool.
Returns
  • (::String) — Optional. The description of the widget tool.

#name

def name() -> ::String
Returns
  • (::String) — Required. The display name of the widget tool.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The display name of the widget tool.
Returns
  • (::String) — Required. The display name of the widget tool.

#parameters

def parameters() -> ::Google::Cloud::Ces::V1beta::Schema
Returns

#parameters=

def parameters=(value) -> ::Google::Cloud::Ces::V1beta::Schema
Parameter
Returns

#ui_config

def ui_config() -> ::Google::Protobuf::Struct
Returns

#ui_config=

def ui_config=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#widget_type

def widget_type() -> ::Google::Cloud::Ces::V1beta::WidgetTool::WidgetType
Returns

#widget_type=

def widget_type=(value) -> ::Google::Cloud::Ces::V1beta::WidgetTool::WidgetType
Parameter
Returns