1.57.0 (latest) 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.49.0 1.48.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 1.24.0 1.23.0 1.22.0 1.21.0 1.20.1 1.19.2 1.18.0 1.17.0 1.16.1 1.15.0 1.14.1 1.13.0 1.12.1 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.1 1.5.2 1.4.0 1.3.2 1.2.0 1.1.0 1.0.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0

```python
CacheInvalidationRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)
```
.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `backend_service` | `str` If set, this invalidation rule will only apply to requests routed to the given backend service or backend bucket. For example, for a backend bucket `bb1` in the same scope as the URL map, the path would be `projects/my-project/global/backendBuckets/bb1`; and for a backend service `bs1` in the same scope as the URL map, the path would be `projects/my-project/global/backendServices/bs1`. This field is a member of `oneof`_ `_backend_service`. |
| `cache_tags` | `MutableSequence[str]` A list of cache tags used to identify cached objects. :: - Cache tags are specified when the response is first cached, by setting the `Cache-Tag` response header at the origin. - Multiple cache tags in the same invalidation request are treated as Boolean `OR` - for example, `tag1 OR tag2 OR tag3`. - If other fields are also specified, these are treated as Boolean `AND` with any tags. Up to 10 tags can be specified in a single invalidation request. |
| `content_type` | `str` If set, this invalidation rule will only apply to responses with the given content-type. Parameters are not allowed and are ignored from the response when matching. Wildcards are not allowed. This field is a member of `oneof`_ `_content_type`. |
| `host` | `str` If set, this invalidation rule will only apply to requests with a Host header matching host. This field also accepts wildcards (\\\*) to replace the leftmost (or first) label of a hostname. For example, \\\*.example.com will match www.example.com, but not sub1.dev.example.com. This field is a member of `oneof`_ `_host`. |
| `http_status` | `int` If set, this invalidation rule will only apply to responses with the given HTTP status. Valid range is 200-599. This field is a member of `oneof`_ `_http_status`. |
| `path` | `str` This field is a member of `oneof`_ `_path`. |