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","."]
docstr: Creates a ``jobGroup``, which launches the specified job as the authenticated user.
  
  This performs the same action as clicking on the Run Job button in the application.
  
  To get recipe_id please follow the Dataprep API documentation
  https://clouddataprep.com/documentation/api#operation/runJobGroup.
  
  :param body_request: The identifier for the recipe you would like to run.
docstr_tok: ["Creates","a","``","jobGroup","``",",","which","launches","the","specified","job","as","the","authenticated","user",".","This","performs","the","same","action","as","clicking","on","the","Run","Job","button","in","the","application",".","To","get","recipe_id","please","follow","the","Dataprep","API","documentation","https",":","\/\/clouddataprep.com\/documentation\/api","#","operation\/runJobGroup",".",":","param","body_request",":","The","identifier","for","the","recipe","you","would","like","to","run","."]
code: def run_job_group(self, body_request: dict) -> dict[str, Any]:
      """
      Creates a ``jobGroup``, which launches the specified job as the authenticated user.
  
      This performs the same action as clicking on the Run Job button in the application.
  
      To get recipe_id please follow the Dataprep API documentation
      https://clouddataprep.com/documentation/api#operation/runJobGroup.
  
      :param body_request: The identifier for the recipe you would like to run.
      """
      endpoint_path = f"{self.api_version}/jobGroups"
      url: str = urljoin(self._base_url, endpoint_path)
      response = requests.post(
          url, headers=self._headers, data=json.dumps(body_request)
      )
      self._raise_for_status(response)
      return response.json()
  
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 5 for calling the GoogleDataprepHook obj's underlying member method code with example usage: obj.run_job_group(body_request) and returns: response