def _get_resource_type(api_version: str, kind: str) -> str:
    """
    >>> _get_resource_type("v1", "Pod")
    "pod"
    >>> _get_resource_type("batch/v1", "Job")
    "job.v1.batch"
    """

    if '/' in api_version:
        api_group, version = api_version.split('/')
        return f'{kind}.{version}.{api_group}'.lower()

    else:
        return kind.lower()