
    Yj                       d dl mZ d dlmZ d dlZddlmZ ddlmZm	Z	m
Z
mZmZmZ ddlmZmZmZmZmZmZ dd	lmZmZmZmZmZmZmZ dd
lmZmZm Z  ddl!m"Z" ddl#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z) ddl*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0 ddl1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7 ddl8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z> ddl?m@Z@mAZAmBZBmCZCmDZDmEZE ddlFmGZGmHZH ddlImJZJmKZK ddlLmMZMmNZNmOZOmPZPmQZQmRZR ddlSmTZTmUZU ddlVmWZWmXZXmYZYmZZZm[Z[m\Z\ ddl]m^Z^m_Z_ ddl`maZambZbmcZcmdZdmeZemfZf ddlgmhZhmiZimjZjmkZkmlZlmmZm ddlnmoZompZpmqZqmrZr ddlsmtZtmuZumvZvmwZwmxZxmyZy ddlzm{Z{ ddl|moZo ddgZ} G d deG      Z~ G d  deH      Z G d! d"      Z G d# d$      Z G d% d&      Z G d' d(      Zy))    )annotations)OptionalN   )_legacy_response   )Roles
AsyncRolesRolesWithRawResponseAsyncRolesWithRawResponseRolesWithStreamingResponseAsyncRolesWithStreamingResponse)APIKeysAsyncAPIKeysAPIKeysWithRawResponseAsyncAPIKeysWithRawResponseAPIKeysWithStreamingResponse!AsyncAPIKeysWithStreamingResponse)BodyOmitQueryHeadersNotGivenomit	not_given)path_templatemaybe_transformasync_maybe_transform)cached_property)
RateLimitsAsyncRateLimitsRateLimitsWithRawResponseAsyncRateLimitsWithRawResponseRateLimitsWithStreamingResponse$AsyncRateLimitsWithStreamingResponse)
SpendLimitAsyncSpendLimitSpendLimitWithRawResponseAsyncSpendLimitWithRawResponseSpendLimitWithStreamingResponse$AsyncSpendLimitWithStreamingResponse)Users
AsyncUsersUsersWithRawResponseAsyncUsersWithRawResponseUsersWithStreamingResponseAsyncUsersWithStreamingResponse)CertificatesAsyncCertificatesCertificatesWithRawResponse AsyncCertificatesWithRawResponse!CertificatesWithStreamingResponse&AsyncCertificatesWithStreamingResponse)SpendAlertsAsyncSpendAlertsSpendAlertsWithRawResponseAsyncSpendAlertsWithRawResponse SpendAlertsWithStreamingResponse%AsyncSpendAlertsWithStreamingResponse)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)GroupsAsyncGroupsGroupsWithRawResponseAsyncGroupsWithRawResponseGroupsWithStreamingResponse AsyncGroupsWithStreamingResponse)SyncConversationCursorPageAsyncConversationCursorPage)DataRetentionAsyncDataRetentionDataRetentionWithRawResponse!AsyncDataRetentionWithRawResponse"DataRetentionWithStreamingResponse'AsyncDataRetentionWithStreamingResponse)AsyncPaginatormake_request_options)ModelPermissionsAsyncModelPermissionsModelPermissionsWithRawResponse$AsyncModelPermissionsWithRawResponse%ModelPermissionsWithStreamingResponse*AsyncModelPermissionsWithStreamingResponse)HostedToolPermissionsAsyncHostedToolPermissions$HostedToolPermissionsWithRawResponse)AsyncHostedToolPermissionsWithRawResponse*HostedToolPermissionsWithStreamingResponse/AsyncHostedToolPermissionsWithStreamingResponse)ProjectResidencyproject_list_paramsproject_create_paramsproject_update_params)ServiceAccountsAsyncServiceAccountsServiceAccountsWithRawResponse#AsyncServiceAccountsWithRawResponse$ServiceAccountsWithStreamingResponse)AsyncServiceAccountsWithStreamingResponse)Project)r]   ProjectsAsyncProjectsc                     e Zd Zedd       Zedd       Zedd       Zedd       Zedd       Zedd       Z	edd       Z
ed d       Zed!d	       Zed"d
       Zed#d       Zed$d       Zed%d       Zed&d       Zeeeddded	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d'dZddded	 	 	 	 	 	 	 	 	 	 	 d(dZeeeddded	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d)dZeeeddded	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d*dZddded	 	 	 	 	 	 	 	 	 	 	 d(dZy)+rh   c                ,    t        | j                        S N)r+   _clientselfs    t/var/www/html/vmm-quimica/venv/lib/python3.12/site-packages/openai/resources/admin/organization/projects/projects.pyuserszProjects.users~       T\\""    c                ,    t        | j                        S rl   )ra   rm   rn   s    rp   service_accountszProjects.service_accounts       t||,,rs   c                ,    t        | j                        S rl   )r   rm   rn   s    rp   api_keyszProjects.api_keys   s    t||$$rs   c                ,    t        | j                        S rl   )r   rm   rn   s    rp   rate_limitszProjects.rate_limits       $,,''rs   c                ,    t        | j                        S rl   )rQ   rm   rn   s    rp   model_permissionszProjects.model_permissions       --rs   c                ,    t        | j                        S rl   )rW   rm   rn   s    rp   hosted_tool_permissionsz Projects.hosted_tool_permissions       $T\\22rs   c                ,    t        | j                        S rl   )rA   rm   rn   s    rp   groupszProjects.groups   s    dll##rs   c                ,    t        | j                        S rl   )r   rm   rn   s    rp   roleszProjects.roles   rr   rs   c                ,    t        | j                        S rl   )rI   rm   rn   s    rp   data_retentionzProjects.data_retention   s    T\\**rs   c                ,    t        | j                        S rl   )r%   rm   rn   s    rp   spend_limitzProjects.spend_limit   r{   rs   c                ,    t        | j                        S rl   )r7   rm   rn   s    rp   spend_alertszProjects.spend_alerts       4<<((rs   c                ,    t        | j                        S rl   )r1   rm   rn   s    rp   certificateszProjects.certificates       DLL))rs   c                    t        |       S a  
        This property can be used as a prefix for any HTTP method call to return
        the raw response object instead of the parsed content.

        For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
        )ProjectsWithRawResponsern   s    rp   with_raw_responsezProjects.with_raw_response   s     't,,rs   c                    t        |       S z
        An alternative to `.with_raw_response` that doesn't eagerly read the response body.

        For more information, see https://www.github.com/openai/openai-python#with_streaming_response
        )ProjectsWithStreamingResponsern   s    rp   with_streaming_responsez Projects.with_streaming_response   s     -T22rs   Nexternal_key_id	geography	residencyextra_headersextra_query
