Method: projects.updateContinuousValidationConfig

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}

The URL uses gRPC Transcoding 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 ContinuousValidationConfig.

Response body

If successful, the response body contains an instance of ContinuousValidationConfig.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.