public static base_response update(nitro_service client, filterpolicy resource) throws Exception {
		filterpolicy updateresource = new filterpolicy();
		updateresource.name = resource.name;
		updateresource.rule = resource.rule;
		updateresource.reqaction = resource.reqaction;
		updateresource.resaction = resource.resaction;
		return updateresource.update_resource(client);
	}
public static base_response update ( nitro_service client , filterpolicy resource ) throws Exception { filterpolicy updateresource = new filterpolicy ( ) ; updateresource . name = resource . name ; updateresource . rule = resource . rule ; updateresource . reqaction = resource . reqaction ; updateresource . resaction = resource . resaction ; return updateresource . update_resource ( client ) ; }
Use this API to update filterpolicy.