NOTE: This URL www.googleapis.com needs to allow from Client’s firewall, so that, this will be accessible from the Collector-Syslog Server (CCE).
Step 1: Go to https://console.cloud.google.com/apis/dashboard and create a Project.
...
Step 5: Search for API SDK in the search bar and select Admin SKD API.
...
For Gsuite Gmail permission, We need to Enable ' Gmail API' as well.
...
Step 6: Now, click on enable to enable API for the project.
...
Step 17: Go to Add New, then put the Client ID from the JSON file. For reference -> Remember (Step 12). Also, put https://www.googleapis.com/auth/admin.reports.audit.readonly in the OAuth Scopes. Click -> Authorize.
...
Step 18: For Gsuite Gmail Permission Go to Add New, then put the Client ID from the JSON file.
We need to put, SCOPES for gsuite gmail in the ADMIN console-
Step 19:Now, go to Seceon UI à Provisioning à Google Configuration à G-Suite(Add) à Put your mail ID of G-Suite in the username à CCE IP à Browse the JSON file (Reference Step 12)à Save.
...