
                             d Z ddlmZ ddlmZ ddlmZ ddlmZ ej                   G d dej                               Z	y)	z1Command group for Artifact Registry repositories.    )absolute_import)division)unicode_literals)basec                   (    e Zd ZdZej
                  Zy)Repositoriesa?  Manage Artifact Registry repositories.

  ## EXAMPLES

  To create a repository with the name `my-repo`, run:

    $ {command} create my-repo

  To delete a repository with the name `my-repo`, run:

    $ {command} delete my-repo

  To describe a repository with the name `my-repo`, run:

    $ {command} describe my-repo

  To list all Artifact Registry repositories, run:

    $ {command} list

  To set an IAM policy for repository `my-repo`, run:

    $ {command} set-iam-policy my-repo policy.json

  To get an IAM policy for repository `my-repo`, run:

    $ {command} get-iam-policy my-repo

  To add an IAM policy binding for the role of 'roles/editor' for the user
  'test-user@gmail.com' on  repository `my-repo`, run:

    $ {command} add-iam-policy-binding my-repo
    --member='user:test-user@gmail.com' --role='roles/editor'

  To remove an IAM policy binding for the role of 'roles/editor' for the user
  'test-user@gmail.com' on repository `my-repo`, run:

    $ {command} remove-iam-policy-binding my-repo
    --member='user:test-user@gmail.com' --role='roles/editor'
  N)__name__
__module____qualname____doc__r   CI_CD_CATEGORYcategory     .lib/surface/artifacts/repositories/__init__.pyr   r      s    'R   (r   r   N)
r   
__future__r   r   r   googlecloudsdk.callioper   UniverseCompatibleGroupr   r   r   r   <module>r      s;    8 &  ' ( *!4:: *! *!r   