Class WidgetToolDataMapping
Configuration for mapping data from a source tool to the widget's input parameters.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1.dll
Syntax
public class WidgetToolDataMapping : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FieldMappings
Optional. A map of widget input parameter fields to the corresponding output fields of the source tool.
Declaration
[JsonProperty("fieldMappings")]
public virtual IDictionary<string, string> FieldMappings { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Mode
Optional. The mode of the data mapping.
Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PythonScript
Optional. A Python script used to transform the source tool's output into the widget's input format. This is used when the mapping is too complex for simple field mappings.
Declaration
[JsonProperty("pythonScript")]
public virtual string PythonScript { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SourceToolName
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}
Declaration
[JsonProperty("sourceToolName")]
public virtual string SourceToolName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |