
    |                         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
S.r\	R                  " \	R                  R                   5       " S S\	R"                  5      5       r\\l        g)z:Describe-custom-constraint command for the Org Policy CLI.    )absolute_import)division)unicode_literals)service)base)	arguments)utilsz+      Describes a custom constraint.
      z      To describe the custom constraint 'custom.myCustomConstraint' associated
      with the Organization '1234', run:

      $ {command} custom.myCustomConstraint --organization=1234
      )DESCRIPTIONEXAMPLESc                   .    \ rS rSrSr\S 5       rS rSrg)DescribeCustomConstraint)   zDescribe a custom constraint.c                 \    [         R                  " U 5        [         R                  " U 5        g )N)r   AddCustomConstraintArgToParser$AddOrganizationResourceFlagsToParser)parsers    6lib/surface/org_policies/describe_custom_constraint.pyArgsDescribeCustomConstraint.Args-   s    ,,V4226:    c                     [         R                  " U R                  5       5      n[        R                  " U5      nUR                  U5      $ )zGets the custom constraint.

Args:
  args: argparse.Namespace, An object that contains the values for the
    arguments specified in the Args method.

Returns:
   The retrieved custom constraint.
)org_policy_serviceOrgPolicyApiReleaseTrackr	   GetCustomConstraintFromArgsGetCustomConstraint)selfargsorg_policy_apicustom_constraint_names       r   RunDescribeCustomConstraint.Run2   s@     (44T5F5F5HIN">>tD--.DEEr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r!   __static_attributes__r#   r   r   r   r   )   s    %; ;Fr   r   N)r(   
__future__r   r   r    googlecloudsdk.api_lib.orgpolicyr   r   googlecloudsdk.callioper   'googlecloudsdk.command_lib.org_policiesr   r	   DETAILED_HELPReleaseTracksr   GADescribeCommandr   detailed_helpr#   r   r   <module>r4      sw    A &  ' J ( = 9	
	
 D%%(()Ft33 F *F0 *7  &r   