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

Response message for fetching usable BackupVaults.

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

## Namespace

Google \\ Cloud \\ BackupDR \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ backup_vaults` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.BackupVault>` The list of BackupVault instances 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 vaults 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. |

### getBackupVaults

The list of BackupVault instances 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 vaults 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.BackupVault>` |   |

### setBackupVaults

The list of BackupVault instances 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 vaults 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.BackupVault>` |

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