
                             S r SSKJr  SSKJr  SSKJr  SSKJr  SSS.r	\R                  " \R                  R                  \R                  R                  \R                  R                  5       " S	 S
\R                  5      5       r\	\l        g)zRCommand for removing pre-shared key from the MACsec configuration of interconnect.    )base_classes)client)base)flagsz        *{command}* is used to remove pre-shared key from MACsec configuration of
        interconnect.

        For an example, refer to the *EXAMPLES* section below.
        z        To remove a pre-shared key from MACsec configuration, run:

          $ {command} example-interconnect --key-name=default-key
        )DESCRIPTIONEXAMPLESc                   8    \ rS rSrSrSr\S 5       rS rS r	Sr
g)	RemoveKey*   zRemove pre-shared key from a Compute Engine interconnect MACsec configuration.

*{command}* is used to remove pre-shared key from MACsec configuration of
interconnect.
Nc                     [         R                  " 5       U l        U R                  R                  USS9  [         R                  " U5        g )Nupdate)operation_type)r   InterconnectArgumentINTERCONNECT_ARGAddArgument%AddMacsecPreSharedKeyNameForRomoveKey)clsparsers     6lib/surface/compute/interconnects/macsec/remove_key.pyArgsRemoveKey.Args6   s:     557C$$VH$E	//7    c                     g)Nzcompute.interconnects )selfs    r   
CollectionRemoveKey.Collection=   s    "r   c                    [         R                  " U R                  5       5      nU R                  R	                  XR
                  5      n[        R                  " X2R                  S9nUR                  5       R                  nUR                  nU Vs/ s H   owR                  UR                  :w  d  M  UPM"     snUl
        UR                  S S S S S S S S S S US9$ s  snf )N)compute_client)descriptioninterconnect_typerequested_link_count	link_typeadmin_enablednoc_contact_emaillocationlabelslabel_fingerprintmacsec_enabledmacsec)r   ComputeApiHolderReleaseTrackr   ResolveAsResource	resourcesr   InterconnectDescriber*   preSharedKeysnamekey_namePatch)r   argsholderrefinterconnectr*   keyskeys           r   RunRemoveKey.Run@   s    **4+<+<+>?F



1
1$8H8H
IC&&s==IL""$++FD+/M4C88t}}3LC4MF!    Ns   C3Cr   )__name__
__module____qualname____firstlineno____doc__r   classmethodr   r   r;   __static_attributes__r   r   r   r
   r
   *   s+     8 8#r   r
   N)rA   googlecloudsdk.api_lib.computer   ,googlecloudsdk.api_lib.compute.interconnectsr   googlecloudsdk.callioper   0googlecloudsdk.command_lib.compute.interconnectsr   DETAILED_HELPReleaseTracksr,   ALPHABETAGAUpdateCommandr
   detailed_helpr   r   r   <module>rO      s    Y 8 ? ( B		& T..33T5F5F5I5I'"" ''T (	 r   