# ResolvedRedactionRule

> **Class** in `langchain`

📖 [View in docs](https://reference.langchain.com/python/langchain/agents/middleware/_redaction/ResolvedRedactionRule)

Resolved redaction rule ready for execution.

## Signature

```python
ResolvedRedactionRule(
    self,
    pii_type: str,
    strategy: RedactionStrategy,
    detector: Detector,
)
```

## Constructors

```python
__init__(
    self,
    pii_type: str,
    strategy: RedactionStrategy,
    detector: Detector,
) -> None
```

| Name | Type |
|------|------|
| `pii_type` | `str` |
| `strategy` | `RedactionStrategy` |
| `detector` | `Detector` |


## Properties

- `pii_type`
- `strategy`
- `detector`

## Methods

- [`apply()`](https://reference.langchain.com/python/langchain/agents/middleware/_redaction/ResolvedRedactionRule/apply)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/f0c5a28fa05adcda89aebcb449d897245ab21fa4/libs/langchain_v1/langchain/agents/middleware/_redaction.py#L419)