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 _raise_for_status(
      self, response: requests.models.Response
  ) -> None:
      try:
          response.raise_for_status()
      except HTTPError:
          self.log.error(response.json().get("exception"))
          raise
  
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 11 for calling the GoogleDataprepHook obj's underlying member method code with example usage: obj._raise_for_status(response) without return types