# Class MarkRecommendationFailedRequest (2.22.0)

2.22.0 (latest) 2.21.0 2.20.0 2.19.0 2.18.2 2.17.0 2.16.1 2.15.5 2.14.0 2.13.0 2.12.0 2.11.2 2.10.1 2.9.0 2.8.3 2.7.4 2.6.0 2.5.1 2.4.0 2.3.4 2.2.0 2.1.0 2.0.0 1.1.3 1.0.0 0.3.0 0.2.0 0.1.0

    MarkRecommendationFailedRequest(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

Request for the `MarkRecommendationFailed` Method.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Required. Name of the recommendation. |
| `state_metadata` | `MutableMapping[str, str]` State properties to include with this state. Overwrites any existing `state_metadata`. Keys must match the regex `/^`a-z0-9\]\[a-z0-9_.-\]`{0,62}$/`. Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`. |
| `etag` | `str` Required. Fingerprint of the Recommendation. Provides optimistic locking. |

## Classes

### StateMetadataEntry

    StateMetadataEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |