@staticmethod
  def _PrintOneLine(client_id, display_text=None, scopes=None):
    col_width = 40
    fmt = '%%-%ss' % col_width
    values = [client_id]
    if display_text:
      fmt = '%s %s' % (fmt, fmt)
      # apps.googleusercontent.com has very long client_ids...wrap them.
      if len(client_id) > col_width:
        fmt += '\n  %s'
        values = [client_id[:col_width], display_text,
                  client_id[col_width:]]
      else:
        values.append(display_text)
    print fmt % tuple(values)
    if not scopes:
      return
    for scope in sorted(scopes):
      print '    %s' % token_report_utils.LookupScope(scope)
Converts object to string representation which if used to create
dataset/ETHPy150Open google/gfw-toolkit/toolkit/admin_sdk_directory_api/tokens_api.py/TokensApiWrapper._PrintOneLine--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/api_version_request.py/APIVersionRequest.get_string