Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UIComponentField.
Facet field that maps to a UI Component.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#device_visibility
def device_visibility() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UIComponentField::DeviceVisibility>
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UIComponentField::DeviceVisibility>) — The field visibility on different types of devices.
#device_visibility=
def device_visibility=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UIComponentField::DeviceVisibility>
Parameter
- value (::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UIComponentField::DeviceVisibility>) — The field visibility on different types of devices.
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UIComponentField::DeviceVisibility>) — The field visibility on different types of devices.
#display_template
def display_template() -> ::String
Returns
- (::String) — The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}".
#display_template=
def display_template=(value) -> ::String
Parameter
- value (::String) — The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}".
Returns
- (::String) — The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}".
#field
def field() -> ::String
Returns
-
(::String) — Required. Registered field name. The format is
field.abc.
#field=
def field=(value) -> ::String
Parameter
-
value (::String) — Required. Registered field name. The format is
field.abc.
Returns
-
(::String) — Required. Registered field name. The format is
field.abc.