extra_bodytimeoutc                   | j                  dt        ||||dt        j                        t	        ||||ddi      t
              S )  Create a new project in the organization.

        Projects can be created and archived,
        but cannot be deleted.

        Args:
          name: The friendly name of the project, this name appears in reports.

          external_key_id: External key ID to associate with the project.

          geography: Create the project with the specified data residency region. Your organization
              must have access to Data residency functionality in order to use. See
              [data residency controls](https://platform.openai.com/docs/guides/your-data#data-residency-controls)
              to review the functionality and limitations of setting this field. Deprecated:
              use `residency` instead. Do not provide both `geography` and `residency`.

          residency: Create the project with the specified residency configuration. Your organization
              must have access to the requested residency configuration in order to use it.
              See
              [data residency controls](https://platform.openai.com/docs/guides/your-data#data-residency-controls)
              to review the functionality and limitations of setting this field.

          extra_headers: Send extra headers

          extra_query: Add additional query parameters to the request

          extra_body: Add additional JSON properties to the request

          timeout: Override the client-level default timeout for this request, in seconds
        /organization/projectsnamer   r   r   admin_api_key_authTr   r   r   r   securitybodyoptionscast_to)_postr   r_   ProjectCreateParamsrP   rg   	ro   r   r   r   r   r   r   r   r   s	            rp   createzProjects.create   se    X zz$  '6!*!*	 &99 )+'%.5 %  
 	
rs   r   r   r   r   c                   |st        d|      | j                  t        d|      t        ||||ddi      t              S )H  
        Retrieves a project.

        Args:
          extra_headers: Send extra headers

          extra_query: Add additional query parameters to the request

          extra_body: Add additional JSON properties to the request

          timeout: Override the client-level default timeout for this request, in seconds
        9Expected a non-empty value for `project_id` but received #/organization/projects/{project_id}
