| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/storage/hmac/__pycache__/ |
Upload File : |
�
��� � � � d Z ddlmZ ddlmZ ddlmZ ddlZddlmZ ddlm Z ddl
mZ e j G d � d
e j
� � � � ZdS )z*Implementation of delete command for HMAC.� )�absolute_import)�division)�unicode_literalsN)�api_factory)�base)�storage_urlc �8 � e Zd ZdZddd�Zed� � � Zd� ZdS )�DeletezRemove a service account HMAC.z�
*{command}* permanently deletes the specified HMAC key. Note that keys
must be updated to be in the ``INACTIVE'' state before they can be
deleted.
z�
To delete a specific HMAC key:
$ {command} GOOG56JBMFZX6PMPTQ62VD2
To be prompted for HMAC keys to delete:
$ {command}
)�DESCRIPTION�EXAMPLESc �X � | � dt j d� � �� � d S )N� access_idz- Access ID for HMAC key to delete.)�help)�add_argument�textwrap�dedent)�parsers �"lib/surface/storage/hmac/delete.py�ArgszDelete.Args1 s@ � �
����
�_� 1� 2� 2� � 3� 3� 3� 3� 3� c � � t j t j j � � }|� |j � � }|S )N)r �get_apir �ProviderPrefix�GCS�delete_hmac_keyr )�self�args�api�responses r �Runz
Delete.Run8 s2 � �
�
�k�8�<�
=�
=�C��"�"�4�>�2�2�H��Or N)�__name__�
__module__�__qualname__�__doc__�
detailed_help�staticmethodr r � r r r
r
sZ � � � � � �&�&�
�
�
� �-�"