class_docstr: Class to get asynchronous hook for MLEngine.
class_docstr_tok: ["Class","to","get","asynchronous","hook","for","MLEngine","."]
code: def _check_fileds(
      self,
      job_id: str,
      project_id: str | None = None,
  ):
      if not project_id:
          raise AirflowException("Google Cloud project id is required.")
      if not job_id:
          raise AirflowException(
              "An unique job id is required for Google MLEngine training job."
          )
  
imports: from __future__ import annotations
  import contextlib
  import logging
  import random
  import time
  from typing import TYPE_CHECKING, Callable
  from aiohttp import ClientSession
  from gcloud.aio.auth import AioSession, Token
  from googleapiclient.discovery import Resource, build
  from googleapiclient.errors import HttpError
  from airflow.exceptions import AirflowException
  from airflow.providers.google.common.hooks.base_google import GoogleBaseAsyncHook, GoogleBaseHook
  from airflow.version import version
label_desc: Use image node_id 1 for calling the MLEngineAsyncHook obj's underlying member method code with example usage: obj._check_fileds(job_id, project_id) without return types