Google Cloud Gke Backup V1 Client - Class ListRestoresResponse (0.2.0)

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

Response message for ListRestores.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ restores array<Google\Cloud\GkeBackup\V1\Restore>

The list of Restores matching the given criteria.

↳ next_page_token string

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

↳ unreachable array

Locations that could not be reached.

getRestores

The list of Restores matching the given criteria.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRestores

The list of Restores matching the given criteria.

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

getNextPageToken

A token which may be sent as page_token in a subsequent ListRestores 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 ListRestores 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

getUnreachable

Locations that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this