# google.appengine.api.search.FacetResultValue

<br />

|---|
| [View source on GitHub](https://github.com/GoogleCloudPlatform/appengine-python-standard/tree/main/src/google/appengine/api/search/search.py#L2471-L2513) |

A facet value as part of search result.

Inherits From: [`expected_type`](https://docs.cloud.google.com/appengine/docs/standard/python3/reference/services/bundled/google/appengine/api/validation/Validator/expected_type)

#### View aliases


**Main aliases**

\`google.appengine.api.search.search.FacetResultValue\`

<br />

    google.appengine.api.search.FacetResultValue(
        label, count, refinement
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `label` | The label of the facet. Either the name of the facet, user provider range name, or system generated range name. |
| `count` | Occurrence frequency of the label for the given facet. |
| `refinement` | The FacetRefinement object for this value. Passing this object or its string token to the next query will refine the result based on this facet value. |

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| `TypeError` | If any of the parameters have invalid types, or an unknown attribute is passed. |
| `ValueError` | If any of the parameters have invalid values. |

<br />

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `count` | Returns the count for this facet value. |
| `label` | Returns the label for this facet value. |
| `refinement_token` | Returns the refinement token string for this facet value. |

<br />