def Authorize(self):
    if self.http is None:
      self.http = httplib2.Http(timeout=self.http_timeout)
    if self.access_token_expired:
      raise AuthenticationError('No valid credentials provided to authorize')
    self.http = self.credentials.authorize(self.http)
    self.service = build('drive', 'v2', http=self.http)
Authorizes and builds service.
dataset/ETHPy150Open googledrive/PyDrive/pydrive/auth.py/GoogleAuth.Authorize