project_idr   Tr   r   r   
ValueError_getr   rP   rg   ro   r   r   r   r   r   s         rp   retrievezProjects.retrieve  s^    . XYcXfghhyy?JW(+'%.5   

 
	
rs   r   r   r   r   r   r   r   c                   |st        d|      | j                  t        d|      t        |||dt        j
                        t        ||||ddi      t              S )	  
        Modifies a project in the organization.

        Args:
          external_key_id: External key ID to associate with the project.

          geography: Geography for the project. Deprecated: use `residency` when creating a project
              to configure data residency. This field is retained for backward compatibility.

          name: The updated name of the project, this name appears in reports.

          extra_headers: Send extra headers

          extra_query: Add additional query parameters to the request

          extra_body: Add additional JSON properties to the request

          timeout: Override the client-level default timeout for this request, in seconds
        r   r   r   r   r   r   r   Tr   r   )r   r   r   r   r`   ProjectUpdateParamsrP   rg   	ro   r   r   r   r   r   r   r   r   s	            rp   updatezProjects.update'  s    B XYcXfghhzz?JW '6!* 
 &99 )+'%.5 #  
 	
rs   afterinclude_archivedlimitr   r   r   r   c                   | j                  dt        t           t        ||||t	        |||dt
        j                        ddi      t              S a  Returns a list of projects.

        Args:
          after: A cursor for use in pagination.

        `after` is an object ID that defines your place
              in the list. For instance, if you make a list request and receive 100 objects,
              ending with obj_foo, your subsequent call can include after=obj_foo in order to
              fetch the next page of the list.

          include_archived: If `true` returns all projects including those that have been `archived`.
              Archived projects are not included by default.

          limit: A limit on the number of objects to be returned. Limit can range between 1 and
              100, and the default is 20.

          extra_headers: Send extra headers

          extra_query: Add additional query parameters to the request

          extra_body: Add additional JSON properties to the request

          timeout: Override the client-level default timeout for this request, in seconds
        r   )r   r   r   r   T)r   r   r   r   queryr   )pager   model)_get_api_listrG   rg   rP   r   r^   ProjectListParamsro   r   r   r   r   r   r   r   s           rp   listzProjects.list^  sl    J !!$+G4(+'%%!&,<!&
 (99 /5 % " 
 	
rs   c                   |st        d|      | j                  t        d|      t        ||||ddi      t              S )  Archives a project in the organization.

        Archived projects cannot be used or
        updated.

        Args:
          extra_headers: Send extra headers

          extra_query: Add additional query parameters to the request

          extra_body: Add additional JSON properties to the request

          timeout: Override the client-level default timeout for this request, in seconds
        r   +/organization/projects/{project_id}/archiver   r   Tr   r   r   r   r   rP   rg   r   s         rp   archivezProjects.archive  s_    2 XYcXfghhzzGT^_(+'%.5   

 
	
rs   )returnr+   )r   ra   )r   r   )r   r   )r   rQ   )r   rW   )r   rA   )r   r   )r   rI   )r   r%   )r   r7   )r   r1   )r   r   )r   r   r   strr   Optional[str] | Omitr   r   r   z!Optional[ProjectResidency] | Omitr   Headers | Noner   Query | Noner   Body | Noner   (float | httpx2.Timeout | None | NotGivenr   rg   r   r   r   r   r   r   r   r   r   r   r   rg   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rg   )r   
str | Omitr   bool | Omitr   
int | Omitr   r   r   r   r   r   r   r   r   z#SyncConversationCursorPage[Project]__name__
__module____qualname__r   rq   ru   rx   rz   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    rs   rp   rh   rh   }   s   # # - - % % ( ( . . 3 3 $ $ # # + + ( ( ) ) * * - - 3 3 15*.7; )-$("&<E?
 ?
 .	?

 (?
 5?
 &?
 "?
  ?
 :?
 
?
N )-$("&<E#
#
 &#
 "#
  #
 :#
 
#
R 15*.%) )-$("&<E5
5
 .	5

 (5
 #5
 &5
 "5
  5
 :5
 
5
t !(,  )-$("&<E8
 8
 &	8

 8
 &8
 "8
  8
 :8
 
-8
@ )-$("&<E%
%
 &%
 "%
  %
 :%
 
%
rs   c                     e Zd Zedd       Zedd       Zedd       Zedd       Zedd       Zedd       Z	edd       Z
ed d       Zed!d	       Zed"d
       Zed#d       Zed$d       Zed%d       Zed&d       Zeeeddded	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d'dZddded	 	 	 	 	 	 	 	 	 	 	 d(dZeeeddded	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d)dZeeeddded	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d*dZddded	 	 	 	 	 	 	 	 	 	 	 d(dZy)+ri   c                ,    t        | j                        S rl   )r,   rm   rn   s    rp   rq   zAsyncProjects.users  r{   rs   c                ,    t        | j                        S rl   )rb   rm   rn   s    rp   ru   zAsyncProjects.service_accounts  s    #DLL11rs   c                ,    t        | j                        S rl   )r   rm   rn   s    rp   rx   zAsyncProjects.api_keys  r   rs   c                ,    t        | j                        S rl   )r    rm   rn   s    rp   rz   zAsyncProjects.rate_limits  rv   rs   c                ,    t        | j                        S rl   )rR   rm   rn   s    rp   r}   zAsyncProjects.model_permissions  r   rs   c                ,    t        | j                        S rl   )rX   rm   rn   s    rp   r   z%AsyncProjects.hosted_tool_permissions  s    )$,,77rs   c                ,    t        | j                        S rl   )rB   rm   rn   s    rp   r   zAsyncProjects.groups  r   rs   c                ,    t        | j                        S rl   )r	   rm   rn   s    rp   r   zAsyncProjects.roles  r{   rs   c                ,    t        | j                        S rl   )rJ   rm   rn   s    rp   r   zAsyncProjects.data_retention  s    !$,,//rs   c                ,    t        | j                        S rl   )r&   rm   rn   s    rp   r   zAsyncProjects.spend_limit  rv   rs   c                ,    t        | j                        S rl   )r8   rm   rn   s    rp   r   zAsyncProjects.spend_alerts  r~   rs   c                ,    t        | j                        S rl   )r2   rm   rn   s    rp   r   zAsyncProjects.certificates  s     ..rs   c                    t        |       S r   )AsyncProjectsWithRawResponsern   s    rp   r   zAsyncProjects.with_raw_response  s     ,D11rs   c                    t        |       S r   )"AsyncProjectsWithStreamingResponsern   s    rp   r   z%AsyncProjects.with_streaming_response  s     2$77rs   Nr   c                  K   | j                  dt        ||||dt        j                         d{   t	        ||||ddi      t
               d{   S 7 '7 w)r   r   r   Nr   Tr   r   )r   r   r_   r   rP   rg   r   s	            rp   r   zAsyncProjects.create  s~     X ZZ$, '6!*!*	 &99  )+'%.5 %   
 
 	

s!   /AA
"AAAAr   c                  K   |st        d|      | j                  t        d|      t        ||||ddi      t               d{   S 7 w)	r   r   r   r   r   Tr   r   Nr   r   s         rp   r   zAsyncProjects.retrieveE  sl     . XYcXfghhYY?JW(+'%.5   

 

 
	
 

   AA	A
Ar   c                  K   |st        d|      | j                  t        d|      t        |||dt        j
                         d{   t        ||||ddi      t        	       d{   S 7 '7 w)
r   r   r   r   r   Nr   Tr   r   )r   r   r   r   r`   r   rP   rg   r   s	            rp   r   zAsyncProjects.updatej  s     B XYcXfghhZZ?JW,'6!* 
 &99  )+'%.5 #   
 
 	

