docs: protected void updateApiVersionResource(Object resource) {
      if (resource instanceof HasMetadata) {
        HasMetadata hasMetadata = (HasMetadata) resource;
        updateApiVersion(hasMetadata);
      } else if (resource instanceof KubernetesResourceList) {
        KubernetesResourceList list = (KubernetesResourceList) resource;
        updateApiVersion(list);
      }
    }