
    D
                         S r SSKJr  SSKJr  SSKJr  SSKJr  \R                  \R                  \R                  " \R                  R                  5       " S S\R                  5      5       5       5       rg)z/Describe command for the Resource Settings CLI.    )utils)base)	argumentsc                   .    \ rS rSrSr\S 5       rS rSrg)Describe   zGet a resource setting.

Get a resource setting

## EXAMPLES

To describe the resource settings ``iam-projectCreatorRoles'' with the
Project ``foo-project'', run:

  $ {command} iam-projectCreatorRoles --project=foo-project
c                 ~    [         R                  " U 5        [         R                  " U 5        U R                  SSSS9  g )Nz--effective
store_truezDescribe the effective setting.)actionhelp)r   AddSettingsNameArgToParserAddResourceFlagsToParseradd_argument)parsers    1lib/surface/resource_manager/settings/describe.pyArgsDescribe.Args(   s:    ((0&&v.
.      c                 |   UR                   (       aV  [        R                  " U5      n[        R                  " U5      n[        R
                  " XS5      nUR                  U5      nU$ [        R                  " U5      n[        R                  " U5      n[        R
                  " XS5      nUR                  U5      nU$ )aD  Get the (effective) resource settings.

If --effective is not specified, it is a regular resource setting.

If --effective is specified, it is an effective setting.

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

Returns:
   The retrieved settings.
TF)		effective	api_utilsGetEffectiveServiceFromArgsr    GetEffectiveSettingsPathFromArgsGetDescribeRequestFromArgsGetGetServiceFromArgsGetSettingsPathFromArgs)selfargssettings_servicesetting_nameget_requestsetting_values         r   RunDescribe.Run2   s     ~~">>tD;;DAl88
dk '**;7m"55d;2248l88
ek '**;7mr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r$   __static_attributes__r&   r   r   r   r      s     
  "r   r   N)r+   0googlecloudsdk.api_lib.resource_manager.settingsr   r   googlecloudsdk.callioper   4googlecloudsdk.command_lib.resource_manager.settingsr   HiddenDefaultUniverseOnlyReleaseTracksReleaseTrackALPHADescribeCommandr   r&   r   r   <module>r7      sk    6 P ( J F D%%++,9t## 9 -  9r   