
    R                     J    S r  " S S\5      r " S S\5      r " S S\5      rg)z7Base template using which the apis_map.py is generated.c                   F    \ rS rSrSr      S
S jrS rS rS rS r	S	r
g)APIDef   aY  Struct for info required to instantiate clients/messages for API versions.

Attributes:
  apitools: ApitoolsClientDef for this API version.
  gapic: GapicClientDef for this API version.
  default_version: bool, Whether this API version is the default version for
    the API.
  enable_mtls: bool, Whether this API version supports mTLS.
  mtls_endpoint_override: str, The mTLS endpoint for this API version. If
    empty, the MTLS_BASE_URL in the API client will be used.
  regional_endpoints: dict[str, str], The regional endpoints for this API
    version. Dictionary maps location to endpoint URL.
Nc                 `    Xl         X l        X0l        X@l        XPl        U=(       d    0 U l        g N)apitoolsgapicdefault_versionenable_mtlsmtls_endpoint_overrideregional_endpoints)selfr   r   r	   r
   r   r   s          +lib/googlecloudsdk/api_lib/regen/api_def.py__init__APIDef.__init__"   s-     MJ*""806BD    c                 l    [        XR                  5      =(       a    U R                  UR                  :H  $ r   
isinstance	__class____dict__r   others     r   __eq__APIDef.__eq__0   (    unn- ,MMU^^+-r   c                 .    U R                  U5      (       + $ r   r   r   s     r   __ne__APIDef.__ne__4       {{5!!!r   c                     SnUR                  U R                  U R                  U R                  U R                  U R
                  5      $ )Nz!APIDef({0}, {1}, {2}, {3}, "{4}"))formatr   r   r	   r
   r   r   src_fmts     r   get_init_sourceAPIDef.get_init_source7   s@    1G>>$--..**D,G,GI Ir   c                 "    U R                  5       $ r   r%   r   s    r   __repr__APIDef.__repr__=       !!r   )r   r	   r
   r   r   r   )NNFT N)__name__
__module____qualname____firstlineno____doc__r   r   r   r%   r*   __static_attributes__ r   r   r   r      s5     $&("&7-"I"r   r   c                   V    \ rS rSrSrS r\S 5       r\S 5       rS r	S r
S rS	 rS
rg)ApitoolsClientDefA   a<  Struct for info required to instantiate clients/messages for API versions.

Attributes:
  class_path: str, Path to the package containing api related modules.
  client_classpath: str, Relative path to the client class for an API version.
  client_full_classpath: str, Full path to the client class for an API
    version.
  messages_modulepath: str, Relative path to the messages module for an API
    version.
  messages_full_modulepath: str, Full path to the messages module for an API
    version.
  base_url: str, The base_url used for the default version of the API.
c                 4    Xl         X l        X0l        X@l        g r   )
class_pathclient_classpathmessages_modulepathbase_url)r   r9   r:   r;   r<   s        r   r   ApitoolsClientDef.__init__P   s    
 !O,2Mr   c                 :    U R                   S-   U R                  -   $ N.)r9   r:   r)   s    r   client_full_classpath'ApitoolsClientDef.client_full_classpathZ   s    ??S 4#8#888r   c                 :    U R                   S-   U R                  -   $ r?   )r9   r;   r)   s    r   messages_full_modulepath*ApitoolsClientDef.messages_full_modulepath^   s    ??S 4#;#;;;r   c                 l    [        XR                  5      =(       a    U R                  UR                  :H  $ r   r   r   s     r   r   ApitoolsClientDef.__eq__b   r   r   c                 .    U R                  U5      (       + $ r   r   r   s     r   r   ApitoolsClientDef.__ne__f   r    r   c                 ~    SnUR                  U R                  U R                  U R                  U R                  5      $ )Nz-ApitoolsClientDef("{0}", "{1}", "{2}", "{3}"))r"   r9   r:   r;   r<   r#   s     r   r%   !ApitoolsClientDef.get_init_sourcei   s7    =G>>$//4+@+@22DMMC Cr   c                 "    U R                  5       $ r   r(   r)   s    r   r*   ApitoolsClientDef.__repr__n   r,   r   )r<   r9   r:   r;   N)r.   r/   r0   r1   r2   r   propertyrA   rD   r   r   r%   r*   r3   r4   r   r   r6   r6   A   sI     9 9 < <-"C
"r   r6   c                   f    \ rS rSrSrS r\S 5       r\S 5       r\S 5       r	S r
S rS	 rS
 rSrg)GapicClientDefr   a  Struct for info required to instantiate clients/messages for API versions.

Attributes:
  class_path: str, Path to the package containing api related modules.
  client_full_classpath: str, Full path to the client class for an API
    version.
  async_client_full_classpath: str, Full path to the async client class for an
    API version.
  rest_client_full_classpath: str, Full path to the rest client class for an
    API version.
c                     Xl         g r   r9   )r   r9   s     r   r   GapicClientDef.__init__   s     Or   c                      U R                   S-   $ )Nz.client.GapicWrapperClientrS   r)   s    r   rA   $GapicClientDef.client_full_classpath   s    ??999r   c                      U R                   S-   $ )Nz .async_client.GapicWrapperClientrS   r)   s    r   async_client_full_classpath*GapicClientDef.async_client_full_classpath   s    ?????r   c                      U R                   S-   $ )Nz.rest_client.GapicWrapperClientrS   r)   s    r   rest_client_full_classpath)GapicClientDef.rest_client_full_classpath   s    ??>>>r   c                 l    [        XR                  5      =(       a    U R                  UR                  :H  $ r   r   r   s     r   r   GapicClientDef.__eq__   r   r   c                 .    U R                  U5      (       + $ r   r   r   s     r   r   GapicClientDef.__ne__   r    r   c                 <    SnUR                  U R                  5      $ )NzGapicClientDef("{0}"))r"   r9   r#   s     r   r%   GapicClientDef.get_init_source   s    %G>>$//**r   c                 "    U R                  5       $ r   r(   r)   s    r   r*   GapicClientDef.__repr__   r,   r   rS   N)r.   r/   r0   r1   r2   r   rN   rA   rX   r[   r   r   r%   r*   r3   r4   r   r   rP   rP   r   s^    
! : : @ @ ? ?-"+"r   rP   N)r2   objectr   r6   rP   r4   r   r   <module>rf      s0    >+"V +"\." ."b)"V )"r   