code: public static base_responses flush(nitro_service client, cachecontentgroup resources[]) throws Exception {
  		base_responses result = null;
  		if (resources != null && resources.length > 0) {
  			cachecontentgroup flushresources[] = new cachecontentgroup[resources.length];
  			for (int i=0;i<resources.length;i++){
  				flushresources[i] = new cachecontentgroup();
  				flushresources[i].name = resources[i].name;
  				flushresources[i].query = resources[i].query;
  				flushresources[i].host = resources[i].host;
  				flushresources[i].selectorvalue = resources[i].selectorvalue;
  				flushresources[i].force = resources[i].force;
  			}
  			result = perform_operation_bulk_request(client, flushresources,"flush");
  		}
  		return result;
  	}
docs: Use this API to flush cachecontentgroup resources.