Cloud Spanner V1 Client - Class GetDatabaseDdlResponse (1.76.0)

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

The response for GetDatabaseDdl.

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

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ statements array

A list of formatted DDL statements defining the schema of the database specified in the request.

↳ proto_descriptors string

Proto descriptors stored in the database. Contains a protobuf-serialized google.protobuf.FileDescriptorSet. For more details, see protobuffer self description.

getStatements

A list of formatted DDL statements defining the schema of the database specified in the request.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setStatements

A list of formatted DDL statements defining the schema of the database specified in the request.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getProtoDescriptors

Proto descriptors stored in the database.

Contains a protobuf-serialized google.protobuf.FileDescriptorSet. For more details, see protobuffer self description.

Returns
TypeDescription
string

setProtoDescriptors

Proto descriptors stored in the database.

Contains a protobuf-serialized google.protobuf.FileDescriptorSet. For more details, see protobuffer self description.

Parameter
NameDescription
var string
Returns
TypeDescription
$this