Cloud Spanner V1 Client - Class GetDatabaseDdlResponse (1.86.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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setStatements

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

Parameter
Name Description
var string[]
Returns
Type Description
$this

getProtoDescriptors

Proto descriptors stored in the database.

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

Returns
Type Description
string

setProtoDescriptors

Proto descriptors stored in the database.

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

Parameter
Name Description
var string
Returns
Type Description
$this