The information you are looking for is contained in Reports API: Admin Activity – Security Event Names.
Before you implement the request in the language of your choice, I recommend you to test it with OAuth Playground
Instructions:
- Chose the scope
https://www.googleapis.com/auth/admin.reports.audit.readonly
(Step 1)
Exchange authorization code for token
(Step 2)
- Insert a Request URI and
Send the request
(Step 3)
Chose the URI according to your requirements based on the documentation for Admin Activity Report.
Sample URI:
https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin
This will retrieve all your security settings.
If you look for something more specific, for example events with the name CREATE_ACCESS_LEVEL_V2
- request the URI
https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/admin?eventName=CREATE_ACCESS_LEVEL_V2