Configuring Recording Storage using Google Drive
Accessing Google Drive is not simple, but I agree with Google about being extremely careful in sharing the Google Drive content. I have chosen to use the Service Account to handle the recording storage.
Go in the Google console from the account you want to use for storage
https://console.cloud.google.com/
Let's start by checking if the Google Drive API is enabled in "Enabled APIs and services" for your project. If not enabled, please enable it.
From the APIs and services page, choose "Credentials" and create a Service Account.
The service account has two parts: an email like mirtapbx@resolute-tracer-400008.iam.gserviceaccount.com and a JSON file you need to use as credentials.
Locate the directory you want to use as recording storage in your Google Drive and share it with the service account email above created. It needs to have full access to it.
Access the directory and check the ID of the folder. You can see in the URL, like
https://drive.google.com/drive/folders/1rfOYcmUcoZOTYmioiDtbIuXmI62W5sz7
In MiRTA PBX configuration, you need to enter the folder ID and the content of the JSON file you have downloaded.