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

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