Updates a project's continuous validation config, 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}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[[["\u003cp\u003eThis document outlines the process for updating a project's continuous validation configuration using a PUT request to a specific URL.\u003c/p\u003e\n"],["\u003cp\u003eThe update request requires a project name path parameter and uses the \u003ccode\u003eContinuousValidationConfig\u003c/code\u003e for both the request and response body.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003econfig.name\u003c/code\u003e parameter, with the format \u003ccode\u003eprojects/*/continuousValidationConfig\u003c/code\u003e, is used to identify the resource to be updated, and each project can only have one configuration.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns an updated instance of \u003ccode\u003eContinuousValidationConfig\u003c/code\u003e, while errors such as a missing project or malformed request result in \u003ccode\u003eNOT_FOUND\u003c/code\u003e or \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e responses.\u003c/p\u003e\n"],["\u003cp\u003eUpdating the continuous validation configuration requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.updateContinuousValidationConfig\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\n| Deprecated: For more information, see [Legacy continuous validation deprecation and shutdown](https://cloud.google.com/binary-authorization/docs/deprecations/cv-project-singleton-policy).\nUpdates a project's [continuous validation config](/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.\n\n### HTTP request\n\n`PUT https://binaryauthorization.googleapis.com/v1alpha2/{config.name=projects/*/continuousValidationConfig}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [ContinuousValidationConfig](/binary-authorization/docs/reference/rest/v1alpha2/ContinuousValidationConfig).\n\n### Response body\n\nIf successful, the response body contains an instance of [ContinuousValidationConfig](/binary-authorization/docs/reference/rest/v1alpha2/ContinuousValidationConfig).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]