+
    iFG                     J   ^ RI HtHtHt ^RIHt ^RIHt ^RI	H
t ^RI	Ht R'R R lltR'R	 R
 lltR'R R lltR'R R lltR'R R lltR'R R lltR'R R lltR'R R lltR'R R lltR'R R lltR'R R lltR'R R lltR'R R  lltR'R! R" lltR'R# R$ lltR'R% R& lltR# )(    )AnyOptionalUnion)_transformers)BaseApiClient)get_value_by_path)set_value_by_pathNc                    V ^8  d   QhR\         \        \        \        3,          \        3,          R\
        \        \        \        3,          ,          R\        \        \        3,          /#    from_objectparent_objectreturnr   dictstrr   objectr   )formats   "r/Users/igloo/.openclaw/workspace/scratch/fb_ad_env/lib/python3.14/site-packages/google/genai/_tokens_converters.py__annotate__r      M      tCH~v-.DcN+ 
#s(^    c                 >    / p\        V R .4      e   \        R4      hV# )language_codesz8language_codes parameter is not supported in Gemini API.getv
ValueErrorr   r   	to_objects   && r   "_AudioTranscriptionConfig_to_mldevr       s,     !)	+()*6
O
PP	r   c                    V ^8  d   QhR\         \        \        \        3,          \        3,          R\
        \        \        \        3,          ,          R\        \        \        3,          /# r   r   )r   s   "r   r   r   %   sM      tCH~v-.DcN+ 
#s(^r   c                    / p\        V R .4      e   \        VR.\        V R .4      4       \        V R.4      e   \        R4      h\        V R.4      e   \        R4      h\        V R.4      e   \        R4      h\        V R.4      e   \        R	4      h\        V R
.4      e   \        R4      h\        V R.4      e   \        R4      hV# )api_keyapiKeyapi_key_configz8api_key_config parameter is not supported in Gemini API.	auth_typez3auth_type parameter is not supported in Gemini API.google_service_account_configzGgoogle_service_account_config parameter is not supported in Gemini API.http_basic_auth_configz@http_basic_auth_config parameter is not supported in Gemini API.oauth_configz6oauth_config parameter is not supported in Gemini API.oidc_configz5oidc_config parameter is not supported in Gemini API.r   setvr   r   s   && r   _AuthConfig_to_mldevr-   %   s     !)	+	{#/XJ[9+ >?	+()*6
O
PP	+}%1
J
KK	+789E
	 
 
+012>
J  
+'(4
M
NN	+'3
L
MM	r   c                    V ^8  d   QhR\         \        \        \        3,          \        3,          R\
        \        \        \        3,          ,          R\        \        \        3,          /# r   r   )r   s   "r   r   r   G   M      tCH~v-.DcN+ 
#s(^r   c                     / p\        V R .4      e   \        VR .\        V R .4      4       \        V R.4      e   \        R4      h\        V R.4      e   \        VR.\        V R.4      4       V# )datadisplay_name6display_name parameter is not supported in Gemini API.	mime_typemimeTyper+   r   s   && r   _Blob_to_mldevr6   G   sw     !)	+x ,VHd;9:	+'(4
M
NN	+}%1ZL${[M"BC	r   c                    V ^8  d   QhR\         \        \        \        3,          \        3,          R\
        \        \        \        3,          ,          R\        \        \        3,          /# r   r   )r   s   "r   r   r   X   sM      tCH~v-.DcN+ 
#s(^r   c                     / p\        V R .4      e3   \        TR .\        V R .4       Uu. uF  p\        W24      NK  	  up4       \        V R.4      e   \        VR.\        V R.4      4       V# u upi )partsrole)r   r,   _Part_to_mldevr   r   r   items   &&  r   _Content_to_mldevr>   X   s     !)	+y!-		 [7)4	
4 4+4	
 
+x ,VHd;9:		
s   A.c          
          V ^8  d   QhR\         R\        \        \        \        3,          \
        3,          R\        \        \        \        3,          ,          R\        \        \        3,          /# r   
api_clientr   r   r   r   r   r   r   r   r   r   )r   s   "r   r   r   m   sW     & &&tCH~v-.& DcN+& 
#s(^	&r   c                    / p\        VR .4      e   \        VR.\        VR .4      4       \        VR.4      e   \        VR.\        VR.4      4       \        VR.4      e   \        VR.\        VR.4      4       \        VR.4      e%   \        VR.\        V \        VR.4      V4      4       \        VR.4      e   \        VR.\        VR.4      4       V# )	expire_time
expireTimenew_session_expire_timenewSessionExpireTimeuseslive_connect_constraintsbidiGenerateContentSetuplock_additional_fields	fieldMask)r   r,    _LiveConnectConstraints_to_mldevrA   r   r   r   s   &&& r   _CreateAuthTokenConfig_to_mldevrO   m   s    
 !)	+'3[=/(JK	+123?	 [456 
