
    L                        S r SSKJr  SSKJr  SSKJr  SSS.r\R                  \R                  " \R                  R                  5       " S S	\R                  5      5       5       r\R                  \R                  " \R                  R                  5       " S
 S\5      5       5       r\R                  \R                  " \R                  R"                  5       " S S\5      5       5       rg)z"Command to update Resource Bundle.    )resource_bundles)base)flagsz{description}z         To update Resource Bundle `cert-manager` in `us-central1`, run:

          $ {command} cert-manager --location=us-central1 ...
        )DESCRIPTIONEXAMPLESc                   6    \ rS rSrSr\rSr\S 5       r	S r
Srg)Update   (Update Package Rollouts Resource Bundle.v1c                     [         R                  " U 5        [         R                  " U 5        [         R                  " U 5        g )N)r   AddNameFlagAddLocationFlagAddDescriptionFlag)parsers    ?lib/surface/container/fleet/packages/resource_bundles/update.pyArgsUpdate.Args'   s,    	f	&!	V$    c                     [         R                  " U R                  5      n[        R                  " U5      n[        R
                  " U5      nUR                  UUUR                  UR                  S9$ )zRun the update command.)projectlocationnamedescription)	apisResourceBundlesClient_api_versionr   
GetProjectGetLocationr	   r   r   )selfargsclientr   r   s        r   Run
Update.Run-   sd    ''(9(9:Ft$G  &H==YY$$	   r    N)__name__
__module____qualname____firstlineno____doc___DETAILED_HELPdetailed_helpr   staticmethodr   r#   __static_attributes__r%   r   r   r	   r	      s(     1 -,% %

r   r	   c                       \ rS rSrSrSrSrg)
UpdateBeta:   r   v1betar%   Nr&   r'   r(   r)   r*   r   r.   r%   r   r   r0   r0   :   s     1,r   r0   c                       \ rS rSrSrSrSrg)UpdateAlphaB   r   v1alphar%   Nr3   r%   r   r   r5   r5   B   s     1,r   r5   N)r*   /googlecloudsdk.api_lib.container.fleet.packagesr   r   googlecloudsdk.callioper   3googlecloudsdk.command_lib.container.fleet.packagesr   r+   DefaultUniverseOnlyReleaseTracksReleaseTrackGAUpdateCommandr	   BETAr0   ALPHAr5   r%   r   r   <module>rB      s    ) T ( E # D%%(()T  * 2 D%%**+  ,  D%%++,&  - r   