
                             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  \	R                  " \	R                  R                   5       " S S	\	R"                  5      5       rg
)z8Implements command to describe a specified guest policy.    )absolute_import)division)unicode_literals)utils)base)
propertiesc                   .    \ rS rSrSr\S 5       rS rSrg)Describe   zDescribe the specified guest policy.

## EXAMPLES

  To describe the guest policy `policy1` in the current project, run:

        $ {command} policy1

c                 .    U R                  S[        SS9  g)See base class.	POLICY_IDz%Name of the guest policy to describe.)typehelpN)add_argumentstr)parsers    8lib/surface/compute/os_config/guest_policies/describe.pyArgsDescribe.Args'   s      #$K  M    c                 t   U R                  5       n[        R                  " U5      n[        R                  " U5      n[        R
                  R                  R                  R                  5       nUR                  [        R                  " SXQR                  5      S9nUR                  nUR                  U5      $ )r   projects)name)ReleaseTrackosconfig_api_utilsGetClientInstanceGetClientMessagesr   VALUEScoreproject	GetOrFail'OsconfigProjectsGuestPoliciesGetRequestosconfig_command_utilsGetGuestPolicyUriPathr   projects_guestPoliciesGet)selfargsrelease_trackclientmessagesr!   requestservices           r   RunDescribe.Run-   s    %%'M11-@F!33MBH$$,,668G>>#991 ? 2G ++G;;wr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r/   __static_attributes__r1   r   r   r
   r
      s"     M M
 r   r
   N)r6   
__future__r   r   r   (googlecloudsdk.api_lib.compute.os_configr   r   googlecloudsdk.callioper   ,googlecloudsdk.command_lib.compute.os_configr$   googlecloudsdk.corer   ReleaseTracksr   BETADescribeCommandr
   r1   r   r   <module>rA      sW    ? &  ' P ( X * D%%**+ t##   , r   