
                             d Z ddlmZ ddlmZ ddlmZ ddlZddlmZ ddlm	Z	 ddlm
Z
  G d	 d
ej                        Zy)z6Command to show metadata for a specified organization.    )absolute_import)division)unicode_literalsN)base)flags)	org_utilsc                   N    e Zd ZdZd ej
                  d      iZed        Zd Z	y)Describea   Show metadata for an organization.

  Shows metadata for an organization, given a valid organization ID. If an
  organization domain is supplied instead, this command will attempt to find
  the organization by domain name.

  This command can fail for the following reasons:
      * The organization specified does not exist.
      * The active account does not have permission to access the given
        organization.
      * The domain name supplied does not correspond to a unique organization
        ID.
  EXAMPLESa0            The following command prints metadata for an organization with the
          ID `3589215982`:

            $ {command} 3589215982

          The following command prints metadata for an organization associated
          with the domain ``example.com'':

            $ {command} example.com
    c                 L    t        j                  d      j                  |        y )Nzyou want to describe.)r   IdArgAddToParser)parsers    %lib/surface/organizations/describe.pyArgszDescribe.Args8   s    	KK'(44V<    c                     t        j                  |j                        }||S t        j                  |j                        )N)r   GetOrganizationidUnknownOrganizationError)selfargsorgs      r   RunzDescribe.Run<   s5    

#
#DGG
,C
j..tww77r   N)
__name__
__module____qualname____doc__textwrapdedentdetailed_helpstaticmethodr   r    r   r   r
   r
      s>     /(// 
# 
	- = =8r   r
   )r   
__future__r   r   r   r   googlecloudsdk.callioper   (googlecloudsdk.command_lib.organizationsr   r   DescribeCommandr
   r#   r   r   <module>r(      s1    = &  '  ( : >%8t## %8r   