Class DeleteVersionRequest (2.0.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class DeleteVersionRequest : IMessage<DeleteVersionRequest>, IEquatable<DeleteVersionRequest>, IDeepCloneable<DeleteVersionRequest>, IBufferMessage, IMessage

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
NameDescription
otherDeleteVersionRequest

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
TypeDescription
Boolean

Name

public string Name { get; set; }

The name of the version to delete.

Property Value
TypeDescription
String