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.
Parameters | |
---|---|
Name | Description |
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.
Returns | |
---|---|
Type | Description |
string |
setName
The name of the version to delete.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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.
Returns | |
---|---|
Type | Description |
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.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
The name of the version to delete. |
Returns | |
---|---|
Type | Description |
DeleteVersionRequest |