Add Template Entitlements
AddTemplateEntitlements adds entitlements to an access review template’s selection without replacing existing selections or their policies. For large selections, send chunks of at most 200 entitlements and wait for each call to finish before sending the next. Entitlements that are already selected are skipped, so retrying a chunk is safe. If the template has no apps and resources scope yet, it is set to the selected entitlements. The per-campaign entitlement quota applies to the total selection. To change user, account or grant scope afterwards, send the template from AccessReviewTemplateService.Get to AccessReviewTemplateService.Update with update_mask scope rather than using SetScopeAndEntitlements, which would replace the whole selection.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
The ID of the access review template to add entitlements to.
Body
The AccessReviewAddTemplateEntitlementsRequest message.
The entitlements to add. Entitlements that are already selected are skipped.
Response
Successful response
The AccessReviewAddTemplateEntitlementsResponse message.
The total number of entitlements selected for the template after this call.