s$   A	A7A3
"A7.A5/A75A7r   c                   | j                  dt        t           t        ||||t	        |||dt
        j                        ddi      t              S r   )r   rH   rg   rP   r   r^   r   r   s           rp   r   zAsyncProjects.list  sl    J !!$,W5(+'%%!&,<!&
 (99 /5 % " 
 	
rs   c                  K   |st        d|      | j                  t        d|      t        ||||ddi      t               d{   S 7 w)	r   r   r   r   r   Tr   r   Nr   r   s         rp   r   zAsyncProjects.archive  sm     2 XYcXfghhZZGT^_(+'%.5    

 

 
	
 

r   )r   r,   )r   rb   )r   r   )r   r    )r   rR   )r   rX   )r   rB   )r   r	   )r   rJ   )r   r&   )r   r8   )r   r2   )r   r   )r   r   r   r   r   )r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   z=AsyncPaginator[Project, AsyncConversationCursorPage[Project]]r   r   rs   rp   ri   ri     s   ( ( 2 2 * * - - 3 3 8 8 ) ) ( ( 0 0 - - . . / / 2 2 8 8 15*.7; )-$("&<E?
 ?
 .	?

 (?
 5?
 &?
 "?
  ?
 :?
 
?
N )-$("&<E#
#
 &#
 "#
  #
 :#
 
#
R 15*.%) )-$("&<E5
5
 .	5

 (5
 #5
 &5
 "5
  5
 :5
 
5
t !(,  )-$("&<E8
 8
 &	8

 8
 &8
 "8
  8
 :8
 
G8
@ )-$("&<E%
%
 &%
 "%
  %
 :%
 
%
rs   c                      e Zd ZddZedd       Zedd       Zedd       Zedd       Zedd       Z	edd       Z
edd       Zedd	       Zedd
       Zedd       Zedd       Zedd       Zy)r   c                z   || _         t        j                  |j                        | _        t        j                  |j                        | _        t        j                  |j
                        | _        t        j                  |j                        | _        t        j                  |j                        | _        y rl   )	_projectsr   to_raw_response_wrapperr   r   r   r   r   ro   projectss     rp   __init__z ProjectsWithRawResponse.__init__  s    !&>>OO
 )@@
 '>>OO
 %<<MM
	 (??
rs   c                @    t        | j                  j                        S rl   )r-   r  rq   rn   s    rp   rq   zProjectsWithRawResponse.users      #DNN$8$899rs   c                @    t        | j                  j                        S rl   )rc   r  ru   rn   s    rp   ru   z(ProjectsWithRawResponse.service_accounts  s    -dnn.M.MNNrs   c                @    t        | j                  j                        S rl   )r   r  rx   rn   s    rp   rx   z ProjectsWithRawResponse.api_keys  s    %dnn&=&=>>rs   c                @    t        | j                  j                        S rl   )r!   r  rz   rn   s    rp   rz   z#ProjectsWithRawResponse.rate_limits#      ()C)CDDrs   c                @    t        | j                  j                        S rl   )rS   r  r}   rn   s    rp   r}   z)ProjectsWithRawResponse.model_permissions'  s    .t~~/O/OPPrs   c                @    t        | j                  j                        S rl   )rY   r  r   rn   s    rp   r   z/ProjectsWithRawResponse.hosted_tool_permissions+  s    3DNN4Z4Z[[rs   c                @    t        | j                  j                        S rl   )rC   r  r   rn   s    rp   r   zProjectsWithRawResponse.groups/  s    $T^^%:%:;;rs   c                @    t        | j                  j                        S rl   )r
   r  r   rn   s    rp   r   zProjectsWithRawResponse.roles3  r  rs   c                @    t        | j                  j                        S rl   )rK   r  r   rn   s    rp   r   z&ProjectsWithRawResponse.data_retention7  s    +DNN,I,IJJrs   c                @    t        | j                  j                        S rl   )r'   r  r   rn   s    rp   r   z#ProjectsWithRawResponse.spend_limit;  r  rs   c                @    t        | j                  j                        S rl   )r9   r  r   rn   s    rp   r   z$ProjectsWithRawResponse.spend_alerts?  s    )$..*E*EFFrs   c                @    t        | j                  j                        S rl   )r3   r  r   rn   s    rp   r   z$ProjectsWithRawResponse.certificatesC  s    *4>>+F+FGGrs   Nr  rh   r   None)r   r-   )r   rc   )r   r   )r   r!   )r   rS   )r   rY   )r   rC   )r   r
   )r   rK   )r   r'   )r   r9   )r   r3   r   r   r   r  r   rq   ru   rx   rz   r}   r   r   r   r   r   r   r   r   rs   rp   r   r     s   
