Cloud Spanner V1 Client - Class ListBackupsResponse (1.54.2)

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.

Generated from protobuf field repeated .google.spanner.admin.database.v1.Backup backups = 1;

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.

Generated from protobuf field repeated .google.spanner.admin.database.v1.Backup backups = 1;

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.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

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

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this