Cloud Spanner V1 Client - Class DropDatabaseRequest (1.78.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
Name Description
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
Type Description
string

setDatabase

Required. The database to be dropped.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
database string

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

Returns
Type Description
Google\Cloud\Spanner\Admin\Database\V1\DropDatabaseRequest