# Class BinaryAuthorization (0.16.1)

0.16.1 (latest) 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.19 0.9.1 0.8.1 0.7.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0

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

Settings for Binary Authorization feature.

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** |
| `use_default` | `bool` Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled. This field is a member of `oneof`_ `binauthz_method`. |
| `policy` | `str` Optional. The path to a binary authorization policy. Format: `projects/{project}/platforms/cloudRun/{policy-name}` This field is a member of `oneof`_ `binauthz_method`. |
| `breakglass_justification` | `str` Optional. If present, indicates to use Breakglass using this justification. If use_default is False, then it must be empty. For more information on breakglass, see https://cloud.google.com/binary-authorization/docs/using-breakglass |