def METHOD_NAME(self):
    """
    Remove all PII information from metadata, unless a keep-pii option
    is specified.
    Note: PII information collected by this plugin, like
    project number, account names etc. might be required by Google
    Cloud Support for faster issue resolution.
    """
    if self.get_option('keep-pii'):
        return
    project_id = self.metadata['project']['projectId']
    project_number_int = self.metadata['project']['numericProjectId']
    project_number = str(project_number_int)
    def scrub(data: Any) -> Any:
        if isinstance(data, dict):
            if 'token' in data:
                # Data returned for recursive query shouldn't contain
                # tokens, but you can't be too careful.
                data['token'] = self.REDACTED
            return {scrub(k): scrub(v) for k, v in data.items()}
        elif isinstance(data, list):
            return [scrub(value) for value in data]
        elif isinstance(data, str):
            return data.replace(project_number, self.REDACTED)\
                       .replace(project_id, self.REDACTED)
        elif isinstance(data, int):
            return self.REDACTED if data == project_number_int else data
        return data
    self.metadata = scrub(self.metadata)
    self.safe_redact_key(self.metadata['project']['attributes'],
                         'ssh-keys')
    self.safe_redact_key(self.metadata['project']['attributes'],
                         'sshKeys')