Interface DeleteBackupRequestOrBuilder (0.39.0)

public interface DeleteBackupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEtag()

public abstract String getEtag()

Optional. If provided, this value must match the current value of the target Backup's etag field or the request is rejected.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

Optional. If provided, this value must match the current value of the target Backup's etag field or the request is rejected.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for etag.

getForce()

public abstract boolean getForce()

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

bool force = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The force.

getName()

public abstract String getName()

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

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.