Class BatchDeleteVersionsRequest (1.16.1)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
BatchDeleteVersionsRequest ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
The request to delete multiple versions across a repository.
Attributes
Name
Description
parent
str
The name of the repository holding all
requested versions.
names
MutableSequence[str]
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.
validate_only
bool
If true, the request is performed without
deleting data, following AIP-163.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class BatchDeleteVersionsRequest (1.16.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.16.1 (latest)](/python/docs/reference/artifactregistry/latest/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.16.0](/python/docs/reference/artifactregistry/1.16.0/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.15.2](/python/docs/reference/artifactregistry/1.15.2/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.14.0](/python/docs/reference/artifactregistry/1.14.0/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.13.1](/python/docs/reference/artifactregistry/1.13.1/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.12.0](/python/docs/reference/artifactregistry/1.12.0/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.11.5](/python/docs/reference/artifactregistry/1.11.5/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.10.0](/python/docs/reference/artifactregistry/1.10.0/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.9.0](/python/docs/reference/artifactregistry/1.9.0/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.8.4](/python/docs/reference/artifactregistry/1.8.4/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.7.0](/python/docs/reference/artifactregistry/1.7.0/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.6.1](/python/docs/reference/artifactregistry/1.6.1/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.5.0](/python/docs/reference/artifactregistry/1.5.0/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.4.1](/python/docs/reference/artifactregistry/1.4.1/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.3.3](/python/docs/reference/artifactregistry/1.3.3/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.2.1](/python/docs/reference/artifactregistry/1.2.1/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.1.2](/python/docs/reference/artifactregistry/1.1.2/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [1.0.2](/python/docs/reference/artifactregistry/1.0.2/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [0.5.0](/python/docs/reference/artifactregistry/0.5.0/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [0.4.1](/python/docs/reference/artifactregistry/0.4.1/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [0.3.3](/python/docs/reference/artifactregistry/0.3.3/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [0.2.2](/python/docs/reference/artifactregistry/0.2.2/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest)\n- [0.1.0](/python/docs/reference/artifactregistry/0.1.0/google.cloud.artifactregistry_v1.types.BatchDeleteVersionsRequest) \n\n BatchDeleteVersionsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nThe request to delete multiple versions across a repository."]]