def _get_resource_info(args):
    """Get the target resource information.

    Args:
        args (object): The args.

    Returns:
        list: The list of args to use with gcloud.
        str: The resource id.
    """
    resource_args = None
    resource_id = None

    if args.org_id:
        resource_args = ['organizations']
        resource_id = args.org_id
    elif args.folder_id:
        resource_args = ['alpha', 'resource-manager', 'folders']
        resource_id = args.folder_id
    elif args.project_id:
        resource_args = ['projects']
        resource_id = args.project_id

    return resource_args, resource_id