Cloud Spanner V1 Client - Class GetDatabaseDdlRequest (1.67.0)

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

The request for GetDatabaseDdl.

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

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 whose schema we wish to get. Values are of the form projects/<project>/instances/<instance>/databases/<database>

getDatabase

Required. The database whose schema we wish to get.

Values are of the form projects/<project>/instances/<instance>/databases/<database>

Returns
TypeDescription
string

setDatabase

Required. The database whose schema we wish to get.

Values are of the form projects/<project>/instances/<instance>/databases/<database>

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
database string

Required. The database whose schema we wish to get. Values are of the form projects/<project>/instances/<instance>/databases/<database> Please see Google\Cloud\Spanner\Admin\Database\V1\DatabaseAdminClient::databaseName() for help formatting this field.

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