
                            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
  \R                  \R                  " \R                  R                  \R                  R                  5       " S S	\R                   5      5       5       rg
)zDescribe policy command.    )absolute_import)division)unicode_literals)platform_policy)base)flagsc                   .    \ rS rSrSr\S 5       rS rSrg)Describe   a  Describe a Binary Authorization platform policy.

## EXAMPLES

To describe an existing policy using its resource name:

  $ {command} projects/my_proj/platforms/gke/policies/policy1

To describe the same policy using flags:

  $ {command} policy1 --platform=gke --project=my_proj
c                 2    [         R                  " U S5        g )Nzto describe)r   AddPlatformPolicyResourceArg)parsers    1lib/surface/container/binauthz/policy/describe.pyArgsDescribe.Args*   s    	&&v}=    c                     UR                   R                  R                  5       R                  5       n[        R
                  " S5      R                  U5      $ )Nv1)CONCEPTSpolicy_resource_nameParseRelativeNamer   Clientr
   )selfargs
policy_refs      r   RunDescribe.Run.   s?    3399;HHJJ!!$'00<<r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r   __static_attributes__r   r   r   r
   r
      s      > >=r   r
   N)r$   
__future__r   r   r   )googlecloudsdk.api_lib.container.binauthzr   googlecloudsdk.callioper   -googlecloudsdk.command_lib.container.binauthzr   DefaultUniverseOnlyReleaseTracksReleaseTrackBETAALPHADescribeCommandr
   r   r   r   <module>r1      sq     &  ' E ( ? D%%**D,=,=,C,CD=t## = E =r   