Artifact Registry v1 API - Class BatchDeleteVersionsRequest (2.6.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
Name Description
other BatchDeleteVersionsRequest

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
Type Description
RepeatedFieldstring

Parent

public string Parent { get; set; }

The name of the repository holding all requested versions.

Property Value
Type Description
string

ParentAsPackageName

public PackageName ParentAsPackageName { get; set; }

PackageName-typed view over the Parent resource name property.

Property Value
Type Description
PackageName

ValidateOnly

public bool ValidateOnly { get; set; }

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

Property Value
Type Description
bool

VersionNames

public ResourceNameList<VersionName> VersionNames { get; }

VersionName-typed view over the Names resource name property.

Property Value
Type Description
ResourceNameListVersionName