getResourcesTagGroup snippet