& : : O O ? ? E E Q Q \ \ < < : : K K E E G G H Hrs   r   c                      e Zd ZddZedd       Zedd       Zedd       Zedd       Zedd       Z	edd       Z
edd       Zedd	       Zedd
       Zedd       Zedd       Zedd       Zy)r   c                z   || _         t        j                  |j                        | _        t        j                  |j                        | _        t        j                  |j
                        | _        t        j                  |j                        | _        t        j                  |j                        | _        y rl   )r  r   async_to_raw_response_wrapperr   r   r   r   r   r  s     rp   r  z%AsyncProjectsWithRawResponse.__init__I  s    !&DDOO
 )FF
 'DDOO
 %BBMM
	 (EE
rs   c                @    t        | j                  j                        S rl   )r.   r  rq   rn   s    rp   rq   z"AsyncProjectsWithRawResponse.users\      ()=)=>>rs   c                @    t        | j                  j                        S rl   )rd   r  ru   rn   s    rp   ru   z-AsyncProjectsWithRawResponse.service_accounts`  s    24>>3R3RSSrs   c                @    t        | j                  j                        S rl   )r   r  rx   rn   s    rp   rx   z%AsyncProjectsWithRawResponse.api_keysd  s    *4>>+B+BCCrs   c                @    t        | j                  j                        S rl   )r"   r  rz   rn   s    rp   rz   z(AsyncProjectsWithRawResponse.rate_limitsh      -dnn.H.HIIrs   c                @    t        | j                  j                        S rl   )rT   r  r}   rn   s    rp   r}   z.AsyncProjectsWithRawResponse.model_permissionsl  s    3DNN4T4TUUrs   c                @    t        | j                  j                        S rl   )rZ   r  r   rn   s    rp   r   z4AsyncProjectsWithRawResponse.hosted_tool_permissionsp  s    89_9_``rs   c                @    t        | j                  j                        S rl   )rD   r  r   rn   s    rp   r   z#AsyncProjectsWithRawResponse.groupst  s    )$..*?*?@@rs   c                @    t        | j                  j                        S rl   )r   r  r   rn   s    rp   r   z"AsyncProjectsWithRawResponse.rolesx  r  rs   c                @    t        | j                  j                        S rl   )rL   r  r   rn   s    rp   r   z+AsyncProjectsWithRawResponse.data_retention|  s    01N1NOOrs   c                @    t        | j                  j                        S rl   )r(   r  r   rn   s    rp   r   z(AsyncProjectsWithRawResponse.spend_limit  r  rs   c                @    t        | j                  j                        S rl   )r:   r  r   rn   s    rp   r   z)AsyncProjectsWithRawResponse.spend_alerts  s    .t~~/J/JKKrs   c                @    t        | j                  j                        S rl   )r4   r  r   rn   s    rp   r   z)AsyncProjectsWithRawResponse.certificates      /0K0KLLrs   Nr  ri   r   r  )r   r.   )r   rd   )r   r   )r   r"   )r   rT   )r   rZ   )r   rD   )r   r   )r   rL   )r   r(   )r   r:   )r   r4   r  r   rs   rp   r   r   H  s   
& ? ? T T D D J J V V a a A A ? ? P P J J L L M Mrs   r   c                      e Zd ZddZedd       Zedd       Zedd       Zedd       Zedd       Z	edd       Z
edd       Zedd	       Zedd
       Zedd       Zedd       Zedd       Zy)r   c                   || _         t        |j                        | _        t        |j                        | _        t        |j                        | _        t        |j
                        | _        t        |j                        | _        y rl   )r  r?   r   r   r   r   r   r  s     rp   r  z&ProjectsWithStreamingResponse.__init__  st    !2OO
 5
 3OO
 1MM
	 4
