public static String extractActualInstanceType(String instanceType){
  String[] split=instanceType.split("/");
  return split[split.length - 1];
}

public static String extractActualInstanceType ( String instanceType ) { String [ ] split = instanceType . split ( "/" ) ; return split [ split . length - 1 ] ; }
extract the actual instance type from default machine type from gcp response .
