[SDK reference](../../index.md) / [Models](../index.md)

# Models.DeployPolicy namespace

## Types

| Type | Kind | Description |
|---|---|---|
| [DeployAdmission](DeployAdmission.md) | class | The record of one deployment the gate decided: admitted, refused, would have been refused (a dry-run rule failed and the deployment wenton), overridden with a reason, or a rollback. The log is append-only. |
| [DeployAdmission_outcome](DeployAdmission_outcome.md) | enum |  |
| [DeployOverride](DeployOverride.md) | class | A break-glass override: for one resource and one image digest it admits a deployment although an enforced rule fails, until it expires.It needs a reason (10 to 500 characters), lasts at most 24 hours and is recorded in the audit log and on every deployment it admits. |
| [DeployOverrideCreate](DeployOverrideCreate.md) | class | A break-glass override: for one resource and one image digest it admits a deployment although an enforced rule fails, until it expires.It needs a reason (10 to 500 characters), lasts at most 24 hours and is recorded in the audit log and on every deployment it admits. |
| [DeployPolicy](DeployPolicy.md) | class | A project's deploy policy in a location (`projects/{p}/locations/{l}/deployPolicies/default`; `default` is the only ID): the rules every deployment to the project's containerapps, web apps and jobs there must satisfy. A project has one; each write makes a new version that is kept. Without one nothing is checked. |
| [DeployPolicyEvaluateRequest](DeployPolicyEvaluateRequest.md) | class | Asks what the policy would say about an image, without deploying or recording anything. |
| [DeployPolicyEvaluateResponse](DeployPolicyEvaluateResponse.md) | class | What the policy says. |
| [DeployPolicyEvaluateResponse_outcome](DeployPolicyEvaluateResponse_outcome.md) | enum |  |
| [DeployPolicyVersion](DeployPolicyVersion.md) | class | One kept version of the policy; versions never change. |
| [DeployRule](DeployRule.md) | class | One rule of a deploy policy. Kinds: `registry` (images only from the project's own registry or the hosts in `values`), `digest` (the image isreferenced by digest), `platform-built` (a verified provenance attestation from the platform's builder; `values` may name builder IDs),`signed` (a verified signature from a key ID or identity in `values`), `no-critical-vulnerabilities` (the platform's stored scan record hasno finding of the blocked `severities`, critical by default) and `production-approver` (a deployment to a production environment is approvedby a person in `values` other than the one who asks). |
| [DeployRule_mode](DeployRule_mode.md) | enum | `enforce` refuses a deployment that breaks the rule; `dry-run` admits it and records what it would have refused. |
| [DeployViolation](DeployViolation.md) | class | One rule's failure, in the rule's words. |
| [DeployViolation_mode](DeployViolation_mode.md) | enum | The mode the rule was in. |
