Google Cloud AlloyDB for PostgreSQL V1 Client - Class ListDatabasesResponse (1.1.0)

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

Message for response to listing Databases.

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

Namespace

Google \ Cloud \ AlloyDb \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ databases array<Google\Cloud\AlloyDb\V1\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
Type Description
Google\Protobuf\Internal\RepeatedField

setDatabases

The list of databases

Parameter
Name Description
var array<Google\Cloud\AlloyDb\V1\Database>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this