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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ statements |
string[]
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\RepeatedField<string> |
|
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 |
|