# Google Cloud Backup Dr V1 Client - Class ListBackupPlanAssociationsResponse (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 ListBackupPlanAssociationsResponse.

Response message for List BackupPlanAssociation

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

## Namespace

Google \\ Cloud \\ BackupDR \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ backup_plan_associations` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.BackupPlanAssociation>` The list of Backup Plan Associations in the project for the specified location. If the `{location}` value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup plan associations in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. |
| `↳ next_page_token` | `string` A token identifying a page of results the server should return. |
| `↳ unreachable` | `string[]` Locations that could not be reached. |

### getBackupPlanAssociations

The list of Backup Plan Associations in the project for the specified
location.

If the `{location}` value in the request is "-", the response contains a
list of instances from all locations. In case any location is unreachable,
the response will only return backup plan associations 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.BackupPlanAssociation>` |   |

### setBackupPlanAssociations

The list of Backup Plan Associations in the project for the specified
location.

If the `{location}` value in the request is "-", the response contains a
list of instances from all locations. In case any location is unreachable,
the response will only return backup plan associations 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.BackupPlanAssociation>` |

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

### getNextPageToken

A token identifying a page of results the server should return.

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

### setNextPageToken

A token identifying a page of results the server should 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` |   |