code: public static base_response flush(nitro_service client, cachecontentgroup resource) throws Exception {
  		cachecontentgroup flushresource = new cachecontentgroup();
  		flushresource.name = resource.name;
  		flushresource.query = resource.query;
  		flushresource.host = resource.host;
  		flushresource.selectorvalue = resource.selectorvalue;
  		flushresource.force = resource.force;
  		return flushresource.perform_operation(client,"flush");
  	}
docs: Use this API to flush cachecontentgroup.