
    	                     n    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\R                  5      rg	)
z9Command to create a monitored project in a metrics scope.    )metrics_scopes)base)flags)util)logc                   .    \ rS rSrSr\S 5       rS rSrg)Delete   a  Delete a monitored project in a metrics scope.

This command can fail for the following reasons:
* The projects specified do not exist.
* The active account does not have permission to access one of the given
project.

More details can be found at
https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes.projects/delete

## EXAMPLES

The following command adds a monitored project with the ID
`monitored-project-1` to a metrics scope with project id `metrics-scope-1`
assuming the `metrics-scope-1` is the default project:

  $ {command} projects/monitored-project-1

The following command adds a monitored project with the ID
`monitored-project-1` to a metrics scope with project id `metrics-scope-1`:

  $ {command} projects/monitored-project-1 --project=metrics-scope-1
  $ {command}
  locations/global/metricsScopes/metrics-scope-1/projects/monitored-project-1
c                 N    [         R                  " S5      R                  U 5        g )Ndelete)r   %GetMonitoredResourceContainerNameFlagAddToParser)parsers    /lib/surface/monitoring/metrics_scopes/delete.pyArgsDelete.Args4   s    	//9EEfM    c                     [         R                  " 5       n[        R                  " UR                  S5      u  p4UR                  X45      n[        R                  " UR                  X45      S5        U$ )NTzmonitored project)	r   MetricsScopeClientmonitoring_utilParseMonitoredProject!monitored_resource_container_namer	   r   DeletedResourceMonitoredProjectName)selfargsclientmetrics_scope_refmonitored_project_refresults         r   Run
Delete.Run8   si    ..0F--22D	
 -
 ]],DF##$5M Mr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r!   __static_attributes__r#   r   r   r	   r	      s"    4 N Nr   r	   N)r(   !googlecloudsdk.api_lib.monitoringr   googlecloudsdk.callioper   %googlecloudsdk.command_lib.monitoringr   r   r   googlecloudsdk.corer   DeleteCommandr	   r#   r   r   <module>r0      s.    @ = ( 7 I #*T *r   