Artifact Registry v1beta2 API - Class DeleteVersionRequest (2.0.0-beta04)

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

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

The request to delete a version.

Inheritance

object > DeleteVersionRequest

Namespace

Google.Cloud.ArtifactRegistry.V1Beta2

Assembly

Google.Cloud.ArtifactRegistry.V1Beta2.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