class GetDatabaseRequest extends Message

The request for [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase].

Protobuf type Google\Spanner\Admin\Database\V1\GetDatabaseRequest

Methods

__construct()

No description

string
getName()

Required. The name of the requested database. Values are of the form projects/<project>/instances/<instance>/databases/<database>.

setName(string $var)

Required. The name of the requested database. Values are of the form projects/<project>/instances/<instance>/databases/<database>.

Details

at line 26
__construct()

at line 38
string getName()

Required. The name of the requested database. Values are of the form projects/<project>/instances/<instance>/databases/<database>.

Generated from protobuf field string name = 1;

Return Value

string

at line 50
setName(string $var)

Required. The name of the requested database. Values are of the form projects/<project>/instances/<instance>/databases/<database>.

Generated from protobuf field string name = 1;

Parameters

string $var