# Google Cloud Backup Dr V1 Client - Class ListBackupPlanRevisionsResponse (0.13.0)

0.13.0 (latest) 0.12.1 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class ListBackupPlanRevisionsResponse.

The response message for getting a list of `BackupPlanRevision`.

Generated from protobuf message `google.cloud.backupdr.v1.ListBackupPlanRevisionsResponse`

## Namespace

Google \\ Cloud \\ BackupDR \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ backup_plan_revisions` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.BackupPlanRevision>` The list of `BackupPlanRevisions` in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return backup plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. |
| `↳ next_page_token` | `string` A token which may be sent as [page_token](https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.ListBackupPlanRevisionsRequest#_Google_Cloud_BackupDR_V1_ListBackupPlanRevisionsRequest__getPageToken__) in a subsequent `ListBackupPlanRevisions` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return. |
| `↳ unreachable` | `string[]` Locations that could not be reached. |

### getBackupPlanRevisions

The list of `BackupPlanRevisions` in the project for the specified
location.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.BackupPlanRevision>` |   |

### setBackupPlanRevisions

The list of `BackupPlanRevisions` in the project for the specified
location.

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.BackupPlanRevision>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNextPageToken

A token which may be sent as
[page_token](https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.ListBackupPlanRevisionsRequest#_Google_Cloud_BackupDR_V1_ListBackupPlanRevisionsRequest__getPageToken__)
in a subsequent `ListBackupPlanRevisions` call to retrieve the next page of
results. If this field is omitted or empty, then there are no more results
to return.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setNextPageToken

A token which may be sent as
[page_token](https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.ListBackupPlanRevisionsRequest#_Google_Cloud_BackupDR_V1_ListBackupPlanRevisionsRequest__getPageToken__)
in a subsequent `ListBackupPlanRevisions` call to retrieve the next page of
results. If this field is omitted or empty, then there are no more results
to return.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUnreachable

Locations that could not be reached.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setUnreachable

Locations that could not be reached.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |