Artifact Registry v1 API - Class DeleteVersionRequest (2.1.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
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