Interface DeleteBackupRequestOrBuilder (0.13.0)

public interface DeleteBackupRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEtag()

public abstract String getEtag()

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

string etag = 2;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

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

string etag = 2;

Returns
TypeDescription
ByteString

The bytes for etag.

getForce()

public abstract boolean getForce()

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;

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.