
    	                         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                   " S	 S
\R                  5      5       rg)zDImplementation command for deleting inventory report configurations.    )absolute_import)division)unicode_literals)insights_api)base)resource_args)logc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Delete   z"Delete an inventory report config.z0
      Delete an inventory report config.
      a  
      To delete an inventory report config with ID=1234,
      location=us-central1 and project=foo:

        $ {command} 1234 --location=us-central1 --project=foo

      To delete the same inventory report config with fully specified name:

        $ {command} /projects/foo/locations/us-central1/reportConfigs/1234

      To delete the report config with all generated report details:

        $ {command} /projects/foo/locations/us-central1/reportConfigs/1234 --force
      )DESCRIPTIONEXAMPLESc                 T    [         R                  " U S5        U R                  SSSS9  g )Nz	to deletez--force
store_truezBIf set, all report details for this report config will be deleted.)actionhelp)r   add_report_config_resource_argadd_argument)parsers    8lib/surface/storage/insights/inventory_reports/delete.pyArgsDelete.Args5   s0    00E
      c                     UR                   R                  R                  5       R                  5       n[        R
                  " 5       R                  X!R                  5        [        R                  R                  SR                  U5      5        g )NzDeleted report config: {})CONCEPTSreport_configParseRelativeNamer   InsightsApidelete_inventory_reportforcer	   statusPrintformat)selfargsreport_config_names      r   Run
Delete.Run?   sg    44::<IIK66JJ JJ077 r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r(   __static_attributes__r*   r   r   r   r      s/    *

-,  r   r   N)r/   
__future__r   r   r   googlecloudsdk.api_lib.storager   googlecloudsdk.callioper   =googlecloudsdk.command_lib.storage.insights.inventory_reportsr   googlecloudsdk.corer	   DefaultUniverseOnlyCommandr   r*   r   r   <module>r:      sE    K &  ' 7 ( W # )T\\ ) )r   