Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class DeleteVersionRequest.
The request to delete a version.
Generated from protobuf message google.devtools.artifactregistry.v1.DeleteVersionRequest
Namespace
Google \ Cloud \ ArtifactRegistry \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the version to delete.
↳ force
bool
By default, a version that is tagged may not be deleted. If force=true, the version and any tags pointing to the version are deleted.
getName
The name of the version to delete.
string
setName
The name of the version to delete.
var
string
$this
getForce
By default, a version that is tagged may not be deleted. If force=true, the version and any tags pointing to the version are deleted.
bool
setForce
By default, a version that is tagged may not be deleted. If force=true, the version and any tags pointing to the version are deleted.
var
bool
$this
static::build
name
string
The name of the version to delete.