code: def get_driver(self, name, version):
          
          user_credentials = self.get_user_credentials()  # get credentials
          return discovery.build(
              name, version,
              http=self.authenticate(user_credentials)
          )
docs: Authenticates and creates new API driver to perform scope stuff
  
          :param name: Name of driver
          :param version: Version of driver
          :return: driver