Google Cloud Filestore V1 Client - Class ListBackupsResponse (1.3.2)

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

ListBackupsResponse is the result of ListBackupsRequest.

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

Namespace

Google \ Cloud \ Filestore \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

A list of backups in the project for the specified location. If the {location} value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.

↳ next_page_token string

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

↳ unreachable array

Locations that could not be reached.

getBackups

A list of backups in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBackups

A list of backups in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of backups from all locations. If any location is unreachable, the response will only return backups in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.

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

getNextPageToken

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

Returns
TypeDescription
string

setNextPageToken

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

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