Discovery Engine v1 API - Class WidgetConfig.Types.UIComponentField (1.17.0)

public sealed class WidgetConfig.Types.UIComponentField : IMessage<WidgetConfig.Types.UIComponentField>, IEquatable<WidgetConfig.Types.UIComponentField>, IDeepCloneable<WidgetConfig.Types.UIComponentField>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class WidgetConfig.Types.UIComponentField.

Facet field that maps to a UI Component.

Inheritance

object > WidgetConfig.Types.UIComponentField

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

UIComponentField()

public UIComponentField()

UIComponentField(UIComponentField)

public UIComponentField(WidgetConfig.Types.UIComponentField other)
Parameter
Name Description
other WidgetConfigTypesUIComponentField

Properties

DeviceVisibility

public RepeatedField<WidgetConfig.Types.UIComponentField.Types.DeviceVisibility> DeviceVisibility { get; }

The field visibility on different types of devices.

Property Value
Type Description
RepeatedFieldWidgetConfigTypesUIComponentFieldTypesDeviceVisibility

DisplayTemplate

public string DisplayTemplate { get; set; }

The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}".

Property Value
Type Description
string

Field

public string Field { get; set; }

Required. Registered field name. The format is field.abc.

Property Value
Type Description
string