class_docstr: A wrapper class that allows for easy interaction with a Study.
docstr: Deletes the study.
  
  Args:
      study_name: Name of the study.
  
  Raises:
      ValueError: Indicates that the study_name does not exist.
      HttpError: Indicates a HTTP error from calling the discovery API.
docstr_tok: ["Deletes","the","study",".","Args",":","study_name",":","Name","of","the","study",".","Raises",":","ValueError",":","Indicates","that","the","study_name","does","not","exist",".","HttpError",":","Indicates","a","HTTP","error","from","calling","the","discovery","API","."]
code: def delete_study(self, study_name: Optional[Text] = None) -> None:
      """Deletes the study.
  
      Args:
          study_name: Name of the study.
  
      Raises:
          ValueError: Indicates that the study_name does not exist.
          HttpError: Indicates a HTTP error from calling the discovery API.
      """
      if study_name is None:
          study_name = self._make_study_name()
      try:
          self.service_client.projects().locations().studies().delete(
              name=study_name
          ).execute()
      except errors.HttpError as e:
          if e.resp.status == http.HTTPStatus.NOT_FOUND.value:
              raise ValueError(
                  "DeleteStudy failed. Study not found: {}.".format(
                      study_name
                  )
              )
          tf.get_logger().info("DeleteStudy failed.")
          raise
      tf.get_logger().info("Study deleted: {}.".format(study_name))
  
imports: import datetime
  import http
  import json
  import time
  from typing import Any, Dict, List, Mapping, Optional, Text, Union
  from googleapiclient import discovery
  from googleapiclient import errors
  import tensorflow
  from tensorflow_cloud.tuner import vizier_client_interface
  from tensorflow_cloud.tuner import constants
  from tensorflow_cloud.utils import google_api_client
label_desc: Use image node_id 9 for calling the _VizierClient obj's underlying member method code with example usage: obj.delete_study(study_name) without return types