rs   c                @    t        | j                  j                        S rl   )r/   r  rq   rn   s    rp   rq   z#ProjectsWithStreamingResponse.users      )$..*>*>??rs   c                @    t        | j                  j                        S rl   )re   r  ru   rn   s    rp   ru   z.ProjectsWithStreamingResponse.service_accounts  s    3DNN4S4STTrs   c                @    t        | j                  j                        S rl   )r   r  rx   rn   s    rp   rx   z&ProjectsWithStreamingResponse.api_keys  s    +DNN,C,CDDrs   c                @    t        | j                  j                        S rl   )r#   r  rz   rn   s    rp   rz   z)ProjectsWithStreamingResponse.rate_limits      .t~~/I/IJJrs   c                @    t        | j                  j                        S rl   )rU   r  r}   rn   s    rp   r}   z/ProjectsWithStreamingResponse.model_permissions  s    4T^^5U5UVVrs   c                @    t        | j                  j                        S rl   )r[   r  r   rn   s    rp   r   z5ProjectsWithStreamingResponse.hosted_tool_permissions  s    9$..:`:`aars   c                @    t        | j                  j                        S rl   )rE   r  r   rn   s    rp   r   z$ProjectsWithStreamingResponse.groups  s    *4>>+@+@AArs   c                @    t        | j                  j                        S rl   )r   r  r   rn   s    rp   r   z#ProjectsWithStreamingResponse.roles  r-  rs   c                @    t        | j                  j                        S rl   )rM   r  r   rn   s    rp   r   z,ProjectsWithStreamingResponse.data_retention  s    1$..2O2OPPrs   c                @    t        | j                  j                        S rl   )r)   r  r   rn   s    rp   r   z)ProjectsWithStreamingResponse.spend_limit  r1  rs   c                @    t        | j                  j                        S rl   )r;   r  r   rn   s    rp   r   z*ProjectsWithStreamingResponse.spend_alerts  r(  rs   c                @    t        | j                  j                        S rl   )r5   r  r   rn   s    rp   r   z*ProjectsWithStreamingResponse.certificates  s    01L1LMMrs   Nr  )r   r/   )r   re   )r   r   )r   r#   )r   rU   )r   r[   )r   rE   )r   r   )r   rM   )r   r)   )r   r;   )r   r5   r  r   rs   rp   r   r     s   
& @ @ U U E E K K W W b b B B @ @ Q Q K K M M N Nrs   r   c                      e Zd ZddZedd       Zedd       Zedd       Zedd       Zedd       Z	edd       Z
edd       Zedd	       Zedd
       Zedd       Zedd       Zedd       Zy)r   c                   || _         t        |j                        | _        t        |j                        | _        t        |j                        | _        t        |j
                        | _        t        |j                        | _        y rl   )r  r@   r   r   r   r   r   r  s     rp   r  z+AsyncProjectsWithStreamingResponse.__init__  st    !8OO
 ;
 9OO
 7MM
	 :
