
                             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  \	R                   " S	 S
\	R                  5      5       rg)z#Remove Attestor public key command.    )absolute_import)division)unicode_literals)apis)	attestors)base)flagsc                   .    \ rS rSrSr\S 5       rS rSrg)Remove   zRemove a public key from an Attestor.

## EXAMPLES

To remove a public key from the Attestor `my_attestor`:

  $ {command} 0638AADD940361EA2D7F14C58C124F0E663DA097 \
      --attestor=my_attestor
c           	      z    [         R                  " U[         R                  " SSSS95        UR                  SSS9  g )NTFz9The attestor from which the public key should be removed.)required
positional
group_helppublic_key_idz#The ID of the public key to remove.)help)r	   AddConceptsGetAttestorPresentationSpecadd_argument)clsparsers     >lib/surface/container/binauthz/attestors/public_keys/remove.pyArgsRemove.Args'   sE    	))K		
 2  4    c                     [         R                  " U R                  5       5      n[        R                  " U5      nUR
                  R                  R                  5       nUR                  XAR                  S9  g )N)	pubkey_id)
r   GetApiVersionReleaseTrackr   ClientCONCEPTSattestorParse	RemoveKeyr   )selfargsapi_versionattestors_clientattestor_refs        r   Run
Remove.Run6   s[    $$T%6%6%89K ''4==))//1L|7I7IJr    N)	__name__
__module____qualname____firstlineno____doc__classmethodr   r*   __static_attributes__r,   r   r   r   r      s!     4 4Kr   r   N)r1   
__future__r   r   r   )googlecloudsdk.api_lib.container.binauthzr   r   googlecloudsdk.callioper   -googlecloudsdk.command_lib.container.binauthzr	   DefaultUniverseOnlyCommandr   r,   r   r   <module>r:      sG    * &  ' : ? ( ?  KT\\  K  Kr   