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

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

Configuration for mapping data from a source tool to the widget's input parameters.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#field_mappings

def field_mappings() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. A map of widget input parameter fields to the corresponding output fields of the source tool.

#field_mappings=

def field_mappings=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. A map of widget input parameter fields to the corresponding output fields of the source tool.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. A map of widget input parameter fields to the corresponding output fields of the source tool.

#mode

def mode() -> ::Google::Cloud::Ces::V1::WidgetTool::DataMapping::Mode
Returns

#mode=

def mode=(value) -> ::Google::Cloud::Ces::V1::WidgetTool::DataMapping::Mode
Parameter
Returns

#python_function

def python_function() -> ::Google::Cloud::Ces::V1::PythonFunction
Returns

#python_function=

def python_function=(value) -> ::Google::Cloud::Ces::V1::PythonFunction
Parameter
Returns

#python_script

def python_script() -> ::String
Returns
  • (::String) — Deprecated: Use python_function instead.

#python_script=

def python_script=(value) -> ::String
Parameter
  • value (::String) — Deprecated: Use python_function instead.
Returns
  • (::String) — Deprecated: Use python_function instead.

#source_tool_name

def source_tool_name() -> ::String
Returns
  • (::String) — Optional. The resource name of the tool that provides the data for the widget (e.g., a search tool or a custom function). Format: projects/{project}/locations/{location}/agents/{agent}/tools/{tool}

#source_tool_name=

def source_tool_name=(value) -> ::String
Parameter
  • value (::String) — Optional. The resource name of the tool that provides the data for the widget (e.g., a search tool or a custom function). Format: projects/{project}/locations/{location}/agents/{agent}/tools/{tool}
Returns
  • (::String) — Optional. The resource name of the tool that provides the data for the widget (e.g., a search tool or a custom function). Format: projects/{project}/locations/{location}/agents/{agent}/tools/{tool}