# Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::ListBackupPlansResponse (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::ListBackupPlansResponse.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #backup_plans

    def backup_plans() -> ::Array<::Google::Cloud::BackupDR::V1::BackupPlan>

**Returns**

- (::Array\<[::Google::Cloud::BackupDR::V1::BackupPlan](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-BackupPlan)\>) --- The list of `BackupPlans` 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.
  BackupPlan

### #backup_plans=

    def backup_plans=(value) -> ::Array<::Google::Cloud::BackupDR::V1::BackupPlan>

**Parameter**

- **value** (::Array\<[::Google::Cloud::BackupDR::V1::BackupPlan](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-BackupPlan)\>) --- The list of `BackupPlans` 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.
  BackupPlan
**Returns**

- (::Array\<[::Google::Cloud::BackupDR::V1::BackupPlan](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-BackupPlan)\>) --- The list of `BackupPlans` 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.
  BackupPlan

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- A token which may be sent as [page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-ListBackupPlansRequest#Google__Cloud__BackupDR__V1__ListBackupPlansRequest_page_token_instance_ "Google::Cloud::BackupDR::V1::ListBackupPlansRequest#page_token (method)") in a subsequent `ListBackupPlans` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A token which may be sent as [page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-ListBackupPlansRequest#Google__Cloud__BackupDR__V1__ListBackupPlansRequest_page_token_instance_ "Google::Cloud::BackupDR::V1::ListBackupPlansRequest#page_token (method)") in a subsequent `ListBackupPlans` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.
**Returns**

- (::String) --- A token which may be sent as [page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-ListBackupPlansRequest#Google__Cloud__BackupDR__V1__ListBackupPlansRequest_page_token_instance_ "Google::Cloud::BackupDR::V1::ListBackupPlansRequest#page_token (method)") in a subsequent `ListBackupPlans` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

### #unreachable

    def unreachable() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Locations that could not be reached.

### #unreachable=

    def unreachable=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Locations that could not be reached.
**Returns**

- (::Array\<::String\>) --- Locations that could not be reached.