Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UIComponentField (v2.14.0)

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

#device_visibility=

def device_visibility=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UIComponentField::DeviceVisibility>
Parameter
Returns

#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.