Ë
    €Ï&  ã                   ó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	 ddl
mZ dd	l
mZ dd
lmZ dddœZej                    ej"                  ej$                  j&                  ej$                  j(                  ej$                  j*                  «       G d„ dej,                  «      «       «       Zee_        y)z0Update Secure Source Manager repository command.é    )Úabsolute_import)Údivision)Úunicode_literals)Úrepositories)Úbase)Ú
exceptions)Úflags)Úresource_args)Úlogz>
          Update a Secure Source Manager repository.
        zè
            To update the description of a repository called `my-repo` in
            location `us-central1`, run the following command:

            $ {command} my-repo --description="new description" --region=us-central1
        )ÚDESCRIPTIONÚEXAMPLESc                   ó*   — e Zd ZdZdZed„ «       Zd„ Zy)ÚUpdatez*Update a Secure Source Manager repository.z@There are no changes to the repository [{repository}] for updatec                 ó„   — t        j                  | d«       t        j                  | «       t        j                  | «       y )Nz	to update)r
   ÚAddRepositoryResourceArgr	   ÚAddDescriptionÚAddValidateOnly)Úparsers    ú*lib/surface/source_manager/repos/update.pyÚArgszUpdate.Args4   s.   € ä×*Ñ*¨6°;Ô?Ü	×Ñ˜Ô Ü	×Ñ˜&Õ!ó    c                 óÖ  — |j                   j                  j                  «       }t        j                  «       }g }|j                  d«      r|j                  d«       |s?t        j                  dg| j                  j                  |j                  «       ¬«      «      ‚|j                  |||j                  |j                  «      }t        j                   |j#                  «       «       |S )NÚdescriptionz--description)Ú
repository)ÚCONCEPTSr   ÚParser   ÚRepositoriesClientÚIsSpecifiedÚappendr   ÚMinimumArgumentExceptionÚNO_CHANGES_MESSAGEÚformatÚNamer   Úvalidate_onlyr   r   ÚUpdatedResourceÚRelativeName)ÚselfÚargsÚrepository_refÚclientÚupdate_maskÚupdate_operations         r   ÚRunz
Update.Run:   sÐ   € à—]‘]×-Ñ-×3Ñ3Ó5€Nä×,Ñ,Ó.€Fð €KØ×Ñ˜Ô&Ø×Ñ˜Ô'áÜ×/Ñ/àðð ×
!Ñ
!×
(Ñ
(°N×4GÑ4GÓ4IÐ
(Ó
Jó	ð ð —}‘}Ø˜ T×%7Ñ%7¸×9IÑ9IóÐô ×Ñ˜×3Ñ3Ó5Ô6ØÐr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r!   Ústaticmethodr   r-   © r   r   r   r   )   s+   „ ñ
 3ð Ið ð ñ"ó ð"ó
r   r   N)r1   Ú
__future__r   r   r   Ú*googlecloudsdk.api_lib.securesourcemanagerr   Úgooglecloudsdk.callioper   r   Ú)googlecloudsdk.command_lib.source_managerr	   r
   Úgooglecloudsdk.corer   ÚDETAILED_HELPÚDefaultUniverseOnlyÚReleaseTracksÚReleaseTrackÚALPHAÚBETAÚGAÚUpdateCommandr   Údetailed_helpr3   r   r   Ú<module>rB      s¨   ðñ 7å &Ý Ý 'å CÝ (Ý .Ý ;Ý CÝ #ððñ	
€ð ×ÑØ€×ÑØ×Ñ×Ñ˜T×.Ñ.×3Ñ3°T×5FÑ5F×5IÑ5Ióô&ˆT×Ñó &óó ð&ðR %€Õ r   