Cloud Spanner V1 Client - Class ListBackupsResponse (1.89.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

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backups array<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
Type Description
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
Name Description
var array<Backup>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this