Cloud Spanner V1 Client - Class GetDatabaseDdlRequest (1.89.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 DatabaseAdminClient::databaseName() for help formatting this field.

Returns
Type Description
GetDatabaseDdlRequest