public static void enumerateResources(VerificationHost host,URI peerURI,ResourceEnumerationTaskState enumTask,String testCase) throws Throwable {
  host.log("Performing resource enumeration");
  ResourceEnumerationTaskState enumTaskState=performResourceEnumeration(host,peerURI,enumTask);
  host.waitForFinishedTask(ResourceEnumerationTaskState.class,createServiceURI(host,peerURI,enumTaskState.documentSelfLink));
  host.log("\n==%s==Total Time Spent in Enumeration==\n",testCase + getVMCount(host,peerURI));
  ServiceStats enumerationStats=host.getServiceState(null,ServiceStats.class,UriUtils.buildStatsUri(createServiceURI(host,peerURI,GCPEnumerationAdapterService.SELF_LINK)));
  host.log(Utils.toJsonHtml(enumerationStats));
}

public static void enumerateResources ( VerificationHost host , URI peerURI , ResourceEnumerationTaskState enumTask , String testCase ) throws Throwable { host . log ( "Performing resource enumeration" ) ; ResourceEnumerationTaskState enumTaskState = performResourceEnumeration ( host , peerURI , enumTask ) ; host . waitForFinishedTask ( ResourceEnumerationTaskState . class , createServiceURI ( host , peerURI , enumTaskState . documentSelfLink ) ) ; host . log ( "\n==%s==Total Time Spent in Enumeration==\n" , testCase + getVMCount ( host , peerURI ) ) ; ServiceStats enumerationStats = host . getServiceState ( null , ServiceStats . class , UriUtils . buildStatsUri ( createServiceURI ( host , peerURI , GCPEnumerationAdapterService . SELF_LINK ) ) ) ; host . log ( Utils . toJsonHtml ( enumerationStats ) ) ; }
method to run enumeration on gcp endpoint .
