code: def optout_metrics_reporting():
      """Set configuration to opt-out of client side metric reporting."""
  
      config_data = {}
      config_data["telemetry_rejected"] = True
  
      # Create the config path if it does not already exist
      os.makedirs(os.path.dirname(_LOCAL_CONFIG_PATH), exist_ok=True)
  
      with open(_LOCAL_CONFIG_PATH, "w") as config_json:
          json.dump(config_data, config_json)
  
      logging.info("Client side metrics reporting has been disabled.")
  
imports: import enum
  import json
  import os
  import sys
  import time
  from typing import Dict, Text, Union
  from ..None import version
  from absl import logging
  from googleapiclient import discovery
  from googleapiclient import errors
  from googleapiclient import http
label_desc: Use image node_id 5 for calling a global function with example usage: optout_metrics_reporting() without return types