+x ,${VH"=>	+234@	#$(9:;	
 
+012>	[345 
r   c          
          V ^8  d   QhR\         R\        \        \        \        3,          \
        3,          R\        \        \        \        3,          ,          R\        \        \        3,          /# r@   rB   )r   s   "r   r   r      sW      tCH~v-. DcN+ 
#s(^	r   c                 p    / p\        VR .4      e%   \        VR .\        V \        VR .4      V4      4       V# )config)r   r,   rO   rN   s   &&& r   #_CreateAuthTokenParameters_to_mldevrS      sH    
 !)	+z".	
'[8*5y	
 
r   c                    V ^8  d   QhR\         \        \        \        3,          \        3,          R\
        \        \        \        3,          ,          R\        \        \        3,          /# r   r   )r   s   "r   r   r      r   r   c                 >    / p\        V R .4      e   \        R4      hV# )rR   z/config parameter is not supported in Vertex AI.r   r   s   && r   $_CreateAuthTokenParameters_to_vertexrV      s*     !)	+z".
F
GG	r   c                    V ^8  d   QhR\         \        \        \        3,          \        3,          R\
        \        \        \        3,          ,          R\        \        \        3,          /# r   r   )r   s   "r   r   r      r/   r   c                     / p\        V R .4      e   \        R4      h\        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e   \        VR.\        V R.4      4       V# )r2   r3   file_urifileUrir4   r5   )r   r   r,   r   s   && r   _FileData_to_mldevr[      sw     !)	+'(4
M
NN	+
|$0YKkJ<!@A	+}%1ZL${[M"BC	r   c                    V ^8  d   QhR\         \        \        \        3,          \        3,          R\
        \        \        \        3,          ,          R\        \        \        3,          /# r   r   )r   s   "r   r   r      sM      tCH~v-.DcN+ 
#s(^r   c                 b   / p\        V R .4      e   \        VR .\        V R .4      4       \        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e   \        R4      h\        V R.4      e   \        R4      hV# )idargsnamepartial_argsz6partial_args parameter is not supported in Gemini API.will_continuez7will_continue parameter is not supported in Gemini API.r+   r   s   && r   _FunctionCall_to_mldevrc      s     !)	+v*TFDtf56	+x ,VHd;9:	+x ,VHd;9:	+'(4
M
NN	+()5
N
OO	r   c                    V ^8  d   QhR\         \        \        \        3,          \        3,          R\
        \        \        \        3,          ,          R\        \        \        3,          /# r   r   )r   s   "r   r   r      sM      tCH~v-.DcN+ 
#s(^r   c           
          / p\        V R .4      e$   \        VR.\        \        V R .4      V4      4       \        V R.4      e   \        VR.\        V R.4      4       V# )auth_config
authConfigenable_widgetenableWidget)r   r,   r-   r   s   && r   _GoogleMaps_to_mldevrj      sl     !)	+'3	T+?K 
+()5^$d;8I&JK	r   c                    V ^8  d   QhR\         \        \        \        3,          \        3,          R\
        \        \        \        3,          ,          R\        \        \        3,          /# r   r   )r   s   "r   r   r      sM      tCH~v-.DcN+ 
