Cloud Spanner V1 Client - Class DropDatabaseRequest (1.61.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class DropDatabaseRequest.

The request for DropDatabase.

Generated from protobuf message google.spanner.admin.database.v1.DropDatabaseRequest

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ database string

Required. The database to be dropped.

getDatabase

Required. The database to be dropped.

Returns
TypeDescription
string

setDatabase

Required. The database to be dropped.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
database string

Required. The database to be dropped. Please see Google\Cloud\Spanner\Admin\Database\V1\DatabaseAdminClient::databaseName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Spanner\Admin\Database\V1\DropDatabaseRequest