public sealed class BatchDeleteVersionsRequest : IMessage<BatchDeleteVersionsRequest>, IEquatable<BatchDeleteVersionsRequest>, IDeepCloneable<BatchDeleteVersionsRequest>, IBufferMessage, IMessageReference documentation and code samples for the Artifact Registry v1 API class BatchDeleteVersionsRequest.
The request to delete multiple versions across a repository.
Implements
IMessageBatchDeleteVersionsRequest, IEquatableBatchDeleteVersionsRequest, IDeepCloneableBatchDeleteVersionsRequest, IBufferMessage, IMessageNamespace
Google.Cloud.ArtifactRegistry.V1Assembly
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. The maximum number of versions deleted per batch is determined by the service and is dependent on the available resources in the region.
| 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 |
|