Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class FacetField.
Facet fields that store the mapping of fields to end user widget appearance.
Generated from protobuf message google.cloud.discoveryengine.v1.WidgetConfig.FacetField
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ WidgetConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ field |
string
Required. Registered field name. The format is |
↳ display_name |
string
Optional. The field name that end users will see. |
getField
Required. Registered field name. The format is field.abc.
| Returns | |
|---|---|
| Type | Description |
string |
|
setField
Required. Registered field name. The format is field.abc.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Optional. The field name that end users will see.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Optional. The field name that end users will see.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|