# BinaryAuthorization

- [JSON representation](https://docs.cloud.google.com/run/docs/reference/rest/v2/BinaryAuthorization#SCHEMA_REPRESENTATION)

Settings for Binary Authorization feature.

| JSON representation |
|---|
| ``` { "breakglassJustification": string, // Union field `binauthz_method` can be only one of the following: "useDefault": boolean, "policy": string // End of list of possible types for union field `binauthz_method`. } ``` |

| Fields ||
|---|---|
| `breakglassJustification` | `string` Optional. If present, indicates to use Breakglass using this justification. If useDefault is False, then it must be empty. For more information on breakglass, see <https://cloud.google.com/binary-authorization/docs/using-breakglass> |
| Union field `binauthz_method`. `binauthz_method` can be only one of the following: ||
| `useDefault` | `boolean` Optional. If True, indicates to use the default project's binary authorization policy. If False, binary authorization will be disabled. |
| `policy` | `string` Optional. The path to a binary authorization policy. Format: `projects/{project}/platforms/cloudRun/{policy-name}` |