rs   c                @    t        | j                  j                        S rl   )r0   r  rq   rn   s    rp   rq   z(AsyncProjectsWithStreamingResponse.users      .t~~/C/CDDrs   c                @    t        | j                  j                        S rl   )rf   r  ru   rn   s    rp   ru   z3AsyncProjectsWithStreamingResponse.service_accounts  s    89X9XYYrs   c                @    t        | j                  j                        S rl   )r   r  rx   rn   s    rp   rx   z+AsyncProjectsWithStreamingResponse.api_keys  s    01H1HIIrs   c                @    t        | j                  j                        S rl   )r$   r  rz   rn   s    rp   rz   z.AsyncProjectsWithStreamingResponse.rate_limits      3DNN4N4NOOrs   c                @    t        | j                  j                        S rl   )rV   r  r}   rn   s    rp   r}   z4AsyncProjectsWithStreamingResponse.model_permissions  s    9$..:Z:Z[[rs   c                @    t        | j                  j                        S rl   )r\   r  r   rn   s    rp   r   z:AsyncProjectsWithStreamingResponse.hosted_tool_permissions  s    >t~~?e?effrs   c                @    t        | j                  j                        S rl   )rF   r  r   rn   s    rp   r   z)AsyncProjectsWithStreamingResponse.groups  s    /0E0EFFrs   c                @    t        | j                  j                        S rl   )r   r  r   rn   s    rp   r   z(AsyncProjectsWithStreamingResponse.roles  r=  rs   c                @    t        | j                  j                        S rl   )rN   r  r   rn   s    rp   r   z1AsyncProjectsWithStreamingResponse.data_retention  s    6t~~7T7TUUrs   c                @    t        | j                  j                        S rl   )r*   r  r   rn   s    rp   r   z.AsyncProjectsWithStreamingResponse.spend_limit
  rA  rs   c                @    t        | j                  j                        S rl   )r<   r  r   rn   s    rp   r   z/AsyncProjectsWithStreamingResponse.spend_alerts  s    4T^^5P5PQQrs   c                @    t        | j                  j                        S rl   )r6   r  r   rn   s    rp   r   z/AsyncProjectsWithStreamingResponse.certificates  s    5dnn6Q6QRRrs   Nr)  )r   r0   )r   rf   )r   r   )r   r$   )r   rV   )r   r\   )r   rF   )r   r   )r   rN   )r   r*   )r   r<   )r   r6   r  r   rs   rp   r   r     s   
