Reference documentation and code samples for the Cloud Spanner V1 Client class GetDatabaseRequest.
The request for GetDatabase.
Generated from protobuf message google.spanner.admin.database.v1.GetDatabaseRequest
Namespace
Google \ Cloud \ Spanner \ Admin \ Database \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the requested database. Values are of the form |
getName
Required. The name of the requested database. Values are of the form
projects/<project>/instances/<instance>/databases/<database>
.
Returns | |
---|---|
Type | Description |
string |
setName
Required. The name of the requested database. 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 |
name |
string
Required. The name of the requested database. Values are of the form
|
Returns | |
---|---|
Type | Description |
Google\Cloud\Spanner\Admin\Database\V1\GetDatabaseRequest |