Ë
    €Ï¸  ã                   óz   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
  G d„ d	ej                  «      Zy
)zECommand to list all organization IDs associated with the active user.é    )Úabsolute_import)Údivision)Úunicode_literals)Úorganizations)Úbase)Ú	org_utilsc                   ó&   — e Zd ZdZed„ «       Zd„ Zy)ÚListz¤List organizations accessible by the active account.

  Lists all organizations to which the user has access. Organizations are listed
  in an unspecified order.
  c                 óŒ   — | j                   j                  d«       | j                   j                  t        j                  «       y )NzÏ
          table(
            displayName:label=DISPLAY_NAME,
            name.segment():label=ID:align=right:sort=1,
            owner.directoryCustomerId:label=DIRECTORY_CUSTOMER_ID:align=right
          ))Údisplay_infoÚ	AddFormatÚ
AddUriFuncr   ÚOrganizationsUriFunc)Úparsers    ú!lib/surface/organizations/list.pyÚArgsz	List.Args!   s7   € à
×Ñ×!Ñ!ð	ôð ×Ñ×"Ñ"¤9×#AÑ#AÕBó    c                 óx   — t        j                  «       }|j                  |j                  |j                  ¬«      S )zRun the list command.)ÚlimitÚ	page_size)r   ÚClientr
   r   r   )ÚselfÚargsÚorgs_clients      r   ÚRunzList.Run,   s.   € ä×&Ñ&Ó(€KØ×Ñ $§*¡*¸¿¹ÐÓGÐGr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ústaticmethodr   r   © r   r   r
   r
      s#   „ ñð ñCó ðCóHr   r
   N)r   Ú
__future__r   r   r   Ú+googlecloudsdk.api_lib.cloudresourcemanagerr   Úgooglecloudsdk.callioper   Ú(googlecloudsdk.command_lib.organizationsr   ÚListCommandr
   r!   r   r   Ú<module>r'      s1   ðñ Lå &Ý Ý 'å EÝ (Ý >ôHˆ4×Ñõ Hr   