code: def _convert_credentials_to_dict(self, credentials):
      return {
          "token": credentials.token,
          "refresh_token": credentials.refresh_token,
          "token_uri": credentials.token_uri,
          "client_id": credentials.client_id,
          "client_secret": credentials.client_secret,
          "scopes": credentials.scopes,
          "expiry": dt.datetime.strftime(
              credentials.expiry, "%Y-%m-%dT%H:%M:%S"
          ),
      }
  
file_path: mindsdb/mindsdb/integrations/handlers/utilities/auth_utilities/google/google_oauth_utilities.py
imports: import os
  import json
  import requests
  import datetime
  from flask import request
  from shutil import copyfile
  from mindsdb.utilities import log
  from ..exceptions import AuthException
  from google_auth_oauthlib.flow import Flow
  from google.oauth2.credentials import Credentials
  from google.auth.transport.requests import Request
label_desc: Use image node_id 6 for calling the GoogleOAuth2Manager obj's underlying member method code with example usage: obj._convert_credentials_to_dict(credentials) and returns: dict