ó
    €Ï;  ã                   óJ   • S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  S r	g)	zPThis file provides the implementation of the `functions set-iam-policy` command.é    )Úabsolute_import)Údivision)Úunicode_literals)Úutil)Úiam_utilc           
      ó¼  • [         R                  " 5       nUR                  nU R                  R                  R                  5       n[        R                  " U R                  UR                  5      u  pEUR                  R                  UR                  UR                  5       UR                  XES9S95      n[        R                  " UR!                  5       S5        U$ )z/Set the IAM policy for a Google Cloud Function.)ÚpolicyÚ
updateMask)ÚresourceÚsetIamPolicyRequestÚfunction)r   ÚGetApiClientInstanceÚMESSAGES_MODULEÚCONCEPTSÚnameÚParser   ÚParseYamlOrJsonPolicyFileÚpolicy_fileÚPolicyÚprojects_locations_functionsÚSetIamPolicyÚ;CloudfunctionsProjectsLocationsFunctionsSetIamPolicyRequestÚRelativeNameÚSetIamPolicyRequestÚLogSetIamPolicyÚName)ÚargsÚclientÚmessagesÚfunction_refr	   Úupdate_maskÚresults          ÚElib/googlecloudsdk/command_lib/functions/v1/set_iam_policy/command.pyÚRunr$      sÁ   € ä×$Ò$Ó&€&Ø×#Ñ#€(Ø—‘×#Ñ#×)Ñ)Ó+€,Ü ×:Ò:Ø
×Ñ˜Ÿ™ó)Ñ€&à×.Ñ.×;Ñ;Ø×JÑJØ×,Ñ,Ó.Ø&×:Ñ:Øð ;ð 5ð Kð 6ó7€&ô
 ×Ò˜<×,Ñ,Ó.°
Ô;Ø	€-ó    N)
Ú__doc__Ú
__future__r   r   r   Ú#googlecloudsdk.api_lib.functions.v1r   Úgooglecloudsdk.command_lib.iamr   r$   © r%   r#   Ú<module>r+      s   ðñ Wå &Ý Ý 'å 4Ý 3ór%   