Ë
    €Ï  ã                   ó¤   — 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 e	j                   G d	„ d
e	j                  «      «       Zy)zUpdate Attestor command.é    )Úabsolute_import)Údivision)Úunicode_literals)Úapis)Ú	attestors)Úbase)Úflagsc                   ó&   — e Zd ZdZed„ «       Zd„ Zy)ÚUpdatez²Update an existing Attestor.

  ## EXAMPLES

  To update an existing Attestor `my_attestor`:

    $ {command} my_attestor \
        --description="my new attestor description"
  c                 ó‚   — t        j                  |t        j                  dd¬«      «       |j                  ddd¬«       y )NTzThe attestor to update.)Ú
positionalÚ
group_helpz--descriptionFz$The new description for the attestor)ÚrequiredÚhelp)r	   ÚAddConceptsÚGetAttestorPresentationSpecÚadd_argument)ÚclsÚparsers     ú2lib/surface/container/binauthz/attestors/update.pyÚArgszUpdate.Args'   sF   € ä	×ÑØÜ×)Ñ)ØÐ(Aô	Côð
 ×ÑØØØ3ð õ 5ó    c                 óð   — |j                   j                  j                  «       }t        j                  | j                  «       «      }t        j                  |«      j                  ||j                  ¬«      S )N)Údescription)
ÚCONCEPTSÚattestorÚParser   ÚGetApiVersionÚReleaseTrackr   ÚClientr   r   )ÚselfÚargsÚattestor_refÚapi_versions       r   ÚRunz
Update.Run3   sa   € Ø—=‘=×)Ñ)×/Ñ/Ó1€LÜ×$Ñ$ T×%6Ñ%6Ó%8Ó9€KÜ×Ñ˜KÓ(×/Ñ/Ø $×"2Ñ"2ð 0ó 4ð 4r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úclassmethodr   r%   © r   r   r   r      s    „ ñð ñ	5ó ð	5ó4r   r   N)r)   Ú
__future__r   r   r   Ú)googlecloudsdk.api_lib.container.binauthzr   r   Úgooglecloudsdk.callioper   Ú-googlecloudsdk.command_lib.container.binauthzr	   ÚDefaultUniverseOnlyÚUpdateCommandr   r+   r   r   Ú<module>r2      sF   ðñ å &Ý Ý 'å :Ý ?Ý (Ý ?ð ×Ñô4ˆT×Ñó 4ó ñ4r   