async function transferFromBlobStorage() {
    // Setting the start date and the end date as the same time creates a
    // one-time transfer
    const now = new Date();
    const oneTimeSchedule = {
      day: now.getDate(),
      month: now.getMonth() + 1,
      year: now.getFullYear(),
    };

    // Runs the request and creates the job
    const [transferJob] = await client.createTransferJob({
      transferJob: {
        projectId,
        description,
        status: 'ENABLED',
        schedule: {
          scheduleStartDate: oneTimeSchedule,
          scheduleEndDate: oneTimeSchedule,
        },
        transferSpec: {
          azureBlobStorageDataSource: {
            azureCredentials: {
              sasToken: azureSASToken,
            },
            container: azureSourceContainer,
            storageAccount: azureStorageAccount,
          },
          gcsDataSink: {
            bucketName: gcsSinkBucket,
          },
        },
      },
    });

    console.log(
      `Created and ran a transfer job from '${azureSourceContainer}' to '${gcsSinkBucket}' with name ${transferJob.name}`
    );
  }
Creates a one-time transfer job from Azure Blob Storage to Google Cloud Storage.