Cloud Spanner V1 Client - Class ListDatabasesResponse (1.55.0)

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

The response for ListDatabases.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ databases array<Google\Cloud\Spanner\Admin\Database\V1\Database>

Databases that matched the request.

↳ next_page_token string

next_page_token can be sent in a subsequent ListDatabases call to fetch more of the matching databases.

getDatabases

Databases that matched the request.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDatabases

Databases that matched the request.

Parameter
NameDescription
var array<Google\Cloud\Spanner\Admin\Database\V1\Database>
Returns
TypeDescription
$this

getNextPageToken

next_page_token can be sent in a subsequent ListDatabases call to fetch more of the matching databases.

Returns
TypeDescription
string

setNextPageToken

next_page_token can be sent in a subsequent ListDatabases call to fetch more of the matching databases.

Parameter
NameDescription
var string
Returns
TypeDescription
$this