def METHOD_NAME(full_name):
    """Parse resource info from full name.
    Args:
        full_name (str): Full name of the resource in hierarchical format.
            Example of a full_name:
            organization/88888/project/myproject/firewall/99999/
            full_name has a trailing / that needs to be removed.
    Yields:
        iterator: strings of resource_type and resource_id
    """
    full_name_parts = full_name.split('/')[:-1]
    full_name_parts.reverse()
    resource_iter = iter(full_name_parts)
    for resource_id, resource_type in zip(resource_iter, resource_iter):
        yield resource_type, resource_id