class_docstr: A wrapper class that allows for easy interaction with a Study.
docstr: List trials.
docstr_tok: ["List","trials","."]
code: def list_trials(self) -> List[Dict[Text, Any]]:
      """List trials."""
      study_name = self._make_study_name()
      try:
          resp = (
              self.service_client.projects()
              .locations()
              .studies()
              .trials()
              .list(parent=study_name)
              .execute()
          )
      except errors.HttpError as e:
          tf.get_logger().info("ListTrials failed.")
          raise e
      return resp.get("trials", [])
  
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 7 for calling the _VizierClient obj's underlying member method code with example usage: obj.list_trials() and returns: resp