Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class ListBackupPlansResponse.
The response message for getting a list of BackupPlan
.
Generated from protobuf message google.cloud.backupdr.v1.ListBackupPlansResponse
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ backup_plans |
array<Google\Cloud\BackupDR\V1\BackupPlan>
The list of |
↳ next_page_token |
string
A token which may be sent as page_token in a subsequent |
↳ unreachable |
array
Locations that could not be reached. |
getBackupPlans
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 | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setBackupPlans
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
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\BackupDR\V1\BackupPlan>
|
Returns | |
---|---|
Type | Description |
$this |
getNextPageToken
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 | |
---|---|
Type | Description |
string |
setNextPageToken
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUnreachable
Locations that could not be reached.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setUnreachable
Locations that could not be reached.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |