Cloud Backup API, gRPC: PolicyService.ListApplications
List applied policies using filters.
gRPC request
rpc ListApplications (ListApplicationsRequest) returns (ListApplicationsResponse)
ListApplicationsRequest
{
// Includes only one of the fields `folderId`, `policyId`, `computeInstanceId`
"folderId": "string",
"policyId": "string",
"computeInstanceId": "string",
// end of the list of possible fields
"showProcessing": "bool"
}
Field |
Description |
folderId |
string Folder ID. Includes only one of the fields |
policyId |
string Policy ID. Includes only one of the fields |
computeInstanceId |
string Compute Cloud instance ID. Includes only one of the fields |
showProcessing |
bool If true, also returns applications that in the process of binding. |
ListApplicationsResponse
{
"applications": [
{
"policyId": "string",
"computeInstanceId": "string",
"enabled": "bool",
"status": "Status",
"createdAt": "google.protobuf.Timestamp",
"isProcessing": "bool"
}
]
}
Field |
Description |
applications[] |
PolicyApplication
Field |
Description |
policyId |
string Policy ID. |
computeInstanceId |
string Compute Cloud instance ID. |
enabled |
bool |
status |
enum Status
|
createdAt |
|
isProcessing |
bool If true, then the policy is in in the process of binding to the instance. |