Interface DeleteInstanceRequestOrBuilder (1.20.0)

public interface DeleteInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getForce()

public abstract boolean getForce()

If set to true, all snapshots of the instance will also be deleted. (Otherwise, the request will only work if the instance has no snapshots.)

bool force = 2;

Returns
TypeDescription
boolean

The force.

getName()

public abstract String getName()

Required. The instance resource name, in the format projects/{project_id}/locations/{location}/instances/{instance_id}

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

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The instance resource name, in the format projects/{project_id}/locations/{location}/instances/{instance_id}

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

Returns
TypeDescription
ByteString

The bytes for name.