  def DeleteOrgPolicy(
      self, resource: str, constraint: str, etag: Optional[str] = None) -> bool:
    """Removes a particular Org Policy on a resource.

    Args:
      resource (str): a resource identifier in the format
        resource_type/resource_number e.g. projects/123456789012 where
        project_type is one of projects, folders or organizations.
      constraint (str): the name of the constraint to get.
      etag (str): The current version, for concurrency control.
        Not sending an etag will cause the Policy to be cleared blindly.

    Returns:
      bool: True if successful, False otherwise.

    Raises:
      TypeError: if an invalid resource type is provided.
    """
    resource_type = resource.split('/')[0]
    if resource_type not in self.RESOURCE_TYPES:
      raise TypeError('Invalid resource type "{0:s}", resource must be one of '
          '"projects", "folders" or "organizations" provided in the format '
          '"resource_type/resource_number".'.format(resource))

    if not constraint.startswith('constraints/'):
      constraint = 'constraints/' + constraint

    # Override API version, since this doesn't exist in v2 or v3
    self.RESOURCE_MANAGER_API_VERSION = 'v1'
    service = self.GrmApi()
    resource_client = getattr(service, resource_type)()
    body = {'constraint': constraint}
    if etag:
      body['etag'] = etag
    response: Dict[str, Any] = resource_client.clearOrgPolicy(
        resource=resource, body=body).execute()
    if not response:
      return True
    logger.warning("Unable to delete Org Policy: {0}".format(response))
    return False
Removes a particular Org Policy on a resource.

Args:
resource (str): a resource identifier in the format
resource_type/resource_number e.g. projects/123456789012 where
project_type is one of projects, folders or organizations.
constraint (str): the name of the constraint to get.
etag (str): The current version, for concurrency control.
Not sending an etag will cause the Policy to be cleared blindly.

Returns:
bool: True if successful, False otherwise.

Raises:
TypeError: if an invalid resource type is provided.
libcloudforensics/providers/gcp/internal/cloudresourcemanager.py