
                         p   S r SSKJr  SSKJr   " S S\R                  5      r " S S\5      r " S S\5      r " S	 S
\5      r	 " S S\5      r
 " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S \5      r " S! S"\5      r " S# S$\5      r " S% S&\5      r " S' S(\5      r " S) S*\5      r " S+ S,\5      r " S- S.\5      r " S/ S0\5      r " S1 S2\5      r " S3 S4\5      r " S5 S6\5      r " S7 S8\5      r  " S9 S:\5      r! " S; S<\5      r" " S= S>\5      r# " S? S@\5      r$ " SA SB\5      r% " SC SD\5      r& " SE SF\5      r' " SG SH\5      r( " SI SJ\5      r) " SK SL\5      r* " SM SN\5      r+ " SO SP\5      r, " SQ SR\5      r- " SS ST\5      r. " SU SV\5      r/ " SW SX\5      r0 " SY SZ\5      r1 " S[ S\\5      r2 " S] S^\5      r3 " S_ S`\5      r4 " Sa Sb\5      r5Sc r6 " Sd Se\5      r7gf)gz>Wrapper for user-visible error exceptions to raise in the CLI.    )
exceptionsc                       \ rS rSrSrSrg)Error   zBase class for Services errors. N__name__
__module____qualname____firstlineno____doc____static_attributes__r       1lib/googlecloudsdk/api_lib/services/exceptions.pyr   r          'r   r   c                       \ rS rSrSrSrg)EnableServiceException   z%Exception for enable service command.r   Nr   r   r   r   r   r      s    -r   r   c                       \ rS rSrSrSrg)ListServicesException   zList services command.r   Nr   r   r   r   r   r          r   r   c                       \ rS rSrSrSrg)ListMcpServicesException    zList MCP services command.r   Nr   r   r   r   r   r       s    "r   r   c                       \ rS rSrSrSrg)#GetServicePermissionDeniedException$   z4Permission denied exception for get service command.r   Nr   r   r   r   r   r   $   s    <r   r   c                       \ rS rSrSrSrg),CreateQuotaOverridePermissionDeniedException(   z>Permission denied exception for create quota override command.r   Nr   r   r   r   r    r    (       Fr   r    c                       \ rS rSrSrSrg),UpdateQuotaOverridePermissionDeniedException,   z>Permission denied exception for update quota override command.r   Nr   r   r   r   r$   r$   ,   r"   r   r$   c                       \ rS rSrSrSrg),DeleteQuotaOverridePermissionDeniedException0   z>Permission denied exception for delete quota override command.r   Nr   r   r   r   r'   r'   0   r"   r   r'   c                       \ rS rSrSrSrg)*CreateConnectionsPermissionDeniedException4   :Permission denied exception for create connection command.r   Nr   r   r   r   r*   r*   4       Br   r*   c                       \ rS rSrSrSrg)*DeleteConnectionsPermissionDeniedException8   r,   r   Nr   r   r   r   r/   r/   8   r-   r   r/   c                       \ rS rSrSrSrg)*UpdateConnectionsPermissionDeniedException<   9Permission denied exception for list connections command.r   Nr   r   r   r   r2   r2   <       Ar   r2   c                       \ rS rSrSrSrg)(ListConnectionsPermissionDeniedException@   r4   r   Nr   r   r   r   r7   r7   @   r5   r   r7   c                       \ rS rSrSrSrg)1EnableVpcServiceControlsPermissionDeniedExceptionD   zDPermission denied exception for enable vpc service controls command.r   Nr   r   r   r   r:   r:   D   s    Lr   r:   c                       \ rS rSrSrSrg).GetVpcServiceControlsPermissionDeniedExceptionH   zAPermission denied exception for get vpc service controls command.r   Nr   r   r   r   r=   r=   H       Ir   r=   c                       \ rS rSrSrSrg)2DisableVpcServiceControlsPermissionDeniedExceptionL   zEPermission denied exception for disable vpc service controls command.r   Nr   r   r   r   rA   rA   L   s    Mr   rA   c                       \ rS rSrSrSrg).CreatePeeredDnsDomainPermissionDeniedExceptionP   zAPermission denied exception for create peered dns domain command.r   Nr   r   r   r   rD   rD   P   r?   r   rD   c                       \ rS rSrSrSrg).DeletePeeredDnsDomainPermissionDeniedExceptionT   zAPermission denied exception for delete peered dns domain command.r   Nr   r   r   r   rG   rG   T   r?   r   rG   c                       \ rS rSrSrSrg)-ListPeeredDnsDomainsPermissionDeniedExceptionX   z@Permission denied exception for list peered dns domains command.r   Nr   r   r   r   rJ   rJ   X   s    Hr   rJ   c                       \ rS rSrSrSrg)0GenerateServiceIdentityPermissionDeniedException\   zCPermission denied exception for generate service identitiy command.r   Nr   r   r   r   rM   rM   \   s    Kr   rM   c                       \ rS rSrSrSrg)GetConsumerPolicyException`   z"Exception for get consumer policy.r   Nr   r   r   r   rP   rP   `   s    *r   rP   c                       \ rS rSrSrSrg)UpdateConsumerPolicyExceptiond   zUpdate consumer policy.r   Nr   r   r   r   rS   rS   d   s    r   rS   c                       \ rS rSrSrSrg)4GetReverseDependencyClosurePermissionDeniedExceptionh   z?Permission denied exception for get reverse dependency closure.r   Nr   r   r   r   rV   rV   h       Gr   rV   c                       \ rS rSrSrSrg)-ListFlattenedMembersPermissionDeniedExceptionl   z7Permission denied exception for list flattened members.r   Nr   r   r   r   rZ   rZ   l   s    ?r   rZ   c                       \ rS rSrSrSrg)ListGroupMembersExceptionp   z!Exception for list group members.r   Nr   r   r   r   r]   r]   p       )r   r]   c                       \ rS rSrSrSrg)'FetchValueInfoPermissionDeniedExceptiont   z?Permission denied exception for fetch value info group members.r   Nr   r   r   r   ra   ra   t   rX   r   ra   c                       \ rS rSrSrSrg)GetEffectivePolicyExceptionx   z#Exception for get effective policy.r   Nr   r   r   r   rd   rd   x   s    +r   rd   c                       \ rS rSrSrSrg)-FetchPublicValueInfoPermissionDeniedException|   zFPermission denied exception for fetch public value info group members.r   Nr   r   r   r   rg   rg   |   s    Nr   rg   c                       \ rS rSrSrSrg)TestEnabledException   zException for test enabled.r   Nr   r   r   r   rj   rj      s    #r   rj   c                       \ rS rSrSrSrg)ListDescendantServicesException   z'Exception for list descendant services.r   Nr   r   r   r   rm   rm          /r   rm   c                       \ rS rSrSrSrg)ListExpandedMembersException   z$Exception for list expanded members.r   Nr   r   r   r   rq   rq      s    ,r   rq   c                       \ rS rSrSrSrg)+ListAncestorGroupsPermissionDeniedException   z5Permission denied exception for list ancestor groups.r   Nr   r   r   r   rt   rt      s    =r   rt   c                       \ rS rSrSrSrg)BatchGetServiceException   zBatch get service.r   Nr   r   r   r   rw   rw      s    r   rw   c                       \ rS rSrSrSrg)GetServiceException   zGet service.r   Nr   r   r   r   rz   rz      s    r   rz   c                       \ rS rSrSrSrg)ListCategoryServicesException   zList category service.r   Nr   r   r   r   r}   r}      r   r   r}   c                       \ rS rSrSrSrg)ListPublicServicesException   zList public service.r   Nr   r   r   r   r   r          r   r   c                       \ rS rSrSrSrg)ListSharedServicesException   zList shared service.r   Nr   r   r   r   r   r      r   r   r   c                       \ rS rSrSrSrg)AnalyzeConsumerPolicyException   zAnalyze consumer policy.r   Nr   r   r   r   r   r      s     r   r   c                       \ rS rSrSrSrg)TestMcpEnabledException   zException for test MCP enabled.r   Nr   r   r   r   r   r      r   r   r   c                       \ rS rSrSrSrg)GetMcpPolicyException   zException for get MCP policy.r   Nr   r   r   r   r   r      s    %r   r   c                       \ rS rSrSrSrg)!GetContentSecurityPolicyException   z*Exception for get content security policy.r   Nr   r   r   r   r   r      s    2r   r   c                       \ rS rSrSrSrg)$UpdateContentSecurityPolicyException   z-Exception for update content security policy.r   Nr   r   r   r   r   r      s    5r   r   c                       \ rS rSrSrSrg)#AddContentSecurityProviderException   z,Exception for add content security provider.r   Nr   r   r   r   r   r      s    4r   r   c                       \ rS rSrSrSrg)&RemoveContentSecurityProviderException   z/Exception for remove content security provider.r   Nr   r   r   r   r   r      s    7r   r   c                       \ rS rSrSrSrg)GetEffectiveMcpPolicyException   z'Exception for get effective MCP policy.r   Nr   r   r   r   r   r      ro   r   r   c                       \ rS rSrSrSrg)UpdateMcpPolicyException   z Exception for update MCP policy.r   Nr   r   r   r   r   r      s    (r   r   c                       \ rS rSrSrSrg)EnableMcpServiceException   z!Exception for enable MCP service.r   Nr   r   r   r   r   r      r_   r   r   c                       \ rS rSrSrSrg)OperationErrorException   zOperation error.r   Nr   r   r   r   r   r      s    r   r   c                       \ rS rSrSrSrg)TimeoutError   zTimeout error.r   Nr   r   r   r   r   r      s    r   r   c                 d    [         R                  " U" [        R                  " U 5      5      5        g)z$Transform and re-raise error helper.N)core_exceptionsreraiseapi_lib_exceptionsHttpException)errklasss     r   ReraiseErrorr      s!    % 2 @ @ EFGr   c                   0   ^  \ rS rSrSrSU 4S jjrSrU =r$ )ConfigError   z*Raised when unable to parse a config file.c                 F   > U=(       d    Sn[         [        U ]
  " U40 UD6  g )NzConfig Error.)superr   __init__)selfmessagekwargs	__class__s      r   r   ConfigError.__init__   s!    (G	+t%g88r   r   )N)r	   r
   r   r   r   r   r   __classcell__)r   s   @r   r   r      s    29 9r   r   N)8r   googlecloudsdk.api_lib.utilr   r   googlecloudsdk.corer   r   r   r   r   r   r    r$   r'   r*   r/   r2   r7   r:   r=   rA   rD   rG   rJ   rM   rP   rS   rV   rZ   r]   ra   rd   rg   rj   rm   rq   rt   rw   rz   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   <module>r      s   E H =(O!! (.U .E #u #=% =G5 GG5 GG5 GC CC CB BBu BM MJU JN NJU JJU JIE ILu L+ + E  H5 H@E @* *He H,% ,OE O$5 $0e 0-5 ->% >u % E % % !U !(e (&E &3 365 65% 58U 80U 0)u )* *e 5 H
9% 9r   