# Method: projects.updateContinuousValidationConfig

- [HTTP request](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1alpha2/projects/updateContinuousValidationConfig#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1alpha2/projects/updateContinuousValidationConfig#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1alpha2/projects/updateContinuousValidationConfig#body.request_body)
- [Response body](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1alpha2/projects/updateContinuousValidationConfig#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1alpha2/projects/updateContinuousValidationConfig#body.aspect)

> [!WARNING]
> Deprecated: For more information, see [Legacy continuous validation deprecation and shutdown](https://cloud.google.com/binary-authorization/docs/deprecations/cv-project-singleton-policy).

Updates a project's `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1alpha2/ContinuousValidationConfig`, and returns a copy of the new config. A config is always updated as a whole to avoid race conditions with concurrent updating requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT if the request is malformed.

### HTTP request

`PUT https://binaryauthorization.googleapis.com/v1alpha2/{config.name=projects/*/continuousValidationConfig}`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `config.name` | `string` Output only. The resource name, in the format `projects/*/continuousValidationConfig`. There is at most one config per project. |

### Request body

The request body contains an instance of `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1alpha2/ContinuousValidationConfig`.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/binary-authorization/docs/reference/rest/v1alpha2/ContinuousValidationConfig`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).