class_docstr: A wrapper class that allows for easy interaction with a Study.
docstr: Calls AddMeasurementToTrial with the provided objective_value.
  
  Args:
      step: The number of steps the model has trained for.
      elapsed_secs: The number of seconds since Trial execution began.
      metric_list: A list of dictionary from metric names (strings) to
          values (doubles) for additional metrics to record.
      trial_id: trial_id.
docstr_tok: ["Calls","AddMeasurementToTrial","with","the","provided","objective_value",".","Args",":","step",":","The","number","of","steps","the","model","has","trained","for",".","elapsed_secs",":","The","number","of","seconds","since","Trial","execution","began",".","metric_list",":","A","list","of","dictionary","from","metric","names","(","strings",")","to","values","(","doubles",")","for","additional","metrics","to","record",".","trial_id",":","trial_id","."]
code: def report_intermediate_objective_value(
      self,
      step: int,
      elapsed_secs: float,
      metric_list: List[Mapping[Text, Union[int, float]]],
      trial_id: Text,
  ) -> None:
      """Calls AddMeasurementToTrial with the provided objective_value.
  
      Args:
          step: The number of steps the model has trained for.
          elapsed_secs: The number of seconds since Trial execution began.
          metric_list: A list of dictionary from metric names (strings) to
              values (doubles) for additional metrics to record.
          trial_id: trial_id.
      """
      measurement = {
          "stepCount": step,
          "elapsedTime": {"seconds": int(elapsed_secs)},
          "metrics": metric_list,
      }
      try:
          self.service_client.projects().locations().studies().trials().addMeasurement(
              name=self._make_trial_name(trial_id),
              body={"measurement": measurement},
          ).execute()
      except errors.HttpError as e:
          tf.get_logger().info("AddMeasurement failed.")
          raise e
  
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 3 for calling the _VizierClient obj's underlying member method code with example usage: obj.report_intermediate_objective_value(step, elapsed_secs, metric_list, trial_id) without return types