Backup for GKE v1 API - Class DeleteBackupRequest (2.2.0)

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

Reference documentation and code samples for the Backup for GKE v1 API class DeleteBackupRequest.

Request message for DeleteBackup.

Inheritance

object > DeleteBackupRequest

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Constructors

DeleteBackupRequest()

public DeleteBackupRequest()

DeleteBackupRequest(DeleteBackupRequest)

public DeleteBackupRequest(DeleteBackupRequest other)
Parameter
NameDescription
otherDeleteBackupRequest

Properties

BackupName

public BackupName BackupName { get; set; }

BackupName-typed view over the Name resource name property.

Property Value
TypeDescription
BackupName

Etag

public string Etag { get; set; }

If provided, this value must match the current value of the target Backup's [etag][google.cloud.gkebackup.v1.Backup.etag] field or the request is rejected.

Property Value
TypeDescription
string

Force

public bool Force { get; set; }

If set to true, any VolumeBackups below this Backup will also be deleted. Otherwise, the request will only succeed if the Backup has no VolumeBackups.

Property Value
TypeDescription
bool

Name

public string Name { get; set; }

Required. Name of the Backup resource. Format: projects/*/locations/*/backupPlans/*/backups/*

Property Value
TypeDescription
string