Google Cloud Gke Backup V1 Client - Class ListBackupsResponse (0.5.3)

Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class ListBackupsResponse.

Response message for ListBackups.

Generated from protobuf message google.cloud.gkebackup.v1.ListBackupsResponse

Namespace

Google \ Cloud \ GkeBackup \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ backups array<Google\Cloud\GkeBackup\V1\Backup>

The list of Backups matching the given criteria.

↳ next_page_token string

A token which may be sent as page_token in a subsequent ListBackups call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

getBackups

The list of Backups matching the given criteria.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBackups

The list of Backups matching the given criteria.

Parameter
NameDescription
var array<Google\Cloud\GkeBackup\V1\Backup>
Returns
TypeDescription
$this

getNextPageToken

A token which may be sent as page_token in a subsequent ListBackups call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

Returns
TypeDescription
string

setNextPageToken

A token which may be sent as page_token in a subsequent ListBackups call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

Parameter
NameDescription
var string
Returns
TypeDescription
$this