
    b                     ,   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                  " \R                  R                  \R                  R                   \R                  R"                  5       " S	 S
\R$                  5      5       rg)z8Command to turn off enforcement of a boolean constraint.    )absolute_import)division)unicode_literals)org_policies)base)org_policies_base)org_policies_flagsc                   .    \ rS rSrSr\S 5       rS rSrg)DisableEnforce   a  Turns off enforcement of boolean Organization Policy constraint.

Turns off enforcement of a boolean Organization Policy constraint at
the specified resource.

## EXAMPLES

The following command disables enforcement of the Organization Policy boolean
constraint `compute.disableSerialPortAccess` on project `foo-project`:

  $ {command} compute.disableSerialPortAccess --project=foo-project
c                 \    [         R                  " U 5        [         R                  " U 5        g )N)flagsAddIdArgToParserAddParentResourceFlagsToParser)parsers    <lib/surface/resource_manager/org_policies/disable_enforce.pyArgsDisableEnforce.Args+   s    	6"	((0    c                    [         R                  " U5      n[        R                  " 5       nUR	                  [         R
                  " UUR                  [        R                  " UR                  5      UR                  SS9S95      5      $ )NF)enforced)
constraintbooleanPolicy)
r   OrgPoliciesServicer   OrgPoliciesMessagesSetOrgPolicySetOrgPolicyRequest	OrgPolicyFormatConstraintidBooleanPolicy)selfargsservicemessagess       r   RunDisableEnforce.Run0   s~    2248G//1H--'88A&44e4D  F	GH Hr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r&   __static_attributes__r(   r   r   r   r      s!     1 1	Hr   r   N)r-   
__future__r   r   r   'googlecloudsdk.api_lib.resource_managerr   googlecloudsdk.callioper   +googlecloudsdk.command_lib.resource_managerr   r	   r   ReleaseTracksReleaseTrackALPHABETAGACommandr   r(   r   r   <module>r:      sw    ? &  ' @ ( I S D%%++T->->-C-C%%((*HT\\ H*Hr   