Cloud Spanner V1 Client - Class ListBackupsResponse (1.60.0)

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

The response for ListBackups.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ backups array<Google\Cloud\Spanner\Admin\Database\V1\Backup>

The list of matching backups. Backups returned are ordered by create_time in descending order, starting from the most recent create_time.

↳ next_page_token string

next_page_token can be sent in a subsequent ListBackups call to fetch more of the matching backups.

getBackups

The list of matching backups. Backups returned are ordered by create_time in descending order, starting from the most recent create_time.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBackups

The list of matching backups. Backups returned are ordered by create_time in descending order, starting from the most recent create_time.

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

getNextPageToken

next_page_token can be sent in a subsequent ListBackups call to fetch more of the matching backups.

Returns
TypeDescription
string

setNextPageToken

next_page_token can be sent in a subsequent ListBackups call to fetch more of the matching backups.

Parameter
NameDescription
var string
Returns
TypeDescription
$this