# Class AccessDeniedPageSettings (1.22.0)

1.22.0 (latest) 1.21.0 1.20.0 1.19.0 1.18.0 1.17.1 1.16.1 1.15.0 1.14.1 1.13.5 1.12.0 1.10.3 1.9.0 1.8.1 1.7.0 1.6.0 1.5.4 1.4.1 1.3.1 1.2.1 1.1.0 1.0.2 0.1.2

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

Custom content configuration for access denied page.
IAP allows customers to define a custom URI to use as the error
page when access is denied to users. If IAP prevents access to
this page, the default IAP error page will be displayed instead.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `access_denied_page_uri` | `google.protobuf.wrappers_pb2.StringValue` The URI to be redirected to when access is denied. |
| `generate_troubleshooting_uri` | `google.protobuf.wrappers_pb2.BoolValue` Whether to generate a troubleshooting URL on access denied events to this application. |
| `remediation_token_generation_enabled` | `google.protobuf.wrappers_pb2.BoolValue` Whether to generate remediation token on access denied events to this application. This field is a member of `oneof`_ `_remediation_token_generation_enabled`. |