
                         J   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  ej                  ej                  j                  ej                  j                  ej                  j                         ej"                   G d	 d
ej$                                      Zy)z6Command to describe a contact from Essential Contacts.    )absolute_import)division)unicode_literals)contacts)base)flags)utilc                   &    e Zd ZdZed        Zd Zy)Describea  Describe an essential contact.

  ## EXAMPLES

  To describe the contact with id ``123'' in the current project, run:

        $ {command} 123

  To describe the contact with id ``123'' in the folder with id ``456'', run:

      $ {command} 123 --folder=456

  To describe the contact with id ``123'' in the organization with id ``456'',
  run:

        $ {command} 123 --organization=456
  c                 \    t        j                  | d       t        j                  |        y)zAdds command-specific args.zid of contact to describe.)	help_textN)r   AddContactIdArgAddParentArgs)parsers    *lib/surface/essential_contacts/describe.pyArgszDescribe.Args1   s#     
&,HI	    c                 v    t        j                  |      }t        j                         }|j	                  |      S )zRuns the describe command.)r	   GetContactNamer   ContactsClientr   )selfargscontact_nameclients       r   RunzDescribe.Run7   s/    &&t,L$$&F??<((r   N)__name__
__module____qualname____doc__staticmethodr   r    r   r   r   r      s     $    
)r   r   N)r   
__future__r   r   r   )googlecloudsdk.api_lib.essential_contactsr   googlecloudsdk.callioper   -googlecloudsdk.command_lib.essential_contactsr   r	   ReleaseTracksReleaseTrackALPHABETAGAUniverseCompatibleDescribeCommandr   r!   r   r   <module>r-      s    = &  ' > ( ? > D%%++T->->-C-C%%((*)t## ) *)r   