View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseFacet (google_api_discovery_engine v0.15.0)
A facet result.
Attributes
-
dynamicFacet
(type:boolean()
, default:nil
) - Whether the facet is dynamically generated. -
key
(type:String.t
, default:nil
) - The key for this facet. For example,"colors"
or"price"
. It matches SearchRequest.FacetSpec.FacetKey.key. -
values
(type:list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue.t)
, default:nil
) - The facet values for this field.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseFacet{ dynamicFacet: boolean() | nil, key: String.t() | nil, values: [ GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue.t() ] | nil }
Functions
Unwrap a decoded JSON object into its complex fields.