How to Solve NameError: name 'Request' is not defined -- google

Solution: Import the 'Request' module

To Solve the error, add the following line to the top of your code.

from google.auth.transport.requests import Request

 

For more information:
Python google Request