URL labels
A condition that keeps a page based on labels attached to its URL.
A condition decides whether a fetched page is processed and its result kept. Conditions are configured inside a condition step under a pipeline's steps; a single condition step holds a list of conditions. This page documents the url_labels condition.
The url_labels condition keeps or excludes a page based on labels attached to the URL itself. Set either allow or deny, not both.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
allow | map of string to string | no | none | Labels the URL must carry for the page to be kept. |
deny | map of string to string | no | none | Labels that exclude the page. |
steps:
- kind: condition
params:
- kind: url_labels
params:
deny:
skip: "true"