
    
                        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
  \R                  " \R                  R                  \R                  R                  \R                  R                  5       " S S\R                   5      5       rg	)
zCommand to list assets.    )client_util)base)flags)utils)common_argsc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
List   zList the Cloud assets.aJ        List the Cloud assets. Note
      that to list a project different from the project you want to bill, you
      can use  --billing-project or authenticate with a service account.
      See https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/gcloud-asset
      for examples of using a service account.
      a        To list a snapshot of assets of type 'compute.googleapis.com/Disk' in
      project 'test-project' at '2019-03-05T00:00:00Z', run:

        $ {command} --project='test-project' --asset-types='compute.googleapis.com/Disk' --snapshot-time='2019-03-05T00:00:00Z'
      )DESCRIPTIONEXAMPLESc                    U R                  SS9n[        R                  " US5        [        R                  " SS9R                  U5        [        R                  " US5        [        R                  " U 5        [        R                  " U 5        [        R                  " U 5        [        R                  " U 5        [        R                  R                  U 5        g )NT)requiredz3The ID of the organization which is the root asset.z$The project which is the root asset.)help_text_to_prependz-The ID of the folder which is the root asset.)add_mutually_exclusive_groupr   AddOrganizationArgsr   ProjectArgumentAddToParserAddFolderArgsAddSnapshotTimeArgsAddAssetTypesArgsAddListContentTypeArgsAddRelationshipTypesArgsr   URI_FLAGRemoveFromParser)parserparent_groups     lib/surface/asset/list.pyArgs	List.Args2   s    666EL	KMCk,	GI	f%	F#	  (	""6*MM""6*    c                     [         R                  " UR                  UR                  UR                  5      n[
        R                  " U5      nUR                  U5      $ )N)asset_utilsGetParentNameForExportorganizationprojectfolderr   AssetListClientr	   )selfargsparentclients       r   RunList.RunB   sF    //0A0A4<<04=F((0F;;tr     N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r,   __static_attributes__r.   r    r   r	   r	      s1     


-& + +r    r	   N)r3   googlecloudsdk.api_lib.assetr   googlecloudsdk.callioper    googlecloudsdk.command_lib.assetr   r   r"   $googlecloudsdk.command_lib.util.argsr   ReleaseTracksReleaseTrackALPHABETAGAListCommandr	   r.   r    r   <module>rA      sr     5 ( 2 A < D%%++T->->-C-C%%((*+4 +*+r    