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
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
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
defnext_page_token()->::String
Returns
(::String) — A token which may be sent as
page_token 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=
defnext_page_token=(value)->::String
Parameter
value (::String) — A token which may be sent as
page_token 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 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
defunreachable()->::Array<::String>
Returns
(::Array<::String>) — Locations that could not be reached.
#unreachable=
defunreachable=(value)->::Array<::String>
Parameter
value (::Array<::String>) — Locations that could not be reached.
Returns
(::Array<::String>) — Locations that could not be reached.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::ListBackupPlansResponse (v1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/ruby/docs/reference/google-cloud-backupdr-v1/latest/Google-Cloud-BackupDR-V1-ListBackupPlansResponse)\n- [1.1.0](/ruby/docs/reference/google-cloud-backupdr-v1/1.1.0/Google-Cloud-BackupDR-V1-ListBackupPlansResponse)\n- [1.0.1](/ruby/docs/reference/google-cloud-backupdr-v1/1.0.1/Google-Cloud-BackupDR-V1-ListBackupPlansResponse)\n- [0.5.0](/ruby/docs/reference/google-cloud-backupdr-v1/0.5.0/Google-Cloud-BackupDR-V1-ListBackupPlansResponse)\n- [0.4.0](/ruby/docs/reference/google-cloud-backupdr-v1/0.4.0/Google-Cloud-BackupDR-V1-ListBackupPlansResponse)\n- [0.3.0](/ruby/docs/reference/google-cloud-backupdr-v1/0.3.0/Google-Cloud-BackupDR-V1-ListBackupPlansResponse)\n- [0.2.1](/ruby/docs/reference/google-cloud-backupdr-v1/0.2.1/Google-Cloud-BackupDR-V1-ListBackupPlansResponse)\n- [0.1.0](/ruby/docs/reference/google-cloud-backupdr-v1/0.1.0/Google-Cloud-BackupDR-V1-ListBackupPlansResponse) \nReference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::ListBackupPlansResponse.\n\nThe response message for getting a list of `BackupPlan`. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #backup_plans\n\n def backup_plans() -\u003e ::Array\u003c::Google::Cloud::BackupDR::V1::BackupPlan\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::BackupDR::V1::BackupPlan](./Google-Cloud-BackupDR-V1-BackupPlan)\\\u003e) --- The list of `BackupPlans` in the project for the specified location.\n\n\n If the `{location}` value in the request is \"-\", the response contains a\n list of resources from all locations. In case any location is unreachable,\n the response will only return backup plans in reachable locations and\n the 'unreachable' field will be populated with a list of unreachable\n locations.\n BackupPlan\n\n### #backup_plans=\n\n def backup_plans=(value) -\u003e ::Array\u003c::Google::Cloud::BackupDR::V1::BackupPlan\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Cloud::BackupDR::V1::BackupPlan](./Google-Cloud-BackupDR-V1-BackupPlan)\\\u003e) --- The list of `BackupPlans` in the project for the specified location.\n\n\n If the `{location}` value in the request is \"-\", the response contains a\n list of resources from all locations. In case any location is unreachable,\n the response will only return backup plans in reachable locations and\n the 'unreachable' field will be populated with a list of unreachable\n locations.\nBackupPlan \n**Returns**\n\n- (::Array\\\u003c[::Google::Cloud::BackupDR::V1::BackupPlan](./Google-Cloud-BackupDR-V1-BackupPlan)\\\u003e) --- The list of `BackupPlans` in the project for the specified location.\n\n\n If the `{location}` value in the request is \"-\", the response contains a\n list of resources from all locations. In case any location is unreachable,\n the response will only return backup plans in reachable locations and\n the 'unreachable' field will be populated with a list of unreachable\n locations.\n BackupPlan\n\n### #next_page_token\n\n def next_page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- A token which may be sent as [page_token](/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.\n\n### #next_page_token=\n\n def next_page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- A token which may be sent as [page_token](/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. \n**Returns**\n\n- (::String) --- A token which may be sent as [page_token](/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.\n\n### #unreachable\n\n def unreachable() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Locations that could not be reached.\n\n### #unreachable=\n\n def unreachable=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- Locations that could not be reached. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Locations that could not be reached."]]