Ë
    €Ï  ã                   ó’   — 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
 ddlmZ ddlmZ  G d	„ d
e
j                  «      Zy)z3Command to show memberships bound to a fleet scope.é    )Úabsolute_import)Údivision)Úunicode_literals)Úclient)Úutil)Úbase)Ú	resourcesc                   ó&   — e Zd ZdZed„ «       Zd„ Zy)ÚListBoundMembershipsaY  List memberships bound to a fleet scope.

  This command can fail for the following reasons:
  * The scope specified does not exist.
  * The user does not have access to the specified scope.

  ## EXAMPLES

  The following command lists memberships bound to scope `SCOPE` in
  project `PROJECT_ID`:

    $ {command} SCOPE --project=PROJECT_ID
  c                 óÈ   — |j                   j                  t        j                  «       t	        j
                  |dt        j                  | j                  «          dd¬«       y )NÚSCOPEz5Name of the fleet scope to list memberships bound to.T)Ú
scope_helpÚrequired)	Údisplay_infoÚ	AddFormatr   ÚMEM_LIST_FORMATr	   ÚAddScopeResourceArgÚapi_utilÚVERSION_MAPÚReleaseTrack)ÚclsÚparsers     ú6lib/surface/container/fleet/scopes/list_memberships.pyÚArgszListBoundMemberships.Args+   sO   € ð ×Ñ×!Ñ!¤$×"6Ñ"6Ô7Ü×!Ñ!ØØÜ×Ñ˜S×-Ñ-Ó/Ñ0ØJØöó    c                 óÔ   — |j                   j                  j                  «       }|j                  «       }t	        j
                  | j                  «       ¬«      }|j                  |«      S )N)Úrelease_track)ÚCONCEPTSÚscopeÚParseÚRelativeNamer   ÚFleetClientr   r   )ÚselfÚargsÚ	scope_argÚ
scope_pathÚfleetclients        r   ÚRunzListBoundMemberships.Run7   sR   € Ø—‘×#Ñ#×)Ñ)Ó+€IØ×'Ñ'Ó)€JÜ×$Ñ$°4×3DÑ3DÓ3FÔG€KØ×+Ñ+¨JÓ7Ð7r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úclassmethodr   r(   © r   r   r   r      s    „ ñð ñ	ó ð	ó8r   r   N)r,   Ú
__future__r   r   r   Ú&googlecloudsdk.api_lib.container.fleetr   r   r   Úgooglecloudsdk.callioper   Ú*googlecloudsdk.command_lib.container.fleetr	   ÚListCommandr   r.   r   r   Ú<module>r4      s4   ðñ :å &Ý Ý 'å 9Ý CÝ (Ý @Ý ;ô8˜4×+Ñ+õ 8r   