class_docstr: Hook for connection with Dataprep API.
  
  To get connection Dataprep with Airflow you need Dataprep token.
  
  https://clouddataprep.com/documentation/api#section/Authentication
  
  It should be added to the Connection in Airflow in JSON format.
class_docstr_tok: ["Hook","for","connection","with","Dataprep","API",".","To","get","connection","Dataprep","with","Airflow","you","need","Dataprep","token",".","https",":","\/\/clouddataprep.com\/documentation\/api","#","section\/Authentication","It","should","be","added","to","the","Connection","in","Airflow","in","JSON","format","."]
code: def __init__(
      self,
      dataprep_conn_id: str = default_conn_name,
      api_version: str = "v4",
      **kwargs,
  ) -> None:
      super().__init__(**kwargs)
      self.dataprep_conn_id = dataprep_conn_id
      self.api_version = api_version
      conn = self.get_connection(self.dataprep_conn_id)
      extras = conn.extra_dejson
      self._token = _get_field(extras, "token")
      self._base_url = (
          _get_field(extras, "base_url")
          or "https://api.clouddataprep.com"
      )
  
imports: from __future__ import annotations
  import json
  from enum import Enum
  from typing import Any
  from urllib.parse import urljoin
  import requests
  from requests import HTTPError
  from tenacity import retry, stop_after_attempt, wait_exponential
  from airflow.hooks.base import BaseHook
label_desc: Use image node_id 1 to create a new GoogleDataprepHook object from inherited base classes: BaseHook with example: obj = GoogleDataprepHook(dataprep_conn_id, api_version)