# Class Authentication (1.21.0)

1.21.0 (latest) 1.20.0 1.19.0 1.18.0 1.17.2 1.16.0 1.15.1 1.14.5 1.13.0 1.12.2 1.11.1 1.10.0 1.9.2 1.8.3 1.7.2 1.6.1 1.5.0 1.4.3 1.3.0 1.2.0 1.1.0 1.0.0 0.4.2 0.3.0

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

Scan authentication configuration.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `google_account` | `https://docs.cloud.google.com/python/docs/reference/websecurityscanner/latest/google.cloud.websecurityscanner_v1beta.types.ScanConfig.Authentication.GoogleAccount` Authentication using a Google account. This field is a member of `oneof`_ `authentication`. |
| `custom_account` | `https://docs.cloud.google.com/python/docs/reference/websecurityscanner/latest/google.cloud.websecurityscanner_v1beta.types.ScanConfig.Authentication.CustomAccount` Authentication using a custom account. This field is a member of `oneof`_ `authentication`. |

## Classes

### CustomAccount

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

Describes authentication configuration that uses a custom
account.

### GoogleAccount

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

Describes authentication configuration that uses a Google
account.