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

setDatabase

Required. The database whose schema we wish to get.

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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
Type Description
Google\Cloud\Spanner\Admin\Database\V1\GetDatabaseDdlRequest