Create Google Cloud Storage bucket
This guide provides step-by-step instructions for configuring Google Cloud Storage bucket.
MiaRec needs to upload the audio file to Google Cloud Storage bucket before it is submitted to the Speech API service for transcription.

1. Create bucket

  1. 1.
    Navigate to Google Cloud Storage console at
  2. 2.
    Make sure the previously created project is selected. Then click Create bucket.
2. Choose a globally unique name for the bucket, set Default storage class to Regional and choose a region closer to your datacenter (in our example, we choose us-west1.

2. Create lifecycle rule

The Cloud Storage bucket is used only for a temporary storage of audio files. MiaRec application uploads the files to this bucket and instructs the Speech API to take the file from there for transcription. Once the transcription is completed, the file can be deleted from the bucket.
In this step, we will configure automatic deletion of audio files after 24 hours.
  1. 1.
    In the browser page, click on None in the Lifecycle column for the previously created bucket
2. In the new window, click Add rule
3. Select Object condition to Age 1 days and Action to Delete. Click Continue buttons and then Save
Export as PDF
Copy link