
    	                         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                  5      \R                  \R                   " S S\R                  5      5       5       5       rg	)
zACommand to disable Artifact Registry Platform Logs configuration.    )apis)base)flags)platformlogs_util)logc                   <    \ rS rSrSrSrSSS.r\S 5       rS r	S	r
g
)Disable   z(Disable the Platform Logs configuration.v1z{description}a?  
          To disable Platform Logs for the project 'my-project' in us-west1:

            $ {command} --project=my-project --location=us-west1

          To disable Platform Logs for the repository 'my-repo' in us-west1:

            $ {command} --project=my-project --location=us-west1 --repository=my-repo
          )DESCRIPTIONEXAMPLESc                     [         R                  " 5       R                  U 5        [         R                  " 5       R                  U 5        g)zOSet up arguments for this command.

Args:
  parser: An argparse.ArgumentPaser.
N)r   GetPlainRepoFlagAddToParserGetPlainLocationFlag)parsers    .lib/surface/artifacts/platform_logs/disable.pyArgsDisable.Args-   s2     
((0	 ,,V4    c                 X   [         R                  " SU R                  5      nUR                  nUR	                  UR                  R
                  R                  S9n[        R                  " XX45      n[        R                  R                  SR                  UR                  5      5        U$ )zRun the disable command.artifactregistry)loggingStatez Disabled Platform Logs for [{}].)r   GetClientInstanceapi_versionMESSAGES_MODULEPlatformLogsConfigLoggingStateValueValuesEnumDISABLEDr   UpdatePlatformLogsConfigr   statusPrintformatname)selfargsclientmessagesplatform_logs_configresponses         r   RunDisable.Run7   s    ##$68H8HIF%%H#6600LLUU 7  !99hH JJ7>>x}}MNOr    N)__name__
__module____qualname____firstlineno____doc__r   detailed_helpstaticmethodr   r+   __static_attributes__r-   r   r   r	   r	      s6     1+ %- 5 5r   r	   N)r2   googlecloudsdk.api_lib.utilr   googlecloudsdk.callioper   $googlecloudsdk.command_lib.artifactsr   r   googlecloudsdk.corer   ReleaseTracksReleaseTrackGAHiddenUniverseCompatibleUpdateCommandr	   r-   r   r   <module>r@      sl    H , ( 6 B # D%%(()'d   '   *'r   