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

Response for the FetchBackupPlanAssociationsForResourceType method.

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

## 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>` Output only. The BackupPlanAssociations from the specified parent. |
| `↳ next_page_token` | `string` Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### getBackupPlanAssociations

Output only. The BackupPlanAssociations from the specified parent.

| **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

Output only. The BackupPlanAssociations from the specified parent.

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

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

### getNextPageToken

Output only. A token, which can be sent as `page_token` to retrieve the
next page. If this field is omitted, there are no subsequent pages.

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

### setNextPageToken

Output only. A token, which can be sent as `page_token` to retrieve the
next page. If this field is omitted, there are no subsequent pages.

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

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