public static base_response update ( nitro_service client , cachecontentgroup resource ) throws Exception { cachecontentgroup updateresource = new cachecontentgroup ( ) ; updateresource . name = resource . name ; updateresource . weakposrelexpiry = resource . weakposrelexpiry ; updateresource . heurexpiryparam = resource . heurexpiryparam ; updateresource . relexpiry = resource . relexpiry ; updateresource . relexpirymillisec = resource . relexpirymillisec ; updateresource . absexpiry = resource . absexpiry ; updateresource . absexpirygmt = resource . absexpirygmt ; updateresource . weaknegrelexpiry = resource . weaknegrelexpiry ; updateresource . hitparams = resource . hitparams ; updateresource . invalparams = resource . invalparams ; updateresource . ignoreparamvaluecase = resource . ignoreparamvaluecase ; updateresource . matchcookies = resource . matchcookies ; updateresource . invalrestrictedtohost = resource . invalrestrictedtohost ; updateresource . polleverytime = resource . polleverytime ; updateresource . ignorereloadreq = resource . ignorereloadreq ; updateresource . removecookies = resource . removecookies ; updateresource . prefetch = resource . prefetch ; updateresource . prefetchperiod = resource . prefetchperiod ; updateresource . prefetchperiodmillisec = resource . prefetchperiodmillisec ; updateresource . prefetchmaxpending = resource . prefetchmaxpending ; updateresource . flashcache = resource . flashcache ; updateresource . expireatlastbyte = resource . expireatlastbyte ; updateresource . insertvia = resource . insertvia ; updateresource . insertage = resource . insertage ; updateresource . insertetag = resource . insertetag ; updateresource . cachecontrol = resource . cachecontrol ; updateresource . quickabortsize = resource . quickabortsize ; updateresource . minressize = resource . minressize ; updateresource . maxressize = resource . maxressize ; updateresource . memlimit = resource . memlimit ; updateresource . ignorereqcachinghdrs = resource . ignorereqcachinghdrs ; updateresource . minhits = resource . minhits ; updateresource . alwaysevalpolicies = resource . alwaysevalpolicies ; updateresource . persist = resource . persist ; updateresource . pinned = resource . pinned ; updateresource . lazydnsresolve = resource . lazydnsresolve ; updateresource . hitselector = resource . hitselector ; updateresource . invalselector = resource . invalselector ; return updateresource . update_resource ( client ) ; }
Use this API to update cachecontentgroup .