Gemini Enterprise for Customer Experience v1beta API - Class WidgetTool.Types.DataMapping (1.0.0-beta03)

public sealed class WidgetTool.Types.DataMapping : IMessage<WidgetTool.Types.DataMapping>, IEquatable<WidgetTool.Types.DataMapping>, IDeepCloneable<WidgetTool.Types.DataMapping>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class WidgetTool.Types.DataMapping.

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

Inheritance

object > WidgetTool.Types.DataMapping

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

DataMapping()

public DataMapping()

DataMapping(DataMapping)

public DataMapping(WidgetTool.Types.DataMapping other)
Parameter
Name Description
other WidgetToolTypesDataMapping

Properties

FieldMappings

public MapField<string, string> FieldMappings { get; }

Optional. A map of widget input parameter fields to the corresponding output fields of the source tool.

Property Value
Type Description
MapFieldstringstring

Mode

public WidgetTool.Types.DataMapping.Types.Mode Mode { get; set; }

Optional. The mode of the data mapping.

Property Value
Type Description
WidgetToolTypesDataMappingTypesMode

PythonFunction

public PythonFunction PythonFunction { get; set; }

Optional. Configuration for a Python function used to transform the source tool's output into the widget's input format.

Property Value
Type Description
PythonFunction

PythonScript

[Obsolete]
public string PythonScript { get; set; }

Deprecated: Use python_function instead.

Property Value
Type Description
string

SourceToolName

public string SourceToolName { get; set; }

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}

Property Value
Type Description
string