ó
    €Ïò
  ã                   óp  • 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SK	J
r
  SSKJr  SS	KJr  SS
Kr\
R                  \
R                   " \
R"                  R$                  \
R"                  R&                  \
R"                  R(                  5       " S S\
R*                  5      5       5       rSS0\l        g
)z>Command for deleting organization security policy association.é    )Úabsolute_import)Údivision)Úunicode_literals)Úbase_classes)Úclient)Úbase)Úflags)Úorg_security_policies_utilsNc                   ó2   • \ rS rSrSrSr\S 5       rS rSr	g)ÚDeleteé   z‹Delete a Compute Engine organization security policy association.

*{command}* is used to delete organization security policy association.
Nc                 óè   • [         R                  " SS9U l        U R                  R                  USS9  [         R                  " U5        UR
                  R                  [         R                  5        g )NT)ÚrequiredÚdelete)Úoperation_type)r	   Ú%OrgSecurityPolicyAssociationsArgumentÚORG_SECURITY_POLICY_ARGÚAddArgumentÚAddArgsDeleteAssociationÚdisplay_infoÚAddCacheUpdaterÚOrgSecurityPoliciesCompleter)ÚclsÚparsers     Ú@lib/surface/compute/org_security_policies/associations/delete.pyÚArgsÚDelete.Args)   sY   € ä"'×"MÒ"MØñ#€CÔà×Ñ×+Ñ+¨FÀ8Ð+ÑLÜ	×"Ò" 6Ô*Ø
×Ñ×'Ñ'¬×(JÑ(JÕKó    c           	      ó¼  • [         R                  " U R                  5       5      nU R                  R	                  XR
                  SS9n[        R                  " UUR                  UR
                  [        R                  " U R                  5       5      R                  5       S9n[        R                  " UUR                  UR                  S9nUR                  USS9$ )NF)Úwith_project)ÚrefÚcompute_clientÚ	resourcesÚversion)Úorganization)Úsecurity_policy_idÚonly_generate_request)r   ÚComputeApiHolderÚReleaseTrackr   ÚResolveAsResourcer#   r   ÚOrgSecurityPolicyÚsixÚ	text_typeÚlowerr
   ÚGetSecurityPolicyIdÚsecurity_policyr%   ÚDeleteAssociation)ÚselfÚargsÚholderr!   Úorg_security_policyr&   s         r   ÚRunÚ
Delete.Run1   sÌ   € Ü×*Ò*¨4×+<Ñ+<Ó+>Ó?€FØ
×
&Ñ
&×
8Ñ
8Ø×Ñ¨Uð 9ð 4€Cä ×2Ò2ØØ—}‘}Ø×"Ñ"Ü—’˜d×/Ñ/Ó1Ó2×8Ñ8Ó:ñ	<Ðô
 5×HÒHØØ×ÑØ×&Ñ&ñ(Ðð ×0Ñ0Ø-ÀUð 1ð Lð Lr   © )
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   Úclassmethodr   r6   Ú__static_attributes__r8   r   r   r   r      s)   † ñ
ð
 !ÐàñLó ðLõLr   r   ÚEXAMPLESzÉ    To delete an association with name ``example-association'' of an organization
    security policy with ID ``123456789'', run:

      $ {command} example-association --security-policy=123456789
    )r=   Ú
__future__r   r   r   Úgooglecloudsdk.api_lib.computer   Ú4googlecloudsdk.api_lib.compute.org_security_policiesr   Úgooglecloudsdk.callioper   Ú8googlecloudsdk.command_lib.compute.org_security_policiesr	   r
   r,   ÚUniverseCompatibleÚReleaseTracksr)   ÚALPHAÚBETAÚGAÚDeleteCommandr   Údetailed_helpr8   r   r   Ú<module>rM      s£   ðñ Eå &Ý Ý 'å 7Ý GÝ (Ý JÝ `Û 
ð ×ÑØ×ÒØ×Ñ×Ñ˜T×.Ñ.×3Ñ3°T×5FÑ5F×5IÑ5IóôLˆT×Ñó Lóó ðLðD ð	ð€Õ r   