
                         z    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	\R                  5      rg
)z(Cloud Pub/Sub snapshot describe command.    )absolute_import)division)unicode_literals)	snapshots)base)utilc                   .    \ rS rSrSr\S 5       rS rSrg)Describe   z#Describes a Cloud Pub/Sub snapshot.c                 $    U R                  SSS9  g)z!Registers flags for this command.snapshotzsnapshot to describe.)helpN)add_argument)parsers    (lib/surface/pubsub/snapshots/describe.pyArgsDescribe.Args   s     
)@A    c                     [         R                  " 5       n[        R                  " UR                  5      nUR                  U5      $ )aa  This is what gets called when the user runs this command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
    command invocation.

Returns:
  A serialized object (dict) describing the results of the operation.
  This description fits the Resource described in the ResourceRegistry under
  'pubsub.projects.snapshots'.
)r   SnapshotsClientr   ParseSnapshotr   Get)selfargsclientsnapshot_refs       r   RunDescribe.Run"   s5     &&(F%%dmm4L::l##r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r   __static_attributes__r   r   r   r
   r
      s    +B B$r   r
   N)r$   
__future__r   r   r   googlecloudsdk.api_lib.pubsubr   googlecloudsdk.callioper   !googlecloudsdk.command_lib.pubsubr   DescribeCommandr
   r   r   r   <module>r,      s.    / &  ' 3 ( 2$t## $r   