# REST Resource: projects

- [Resource](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1beta1/projects#RESOURCE_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1beta1/projects#METHODS_SUMMARY)

## Resource

There is no persistent data associated with this resource.

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1beta1/projects/getPolicy` | A `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/Shared.Types/Policy` specifies the `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/Shared.Types/Attestor` that must attest to a container image, before the project is allowed to deploy that image. |
| ### `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1beta1/projects/updatePolicy` | Creates or updates a project's `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/Shared.Types/Policy`, and returns a copy of the new `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/Shared.Types/Policy`. |