Add Campaign Entitlements
AddCampaignEntitlements adds entitlements to an access review campaign’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 campaign 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, use AccessReviewService.Update with update_mask scope_v2 rather than SetCampaignScopeAndEntitlements, 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 campaign to add entitlements to.
Body
The AccessReviewAddCampaignEntitlementsRequest message.
The entitlements to add. Entitlements that are already selected are skipped.
Response
Successful response
The AccessReviewAddCampaignEntitlementsResponse message.
The total number of entitlements selected for the campaign after this call.