File: //usr/lib/google-cloud-sdk/lib/surface/organizations/__pycache__/describe.cpython-312.pyc
�
��� � � � d Z ddlmZ ddlmZ ddlmZ ddlZddlmZ ddlm Z ddlm
Z
G d � d
ej � Zy)z6Command to show metadata for a specified organization.� )�absolute_import)�division)�unicode_literalsN)�base)�flags)� org_utilsc �N � e Zd ZdZd ej
d� iZed� � Zd� 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 )Nzyou want to describe.)r �IdArg�AddToParser)�parsers �%lib/surface/organizations/describe.py�Argsz
Describe.Args8 s � � �K�K�'�(�4�4�V�<� c � � t j |j � }|�|S t j |j � �)N)r �GetOrganization�id�UnknownOrganizationError)�self�args�orgs r �RunzDescribe.Run<