(self)
Refresh an OAUTH token if one is defined.
Refresh an OAUTH token if one is defined.
Refresh an OAUTH token if one is defined .
def refresh_oauth_token(self):
        """Refresh an OAUTH token if one is defined."""
        if not self.credentials:
            return
        request = google.auth.transport.requests.Request()
        self.credentials.credential.refresh(request)
def refresh_oauth_token ( self ) : if not self . credentials : return request = google . auth . transport . requests . Request ( ) self . credentials . credential . refresh ( request )