# Class ApiConfigHandler (1.18.0)

1.18.0 (latest) 1.17.0 1.16.0 1.15.0 1.14.2 1.13.0 1.12.1 1.11.5 1.10.0 1.9.4 1.8.1 1.7.1 1.6.0 1.5.3 1.4.1 1.3.3 1.2.1 1.1.5 1.0.2 0.2.0 0.1.0

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

`Google Cloud
Endpoints <https://cloud.google.com/appengine/docs/python/endpoints/>`__
configuration for API handlers.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `auth_fail_action` | `https://docs.cloud.google.com/python/docs/reference/appengine/latest/google.cloud.appengine_admin_v1.types.AuthFailAction` Action to take when users access resources that require authentication. Defaults to `redirect`. |
| `login` | `https://docs.cloud.google.com/python/docs/reference/appengine/latest/google.cloud.appengine_admin_v1.types.LoginRequirement` Level of login required to access this resource. Defaults to `optional`. |
| `script` | `str` Path to the script from the application root directory. |
| `security_level` | `https://docs.cloud.google.com/python/docs/reference/appengine/latest/google.cloud.appengine_admin_v1.types.SecurityLevel` Security (HTTPS) enforcement for this URL. |
| `url` | `str` URL to serve the endpoint at. |