Deletes multiple versions across a repository. The returned operation will complete once the versions have been deleted.
HTTP request
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The name of the repository holding all requested versions. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "names": [ string ], "validateOnly": boolean } |
Fields | |
---|---|
names[] |
Required. The names of the versions to delete. The maximum number of versions deleted per batch is determined by the service and is dependent on the available resources in the region. Authorization requires the following IAM permission on the specified resource
|
validateOnly |
If true, the request is performed without deleting data, following AIP-163. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.