#s(^r   c                    / p\        V R .4      e   \        VR.\        V R .4      4       \        V R.4      e   \        R4      h\        V R.4      e   \        R4      h\        V R.4      e   \        VR.\        V R.4      4       V# )search_typessearchTypesblocking_confidencez=blocking_confidence parameter is not supported in Gemini API.exclude_domainsz9exclude_domains parameter is not supported in Gemini API.time_range_filtertimeRangeFilterr+   r   s   && r   _GoogleSearch_to_mldevrs      s     !)	+'(4]OT+7G%HI	+-./;
G  
+)*+7
C  
++,-9%&[;N:O(P 
r   c          
          V ^8  d   QhR\         R\        \        \        \        3,          \
        3,          R\        \        \        \        3,          ,          R\        \        \        3,          /# r@   rB   )r   s   "r   r   r     s]     c cctCH~v-.c DcN+c 
#s(^	cr   c                    / p\        VR .4      e   \        VRR.\        VR .4      4       \        VR.4      e   \        V. RO\        VR.4      4       \        VR.4      e   \        V. R O\        VR.4      4       \        VR.4      e   \        V. R!O\        VR.4      4       \        VR.4      e   \        V. R"O\        VR.4      4       \        VR.4      e   \        V. R#O\        VR.4      4       \        VR.4      e   \        V. R$O\        VR.4      4       \        VR	.4      e   \        V. R%O\        VR	.4      4       \        VR
.4      e/   \        V. R&O\        P                  ! \        VR
.4      4      4       \        VR.4      e   \        V. R'O\        VR.4      4       \        VR.4      e   \        V. R(O\        VR.4      4       \        VR.4      e9   \        VRR.\	        \        P
                  ! \        VR.4      4      V4      4       \        VR.4      e^   \        TRR.\        P                  ! V \        VR.4      4       Uu. uF#  p\        \        P                  ! W4      V4      NK%  	  up4       \        VR.4      e%   \        VRR.\        \        VR.4      V4      4       \        VR.4      e%   \        VRR.\        \        VR.4      V4      4       \        VR.4      e%   \        VRR.\        \        VR.4      V4      4       \        VR.4      e   \        VRR.\        VR.4      4       \        VR.4      e   \        VRR.\        VR.4      4       \        VR.4      e   \        VRR.\        VR.4      4       \        VR.4      e   \        R4      h\        VR.4      e   \        VRR.\        VR.4      4       V# u upi ))generation_configsetupgenerationConfigresponse_modalitiestemperaturetop_ptop_kmax_output_tokensmedia_resolutionseedspeech_configthinking_configenable_affective_dialogsystem_instructionsystemInstructiontoolssession_resumptionsessionResumptioninput_audio_transcriptioninputAudioTranscriptionoutput_audio_transcriptionoutputAudioTranscriptionrealtime_input_configrealtimeInputConfigcontext_window_compressioncontextWindowCompressionproactivityexplicit_vad_signalz=explicit_vad_signal parameter is not supported in Gemini API.history_confighistoryConfig)rw   rx   responseModalities)rw   rx   rz   )rw   rx   topP)rw   rx   topK)rw   rx   maxOutputTokens)rw   rx   mediaResolution)rw   rx   r   )rw   rx   speechConfig)rw   rx   thinkingConfig)rw   rx   enableAffectiveDialog)r   r,   tt_live_speech_configr>   	t_contentt_tools_Tool_to_mldevt_tool!_SessionResumptionConfig_to_mldevr    r   )rA   r   r   r   r=   s   &&&  r   _LiveConnectConfig_to_mldevr     st   
 !)	++,-9	$%[./0 
+-./;;[012 
+'34[=/* 
+y!--[7)$ 
+y!--[7)$ 
++,-98[./0 
+*+,88[-./ 
+x ,-[6(# 
+()55	tK/1BCD 
+)*+77[,-. 
+123?>[456 
+,-.:	%&KK[+?*@ABI	
 
+y!-	' 		*d;	.JK	
K 188J5yAK	
 
+,-.:	%&)345y	
 
+345A	+,*:;<i	
 
+456B	,-*;<=y	
 
+/01=	'([234 
+456B	,-[789 
+'3	- [=/* 
+-./;
G  
+()*6	/"[+,- 
E	
s   )O&c          
          V ^8  d   QhR\         R\        \        \        \        3,          \
        3,          R\        \        \        \        3,          ,          R\        \        \        3,          /# r@   rB   )r   s   "r   r   r     sW      tCH~v-. DcN+ 
#s(^	r   c                     / p\        VR .4      e0   \        VRR .\        P                  ! V \        VR .4      4      4       \        VR.4      e%   \        VR.\	        V \        VR.4      V4      4       V# )modelrw   rR   )r   r,   r   t_modelr   rN   s   &&& r   rM   rM     s    
 !)	+y!-	'			*d;	:; 
+z".	
#[8*5y	
 
r   c                    V ^8  d   QhR\         \        \        \        3,          \        3,          R\
        \        \        \        3,          ,          R\        \        \        3,          /# r   r   )r   s   "r   r   r     sR     F FtCH~v-.FDcN+F 
#s(^Fr   c           
      V   / p\        V R .4      e   \        VR.\        V R .4      4       \        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e$   \        VR.\        \        V R.4      V4      4       \        V R.4      e$   \        VR	.\        \        V R.4      V4      4       \        V R
.4      e   \        VR.\        V R
.4      4       \        V R.4      e$   \        VR.\	        \        V R.4      V4      4       \        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e   \        VR.\        V R.4      4       V# )r~   r   code_execution_resultcodeExecutionResultexecutable_codeexecutableCode	file_datafileDatafunction_callfunctionCallfunction_responsefunctionResponseinline_data
inlineDatatextthoughtthought_signaturethoughtSignaturevideo_metadatavideoMetadata	tool_calltoolCalltool_responsetoolResponse)r   r,   r[   rc   r6   r   s   && r   r;   r;     sg    !)	+*+,8%&[;M:N(O 
+/01=	[234 
+)*+7%&[;L:M(NO	+}%1	4k];YG 
+()5	tK/1BCYO 
++,-9	[./0 
+'3	tK-99E 
+x ,VHd;9:	+	{#/YKkI;!?@	++,-9	[./0 
+()*6_%tK:J9K'LM	+}%1ZL${[M"BC	+()5^$d;8I&JK	r   c                    V ^8  d   QhR\         \        \        \        3,          \        3,          R\
        \        \        \        3,          ,          R\        \        \        3,          /# r   r   )r   s   "r   r   r     sM      tCH~v-.DcN+ 
#s(^r   c                     / p\        V R .4      e   \        VR .\        V R .4      4       \        V R.4      e   \        R4      hV# )handletransparentz5transparent parameter is not supported in Gemini API.r+   r   s   && r   r   r     sP     !)	+z".XJ[8* =>	+'3
L
MM	r   c                    V ^8  d   QhR\         \        \        \        3,          \        3,          R\
        \        \        \        3,          ,          R\        \        \        3,          /# r   r   )r   s   "r   r   r     sR     A AtCH~v-.ADcN+A 
#s(^Ar   c           
         / p\        V R .4      e   \        R4      h\        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e$   \        VR.\        \        V R.4      V4      4       \        V R.4      e$   \        VR	.\	        \        V R.4      V4      4       \        V R
.4      e   \        VR.\        V R
.4      4       \        V R.4      e   \        R4      h\        V R.4      e)   \        TR.\        V R.4       Uu. uF  q3NK  	  up4       \        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e   \        R4      h\        V R.4      e   \        VR.\        V R.4      4       \        V R.4      e)   \        TR.\        V R.4       Uu. uF  q3NK  	  up4       V# u upi u upi )	retrievalz3retrieval parameter is not supported in Gemini API.computer_usecomputerUsefile_search
fileSearchgoogle_searchgoogleSearchgoogle_maps
googleMapscode_executioncodeExecutionenterprise_web_searchz?enterprise_web_search parameter is not supported in Gemini API.function_declarationsfunctionDeclarationsgoogle_search_retrievalgoogleSearchRetrievalparallel_ai_searchz<parallel_ai_search parameter is not supported in Gemini API.url_context
urlContextmcp_servers
mcpServers)r   r   r,   rs   rj   r<   s   &&  r   r   r     s8    !)	+}%1
J
KK	+'(4]OT+7G%HI	+'3\ND}o$FG	+()5	tK/1BCYO 
+'3	T+?K 
+()*6_%tK:J9K'LM	+/01=
I  
+/01=	 {-D,EFGF$FG 
+123?	 ![456 
+,-.:
F  
+'3\ND}o$FG	+'3	{]O<=<$<= 
3 	H, 	>s   9
G-
G2)N)typingr   r   r    r   r   _api_clientr   _commonr   r   r	   r,   r    r-   r6   r>   rO   rS   rV   r[   rc   rj   rs   r   rM   r;   r   r    r   r   <module>r      sv   $ ( '   & . .D"*&R$".$4cL2FRA Ar   