async def METHOD_NAME(
    discovered_group_template: GoogleWorkspaceGroupTemplate,
    existing_template_map: dict,
    group_dir: str,
) -> GoogleWorkspaceGroupTemplate:
    discovered_group_template.file_path = get_templated_resource_file_path(
        group_dir,
        discovered_group_template.properties.email,
    )
    return common_create_or_update_template(
        discovered_group_template.file_path,
        existing_template_map,
        discovered_group_template.resource_id,
        GoogleWorkspaceGroupTemplate,
        {},
        discovered_group_template.properties,
        [],
    )