docstr: Google SGD includes extra information with the call, so remove these.
docstr_tok: ["Google","SGD","includes","extra","information","with","the","call",",","so","remove","these","."]
code: def _get_apis_in_domain(self, schema, domain):
      """
      Google SGD includes extra information with the call, so remove these.
      """
      result = {}
      for intent in schema[domain].get("intents", {}):
          here = {}
          if (
              "required_slots" in intent
              and len(intent["required_slots"]) > 0
          ):
              here[tod.STANDARD_REQUIRED_KEY] = intent["required_slots"]
          if (
              "optional_slots" in intent
              and len(intent["optional_slots"]) > 0
          ):
              here[tod.STANDARD_OPTIONAL_KEY] = intent["optional_slots"]
          if "result_slots" in intent:
              here["results"] = intent["result_slots"]
          result[intent["name"]] = here
      return result
  
imports: import glob
  import json
  import os
  from typing import Any, Dict, List, Optional
  import parlai.tasks.google_sgd.build
  import parlai.core.tod.tod_core
  import parlai.core.tod.tod_agents
  from parlai.core.tod.tod_core import SerializationHelpers
  from parlai.core.message import Message
  from parlai.core.metrics import AverageMetric
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from fuzzywuzzy import fuzz
  from parlai.utils.io import PathManager
label_desc: Use image node_id 6 for calling the GoogleSGDParser obj's underlying member method code with example usage: obj._get_apis_in_domain(schema, domain) and returns: result