code: def _execute_google_auth_flow(self, secret_file, scopes, code=None):
      flow = Flow.from_client_secrets_file(secret_file, scopes)
  
      flow.redirect_uri = request.headers["ORIGIN"] + "/verify-auth"
  
      if code:
          flow.fetch_token(code=code)
          creds = flow.credentials
          return creds
      else:
          auth_url = flow.authorization_url()[0]
          raise AuthException(
              f"Authorisation required. Please follow the url: {auth_url}",
              auth_url=auth_url,
          )
  
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 4 for calling the GoogleOAuth2Manager obj's underlying member method code with example usage: obj._execute_google_auth_flow(secret_file, scopes, code) and returns: creds