code: def __ensure_gcloud():
      
      if which('gcloud') is None:
          gcloud_path = os.path.join(os.path.expanduser('~'),
                                     'google-cloud-sdk', 'bin')
          env_path = os.getenv('PATH')
          if os.path.isdir(gcloud_path):
              if env_path is not None:
                  os.environ['PATH'] = gcloud_path + os.pathsep + env_path
              else:
                  os.environ['PATH'] = gcloud_path
docs: The *NIX installer is not guaranteed to add the google cloud sdk to the
      user's PATH (the Windows installer does). This ensures that if the default
      directory for the executables exists, it is added to the PATH for the
      duration of this package's use.