
    	                         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                  5       " S S\R                  \R                  5      5       rg)	zmanifests list command.    )
list_pager)dm_api_util)dm_base)basec                   6    \ rS rSrSrSS0r\S 5       rS rSr	g)	List   zmList manifests in a deployment.

Prints a table with summary information on all manifests in the deployment.
EXAMPLESz
To print out a list of manifests in a deployment, run:

  $ {command} --deployment=my-deployment

To print only the name of each manifest, run:

  $ {command} --deployment=my-deployment --simple-list
c                     U R                  SSSS9  [        R                  R                  U 5        U R                  R                  S5        g)zArgs is called by calliope to gather arguments for this command.

Args:
  parser: An argparse parser that you can use to add arguments that go
      on the command line after this command. Positional arguments are
      allowed.
z--deploymentzDeployment name.T)helprequiredztable(name, id, insertTime)N)add_argumentr   SIMPLE_LIST_FLAGAddToParserdisplay_info	AddFormat)parsers    0lib/surface/deployment_manager/manifests/list.pyArgs	List.Args-   sC     -?$O  ,,V4
!!"?@    c           
         U R                   R                  [        R                  " 5       UR                  S9n[
        R                  " [        R                  " U R                  R                  USUR                  UR                  S95      $ )a  Run 'manifests list'.

Args:
  args: argparse.Namespace, The arguments that this command was invoked
      with.

Returns:
  The list of manifests for the specified deployment.

Raises:
  HttpException: An http error response was received while executing api
      request.
)project
deployment	manifests)fieldlimit
batch_size)messages%DeploymentmanagerManifestsListRequestr   
GetProjectr   r   YieldWithHttpExceptionsr   YieldFromListclientr   r   	page_size)selfargsrequests      r   RunList.Run:   sq     mmAA""$?? B G ..z/G/GwkjjT^^05 6 6r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r)   __static_attributes__r+   r   r   r   r      s3      
- 
A 
A6r   r   N)r0   apitools.base.pyr   )googlecloudsdk.api_lib.deployment_managerr   r   googlecloudsdk.callioper   UseDmApiDmApiVersionV2ListCommand	DmCommandr   r+   r   r   <module>r<      sX      ( A = ( 	'&&))*364W.. 36 +36r   