# ApplyAdminConsentsResponse

Response when all admin Consent resources in scope were processed and all affected resources were reindexed successfully. This structure will be included in the `https://docs.cloud.google.com/healthcare-api/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation.FIELDS.response` when the operation finishes successfully.

| JSON representation |
|---|
| ``` { "consentApplySuccess": string, "affectedResources": string, "failedResources": string } ``` |

| Fields ||
|---|---|
| `consentApplySuccess` | `string (https://developers.google.com/discovery/v1/type-format format)` If `validateOnly=false` in `ApplyAdminConsentsRequest`, this counter contains the number of Consent resources that were successfully applied. Otherwise, it is the number of Consent resources that are supported. |
| `affectedResources` | `string (https://developers.google.com/discovery/v1/type-format format)` The number of resources (including the Consent resources) that may have consent access change. |
| `failedResources` | `string (https://developers.google.com/discovery/v1/type-format format)` The number of resources (including the Consent resources) that \[ApplyAdminConsents\]\[\] failed to re-index. |