ó
    €Ïê  ã                   ó¼   • 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Jr  \R                   " S S\R                   5      5       rg)z9Command to show metadata of a notification configuration.é    )Úabsolute_import)Údivision)Úunicode_literals)Úapi_factory)Úbase)Úerrors)Ú#notification_configuration_iterator)Ústorage_url)Úresource_projectorc                   ó8   • \ rS rSrSrSSS.r\S 5       rS rSr	g	)
ÚDescribeé   z/Show metadata for a notification configuration.zU
      *{command}* prints populated metadata for a notification configuration.
      z¹
      Describe a single notification configuration (with ID 3) in the
      bucket `example-bucket`:

        $ {command} projects/_/buckets/example-bucket/notificationConfigs/3
      )ÚDESCRIPTIONÚEXAMPLESc                 ó$   • U R                  SSS9  g )NÚurlz)The url of the notification configuration)Úhelp)Úadd_argument)Úparsers    Ú5lib/surface/storage/buckets/notifications/describe.pyÚArgsÚDescribe.Args0   s   € à
×Ñ˜Ð$OÐÒPó    c                 óJ  • [         R                  " UR                  5      u  p#U(       a  U(       d#  [        R                  " SUR                  -   5      e[
        R                  " [        R                  " [        R                  R                  5      R                  X#5      5      $ )Nz1Received invalid notification configuration URL: )r	   Ú+get_bucket_url_and_notification_id_from_urlr   r   ÚInvalidUrlErrorr   ÚMakeSerializabler   Úget_apir
   ÚProviderPrefixÚGCSÚget_notification_configuration)ÚselfÚargsÚ
bucket_urlÚnotification_ids       r   ÚRunÚDescribe.Run4   s‰   € ä+ß	4Ñ	4ð	5Ø59·X±Xó	?ñ  €Jö ž?Ü×"Ò"Ø
=ÀÇÁÑ
HóJð Jä×.Ò.Ü×ÒÜ×&Ñ&×*Ñ*ó	,ß,JÑ,JØó--ó.ð .r   © N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Údetailed_helpÚstaticmethodr   r&   Ú__static_attributes__r(   r   r   r   r      s1   † á7ð
ð
ñ€-ð ñQó ðQõ
.r   r   N)r-   Ú
__future__r   r   r   Úgooglecloudsdk.api_lib.storager   Úgooglecloudsdk.callioper   Ú"googlecloudsdk.command_lib.storager   r	   r
   Úgooglecloudsdk.core.resourcer   ÚUniverseCompatibleÚDescribeCommandr   r(   r   r   Ú<module>r8      sM   ðñ  @å &Ý Ý 'å 6Ý (Ý 5Ý RÝ :Ý ;ð ×Ñô.ˆt×#Ñ#ó .ó ñ.r   