Google Cloud AlloyDB for PostgreSQL V1alpha Client - Class ListDatabasesResponse (0.9.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1alpha Client class ListDatabasesResponse.

Message for response to listing Databases.

Generated from protobuf message google.cloud.alloydb.v1alpha.ListDatabasesResponse

Namespace

Google \ Cloud \ AlloyDb \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ databases array<Google\Cloud\AlloyDb\V1alpha\Database>

The list of databases

↳ next_page_token string

A token identifying the next page of results the server should return. If this field is omitted, there are no subsequent pages.

getDatabases

The list of databases

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDatabases

The list of databases

Parameter
NameDescription
var array<Google\Cloud\AlloyDb\V1alpha\Database>
Returns
TypeDescription
$this

getNextPageToken

A token identifying the next page of results the server should return.

If this field is omitted, there are no subsequent pages.

Returns
TypeDescription
string

setNextPageToken

A token identifying the next page of results the server should return.

If this field is omitted, there are no subsequent pages.

Parameter
NameDescription
var string
Returns
TypeDescription
$this