
                            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      \R                   " S S\R                  5      5       5       rSS	S
.rg)z%Command for describing disk settings.    )base_classes)base)flags)
propertiesc                   .    \ rS rSrSr\S 5       rS rSrg)Describe   z.Describe a Google Compute Engine disk setting.c                     [         R                  " U 5        [        [         l        U R                  R	                  S5        g )Nz^yaml(accessLocation.policy,accessLocation.locations.list(show="keys"),defaultResourcePolicies))r   AddDiskSettingArgdetailed_helpdisplay_info	AddFormat)parsers    -lib/surface/compute/disk_settings/describe.pyArgsDescribe.Args   s2    	F#'E
!!	N    c                 ^   [         R                  " U R                  5       5      nUR                  nUR                  (       ak  UR
                  R                  nUR                  R                  [        R                  R                  R                  R                  5       UR                  S9nOjUR
                  R                  nUR                  R                  [        R                  R                  R                  R                  5       UR                   S9nUR#                  USU4/5      S   $ )N)projectzone)r   regionGetr   )r   ComputeApiHolderReleaseTrackclientr   apitools_clientdiskSettingsmessagesComputeDiskSettingsGetRequestr   VALUEScorer   	GetOrFailregionDiskSettings#ComputeRegionDiskSettingsGetRequestr   MakeRequests)selfargsholderr   servicerequests         r   RunDescribe.Run&   s    **4+<+<+>?F]]Fyy&&33g==##((00::<499 > g &&99gCC##((00::<T[[ D g % 9:;A>>r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r+   __static_attributes__r-   r   r   r   r      s     7 ?r   r   z-Describe a Google Compute Engine disk settingzl      *{command}* display the Google Compute Engine disk setting in current scope of current project.
      )briefDESCRIPTIONN)r2   googlecloudsdk.api_lib.computer   googlecloudsdk.callioper   0googlecloudsdk.command_lib.compute.disk_settingsr   googlecloudsdk.corer   ReleaseTracksr   ALPHABETAUniverseCompatibleDescribeCommandr   r   r-   r   r   <module>r@      s|     , 7 ( B * D%%++T->->-C-CD?t## ?  E?: =
r   