& E E Z Z J J P P \ \ g g G G E E V V P P R R S Srs   r   )
__future__r   typingr   httpx2 r   r   r   r	   r
   r   r   r   rx   r   r   r   r   r   r   _typesr   r   r   r   r   r   r   _utilsr   r   r   _compatr   rz   r   r    r!   r"   r#   r$   r   r%   r&   r'   r(   r)   r*   users.usersr+   r,   r-   r.   r/   r0   r   r1   r2   r3   r4   r5   r6   r   r7   r8   r9   r:   r;   r<   	_resourcer=   r>   	_responser?   r@   groups.groupsrA   rB   rC   rD   rE   rF   
paginationrG   rH   r   rI   rJ   rK   rL   rM   rN   _base_clientrO   rP   r}   rQ   rR   rS   rT   rU   rV   r   rW   rX   rY   rZ   r[   r\   types.admin.organizationr]   r^   r_   r`   !service_accounts.service_accountsra   rb   rc   rd   re   rf    types.admin.organization.projectrg   *types.admin.organization.project_residency__all__rh   ri   r   r   r   r   r   rs   rp   <module>r\     s*   #   "   N M M M M (      = [  T  C     : L
'@
 @
F
@
$ @
F
BH BHJBM BMJBN BNJBS BSrs   