Artifact Registry v1 API - Class BatchDeleteVersionsRequest (2.4.0)

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

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

The request to delete multiple versions across a repository.

Inheritance

object > BatchDeleteVersionsRequest

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

BatchDeleteVersionsRequest()

public BatchDeleteVersionsRequest()

BatchDeleteVersionsRequest(BatchDeleteVersionsRequest)

public BatchDeleteVersionsRequest(BatchDeleteVersionsRequest other)
Parameter
NameDescription
otherBatchDeleteVersionsRequest

Properties

Names

public RepeatedField<string> Names { get; }

Required. The names of the versions to delete. A maximum of 10000 versions can be deleted in a batch.

Property Value
TypeDescription
RepeatedFieldstring

Parent

public string Parent { get; set; }

The name of the repository holding all requested versions.

Property Value
TypeDescription
string

ParentAsPackageName

public PackageName ParentAsPackageName { get; set; }

PackageName-typed view over the Parent resource name property.

Property Value
TypeDescription
PackageName

ValidateOnly

public bool ValidateOnly { get; set; }

If true, the request is performed without deleting data, following AIP-163.

Property Value
TypeDescription
bool

VersionNames

public ResourceNameList<VersionName> VersionNames { get; }

VersionName-typed view over the Names resource name property.

Property Value
TypeDescription
ResourceNameListVersionName