Ë
    €Ï‹  ã                   ó†   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ddl	mZ  G d„ d	ej                  «      Zy
)zRemove a rotation schedule.é    )Úabsolute_import)Údivision)Úunicode_literals)Úbase)Úflags)Úresource_argsc                   ó&   — e Zd ZdZed„ «       Zd„ Zy)ÚRemoveRotationScheduleaI  Remove the rotation schedule for a key.

  Removes the rotation schedule for the given key.

  ## EXAMPLES

  The following command removes the rotation schedule for the key
  named `frodo` within the keyring `fellowship` and location `global`:

    $ {command} frodo \
        --location=global \
        --keyring=fellowship
  c                 ó2   — t        j                  | dd«       y )NTÚkey)r   ÚAddKmsKeyResourceArgForKMS)Úparsers    ú0lib/surface/kms/keys/remove_rotation_schedule.pyÚArgszRemoveRotationSchedule.Args*   s   € ä×,Ñ,¨V°T¸5ÕAó    c                 ó  — t        j                  «       }t        j                  «       }t        j                  |«      }|j                  |j                  «       |j                  «       d¬«      }|j                  j                  |«      S )NzrotationPeriod,nextRotationTime)ÚnameÚ	cryptoKeyÚ
updateMask)
Úcloudkms_baseÚGetClientInstanceÚGetMessagesModuler   ÚParseCryptoKeyNameÚ7CloudkmsProjectsLocationsKeyRingsCryptoKeysPatchRequestÚRelativeNameÚ	CryptoKeyÚ&projects_locations_keyRings_cryptoKeysÚPatch)ÚselfÚargsÚclientÚmessagesÚcrypto_key_refÚreqs         r   ÚRunzRemoveRotationSchedule.Run.   sx   € Ü×,Ñ,Ó.€FÜ×.Ñ.Ó0€Hä×-Ñ-¨dÓ3€NØ
×
JÑ
JØ×(Ñ(Ó*Ø×$Ñ$Ó&Ø4ð Kó 6€Cð
 ×8Ñ8×>Ñ>¸sÓCÐCr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ústaticmethodr   r%   © r   r   r
   r
      s#   „ ñð ñBó ðBó
Dr   r
   N)r)   Ú
__future__r   r   r   Úgooglecloudsdk.api_lib.cloudkmsr   r   Úgooglecloudsdk.calliopeÚgooglecloudsdk.command_lib.kmsr   r   ÚUpdateCommandr
   r+   r   r   Ú<module>r1      s3   ðñ "å &Ý Ý 'å AÝ (Ý 0Ý 8ôD˜T×/Ñ/õ Dr   