class_docstr: An SSH command runner with overwritten IP address calls.
class_docstr_tok: ["An","SSH","command","runner","with","overwritten","IP","address","calls","."]
code: def _get_node_ip(self) -> str:
      if self.use_internal_ip:
          return self._internal_ip
      else:
          return self._external_ip
  
imports: import copy
  from concurrent.futures import ThreadPoolExecutor
  from types import ModuleType
  from typing import Any, Dict, Optional
  from ray._private import ray_constants
  from ray.autoscaler._private.command_runner import DockerCommandRunner, SSHCommandRunner
  from ray.autoscaler._private.gcp.node import GCPTPUNode
  from ray.autoscaler.command_runner import CommandRunnerInterface
  from ray.autoscaler.node_provider import NodeProvider
label_desc: Use image node_id 2 for calling the TPUVMSSHCommandRunner obj's underlying member method code with example usage: obj._get_node_ip() and returns: self, self