Artifact Registry v1 API - Class DeleteVersionRequest (2.6.0)

public sealed class DeleteVersionRequest : IMessage<DeleteVersionRequest>, IEquatable<DeleteVersionRequest>, IDeepCloneable<DeleteVersionRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Artifact Registry v1 API class DeleteVersionRequest.

The request to delete a version.

Inheritance

object > DeleteVersionRequest

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

DeleteVersionRequest()

public DeleteVersionRequest()

DeleteVersionRequest(DeleteVersionRequest)

public DeleteVersionRequest(DeleteVersionRequest other)
Parameter
Name Description
other DeleteVersionRequest

Properties

Force

public bool Force { get; set; }

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.

Property Value
Type Description
bool

Name

public string Name { get; set; }

The name of the version to delete.

Property Value
Type Description
string