Interface DeleteRestoreRequestOrBuilder (0.42.0)

public interface DeleteRestoreRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEtag()

public abstract String getEtag()

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

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

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

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

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

Returns
Type Description
ByteString

The bytes for etag.

getForce()

public abstract boolean getForce()

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

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

Returns
Type Description
boolean

The force.

getName()

public abstract String getName()

Required. Full name of the Restore Format: projects/*/locations/*/restorePlans/*/restores/*

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Full name of the Restore Format: projects/*/locations/*/restorePlans/*/restores/*

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

Returns
Type Description
ByteString

The bytes for name.