Compute.php 758 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. namespace Google\Service;
  18. use Google\Client;
  19. /**
  20. * Service definition for Compute (v1).
  21. *
  22. * <p>
  23. * Creates and runs virtual machines on Google Cloud Platform.</p>
  24. *
  25. * <p>
  26. * For more information about this service, see the API
  27. * <a href="https://cloud.google.com/compute/" target="_blank">Documentation</a>
  28. * </p>
  29. *
  30. * @author Google, Inc.
  31. */
  32. class Compute extends \Google\Service
  33. {
  34. /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
  35. const CLOUD_PLATFORM =
  36. "https://www.googleapis.com/auth/cloud-platform";
  37. /** View and manage your Google Compute Engine resources. */
  38. const COMPUTE =
  39. "https://www.googleapis.com/auth/compute";
  40. /** View your Google Compute Engine resources. */
  41. const COMPUTE_READONLY =
  42. "https://www.googleapis.com/auth/compute.readonly";
  43. /** Manage your data and permissions in Cloud Storage and see the email address for your Google Account. */
  44. const DEVSTORAGE_FULL_CONTROL =
  45. "https://www.googleapis.com/auth/devstorage.full_control";
  46. /** View your data in Google Cloud Storage. */
  47. const DEVSTORAGE_READ_ONLY =
  48. "https://www.googleapis.com/auth/devstorage.read_only";
  49. /** Manage your data in Cloud Storage and see the email address of your Google Account. */
  50. const DEVSTORAGE_READ_WRITE =
  51. "https://www.googleapis.com/auth/devstorage.read_write";
  52. public $acceleratorTypes;
  53. public $addresses;
  54. public $advice;
  55. public $autoscalers;
  56. public $backendBuckets;
  57. public $backendServices;
  58. public $crossSiteNetworks;
  59. public $diskTypes;
  60. public $disks;
  61. public $externalVpnGateways;
  62. public $firewallPolicies;
  63. public $firewalls;
  64. public $forwardingRules;
  65. public $futureReservations;
  66. public $globalAddresses;
  67. public $globalForwardingRules;
  68. public $globalNetworkEndpointGroups;
  69. public $globalOperations;
  70. public $globalOrganizationOperations;
  71. public $globalPublicDelegatedPrefixes;
  72. public $healthChecks;
  73. public $httpHealthChecks;
  74. public $httpsHealthChecks;
  75. public $imageFamilyViews;
  76. public $images;
  77. public $instanceGroupManagerResizeRequests;
  78. public $instanceGroupManagers;
  79. public $instanceGroups;
  80. public $instanceSettings;
  81. public $instanceTemplates;
  82. public $instances;
  83. public $instantSnapshots;
  84. public $interconnectAttachmentGroups;
  85. public $interconnectAttachments;
  86. public $interconnectGroups;
  87. public $interconnectLocations;
  88. public $interconnectRemoteLocations;
  89. public $interconnects;
  90. public $licenseCodes;
  91. public $licenses;
  92. public $machineImages;
  93. public $machineTypes;
  94. public $networkAttachments;
  95. public $networkEdgeSecurityServices;
  96. public $networkEndpointGroups;
  97. public $networkFirewallPolicies;
  98. public $networkProfiles;
  99. public $networks;
  100. public $nodeGroups;
  101. public $nodeTemplates;
  102. public $nodeTypes;
  103. public $organizationSecurityPolicies;
  104. public $packetMirrorings;
  105. public $previewFeatures;
  106. public $projects;
  107. public $publicAdvertisedPrefixes;
  108. public $publicDelegatedPrefixes;
  109. public $regionAutoscalers;
  110. public $regionBackendServices;
  111. public $regionCommitments;
  112. public $regionDiskTypes;
  113. public $regionDisks;
  114. public $regionHealthAggregationPolicies;
  115. public $regionHealthCheckServices;
  116. public $regionHealthChecks;
  117. public $regionInstanceGroupManagers;
  118. public $regionInstanceGroups;
  119. public $regionInstanceTemplates;
  120. public $regionInstances;
  121. public $regionInstantSnapshots;
  122. public $regionNetworkEndpointGroups;
  123. public $regionNetworkFirewallPolicies;
  124. public $regionNotificationEndpoints;
  125. public $regionOperations;
  126. public $regionSecurityPolicies;
  127. public $regionSslCertificates;
  128. public $regionSslPolicies;
  129. public $regionTargetHttpProxies;
  130. public $regionTargetHttpsProxies;
  131. public $regionTargetTcpProxies;
  132. public $regionUrlMaps;
  133. public $regionZones;
  134. public $regions;
  135. public $reservationBlocks;
  136. public $reservationSlots;
  137. public $reservationSubBlocks;
  138. public $reservations;
  139. public $resourcePolicies;
  140. public $routers;
  141. public $routes;
  142. public $securityPolicies;
  143. public $serviceAttachments;
  144. public $snapshotSettings;
  145. public $snapshots;
  146. public $sslCertificates;
  147. public $sslPolicies;
  148. public $storagePoolTypes;
  149. public $storagePools;
  150. public $subnetworks;
  151. public $targetGrpcProxies;
  152. public $targetHttpProxies;
  153. public $targetHttpsProxies;
  154. public $targetInstances;
  155. public $targetPools;
  156. public $targetSslProxies;
  157. public $targetTcpProxies;
  158. public $targetVpnGateways;
  159. public $urlMaps;
  160. public $vpnGateways;
  161. public $vpnTunnels;
  162. public $wireGroups;
  163. public $zoneOperations;
  164. public $zones;
  165. public $rootUrlTemplate;
  166. /**
  167. * Constructs the internal representation of the Compute service.
  168. *
  169. * @param Client|array $clientOrConfig The client used to deliver requests, or a
  170. * config array to pass to a new Client instance.
  171. * @param string $rootUrl The root URL used for requests to the service.
  172. */
  173. public function __construct($clientOrConfig = [], $rootUrl = null)
  174. {
  175. parent::__construct($clientOrConfig);
  176. $this->rootUrl = $rootUrl ?: 'https://compute.googleapis.com/';
  177. $this->rootUrlTemplate = $rootUrl ?: 'https://compute.UNIVERSE_DOMAIN/';
  178. $this->servicePath = 'compute/v1/';
  179. $this->batchPath = 'batch/compute/v1';
  180. $this->version = 'v1';
  181. $this->serviceName = 'compute';
  182. $this->acceleratorTypes = new Compute\Resource\AcceleratorTypes(
  183. $this,
  184. $this->serviceName,
  185. 'acceleratorTypes',
  186. [
  187. 'methods' => [
  188. 'aggregatedList' => [
  189. 'path' => 'projects/{project}/aggregated/acceleratorTypes',
  190. 'httpMethod' => 'GET',
  191. 'parameters' => [
  192. 'project' => [
  193. 'location' => 'path',
  194. 'type' => 'string',
  195. 'required' => true,
  196. ],
  197. 'filter' => [
  198. 'location' => 'query',
  199. 'type' => 'string',
  200. ],
  201. 'includeAllScopes' => [
  202. 'location' => 'query',
  203. 'type' => 'boolean',
  204. ],
  205. 'maxResults' => [
  206. 'location' => 'query',
  207. 'type' => 'integer',
  208. ],
  209. 'orderBy' => [
  210. 'location' => 'query',
  211. 'type' => 'string',
  212. ],
  213. 'pageToken' => [
  214. 'location' => 'query',
  215. 'type' => 'string',
  216. ],
  217. 'returnPartialSuccess' => [
  218. 'location' => 'query',
  219. 'type' => 'boolean',
  220. ],
  221. 'serviceProjectNumber' => [
  222. 'location' => 'query',
  223. 'type' => 'string',
  224. ],
  225. ],
  226. ],'get' => [
  227. 'path' => 'projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}',
  228. 'httpMethod' => 'GET',
  229. 'parameters' => [
  230. 'project' => [
  231. 'location' => 'path',
  232. 'type' => 'string',
  233. 'required' => true,
  234. ],
  235. 'zone' => [
  236. 'location' => 'path',
  237. 'type' => 'string',
  238. 'required' => true,
  239. ],
  240. 'acceleratorType' => [
  241. 'location' => 'path',
  242. 'type' => 'string',
  243. 'required' => true,
  244. ],
  245. ],
  246. ],'list' => [
  247. 'path' => 'projects/{project}/zones/{zone}/acceleratorTypes',
  248. 'httpMethod' => 'GET',
  249. 'parameters' => [
  250. 'project' => [
  251. 'location' => 'path',
  252. 'type' => 'string',
  253. 'required' => true,
  254. ],
  255. 'zone' => [
  256. 'location' => 'path',
  257. 'type' => 'string',
  258. 'required' => true,
  259. ],
  260. 'filter' => [
  261. 'location' => 'query',
  262. 'type' => 'string',
  263. ],
  264. 'maxResults' => [
  265. 'location' => 'query',
  266. 'type' => 'integer',
  267. ],
  268. 'orderBy' => [
  269. 'location' => 'query',
  270. 'type' => 'string',
  271. ],
  272. 'pageToken' => [
  273. 'location' => 'query',
  274. 'type' => 'string',
  275. ],
  276. 'returnPartialSuccess' => [
  277. 'location' => 'query',
  278. 'type' => 'boolean',
  279. ],
  280. ],
  281. ],
  282. ]
  283. ]
  284. );
  285. $this->addresses = new Compute\Resource\Addresses(
  286. $this,
  287. $this->serviceName,
  288. 'addresses',
  289. [
  290. 'methods' => [
  291. 'aggregatedList' => [
  292. 'path' => 'projects/{project}/aggregated/addresses',
  293. 'httpMethod' => 'GET',
  294. 'parameters' => [
  295. 'project' => [
  296. 'location' => 'path',
  297. 'type' => 'string',
  298. 'required' => true,
  299. ],
  300. 'filter' => [
  301. 'location' => 'query',
  302. 'type' => 'string',
  303. ],
  304. 'includeAllScopes' => [
  305. 'location' => 'query',
  306. 'type' => 'boolean',
  307. ],
  308. 'maxResults' => [
  309. 'location' => 'query',
  310. 'type' => 'integer',
  311. ],
  312. 'orderBy' => [
  313. 'location' => 'query',
  314. 'type' => 'string',
  315. ],
  316. 'pageToken' => [
  317. 'location' => 'query',
  318. 'type' => 'string',
  319. ],
  320. 'returnPartialSuccess' => [
  321. 'location' => 'query',
  322. 'type' => 'boolean',
  323. ],
  324. 'serviceProjectNumber' => [
  325. 'location' => 'query',
  326. 'type' => 'string',
  327. ],
  328. ],
  329. ],'delete' => [
  330. 'path' => 'projects/{project}/regions/{region}/addresses/{address}',
  331. 'httpMethod' => 'DELETE',
  332. 'parameters' => [
  333. 'project' => [
  334. 'location' => 'path',
  335. 'type' => 'string',
  336. 'required' => true,
  337. ],
  338. 'region' => [
  339. 'location' => 'path',
  340. 'type' => 'string',
  341. 'required' => true,
  342. ],
  343. 'address' => [
  344. 'location' => 'path',
  345. 'type' => 'string',
  346. 'required' => true,
  347. ],
  348. 'requestId' => [
  349. 'location' => 'query',
  350. 'type' => 'string',
  351. ],
  352. ],
  353. ],'get' => [
  354. 'path' => 'projects/{project}/regions/{region}/addresses/{address}',
  355. 'httpMethod' => 'GET',
  356. 'parameters' => [
  357. 'project' => [
  358. 'location' => 'path',
  359. 'type' => 'string',
  360. 'required' => true,
  361. ],
  362. 'region' => [
  363. 'location' => 'path',
  364. 'type' => 'string',
  365. 'required' => true,
  366. ],
  367. 'address' => [
  368. 'location' => 'path',
  369. 'type' => 'string',
  370. 'required' => true,
  371. ],
  372. ],
  373. ],'insert' => [
  374. 'path' => 'projects/{project}/regions/{region}/addresses',
  375. 'httpMethod' => 'POST',
  376. 'parameters' => [
  377. 'project' => [
  378. 'location' => 'path',
  379. 'type' => 'string',
  380. 'required' => true,
  381. ],
  382. 'region' => [
  383. 'location' => 'path',
  384. 'type' => 'string',
  385. 'required' => true,
  386. ],
  387. 'requestId' => [
  388. 'location' => 'query',
  389. 'type' => 'string',
  390. ],
  391. ],
  392. ],'list' => [
  393. 'path' => 'projects/{project}/regions/{region}/addresses',
  394. 'httpMethod' => 'GET',
  395. 'parameters' => [
  396. 'project' => [
  397. 'location' => 'path',
  398. 'type' => 'string',
  399. 'required' => true,
  400. ],
  401. 'region' => [
  402. 'location' => 'path',
  403. 'type' => 'string',
  404. 'required' => true,
  405. ],
  406. 'filter' => [
  407. 'location' => 'query',
  408. 'type' => 'string',
  409. ],
  410. 'maxResults' => [
  411. 'location' => 'query',
  412. 'type' => 'integer',
  413. ],
  414. 'orderBy' => [
  415. 'location' => 'query',
  416. 'type' => 'string',
  417. ],
  418. 'pageToken' => [
  419. 'location' => 'query',
  420. 'type' => 'string',
  421. ],
  422. 'returnPartialSuccess' => [
  423. 'location' => 'query',
  424. 'type' => 'boolean',
  425. ],
  426. ],
  427. ],'move' => [
  428. 'path' => 'projects/{project}/regions/{region}/addresses/{address}/move',
  429. 'httpMethod' => 'POST',
  430. 'parameters' => [
  431. 'project' => [
  432. 'location' => 'path',
  433. 'type' => 'string',
  434. 'required' => true,
  435. ],
  436. 'region' => [
  437. 'location' => 'path',
  438. 'type' => 'string',
  439. 'required' => true,
  440. ],
  441. 'address' => [
  442. 'location' => 'path',
  443. 'type' => 'string',
  444. 'required' => true,
  445. ],
  446. 'requestId' => [
  447. 'location' => 'query',
  448. 'type' => 'string',
  449. ],
  450. ],
  451. ],'setLabels' => [
  452. 'path' => 'projects/{project}/regions/{region}/addresses/{resource}/setLabels',
  453. 'httpMethod' => 'POST',
  454. 'parameters' => [
  455. 'project' => [
  456. 'location' => 'path',
  457. 'type' => 'string',
  458. 'required' => true,
  459. ],
  460. 'region' => [
  461. 'location' => 'path',
  462. 'type' => 'string',
  463. 'required' => true,
  464. ],
  465. 'resource' => [
  466. 'location' => 'path',
  467. 'type' => 'string',
  468. 'required' => true,
  469. ],
  470. 'requestId' => [
  471. 'location' => 'query',
  472. 'type' => 'string',
  473. ],
  474. ],
  475. ],'testIamPermissions' => [
  476. 'path' => 'projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions',
  477. 'httpMethod' => 'POST',
  478. 'parameters' => [
  479. 'project' => [
  480. 'location' => 'path',
  481. 'type' => 'string',
  482. 'required' => true,
  483. ],
  484. 'region' => [
  485. 'location' => 'path',
  486. 'type' => 'string',
  487. 'required' => true,
  488. ],
  489. 'resource' => [
  490. 'location' => 'path',
  491. 'type' => 'string',
  492. 'required' => true,
  493. ],
  494. ],
  495. ],
  496. ]
  497. ]
  498. );
  499. $this->advice = new Compute\Resource\Advice(
  500. $this,
  501. $this->serviceName,
  502. 'advice',
  503. [
  504. 'methods' => [
  505. 'calendarMode' => [
  506. 'path' => 'projects/{project}/regions/{region}/advice/calendarMode',
  507. 'httpMethod' => 'POST',
  508. 'parameters' => [
  509. 'project' => [
  510. 'location' => 'path',
  511. 'type' => 'string',
  512. 'required' => true,
  513. ],
  514. 'region' => [
  515. 'location' => 'path',
  516. 'type' => 'string',
  517. 'required' => true,
  518. ],
  519. ],
  520. ],
  521. ]
  522. ]
  523. );
  524. $this->autoscalers = new Compute\Resource\Autoscalers(
  525. $this,
  526. $this->serviceName,
  527. 'autoscalers',
  528. [
  529. 'methods' => [
  530. 'aggregatedList' => [
  531. 'path' => 'projects/{project}/aggregated/autoscalers',
  532. 'httpMethod' => 'GET',
  533. 'parameters' => [
  534. 'project' => [
  535. 'location' => 'path',
  536. 'type' => 'string',
  537. 'required' => true,
  538. ],
  539. 'filter' => [
  540. 'location' => 'query',
  541. 'type' => 'string',
  542. ],
  543. 'includeAllScopes' => [
  544. 'location' => 'query',
  545. 'type' => 'boolean',
  546. ],
  547. 'maxResults' => [
  548. 'location' => 'query',
  549. 'type' => 'integer',
  550. ],
  551. 'orderBy' => [
  552. 'location' => 'query',
  553. 'type' => 'string',
  554. ],
  555. 'pageToken' => [
  556. 'location' => 'query',
  557. 'type' => 'string',
  558. ],
  559. 'returnPartialSuccess' => [
  560. 'location' => 'query',
  561. 'type' => 'boolean',
  562. ],
  563. 'serviceProjectNumber' => [
  564. 'location' => 'query',
  565. 'type' => 'string',
  566. ],
  567. ],
  568. ],'delete' => [
  569. 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
  570. 'httpMethod' => 'DELETE',
  571. 'parameters' => [
  572. 'project' => [
  573. 'location' => 'path',
  574. 'type' => 'string',
  575. 'required' => true,
  576. ],
  577. 'zone' => [
  578. 'location' => 'path',
  579. 'type' => 'string',
  580. 'required' => true,
  581. ],
  582. 'autoscaler' => [
  583. 'location' => 'path',
  584. 'type' => 'string',
  585. 'required' => true,
  586. ],
  587. 'requestId' => [
  588. 'location' => 'query',
  589. 'type' => 'string',
  590. ],
  591. ],
  592. ],'get' => [
  593. 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
  594. 'httpMethod' => 'GET',
  595. 'parameters' => [
  596. 'project' => [
  597. 'location' => 'path',
  598. 'type' => 'string',
  599. 'required' => true,
  600. ],
  601. 'zone' => [
  602. 'location' => 'path',
  603. 'type' => 'string',
  604. 'required' => true,
  605. ],
  606. 'autoscaler' => [
  607. 'location' => 'path',
  608. 'type' => 'string',
  609. 'required' => true,
  610. ],
  611. ],
  612. ],'insert' => [
  613. 'path' => 'projects/{project}/zones/{zone}/autoscalers',
  614. 'httpMethod' => 'POST',
  615. 'parameters' => [
  616. 'project' => [
  617. 'location' => 'path',
  618. 'type' => 'string',
  619. 'required' => true,
  620. ],
  621. 'zone' => [
  622. 'location' => 'path',
  623. 'type' => 'string',
  624. 'required' => true,
  625. ],
  626. 'requestId' => [
  627. 'location' => 'query',
  628. 'type' => 'string',
  629. ],
  630. ],
  631. ],'list' => [
  632. 'path' => 'projects/{project}/zones/{zone}/autoscalers',
  633. 'httpMethod' => 'GET',
  634. 'parameters' => [
  635. 'project' => [
  636. 'location' => 'path',
  637. 'type' => 'string',
  638. 'required' => true,
  639. ],
  640. 'zone' => [
  641. 'location' => 'path',
  642. 'type' => 'string',
  643. 'required' => true,
  644. ],
  645. 'filter' => [
  646. 'location' => 'query',
  647. 'type' => 'string',
  648. ],
  649. 'maxResults' => [
  650. 'location' => 'query',
  651. 'type' => 'integer',
  652. ],
  653. 'orderBy' => [
  654. 'location' => 'query',
  655. 'type' => 'string',
  656. ],
  657. 'pageToken' => [
  658. 'location' => 'query',
  659. 'type' => 'string',
  660. ],
  661. 'returnPartialSuccess' => [
  662. 'location' => 'query',
  663. 'type' => 'boolean',
  664. ],
  665. ],
  666. ],'patch' => [
  667. 'path' => 'projects/{project}/zones/{zone}/autoscalers',
  668. 'httpMethod' => 'PATCH',
  669. 'parameters' => [
  670. 'project' => [
  671. 'location' => 'path',
  672. 'type' => 'string',
  673. 'required' => true,
  674. ],
  675. 'zone' => [
  676. 'location' => 'path',
  677. 'type' => 'string',
  678. 'required' => true,
  679. ],
  680. 'autoscaler' => [
  681. 'location' => 'query',
  682. 'type' => 'string',
  683. ],
  684. 'requestId' => [
  685. 'location' => 'query',
  686. 'type' => 'string',
  687. ],
  688. ],
  689. ],'testIamPermissions' => [
  690. 'path' => 'projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions',
  691. 'httpMethod' => 'POST',
  692. 'parameters' => [
  693. 'project' => [
  694. 'location' => 'path',
  695. 'type' => 'string',
  696. 'required' => true,
  697. ],
  698. 'zone' => [
  699. 'location' => 'path',
  700. 'type' => 'string',
  701. 'required' => true,
  702. ],
  703. 'resource' => [
  704. 'location' => 'path',
  705. 'type' => 'string',
  706. 'required' => true,
  707. ],
  708. ],
  709. ],'update' => [
  710. 'path' => 'projects/{project}/zones/{zone}/autoscalers',
  711. 'httpMethod' => 'PUT',
  712. 'parameters' => [
  713. 'project' => [
  714. 'location' => 'path',
  715. 'type' => 'string',
  716. 'required' => true,
  717. ],
  718. 'zone' => [
  719. 'location' => 'path',
  720. 'type' => 'string',
  721. 'required' => true,
  722. ],
  723. 'autoscaler' => [
  724. 'location' => 'query',
  725. 'type' => 'string',
  726. ],
  727. 'requestId' => [
  728. 'location' => 'query',
  729. 'type' => 'string',
  730. ],
  731. ],
  732. ],
  733. ]
  734. ]
  735. );
  736. $this->backendBuckets = new Compute\Resource\BackendBuckets(
  737. $this,
  738. $this->serviceName,
  739. 'backendBuckets',
  740. [
  741. 'methods' => [
  742. 'addSignedUrlKey' => [
  743. 'path' => 'projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey',
  744. 'httpMethod' => 'POST',
  745. 'parameters' => [
  746. 'project' => [
  747. 'location' => 'path',
  748. 'type' => 'string',
  749. 'required' => true,
  750. ],
  751. 'backendBucket' => [
  752. 'location' => 'path',
  753. 'type' => 'string',
  754. 'required' => true,
  755. ],
  756. 'requestId' => [
  757. 'location' => 'query',
  758. 'type' => 'string',
  759. ],
  760. ],
  761. ],'delete' => [
  762. 'path' => 'projects/{project}/global/backendBuckets/{backendBucket}',
  763. 'httpMethod' => 'DELETE',
  764. 'parameters' => [
  765. 'project' => [
  766. 'location' => 'path',
  767. 'type' => 'string',
  768. 'required' => true,
  769. ],
  770. 'backendBucket' => [
  771. 'location' => 'path',
  772. 'type' => 'string',
  773. 'required' => true,
  774. ],
  775. 'requestId' => [
  776. 'location' => 'query',
  777. 'type' => 'string',
  778. ],
  779. ],
  780. ],'deleteSignedUrlKey' => [
  781. 'path' => 'projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey',
  782. 'httpMethod' => 'POST',
  783. 'parameters' => [
  784. 'project' => [
  785. 'location' => 'path',
  786. 'type' => 'string',
  787. 'required' => true,
  788. ],
  789. 'backendBucket' => [
  790. 'location' => 'path',
  791. 'type' => 'string',
  792. 'required' => true,
  793. ],
  794. 'keyName' => [
  795. 'location' => 'query',
  796. 'type' => 'string',
  797. 'required' => true,
  798. ],
  799. 'requestId' => [
  800. 'location' => 'query',
  801. 'type' => 'string',
  802. ],
  803. ],
  804. ],'get' => [
  805. 'path' => 'projects/{project}/global/backendBuckets/{backendBucket}',
  806. 'httpMethod' => 'GET',
  807. 'parameters' => [
  808. 'project' => [
  809. 'location' => 'path',
  810. 'type' => 'string',
  811. 'required' => true,
  812. ],
  813. 'backendBucket' => [
  814. 'location' => 'path',
  815. 'type' => 'string',
  816. 'required' => true,
  817. ],
  818. ],
  819. ],'getIamPolicy' => [
  820. 'path' => 'projects/{project}/global/backendBuckets/{resource}/getIamPolicy',
  821. 'httpMethod' => 'GET',
  822. 'parameters' => [
  823. 'project' => [
  824. 'location' => 'path',
  825. 'type' => 'string',
  826. 'required' => true,
  827. ],
  828. 'resource' => [
  829. 'location' => 'path',
  830. 'type' => 'string',
  831. 'required' => true,
  832. ],
  833. 'optionsRequestedPolicyVersion' => [
  834. 'location' => 'query',
  835. 'type' => 'integer',
  836. ],
  837. ],
  838. ],'insert' => [
  839. 'path' => 'projects/{project}/global/backendBuckets',
  840. 'httpMethod' => 'POST',
  841. 'parameters' => [
  842. 'project' => [
  843. 'location' => 'path',
  844. 'type' => 'string',
  845. 'required' => true,
  846. ],
  847. 'requestId' => [
  848. 'location' => 'query',
  849. 'type' => 'string',
  850. ],
  851. ],
  852. ],'list' => [
  853. 'path' => 'projects/{project}/global/backendBuckets',
  854. 'httpMethod' => 'GET',
  855. 'parameters' => [
  856. 'project' => [
  857. 'location' => 'path',
  858. 'type' => 'string',
  859. 'required' => true,
  860. ],
  861. 'filter' => [
  862. 'location' => 'query',
  863. 'type' => 'string',
  864. ],
  865. 'maxResults' => [
  866. 'location' => 'query',
  867. 'type' => 'integer',
  868. ],
  869. 'orderBy' => [
  870. 'location' => 'query',
  871. 'type' => 'string',
  872. ],
  873. 'pageToken' => [
  874. 'location' => 'query',
  875. 'type' => 'string',
  876. ],
  877. 'returnPartialSuccess' => [
  878. 'location' => 'query',
  879. 'type' => 'boolean',
  880. ],
  881. ],
  882. ],'patch' => [
  883. 'path' => 'projects/{project}/global/backendBuckets/{backendBucket}',
  884. 'httpMethod' => 'PATCH',
  885. 'parameters' => [
  886. 'project' => [
  887. 'location' => 'path',
  888. 'type' => 'string',
  889. 'required' => true,
  890. ],
  891. 'backendBucket' => [
  892. 'location' => 'path',
  893. 'type' => 'string',
  894. 'required' => true,
  895. ],
  896. 'requestId' => [
  897. 'location' => 'query',
  898. 'type' => 'string',
  899. ],
  900. ],
  901. ],'setEdgeSecurityPolicy' => [
  902. 'path' => 'projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy',
  903. 'httpMethod' => 'POST',
  904. 'parameters' => [
  905. 'project' => [
  906. 'location' => 'path',
  907. 'type' => 'string',
  908. 'required' => true,
  909. ],
  910. 'backendBucket' => [
  911. 'location' => 'path',
  912. 'type' => 'string',
  913. 'required' => true,
  914. ],
  915. 'requestId' => [
  916. 'location' => 'query',
  917. 'type' => 'string',
  918. ],
  919. ],
  920. ],'setIamPolicy' => [
  921. 'path' => 'projects/{project}/global/backendBuckets/{resource}/setIamPolicy',
  922. 'httpMethod' => 'POST',
  923. 'parameters' => [
  924. 'project' => [
  925. 'location' => 'path',
  926. 'type' => 'string',
  927. 'required' => true,
  928. ],
  929. 'resource' => [
  930. 'location' => 'path',
  931. 'type' => 'string',
  932. 'required' => true,
  933. ],
  934. ],
  935. ],'testIamPermissions' => [
  936. 'path' => 'projects/{project}/global/backendBuckets/{resource}/testIamPermissions',
  937. 'httpMethod' => 'POST',
  938. 'parameters' => [
  939. 'project' => [
  940. 'location' => 'path',
  941. 'type' => 'string',
  942. 'required' => true,
  943. ],
  944. 'resource' => [
  945. 'location' => 'path',
  946. 'type' => 'string',
  947. 'required' => true,
  948. ],
  949. ],
  950. ],'update' => [
  951. 'path' => 'projects/{project}/global/backendBuckets/{backendBucket}',
  952. 'httpMethod' => 'PUT',
  953. 'parameters' => [
  954. 'project' => [
  955. 'location' => 'path',
  956. 'type' => 'string',
  957. 'required' => true,
  958. ],
  959. 'backendBucket' => [
  960. 'location' => 'path',
  961. 'type' => 'string',
  962. 'required' => true,
  963. ],
  964. 'requestId' => [
  965. 'location' => 'query',
  966. 'type' => 'string',
  967. ],
  968. ],
  969. ],
  970. ]
  971. ]
  972. );
  973. $this->backendServices = new Compute\Resource\BackendServices(
  974. $this,
  975. $this->serviceName,
  976. 'backendServices',
  977. [
  978. 'methods' => [
  979. 'addSignedUrlKey' => [
  980. 'path' => 'projects/{project}/global/backendServices/{backendService}/addSignedUrlKey',
  981. 'httpMethod' => 'POST',
  982. 'parameters' => [
  983. 'project' => [
  984. 'location' => 'path',
  985. 'type' => 'string',
  986. 'required' => true,
  987. ],
  988. 'backendService' => [
  989. 'location' => 'path',
  990. 'type' => 'string',
  991. 'required' => true,
  992. ],
  993. 'requestId' => [
  994. 'location' => 'query',
  995. 'type' => 'string',
  996. ],
  997. ],
  998. ],'aggregatedList' => [
  999. 'path' => 'projects/{project}/aggregated/backendServices',
  1000. 'httpMethod' => 'GET',
  1001. 'parameters' => [
  1002. 'project' => [
  1003. 'location' => 'path',
  1004. 'type' => 'string',
  1005. 'required' => true,
  1006. ],
  1007. 'filter' => [
  1008. 'location' => 'query',
  1009. 'type' => 'string',
  1010. ],
  1011. 'includeAllScopes' => [
  1012. 'location' => 'query',
  1013. 'type' => 'boolean',
  1014. ],
  1015. 'maxResults' => [
  1016. 'location' => 'query',
  1017. 'type' => 'integer',
  1018. ],
  1019. 'orderBy' => [
  1020. 'location' => 'query',
  1021. 'type' => 'string',
  1022. ],
  1023. 'pageToken' => [
  1024. 'location' => 'query',
  1025. 'type' => 'string',
  1026. ],
  1027. 'returnPartialSuccess' => [
  1028. 'location' => 'query',
  1029. 'type' => 'boolean',
  1030. ],
  1031. 'serviceProjectNumber' => [
  1032. 'location' => 'query',
  1033. 'type' => 'string',
  1034. ],
  1035. ],
  1036. ],'delete' => [
  1037. 'path' => 'projects/{project}/global/backendServices/{backendService}',
  1038. 'httpMethod' => 'DELETE',
  1039. 'parameters' => [
  1040. 'project' => [
  1041. 'location' => 'path',
  1042. 'type' => 'string',
  1043. 'required' => true,
  1044. ],
  1045. 'backendService' => [
  1046. 'location' => 'path',
  1047. 'type' => 'string',
  1048. 'required' => true,
  1049. ],
  1050. 'requestId' => [
  1051. 'location' => 'query',
  1052. 'type' => 'string',
  1053. ],
  1054. ],
  1055. ],'deleteSignedUrlKey' => [
  1056. 'path' => 'projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey',
  1057. 'httpMethod' => 'POST',
  1058. 'parameters' => [
  1059. 'project' => [
  1060. 'location' => 'path',
  1061. 'type' => 'string',
  1062. 'required' => true,
  1063. ],
  1064. 'backendService' => [
  1065. 'location' => 'path',
  1066. 'type' => 'string',
  1067. 'required' => true,
  1068. ],
  1069. 'keyName' => [
  1070. 'location' => 'query',
  1071. 'type' => 'string',
  1072. 'required' => true,
  1073. ],
  1074. 'requestId' => [
  1075. 'location' => 'query',
  1076. 'type' => 'string',
  1077. ],
  1078. ],
  1079. ],'get' => [
  1080. 'path' => 'projects/{project}/global/backendServices/{backendService}',
  1081. 'httpMethod' => 'GET',
  1082. 'parameters' => [
  1083. 'project' => [
  1084. 'location' => 'path',
  1085. 'type' => 'string',
  1086. 'required' => true,
  1087. ],
  1088. 'backendService' => [
  1089. 'location' => 'path',
  1090. 'type' => 'string',
  1091. 'required' => true,
  1092. ],
  1093. ],
  1094. ],'getEffectiveSecurityPolicies' => [
  1095. 'path' => 'projects/{project}/global/backendServices/{backendService}/getEffectiveSecurityPolicies',
  1096. 'httpMethod' => 'GET',
  1097. 'parameters' => [
  1098. 'project' => [
  1099. 'location' => 'path',
  1100. 'type' => 'string',
  1101. 'required' => true,
  1102. ],
  1103. 'backendService' => [
  1104. 'location' => 'path',
  1105. 'type' => 'string',
  1106. 'required' => true,
  1107. ],
  1108. ],
  1109. ],'getHealth' => [
  1110. 'path' => 'projects/{project}/global/backendServices/{backendService}/getHealth',
  1111. 'httpMethod' => 'POST',
  1112. 'parameters' => [
  1113. 'project' => [
  1114. 'location' => 'path',
  1115. 'type' => 'string',
  1116. 'required' => true,
  1117. ],
  1118. 'backendService' => [
  1119. 'location' => 'path',
  1120. 'type' => 'string',
  1121. 'required' => true,
  1122. ],
  1123. ],
  1124. ],'getIamPolicy' => [
  1125. 'path' => 'projects/{project}/global/backendServices/{resource}/getIamPolicy',
  1126. 'httpMethod' => 'GET',
  1127. 'parameters' => [
  1128. 'project' => [
  1129. 'location' => 'path',
  1130. 'type' => 'string',
  1131. 'required' => true,
  1132. ],
  1133. 'resource' => [
  1134. 'location' => 'path',
  1135. 'type' => 'string',
  1136. 'required' => true,
  1137. ],
  1138. 'optionsRequestedPolicyVersion' => [
  1139. 'location' => 'query',
  1140. 'type' => 'integer',
  1141. ],
  1142. ],
  1143. ],'insert' => [
  1144. 'path' => 'projects/{project}/global/backendServices',
  1145. 'httpMethod' => 'POST',
  1146. 'parameters' => [
  1147. 'project' => [
  1148. 'location' => 'path',
  1149. 'type' => 'string',
  1150. 'required' => true,
  1151. ],
  1152. 'requestId' => [
  1153. 'location' => 'query',
  1154. 'type' => 'string',
  1155. ],
  1156. ],
  1157. ],'list' => [
  1158. 'path' => 'projects/{project}/global/backendServices',
  1159. 'httpMethod' => 'GET',
  1160. 'parameters' => [
  1161. 'project' => [
  1162. 'location' => 'path',
  1163. 'type' => 'string',
  1164. 'required' => true,
  1165. ],
  1166. 'filter' => [
  1167. 'location' => 'query',
  1168. 'type' => 'string',
  1169. ],
  1170. 'maxResults' => [
  1171. 'location' => 'query',
  1172. 'type' => 'integer',
  1173. ],
  1174. 'orderBy' => [
  1175. 'location' => 'query',
  1176. 'type' => 'string',
  1177. ],
  1178. 'pageToken' => [
  1179. 'location' => 'query',
  1180. 'type' => 'string',
  1181. ],
  1182. 'returnPartialSuccess' => [
  1183. 'location' => 'query',
  1184. 'type' => 'boolean',
  1185. ],
  1186. ],
  1187. ],'listUsable' => [
  1188. 'path' => 'projects/{project}/global/backendServices/listUsable',
  1189. 'httpMethod' => 'GET',
  1190. 'parameters' => [
  1191. 'project' => [
  1192. 'location' => 'path',
  1193. 'type' => 'string',
  1194. 'required' => true,
  1195. ],
  1196. 'filter' => [
  1197. 'location' => 'query',
  1198. 'type' => 'string',
  1199. ],
  1200. 'maxResults' => [
  1201. 'location' => 'query',
  1202. 'type' => 'integer',
  1203. ],
  1204. 'orderBy' => [
  1205. 'location' => 'query',
  1206. 'type' => 'string',
  1207. ],
  1208. 'pageToken' => [
  1209. 'location' => 'query',
  1210. 'type' => 'string',
  1211. ],
  1212. 'returnPartialSuccess' => [
  1213. 'location' => 'query',
  1214. 'type' => 'boolean',
  1215. ],
  1216. ],
  1217. ],'patch' => [
  1218. 'path' => 'projects/{project}/global/backendServices/{backendService}',
  1219. 'httpMethod' => 'PATCH',
  1220. 'parameters' => [
  1221. 'project' => [
  1222. 'location' => 'path',
  1223. 'type' => 'string',
  1224. 'required' => true,
  1225. ],
  1226. 'backendService' => [
  1227. 'location' => 'path',
  1228. 'type' => 'string',
  1229. 'required' => true,
  1230. ],
  1231. 'requestId' => [
  1232. 'location' => 'query',
  1233. 'type' => 'string',
  1234. ],
  1235. ],
  1236. ],'setEdgeSecurityPolicy' => [
  1237. 'path' => 'projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy',
  1238. 'httpMethod' => 'POST',
  1239. 'parameters' => [
  1240. 'project' => [
  1241. 'location' => 'path',
  1242. 'type' => 'string',
  1243. 'required' => true,
  1244. ],
  1245. 'backendService' => [
  1246. 'location' => 'path',
  1247. 'type' => 'string',
  1248. 'required' => true,
  1249. ],
  1250. 'requestId' => [
  1251. 'location' => 'query',
  1252. 'type' => 'string',
  1253. ],
  1254. ],
  1255. ],'setIamPolicy' => [
  1256. 'path' => 'projects/{project}/global/backendServices/{resource}/setIamPolicy',
  1257. 'httpMethod' => 'POST',
  1258. 'parameters' => [
  1259. 'project' => [
  1260. 'location' => 'path',
  1261. 'type' => 'string',
  1262. 'required' => true,
  1263. ],
  1264. 'resource' => [
  1265. 'location' => 'path',
  1266. 'type' => 'string',
  1267. 'required' => true,
  1268. ],
  1269. ],
  1270. ],'setSecurityPolicy' => [
  1271. 'path' => 'projects/{project}/global/backendServices/{backendService}/setSecurityPolicy',
  1272. 'httpMethod' => 'POST',
  1273. 'parameters' => [
  1274. 'project' => [
  1275. 'location' => 'path',
  1276. 'type' => 'string',
  1277. 'required' => true,
  1278. ],
  1279. 'backendService' => [
  1280. 'location' => 'path',
  1281. 'type' => 'string',
  1282. 'required' => true,
  1283. ],
  1284. 'requestId' => [
  1285. 'location' => 'query',
  1286. 'type' => 'string',
  1287. ],
  1288. ],
  1289. ],'testIamPermissions' => [
  1290. 'path' => 'projects/{project}/global/backendServices/{resource}/testIamPermissions',
  1291. 'httpMethod' => 'POST',
  1292. 'parameters' => [
  1293. 'project' => [
  1294. 'location' => 'path',
  1295. 'type' => 'string',
  1296. 'required' => true,
  1297. ],
  1298. 'resource' => [
  1299. 'location' => 'path',
  1300. 'type' => 'string',
  1301. 'required' => true,
  1302. ],
  1303. ],
  1304. ],'update' => [
  1305. 'path' => 'projects/{project}/global/backendServices/{backendService}',
  1306. 'httpMethod' => 'PUT',
  1307. 'parameters' => [
  1308. 'project' => [
  1309. 'location' => 'path',
  1310. 'type' => 'string',
  1311. 'required' => true,
  1312. ],
  1313. 'backendService' => [
  1314. 'location' => 'path',
  1315. 'type' => 'string',
  1316. 'required' => true,
  1317. ],
  1318. 'requestId' => [
  1319. 'location' => 'query',
  1320. 'type' => 'string',
  1321. ],
  1322. ],
  1323. ],
  1324. ]
  1325. ]
  1326. );
  1327. $this->crossSiteNetworks = new Compute\Resource\CrossSiteNetworks(
  1328. $this,
  1329. $this->serviceName,
  1330. 'crossSiteNetworks',
  1331. [
  1332. 'methods' => [
  1333. 'delete' => [
  1334. 'path' => 'projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}',
  1335. 'httpMethod' => 'DELETE',
  1336. 'parameters' => [
  1337. 'project' => [
  1338. 'location' => 'path',
  1339. 'type' => 'string',
  1340. 'required' => true,
  1341. ],
  1342. 'crossSiteNetwork' => [
  1343. 'location' => 'path',
  1344. 'type' => 'string',
  1345. 'required' => true,
  1346. ],
  1347. 'requestId' => [
  1348. 'location' => 'query',
  1349. 'type' => 'string',
  1350. ],
  1351. ],
  1352. ],'get' => [
  1353. 'path' => 'projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}',
  1354. 'httpMethod' => 'GET',
  1355. 'parameters' => [
  1356. 'project' => [
  1357. 'location' => 'path',
  1358. 'type' => 'string',
  1359. 'required' => true,
  1360. ],
  1361. 'crossSiteNetwork' => [
  1362. 'location' => 'path',
  1363. 'type' => 'string',
  1364. 'required' => true,
  1365. ],
  1366. ],
  1367. ],'insert' => [
  1368. 'path' => 'projects/{project}/global/crossSiteNetworks',
  1369. 'httpMethod' => 'POST',
  1370. 'parameters' => [
  1371. 'project' => [
  1372. 'location' => 'path',
  1373. 'type' => 'string',
  1374. 'required' => true,
  1375. ],
  1376. 'requestId' => [
  1377. 'location' => 'query',
  1378. 'type' => 'string',
  1379. ],
  1380. 'validateOnly' => [
  1381. 'location' => 'query',
  1382. 'type' => 'boolean',
  1383. ],
  1384. ],
  1385. ],'list' => [
  1386. 'path' => 'projects/{project}/global/crossSiteNetworks',
  1387. 'httpMethod' => 'GET',
  1388. 'parameters' => [
  1389. 'project' => [
  1390. 'location' => 'path',
  1391. 'type' => 'string',
  1392. 'required' => true,
  1393. ],
  1394. 'filter' => [
  1395. 'location' => 'query',
  1396. 'type' => 'string',
  1397. ],
  1398. 'maxResults' => [
  1399. 'location' => 'query',
  1400. 'type' => 'integer',
  1401. ],
  1402. 'orderBy' => [
  1403. 'location' => 'query',
  1404. 'type' => 'string',
  1405. ],
  1406. 'pageToken' => [
  1407. 'location' => 'query',
  1408. 'type' => 'string',
  1409. ],
  1410. 'returnPartialSuccess' => [
  1411. 'location' => 'query',
  1412. 'type' => 'boolean',
  1413. ],
  1414. ],
  1415. ],'patch' => [
  1416. 'path' => 'projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}',
  1417. 'httpMethod' => 'PATCH',
  1418. 'parameters' => [
  1419. 'project' => [
  1420. 'location' => 'path',
  1421. 'type' => 'string',
  1422. 'required' => true,
  1423. ],
  1424. 'crossSiteNetwork' => [
  1425. 'location' => 'path',
  1426. 'type' => 'string',
  1427. 'required' => true,
  1428. ],
  1429. 'requestId' => [
  1430. 'location' => 'query',
  1431. 'type' => 'string',
  1432. ],
  1433. 'updateMask' => [
  1434. 'location' => 'query',
  1435. 'type' => 'string',
  1436. ],
  1437. 'validateOnly' => [
  1438. 'location' => 'query',
  1439. 'type' => 'boolean',
  1440. ],
  1441. ],
  1442. ],
  1443. ]
  1444. ]
  1445. );
  1446. $this->diskTypes = new Compute\Resource\DiskTypes(
  1447. $this,
  1448. $this->serviceName,
  1449. 'diskTypes',
  1450. [
  1451. 'methods' => [
  1452. 'aggregatedList' => [
  1453. 'path' => 'projects/{project}/aggregated/diskTypes',
  1454. 'httpMethod' => 'GET',
  1455. 'parameters' => [
  1456. 'project' => [
  1457. 'location' => 'path',
  1458. 'type' => 'string',
  1459. 'required' => true,
  1460. ],
  1461. 'filter' => [
  1462. 'location' => 'query',
  1463. 'type' => 'string',
  1464. ],
  1465. 'includeAllScopes' => [
  1466. 'location' => 'query',
  1467. 'type' => 'boolean',
  1468. ],
  1469. 'maxResults' => [
  1470. 'location' => 'query',
  1471. 'type' => 'integer',
  1472. ],
  1473. 'orderBy' => [
  1474. 'location' => 'query',
  1475. 'type' => 'string',
  1476. ],
  1477. 'pageToken' => [
  1478. 'location' => 'query',
  1479. 'type' => 'string',
  1480. ],
  1481. 'returnPartialSuccess' => [
  1482. 'location' => 'query',
  1483. 'type' => 'boolean',
  1484. ],
  1485. 'serviceProjectNumber' => [
  1486. 'location' => 'query',
  1487. 'type' => 'string',
  1488. ],
  1489. ],
  1490. ],'get' => [
  1491. 'path' => 'projects/{project}/zones/{zone}/diskTypes/{diskType}',
  1492. 'httpMethod' => 'GET',
  1493. 'parameters' => [
  1494. 'project' => [
  1495. 'location' => 'path',
  1496. 'type' => 'string',
  1497. 'required' => true,
  1498. ],
  1499. 'zone' => [
  1500. 'location' => 'path',
  1501. 'type' => 'string',
  1502. 'required' => true,
  1503. ],
  1504. 'diskType' => [
  1505. 'location' => 'path',
  1506. 'type' => 'string',
  1507. 'required' => true,
  1508. ],
  1509. ],
  1510. ],'list' => [
  1511. 'path' => 'projects/{project}/zones/{zone}/diskTypes',
  1512. 'httpMethod' => 'GET',
  1513. 'parameters' => [
  1514. 'project' => [
  1515. 'location' => 'path',
  1516. 'type' => 'string',
  1517. 'required' => true,
  1518. ],
  1519. 'zone' => [
  1520. 'location' => 'path',
  1521. 'type' => 'string',
  1522. 'required' => true,
  1523. ],
  1524. 'filter' => [
  1525. 'location' => 'query',
  1526. 'type' => 'string',
  1527. ],
  1528. 'maxResults' => [
  1529. 'location' => 'query',
  1530. 'type' => 'integer',
  1531. ],
  1532. 'orderBy' => [
  1533. 'location' => 'query',
  1534. 'type' => 'string',
  1535. ],
  1536. 'pageToken' => [
  1537. 'location' => 'query',
  1538. 'type' => 'string',
  1539. ],
  1540. 'returnPartialSuccess' => [
  1541. 'location' => 'query',
  1542. 'type' => 'boolean',
  1543. ],
  1544. ],
  1545. ],
  1546. ]
  1547. ]
  1548. );
  1549. $this->disks = new Compute\Resource\Disks(
  1550. $this,
  1551. $this->serviceName,
  1552. 'disks',
  1553. [
  1554. 'methods' => [
  1555. 'addResourcePolicies' => [
  1556. 'path' => 'projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies',
  1557. 'httpMethod' => 'POST',
  1558. 'parameters' => [
  1559. 'project' => [
  1560. 'location' => 'path',
  1561. 'type' => 'string',
  1562. 'required' => true,
  1563. ],
  1564. 'zone' => [
  1565. 'location' => 'path',
  1566. 'type' => 'string',
  1567. 'required' => true,
  1568. ],
  1569. 'disk' => [
  1570. 'location' => 'path',
  1571. 'type' => 'string',
  1572. 'required' => true,
  1573. ],
  1574. 'requestId' => [
  1575. 'location' => 'query',
  1576. 'type' => 'string',
  1577. ],
  1578. ],
  1579. ],'aggregatedList' => [
  1580. 'path' => 'projects/{project}/aggregated/disks',
  1581. 'httpMethod' => 'GET',
  1582. 'parameters' => [
  1583. 'project' => [
  1584. 'location' => 'path',
  1585. 'type' => 'string',
  1586. 'required' => true,
  1587. ],
  1588. 'filter' => [
  1589. 'location' => 'query',
  1590. 'type' => 'string',
  1591. ],
  1592. 'includeAllScopes' => [
  1593. 'location' => 'query',
  1594. 'type' => 'boolean',
  1595. ],
  1596. 'maxResults' => [
  1597. 'location' => 'query',
  1598. 'type' => 'integer',
  1599. ],
  1600. 'orderBy' => [
  1601. 'location' => 'query',
  1602. 'type' => 'string',
  1603. ],
  1604. 'pageToken' => [
  1605. 'location' => 'query',
  1606. 'type' => 'string',
  1607. ],
  1608. 'returnPartialSuccess' => [
  1609. 'location' => 'query',
  1610. 'type' => 'boolean',
  1611. ],
  1612. 'serviceProjectNumber' => [
  1613. 'location' => 'query',
  1614. 'type' => 'string',
  1615. ],
  1616. ],
  1617. ],'bulkInsert' => [
  1618. 'path' => 'projects/{project}/zones/{zone}/disks/bulkInsert',
  1619. 'httpMethod' => 'POST',
  1620. 'parameters' => [
  1621. 'project' => [
  1622. 'location' => 'path',
  1623. 'type' => 'string',
  1624. 'required' => true,
  1625. ],
  1626. 'zone' => [
  1627. 'location' => 'path',
  1628. 'type' => 'string',
  1629. 'required' => true,
  1630. ],
  1631. 'requestId' => [
  1632. 'location' => 'query',
  1633. 'type' => 'string',
  1634. ],
  1635. ],
  1636. ],'bulkSetLabels' => [
  1637. 'path' => 'projects/{project}/zones/{zone}/disks/bulkSetLabels',
  1638. 'httpMethod' => 'POST',
  1639. 'parameters' => [
  1640. 'project' => [
  1641. 'location' => 'path',
  1642. 'type' => 'string',
  1643. 'required' => true,
  1644. ],
  1645. 'zone' => [
  1646. 'location' => 'path',
  1647. 'type' => 'string',
  1648. 'required' => true,
  1649. ],
  1650. 'requestId' => [
  1651. 'location' => 'query',
  1652. 'type' => 'string',
  1653. ],
  1654. 'resource' => [
  1655. 'location' => 'query',
  1656. 'type' => 'string',
  1657. ],
  1658. ],
  1659. ],'createSnapshot' => [
  1660. 'path' => 'projects/{project}/zones/{zone}/disks/{disk}/createSnapshot',
  1661. 'httpMethod' => 'POST',
  1662. 'parameters' => [
  1663. 'project' => [
  1664. 'location' => 'path',
  1665. 'type' => 'string',
  1666. 'required' => true,
  1667. ],
  1668. 'zone' => [
  1669. 'location' => 'path',
  1670. 'type' => 'string',
  1671. 'required' => true,
  1672. ],
  1673. 'disk' => [
  1674. 'location' => 'path',
  1675. 'type' => 'string',
  1676. 'required' => true,
  1677. ],
  1678. 'guestFlush' => [
  1679. 'location' => 'query',
  1680. 'type' => 'boolean',
  1681. ],
  1682. 'requestId' => [
  1683. 'location' => 'query',
  1684. 'type' => 'string',
  1685. ],
  1686. ],
  1687. ],'delete' => [
  1688. 'path' => 'projects/{project}/zones/{zone}/disks/{disk}',
  1689. 'httpMethod' => 'DELETE',
  1690. 'parameters' => [
  1691. 'project' => [
  1692. 'location' => 'path',
  1693. 'type' => 'string',
  1694. 'required' => true,
  1695. ],
  1696. 'zone' => [
  1697. 'location' => 'path',
  1698. 'type' => 'string',
  1699. 'required' => true,
  1700. ],
  1701. 'disk' => [
  1702. 'location' => 'path',
  1703. 'type' => 'string',
  1704. 'required' => true,
  1705. ],
  1706. 'requestId' => [
  1707. 'location' => 'query',
  1708. 'type' => 'string',
  1709. ],
  1710. ],
  1711. ],'get' => [
  1712. 'path' => 'projects/{project}/zones/{zone}/disks/{disk}',
  1713. 'httpMethod' => 'GET',
  1714. 'parameters' => [
  1715. 'project' => [
  1716. 'location' => 'path',
  1717. 'type' => 'string',
  1718. 'required' => true,
  1719. ],
  1720. 'zone' => [
  1721. 'location' => 'path',
  1722. 'type' => 'string',
  1723. 'required' => true,
  1724. ],
  1725. 'disk' => [
  1726. 'location' => 'path',
  1727. 'type' => 'string',
  1728. 'required' => true,
  1729. ],
  1730. ],
  1731. ],'getIamPolicy' => [
  1732. 'path' => 'projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy',
  1733. 'httpMethod' => 'GET',
  1734. 'parameters' => [
  1735. 'project' => [
  1736. 'location' => 'path',
  1737. 'type' => 'string',
  1738. 'required' => true,
  1739. ],
  1740. 'zone' => [
  1741. 'location' => 'path',
  1742. 'type' => 'string',
  1743. 'required' => true,
  1744. ],
  1745. 'resource' => [
  1746. 'location' => 'path',
  1747. 'type' => 'string',
  1748. 'required' => true,
  1749. ],
  1750. 'optionsRequestedPolicyVersion' => [
  1751. 'location' => 'query',
  1752. 'type' => 'integer',
  1753. ],
  1754. ],
  1755. ],'insert' => [
  1756. 'path' => 'projects/{project}/zones/{zone}/disks',
  1757. 'httpMethod' => 'POST',
  1758. 'parameters' => [
  1759. 'project' => [
  1760. 'location' => 'path',
  1761. 'type' => 'string',
  1762. 'required' => true,
  1763. ],
  1764. 'zone' => [
  1765. 'location' => 'path',
  1766. 'type' => 'string',
  1767. 'required' => true,
  1768. ],
  1769. 'requestId' => [
  1770. 'location' => 'query',
  1771. 'type' => 'string',
  1772. ],
  1773. 'sourceImage' => [
  1774. 'location' => 'query',
  1775. 'type' => 'string',
  1776. ],
  1777. ],
  1778. ],'list' => [
  1779. 'path' => 'projects/{project}/zones/{zone}/disks',
  1780. 'httpMethod' => 'GET',
  1781. 'parameters' => [
  1782. 'project' => [
  1783. 'location' => 'path',
  1784. 'type' => 'string',
  1785. 'required' => true,
  1786. ],
  1787. 'zone' => [
  1788. 'location' => 'path',
  1789. 'type' => 'string',
  1790. 'required' => true,
  1791. ],
  1792. 'filter' => [
  1793. 'location' => 'query',
  1794. 'type' => 'string',
  1795. ],
  1796. 'maxResults' => [
  1797. 'location' => 'query',
  1798. 'type' => 'integer',
  1799. ],
  1800. 'orderBy' => [
  1801. 'location' => 'query',
  1802. 'type' => 'string',
  1803. ],
  1804. 'pageToken' => [
  1805. 'location' => 'query',
  1806. 'type' => 'string',
  1807. ],
  1808. 'returnPartialSuccess' => [
  1809. 'location' => 'query',
  1810. 'type' => 'boolean',
  1811. ],
  1812. ],
  1813. ],'removeResourcePolicies' => [
  1814. 'path' => 'projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies',
  1815. 'httpMethod' => 'POST',
  1816. 'parameters' => [
  1817. 'project' => [
  1818. 'location' => 'path',
  1819. 'type' => 'string',
  1820. 'required' => true,
  1821. ],
  1822. 'zone' => [
  1823. 'location' => 'path',
  1824. 'type' => 'string',
  1825. 'required' => true,
  1826. ],
  1827. 'disk' => [
  1828. 'location' => 'path',
  1829. 'type' => 'string',
  1830. 'required' => true,
  1831. ],
  1832. 'requestId' => [
  1833. 'location' => 'query',
  1834. 'type' => 'string',
  1835. ],
  1836. ],
  1837. ],'resize' => [
  1838. 'path' => 'projects/{project}/zones/{zone}/disks/{disk}/resize',
  1839. 'httpMethod' => 'POST',
  1840. 'parameters' => [
  1841. 'project' => [
  1842. 'location' => 'path',
  1843. 'type' => 'string',
  1844. 'required' => true,
  1845. ],
  1846. 'zone' => [
  1847. 'location' => 'path',
  1848. 'type' => 'string',
  1849. 'required' => true,
  1850. ],
  1851. 'disk' => [
  1852. 'location' => 'path',
  1853. 'type' => 'string',
  1854. 'required' => true,
  1855. ],
  1856. 'requestId' => [
  1857. 'location' => 'query',
  1858. 'type' => 'string',
  1859. ],
  1860. ],
  1861. ],'setIamPolicy' => [
  1862. 'path' => 'projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy',
  1863. 'httpMethod' => 'POST',
  1864. 'parameters' => [
  1865. 'project' => [
  1866. 'location' => 'path',
  1867. 'type' => 'string',
  1868. 'required' => true,
  1869. ],
  1870. 'zone' => [
  1871. 'location' => 'path',
  1872. 'type' => 'string',
  1873. 'required' => true,
  1874. ],
  1875. 'resource' => [
  1876. 'location' => 'path',
  1877. 'type' => 'string',
  1878. 'required' => true,
  1879. ],
  1880. ],
  1881. ],'setLabels' => [
  1882. 'path' => 'projects/{project}/zones/{zone}/disks/{resource}/setLabels',
  1883. 'httpMethod' => 'POST',
  1884. 'parameters' => [
  1885. 'project' => [
  1886. 'location' => 'path',
  1887. 'type' => 'string',
  1888. 'required' => true,
  1889. ],
  1890. 'zone' => [
  1891. 'location' => 'path',
  1892. 'type' => 'string',
  1893. 'required' => true,
  1894. ],
  1895. 'resource' => [
  1896. 'location' => 'path',
  1897. 'type' => 'string',
  1898. 'required' => true,
  1899. ],
  1900. 'requestId' => [
  1901. 'location' => 'query',
  1902. 'type' => 'string',
  1903. ],
  1904. ],
  1905. ],'startAsyncReplication' => [
  1906. 'path' => 'projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication',
  1907. 'httpMethod' => 'POST',
  1908. 'parameters' => [
  1909. 'project' => [
  1910. 'location' => 'path',
  1911. 'type' => 'string',
  1912. 'required' => true,
  1913. ],
  1914. 'zone' => [
  1915. 'location' => 'path',
  1916. 'type' => 'string',
  1917. 'required' => true,
  1918. ],
  1919. 'disk' => [
  1920. 'location' => 'path',
  1921. 'type' => 'string',
  1922. 'required' => true,
  1923. ],
  1924. 'requestId' => [
  1925. 'location' => 'query',
  1926. 'type' => 'string',
  1927. ],
  1928. ],
  1929. ],'stopAsyncReplication' => [
  1930. 'path' => 'projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication',
  1931. 'httpMethod' => 'POST',
  1932. 'parameters' => [
  1933. 'project' => [
  1934. 'location' => 'path',
  1935. 'type' => 'string',
  1936. 'required' => true,
  1937. ],
  1938. 'zone' => [
  1939. 'location' => 'path',
  1940. 'type' => 'string',
  1941. 'required' => true,
  1942. ],
  1943. 'disk' => [
  1944. 'location' => 'path',
  1945. 'type' => 'string',
  1946. 'required' => true,
  1947. ],
  1948. 'requestId' => [
  1949. 'location' => 'query',
  1950. 'type' => 'string',
  1951. ],
  1952. ],
  1953. ],'stopGroupAsyncReplication' => [
  1954. 'path' => 'projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication',
  1955. 'httpMethod' => 'POST',
  1956. 'parameters' => [
  1957. 'project' => [
  1958. 'location' => 'path',
  1959. 'type' => 'string',
  1960. 'required' => true,
  1961. ],
  1962. 'zone' => [
  1963. 'location' => 'path',
  1964. 'type' => 'string',
  1965. 'required' => true,
  1966. ],
  1967. 'requestId' => [
  1968. 'location' => 'query',
  1969. 'type' => 'string',
  1970. ],
  1971. ],
  1972. ],'testIamPermissions' => [
  1973. 'path' => 'projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions',
  1974. 'httpMethod' => 'POST',
  1975. 'parameters' => [
  1976. 'project' => [
  1977. 'location' => 'path',
  1978. 'type' => 'string',
  1979. 'required' => true,
  1980. ],
  1981. 'zone' => [
  1982. 'location' => 'path',
  1983. 'type' => 'string',
  1984. 'required' => true,
  1985. ],
  1986. 'resource' => [
  1987. 'location' => 'path',
  1988. 'type' => 'string',
  1989. 'required' => true,
  1990. ],
  1991. ],
  1992. ],'update' => [
  1993. 'path' => 'projects/{project}/zones/{zone}/disks/{disk}',
  1994. 'httpMethod' => 'PATCH',
  1995. 'parameters' => [
  1996. 'project' => [
  1997. 'location' => 'path',
  1998. 'type' => 'string',
  1999. 'required' => true,
  2000. ],
  2001. 'zone' => [
  2002. 'location' => 'path',
  2003. 'type' => 'string',
  2004. 'required' => true,
  2005. ],
  2006. 'disk' => [
  2007. 'location' => 'path',
  2008. 'type' => 'string',
  2009. 'required' => true,
  2010. ],
  2011. 'paths' => [
  2012. 'location' => 'query',
  2013. 'type' => 'string',
  2014. 'repeated' => true,
  2015. ],
  2016. 'requestId' => [
  2017. 'location' => 'query',
  2018. 'type' => 'string',
  2019. ],
  2020. 'updateMask' => [
  2021. 'location' => 'query',
  2022. 'type' => 'string',
  2023. ],
  2024. ],
  2025. ],
  2026. ]
  2027. ]
  2028. );
  2029. $this->externalVpnGateways = new Compute\Resource\ExternalVpnGateways(
  2030. $this,
  2031. $this->serviceName,
  2032. 'externalVpnGateways',
  2033. [
  2034. 'methods' => [
  2035. 'delete' => [
  2036. 'path' => 'projects/{project}/global/externalVpnGateways/{externalVpnGateway}',
  2037. 'httpMethod' => 'DELETE',
  2038. 'parameters' => [
  2039. 'project' => [
  2040. 'location' => 'path',
  2041. 'type' => 'string',
  2042. 'required' => true,
  2043. ],
  2044. 'externalVpnGateway' => [
  2045. 'location' => 'path',
  2046. 'type' => 'string',
  2047. 'required' => true,
  2048. ],
  2049. 'requestId' => [
  2050. 'location' => 'query',
  2051. 'type' => 'string',
  2052. ],
  2053. ],
  2054. ],'get' => [
  2055. 'path' => 'projects/{project}/global/externalVpnGateways/{externalVpnGateway}',
  2056. 'httpMethod' => 'GET',
  2057. 'parameters' => [
  2058. 'project' => [
  2059. 'location' => 'path',
  2060. 'type' => 'string',
  2061. 'required' => true,
  2062. ],
  2063. 'externalVpnGateway' => [
  2064. 'location' => 'path',
  2065. 'type' => 'string',
  2066. 'required' => true,
  2067. ],
  2068. ],
  2069. ],'insert' => [
  2070. 'path' => 'projects/{project}/global/externalVpnGateways',
  2071. 'httpMethod' => 'POST',
  2072. 'parameters' => [
  2073. 'project' => [
  2074. 'location' => 'path',
  2075. 'type' => 'string',
  2076. 'required' => true,
  2077. ],
  2078. 'requestId' => [
  2079. 'location' => 'query',
  2080. 'type' => 'string',
  2081. ],
  2082. ],
  2083. ],'list' => [
  2084. 'path' => 'projects/{project}/global/externalVpnGateways',
  2085. 'httpMethod' => 'GET',
  2086. 'parameters' => [
  2087. 'project' => [
  2088. 'location' => 'path',
  2089. 'type' => 'string',
  2090. 'required' => true,
  2091. ],
  2092. 'filter' => [
  2093. 'location' => 'query',
  2094. 'type' => 'string',
  2095. ],
  2096. 'maxResults' => [
  2097. 'location' => 'query',
  2098. 'type' => 'integer',
  2099. ],
  2100. 'orderBy' => [
  2101. 'location' => 'query',
  2102. 'type' => 'string',
  2103. ],
  2104. 'pageToken' => [
  2105. 'location' => 'query',
  2106. 'type' => 'string',
  2107. ],
  2108. 'returnPartialSuccess' => [
  2109. 'location' => 'query',
  2110. 'type' => 'boolean',
  2111. ],
  2112. ],
  2113. ],'setLabels' => [
  2114. 'path' => 'projects/{project}/global/externalVpnGateways/{resource}/setLabels',
  2115. 'httpMethod' => 'POST',
  2116. 'parameters' => [
  2117. 'project' => [
  2118. 'location' => 'path',
  2119. 'type' => 'string',
  2120. 'required' => true,
  2121. ],
  2122. 'resource' => [
  2123. 'location' => 'path',
  2124. 'type' => 'string',
  2125. 'required' => true,
  2126. ],
  2127. ],
  2128. ],'testIamPermissions' => [
  2129. 'path' => 'projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions',
  2130. 'httpMethod' => 'POST',
  2131. 'parameters' => [
  2132. 'project' => [
  2133. 'location' => 'path',
  2134. 'type' => 'string',
  2135. 'required' => true,
  2136. ],
  2137. 'resource' => [
  2138. 'location' => 'path',
  2139. 'type' => 'string',
  2140. 'required' => true,
  2141. ],
  2142. ],
  2143. ],
  2144. ]
  2145. ]
  2146. );
  2147. $this->firewallPolicies = new Compute\Resource\FirewallPolicies(
  2148. $this,
  2149. $this->serviceName,
  2150. 'firewallPolicies',
  2151. [
  2152. 'methods' => [
  2153. 'addAssociation' => [
  2154. 'path' => 'locations/global/firewallPolicies/{firewallPolicy}/addAssociation',
  2155. 'httpMethod' => 'POST',
  2156. 'parameters' => [
  2157. 'firewallPolicy' => [
  2158. 'location' => 'path',
  2159. 'type' => 'string',
  2160. 'required' => true,
  2161. ],
  2162. 'replaceExistingAssociation' => [
  2163. 'location' => 'query',
  2164. 'type' => 'boolean',
  2165. ],
  2166. 'requestId' => [
  2167. 'location' => 'query',
  2168. 'type' => 'string',
  2169. ],
  2170. ],
  2171. ],'addRule' => [
  2172. 'path' => 'locations/global/firewallPolicies/{firewallPolicy}/addRule',
  2173. 'httpMethod' => 'POST',
  2174. 'parameters' => [
  2175. 'firewallPolicy' => [
  2176. 'location' => 'path',
  2177. 'type' => 'string',
  2178. 'required' => true,
  2179. ],
  2180. 'requestId' => [
  2181. 'location' => 'query',
  2182. 'type' => 'string',
  2183. ],
  2184. ],
  2185. ],'cloneRules' => [
  2186. 'path' => 'locations/global/firewallPolicies/{firewallPolicy}/cloneRules',
  2187. 'httpMethod' => 'POST',
  2188. 'parameters' => [
  2189. 'firewallPolicy' => [
  2190. 'location' => 'path',
  2191. 'type' => 'string',
  2192. 'required' => true,
  2193. ],
  2194. 'requestId' => [
  2195. 'location' => 'query',
  2196. 'type' => 'string',
  2197. ],
  2198. 'sourceFirewallPolicy' => [
  2199. 'location' => 'query',
  2200. 'type' => 'string',
  2201. ],
  2202. ],
  2203. ],'delete' => [
  2204. 'path' => 'locations/global/firewallPolicies/{firewallPolicy}',
  2205. 'httpMethod' => 'DELETE',
  2206. 'parameters' => [
  2207. 'firewallPolicy' => [
  2208. 'location' => 'path',
  2209. 'type' => 'string',
  2210. 'required' => true,
  2211. ],
  2212. 'requestId' => [
  2213. 'location' => 'query',
  2214. 'type' => 'string',
  2215. ],
  2216. ],
  2217. ],'get' => [
  2218. 'path' => 'locations/global/firewallPolicies/{firewallPolicy}',
  2219. 'httpMethod' => 'GET',
  2220. 'parameters' => [
  2221. 'firewallPolicy' => [
  2222. 'location' => 'path',
  2223. 'type' => 'string',
  2224. 'required' => true,
  2225. ],
  2226. ],
  2227. ],'getAssociation' => [
  2228. 'path' => 'locations/global/firewallPolicies/{firewallPolicy}/getAssociation',
  2229. 'httpMethod' => 'GET',
  2230. 'parameters' => [
  2231. 'firewallPolicy' => [
  2232. 'location' => 'path',
  2233. 'type' => 'string',
  2234. 'required' => true,
  2235. ],
  2236. 'name' => [
  2237. 'location' => 'query',
  2238. 'type' => 'string',
  2239. ],
  2240. ],
  2241. ],'getIamPolicy' => [
  2242. 'path' => 'locations/global/firewallPolicies/{resource}/getIamPolicy',
  2243. 'httpMethod' => 'GET',
  2244. 'parameters' => [
  2245. 'resource' => [
  2246. 'location' => 'path',
  2247. 'type' => 'string',
  2248. 'required' => true,
  2249. ],
  2250. 'optionsRequestedPolicyVersion' => [
  2251. 'location' => 'query',
  2252. 'type' => 'integer',
  2253. ],
  2254. ],
  2255. ],'getRule' => [
  2256. 'path' => 'locations/global/firewallPolicies/{firewallPolicy}/getRule',
  2257. 'httpMethod' => 'GET',
  2258. 'parameters' => [
  2259. 'firewallPolicy' => [
  2260. 'location' => 'path',
  2261. 'type' => 'string',
  2262. 'required' => true,
  2263. ],
  2264. 'priority' => [
  2265. 'location' => 'query',
  2266. 'type' => 'integer',
  2267. ],
  2268. ],
  2269. ],'insert' => [
  2270. 'path' => 'locations/global/firewallPolicies',
  2271. 'httpMethod' => 'POST',
  2272. 'parameters' => [
  2273. 'parentId' => [
  2274. 'location' => 'query',
  2275. 'type' => 'string',
  2276. ],
  2277. 'requestId' => [
  2278. 'location' => 'query',
  2279. 'type' => 'string',
  2280. ],
  2281. ],
  2282. ],'list' => [
  2283. 'path' => 'locations/global/firewallPolicies',
  2284. 'httpMethod' => 'GET',
  2285. 'parameters' => [
  2286. 'filter' => [
  2287. 'location' => 'query',
  2288. 'type' => 'string',
  2289. ],
  2290. 'maxResults' => [
  2291. 'location' => 'query',
  2292. 'type' => 'integer',
  2293. ],
  2294. 'orderBy' => [
  2295. 'location' => 'query',
  2296. 'type' => 'string',
  2297. ],
  2298. 'pageToken' => [
  2299. 'location' => 'query',
  2300. 'type' => 'string',
  2301. ],
  2302. 'parentId' => [
  2303. 'location' => 'query',
  2304. 'type' => 'string',
  2305. ],
  2306. 'returnPartialSuccess' => [
  2307. 'location' => 'query',
  2308. 'type' => 'boolean',
  2309. ],
  2310. ],
  2311. ],'listAssociations' => [
  2312. 'path' => 'locations/global/firewallPolicies/listAssociations',
  2313. 'httpMethod' => 'GET',
  2314. 'parameters' => [
  2315. 'includeInheritedPolicies' => [
  2316. 'location' => 'query',
  2317. 'type' => 'boolean',
  2318. ],
  2319. 'targetResource' => [
  2320. 'location' => 'query',
  2321. 'type' => 'string',
  2322. ],
  2323. ],
  2324. ],'move' => [
  2325. 'path' => 'locations/global/firewallPolicies/{firewallPolicy}/move',
  2326. 'httpMethod' => 'POST',
  2327. 'parameters' => [
  2328. 'firewallPolicy' => [
  2329. 'location' => 'path',
  2330. 'type' => 'string',
  2331. 'required' => true,
  2332. ],
  2333. 'parentId' => [
  2334. 'location' => 'query',
  2335. 'type' => 'string',
  2336. ],
  2337. 'requestId' => [
  2338. 'location' => 'query',
  2339. 'type' => 'string',
  2340. ],
  2341. ],
  2342. ],'patch' => [
  2343. 'path' => 'locations/global/firewallPolicies/{firewallPolicy}',
  2344. 'httpMethod' => 'PATCH',
  2345. 'parameters' => [
  2346. 'firewallPolicy' => [
  2347. 'location' => 'path',
  2348. 'type' => 'string',
  2349. 'required' => true,
  2350. ],
  2351. 'requestId' => [
  2352. 'location' => 'query',
  2353. 'type' => 'string',
  2354. ],
  2355. ],
  2356. ],'patchRule' => [
  2357. 'path' => 'locations/global/firewallPolicies/{firewallPolicy}/patchRule',
  2358. 'httpMethod' => 'POST',
  2359. 'parameters' => [
  2360. 'firewallPolicy' => [
  2361. 'location' => 'path',
  2362. 'type' => 'string',
  2363. 'required' => true,
  2364. ],
  2365. 'priority' => [
  2366. 'location' => 'query',
  2367. 'type' => 'integer',
  2368. ],
  2369. 'requestId' => [
  2370. 'location' => 'query',
  2371. 'type' => 'string',
  2372. ],
  2373. ],
  2374. ],'removeAssociation' => [
  2375. 'path' => 'locations/global/firewallPolicies/{firewallPolicy}/removeAssociation',
  2376. 'httpMethod' => 'POST',
  2377. 'parameters' => [
  2378. 'firewallPolicy' => [
  2379. 'location' => 'path',
  2380. 'type' => 'string',
  2381. 'required' => true,
  2382. ],
  2383. 'name' => [
  2384. 'location' => 'query',
  2385. 'type' => 'string',
  2386. ],
  2387. 'requestId' => [
  2388. 'location' => 'query',
  2389. 'type' => 'string',
  2390. ],
  2391. ],
  2392. ],'removeRule' => [
  2393. 'path' => 'locations/global/firewallPolicies/{firewallPolicy}/removeRule',
  2394. 'httpMethod' => 'POST',
  2395. 'parameters' => [
  2396. 'firewallPolicy' => [
  2397. 'location' => 'path',
  2398. 'type' => 'string',
  2399. 'required' => true,
  2400. ],
  2401. 'priority' => [
  2402. 'location' => 'query',
  2403. 'type' => 'integer',
  2404. ],
  2405. 'requestId' => [
  2406. 'location' => 'query',
  2407. 'type' => 'string',
  2408. ],
  2409. ],
  2410. ],'setIamPolicy' => [
  2411. 'path' => 'locations/global/firewallPolicies/{resource}/setIamPolicy',
  2412. 'httpMethod' => 'POST',
  2413. 'parameters' => [
  2414. 'resource' => [
  2415. 'location' => 'path',
  2416. 'type' => 'string',
  2417. 'required' => true,
  2418. ],
  2419. ],
  2420. ],'testIamPermissions' => [
  2421. 'path' => 'locations/global/firewallPolicies/{resource}/testIamPermissions',
  2422. 'httpMethod' => 'POST',
  2423. 'parameters' => [
  2424. 'resource' => [
  2425. 'location' => 'path',
  2426. 'type' => 'string',
  2427. 'required' => true,
  2428. ],
  2429. ],
  2430. ],
  2431. ]
  2432. ]
  2433. );
  2434. $this->firewalls = new Compute\Resource\Firewalls(
  2435. $this,
  2436. $this->serviceName,
  2437. 'firewalls',
  2438. [
  2439. 'methods' => [
  2440. 'delete' => [
  2441. 'path' => 'projects/{project}/global/firewalls/{firewall}',
  2442. 'httpMethod' => 'DELETE',
  2443. 'parameters' => [
  2444. 'project' => [
  2445. 'location' => 'path',
  2446. 'type' => 'string',
  2447. 'required' => true,
  2448. ],
  2449. 'firewall' => [
  2450. 'location' => 'path',
  2451. 'type' => 'string',
  2452. 'required' => true,
  2453. ],
  2454. 'requestId' => [
  2455. 'location' => 'query',
  2456. 'type' => 'string',
  2457. ],
  2458. ],
  2459. ],'get' => [
  2460. 'path' => 'projects/{project}/global/firewalls/{firewall}',
  2461. 'httpMethod' => 'GET',
  2462. 'parameters' => [
  2463. 'project' => [
  2464. 'location' => 'path',
  2465. 'type' => 'string',
  2466. 'required' => true,
  2467. ],
  2468. 'firewall' => [
  2469. 'location' => 'path',
  2470. 'type' => 'string',
  2471. 'required' => true,
  2472. ],
  2473. ],
  2474. ],'insert' => [
  2475. 'path' => 'projects/{project}/global/firewalls',
  2476. 'httpMethod' => 'POST',
  2477. 'parameters' => [
  2478. 'project' => [
  2479. 'location' => 'path',
  2480. 'type' => 'string',
  2481. 'required' => true,
  2482. ],
  2483. 'requestId' => [
  2484. 'location' => 'query',
  2485. 'type' => 'string',
  2486. ],
  2487. ],
  2488. ],'list' => [
  2489. 'path' => 'projects/{project}/global/firewalls',
  2490. 'httpMethod' => 'GET',
  2491. 'parameters' => [
  2492. 'project' => [
  2493. 'location' => 'path',
  2494. 'type' => 'string',
  2495. 'required' => true,
  2496. ],
  2497. 'filter' => [
  2498. 'location' => 'query',
  2499. 'type' => 'string',
  2500. ],
  2501. 'maxResults' => [
  2502. 'location' => 'query',
  2503. 'type' => 'integer',
  2504. ],
  2505. 'orderBy' => [
  2506. 'location' => 'query',
  2507. 'type' => 'string',
  2508. ],
  2509. 'pageToken' => [
  2510. 'location' => 'query',
  2511. 'type' => 'string',
  2512. ],
  2513. 'returnPartialSuccess' => [
  2514. 'location' => 'query',
  2515. 'type' => 'boolean',
  2516. ],
  2517. ],
  2518. ],'patch' => [
  2519. 'path' => 'projects/{project}/global/firewalls/{firewall}',
  2520. 'httpMethod' => 'PATCH',
  2521. 'parameters' => [
  2522. 'project' => [
  2523. 'location' => 'path',
  2524. 'type' => 'string',
  2525. 'required' => true,
  2526. ],
  2527. 'firewall' => [
  2528. 'location' => 'path',
  2529. 'type' => 'string',
  2530. 'required' => true,
  2531. ],
  2532. 'requestId' => [
  2533. 'location' => 'query',
  2534. 'type' => 'string',
  2535. ],
  2536. ],
  2537. ],'testIamPermissions' => [
  2538. 'path' => 'projects/{project}/global/firewalls/{resource}/testIamPermissions',
  2539. 'httpMethod' => 'POST',
  2540. 'parameters' => [
  2541. 'project' => [
  2542. 'location' => 'path',
  2543. 'type' => 'string',
  2544. 'required' => true,
  2545. ],
  2546. 'resource' => [
  2547. 'location' => 'path',
  2548. 'type' => 'string',
  2549. 'required' => true,
  2550. ],
  2551. ],
  2552. ],'update' => [
  2553. 'path' => 'projects/{project}/global/firewalls/{firewall}',
  2554. 'httpMethod' => 'PUT',
  2555. 'parameters' => [
  2556. 'project' => [
  2557. 'location' => 'path',
  2558. 'type' => 'string',
  2559. 'required' => true,
  2560. ],
  2561. 'firewall' => [
  2562. 'location' => 'path',
  2563. 'type' => 'string',
  2564. 'required' => true,
  2565. ],
  2566. 'requestId' => [
  2567. 'location' => 'query',
  2568. 'type' => 'string',
  2569. ],
  2570. ],
  2571. ],
  2572. ]
  2573. ]
  2574. );
  2575. $this->forwardingRules = new Compute\Resource\ForwardingRules(
  2576. $this,
  2577. $this->serviceName,
  2578. 'forwardingRules',
  2579. [
  2580. 'methods' => [
  2581. 'aggregatedList' => [
  2582. 'path' => 'projects/{project}/aggregated/forwardingRules',
  2583. 'httpMethod' => 'GET',
  2584. 'parameters' => [
  2585. 'project' => [
  2586. 'location' => 'path',
  2587. 'type' => 'string',
  2588. 'required' => true,
  2589. ],
  2590. 'filter' => [
  2591. 'location' => 'query',
  2592. 'type' => 'string',
  2593. ],
  2594. 'includeAllScopes' => [
  2595. 'location' => 'query',
  2596. 'type' => 'boolean',
  2597. ],
  2598. 'maxResults' => [
  2599. 'location' => 'query',
  2600. 'type' => 'integer',
  2601. ],
  2602. 'orderBy' => [
  2603. 'location' => 'query',
  2604. 'type' => 'string',
  2605. ],
  2606. 'pageToken' => [
  2607. 'location' => 'query',
  2608. 'type' => 'string',
  2609. ],
  2610. 'returnPartialSuccess' => [
  2611. 'location' => 'query',
  2612. 'type' => 'boolean',
  2613. ],
  2614. 'serviceProjectNumber' => [
  2615. 'location' => 'query',
  2616. 'type' => 'string',
  2617. ],
  2618. ],
  2619. ],'delete' => [
  2620. 'path' => 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}',
  2621. 'httpMethod' => 'DELETE',
  2622. 'parameters' => [
  2623. 'project' => [
  2624. 'location' => 'path',
  2625. 'type' => 'string',
  2626. 'required' => true,
  2627. ],
  2628. 'region' => [
  2629. 'location' => 'path',
  2630. 'type' => 'string',
  2631. 'required' => true,
  2632. ],
  2633. 'forwardingRule' => [
  2634. 'location' => 'path',
  2635. 'type' => 'string',
  2636. 'required' => true,
  2637. ],
  2638. 'requestId' => [
  2639. 'location' => 'query',
  2640. 'type' => 'string',
  2641. ],
  2642. ],
  2643. ],'get' => [
  2644. 'path' => 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}',
  2645. 'httpMethod' => 'GET',
  2646. 'parameters' => [
  2647. 'project' => [
  2648. 'location' => 'path',
  2649. 'type' => 'string',
  2650. 'required' => true,
  2651. ],
  2652. 'region' => [
  2653. 'location' => 'path',
  2654. 'type' => 'string',
  2655. 'required' => true,
  2656. ],
  2657. 'forwardingRule' => [
  2658. 'location' => 'path',
  2659. 'type' => 'string',
  2660. 'required' => true,
  2661. ],
  2662. ],
  2663. ],'insert' => [
  2664. 'path' => 'projects/{project}/regions/{region}/forwardingRules',
  2665. 'httpMethod' => 'POST',
  2666. 'parameters' => [
  2667. 'project' => [
  2668. 'location' => 'path',
  2669. 'type' => 'string',
  2670. 'required' => true,
  2671. ],
  2672. 'region' => [
  2673. 'location' => 'path',
  2674. 'type' => 'string',
  2675. 'required' => true,
  2676. ],
  2677. 'requestId' => [
  2678. 'location' => 'query',
  2679. 'type' => 'string',
  2680. ],
  2681. ],
  2682. ],'list' => [
  2683. 'path' => 'projects/{project}/regions/{region}/forwardingRules',
  2684. 'httpMethod' => 'GET',
  2685. 'parameters' => [
  2686. 'project' => [
  2687. 'location' => 'path',
  2688. 'type' => 'string',
  2689. 'required' => true,
  2690. ],
  2691. 'region' => [
  2692. 'location' => 'path',
  2693. 'type' => 'string',
  2694. 'required' => true,
  2695. ],
  2696. 'filter' => [
  2697. 'location' => 'query',
  2698. 'type' => 'string',
  2699. ],
  2700. 'maxResults' => [
  2701. 'location' => 'query',
  2702. 'type' => 'integer',
  2703. ],
  2704. 'orderBy' => [
  2705. 'location' => 'query',
  2706. 'type' => 'string',
  2707. ],
  2708. 'pageToken' => [
  2709. 'location' => 'query',
  2710. 'type' => 'string',
  2711. ],
  2712. 'returnPartialSuccess' => [
  2713. 'location' => 'query',
  2714. 'type' => 'boolean',
  2715. ],
  2716. ],
  2717. ],'patch' => [
  2718. 'path' => 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}',
  2719. 'httpMethod' => 'PATCH',
  2720. 'parameters' => [
  2721. 'project' => [
  2722. 'location' => 'path',
  2723. 'type' => 'string',
  2724. 'required' => true,
  2725. ],
  2726. 'region' => [
  2727. 'location' => 'path',
  2728. 'type' => 'string',
  2729. 'required' => true,
  2730. ],
  2731. 'forwardingRule' => [
  2732. 'location' => 'path',
  2733. 'type' => 'string',
  2734. 'required' => true,
  2735. ],
  2736. 'requestId' => [
  2737. 'location' => 'query',
  2738. 'type' => 'string',
  2739. ],
  2740. ],
  2741. ],'setLabels' => [
  2742. 'path' => 'projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels',
  2743. 'httpMethod' => 'POST',
  2744. 'parameters' => [
  2745. 'project' => [
  2746. 'location' => 'path',
  2747. 'type' => 'string',
  2748. 'required' => true,
  2749. ],
  2750. 'region' => [
  2751. 'location' => 'path',
  2752. 'type' => 'string',
  2753. 'required' => true,
  2754. ],
  2755. 'resource' => [
  2756. 'location' => 'path',
  2757. 'type' => 'string',
  2758. 'required' => true,
  2759. ],
  2760. 'requestId' => [
  2761. 'location' => 'query',
  2762. 'type' => 'string',
  2763. ],
  2764. ],
  2765. ],'setTarget' => [
  2766. 'path' => 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget',
  2767. 'httpMethod' => 'POST',
  2768. 'parameters' => [
  2769. 'project' => [
  2770. 'location' => 'path',
  2771. 'type' => 'string',
  2772. 'required' => true,
  2773. ],
  2774. 'region' => [
  2775. 'location' => 'path',
  2776. 'type' => 'string',
  2777. 'required' => true,
  2778. ],
  2779. 'forwardingRule' => [
  2780. 'location' => 'path',
  2781. 'type' => 'string',
  2782. 'required' => true,
  2783. ],
  2784. 'requestId' => [
  2785. 'location' => 'query',
  2786. 'type' => 'string',
  2787. ],
  2788. ],
  2789. ],
  2790. ]
  2791. ]
  2792. );
  2793. $this->futureReservations = new Compute\Resource\FutureReservations(
  2794. $this,
  2795. $this->serviceName,
  2796. 'futureReservations',
  2797. [
  2798. 'methods' => [
  2799. 'aggregatedList' => [
  2800. 'path' => 'projects/{project}/aggregated/futureReservations',
  2801. 'httpMethod' => 'GET',
  2802. 'parameters' => [
  2803. 'project' => [
  2804. 'location' => 'path',
  2805. 'type' => 'string',
  2806. 'required' => true,
  2807. ],
  2808. 'filter' => [
  2809. 'location' => 'query',
  2810. 'type' => 'string',
  2811. ],
  2812. 'includeAllScopes' => [
  2813. 'location' => 'query',
  2814. 'type' => 'boolean',
  2815. ],
  2816. 'maxResults' => [
  2817. 'location' => 'query',
  2818. 'type' => 'integer',
  2819. ],
  2820. 'orderBy' => [
  2821. 'location' => 'query',
  2822. 'type' => 'string',
  2823. ],
  2824. 'pageToken' => [
  2825. 'location' => 'query',
  2826. 'type' => 'string',
  2827. ],
  2828. 'returnPartialSuccess' => [
  2829. 'location' => 'query',
  2830. 'type' => 'boolean',
  2831. ],
  2832. 'serviceProjectNumber' => [
  2833. 'location' => 'query',
  2834. 'type' => 'string',
  2835. ],
  2836. ],
  2837. ],'cancel' => [
  2838. 'path' => 'projects/{project}/zones/{zone}/futureReservations/{futureReservation}/cancel',
  2839. 'httpMethod' => 'POST',
  2840. 'parameters' => [
  2841. 'project' => [
  2842. 'location' => 'path',
  2843. 'type' => 'string',
  2844. 'required' => true,
  2845. ],
  2846. 'zone' => [
  2847. 'location' => 'path',
  2848. 'type' => 'string',
  2849. 'required' => true,
  2850. ],
  2851. 'futureReservation' => [
  2852. 'location' => 'path',
  2853. 'type' => 'string',
  2854. 'required' => true,
  2855. ],
  2856. 'requestId' => [
  2857. 'location' => 'query',
  2858. 'type' => 'string',
  2859. ],
  2860. ],
  2861. ],'delete' => [
  2862. 'path' => 'projects/{project}/zones/{zone}/futureReservations/{futureReservation}',
  2863. 'httpMethod' => 'DELETE',
  2864. 'parameters' => [
  2865. 'project' => [
  2866. 'location' => 'path',
  2867. 'type' => 'string',
  2868. 'required' => true,
  2869. ],
  2870. 'zone' => [
  2871. 'location' => 'path',
  2872. 'type' => 'string',
  2873. 'required' => true,
  2874. ],
  2875. 'futureReservation' => [
  2876. 'location' => 'path',
  2877. 'type' => 'string',
  2878. 'required' => true,
  2879. ],
  2880. 'requestId' => [
  2881. 'location' => 'query',
  2882. 'type' => 'string',
  2883. ],
  2884. ],
  2885. ],'get' => [
  2886. 'path' => 'projects/{project}/zones/{zone}/futureReservations/{futureReservation}',
  2887. 'httpMethod' => 'GET',
  2888. 'parameters' => [
  2889. 'project' => [
  2890. 'location' => 'path',
  2891. 'type' => 'string',
  2892. 'required' => true,
  2893. ],
  2894. 'zone' => [
  2895. 'location' => 'path',
  2896. 'type' => 'string',
  2897. 'required' => true,
  2898. ],
  2899. 'futureReservation' => [
  2900. 'location' => 'path',
  2901. 'type' => 'string',
  2902. 'required' => true,
  2903. ],
  2904. ],
  2905. ],'insert' => [
  2906. 'path' => 'projects/{project}/zones/{zone}/futureReservations',
  2907. 'httpMethod' => 'POST',
  2908. 'parameters' => [
  2909. 'project' => [
  2910. 'location' => 'path',
  2911. 'type' => 'string',
  2912. 'required' => true,
  2913. ],
  2914. 'zone' => [
  2915. 'location' => 'path',
  2916. 'type' => 'string',
  2917. 'required' => true,
  2918. ],
  2919. 'requestId' => [
  2920. 'location' => 'query',
  2921. 'type' => 'string',
  2922. ],
  2923. ],
  2924. ],'list' => [
  2925. 'path' => 'projects/{project}/zones/{zone}/futureReservations',
  2926. 'httpMethod' => 'GET',
  2927. 'parameters' => [
  2928. 'project' => [
  2929. 'location' => 'path',
  2930. 'type' => 'string',
  2931. 'required' => true,
  2932. ],
  2933. 'zone' => [
  2934. 'location' => 'path',
  2935. 'type' => 'string',
  2936. 'required' => true,
  2937. ],
  2938. 'filter' => [
  2939. 'location' => 'query',
  2940. 'type' => 'string',
  2941. ],
  2942. 'maxResults' => [
  2943. 'location' => 'query',
  2944. 'type' => 'integer',
  2945. ],
  2946. 'orderBy' => [
  2947. 'location' => 'query',
  2948. 'type' => 'string',
  2949. ],
  2950. 'pageToken' => [
  2951. 'location' => 'query',
  2952. 'type' => 'string',
  2953. ],
  2954. 'returnPartialSuccess' => [
  2955. 'location' => 'query',
  2956. 'type' => 'boolean',
  2957. ],
  2958. ],
  2959. ],'update' => [
  2960. 'path' => 'projects/{project}/zones/{zone}/futureReservations/{futureReservation}',
  2961. 'httpMethod' => 'PATCH',
  2962. 'parameters' => [
  2963. 'project' => [
  2964. 'location' => 'path',
  2965. 'type' => 'string',
  2966. 'required' => true,
  2967. ],
  2968. 'zone' => [
  2969. 'location' => 'path',
  2970. 'type' => 'string',
  2971. 'required' => true,
  2972. ],
  2973. 'futureReservation' => [
  2974. 'location' => 'path',
  2975. 'type' => 'string',
  2976. 'required' => true,
  2977. ],
  2978. 'requestId' => [
  2979. 'location' => 'query',
  2980. 'type' => 'string',
  2981. ],
  2982. 'updateMask' => [
  2983. 'location' => 'query',
  2984. 'type' => 'string',
  2985. ],
  2986. ],
  2987. ],
  2988. ]
  2989. ]
  2990. );
  2991. $this->globalAddresses = new Compute\Resource\GlobalAddresses(
  2992. $this,
  2993. $this->serviceName,
  2994. 'globalAddresses',
  2995. [
  2996. 'methods' => [
  2997. 'delete' => [
  2998. 'path' => 'projects/{project}/global/addresses/{address}',
  2999. 'httpMethod' => 'DELETE',
  3000. 'parameters' => [
  3001. 'project' => [
  3002. 'location' => 'path',
  3003. 'type' => 'string',
  3004. 'required' => true,
  3005. ],
  3006. 'address' => [
  3007. 'location' => 'path',
  3008. 'type' => 'string',
  3009. 'required' => true,
  3010. ],
  3011. 'requestId' => [
  3012. 'location' => 'query',
  3013. 'type' => 'string',
  3014. ],
  3015. ],
  3016. ],'get' => [
  3017. 'path' => 'projects/{project}/global/addresses/{address}',
  3018. 'httpMethod' => 'GET',
  3019. 'parameters' => [
  3020. 'project' => [
  3021. 'location' => 'path',
  3022. 'type' => 'string',
  3023. 'required' => true,
  3024. ],
  3025. 'address' => [
  3026. 'location' => 'path',
  3027. 'type' => 'string',
  3028. 'required' => true,
  3029. ],
  3030. ],
  3031. ],'insert' => [
  3032. 'path' => 'projects/{project}/global/addresses',
  3033. 'httpMethod' => 'POST',
  3034. 'parameters' => [
  3035. 'project' => [
  3036. 'location' => 'path',
  3037. 'type' => 'string',
  3038. 'required' => true,
  3039. ],
  3040. 'requestId' => [
  3041. 'location' => 'query',
  3042. 'type' => 'string',
  3043. ],
  3044. ],
  3045. ],'list' => [
  3046. 'path' => 'projects/{project}/global/addresses',
  3047. 'httpMethod' => 'GET',
  3048. 'parameters' => [
  3049. 'project' => [
  3050. 'location' => 'path',
  3051. 'type' => 'string',
  3052. 'required' => true,
  3053. ],
  3054. 'filter' => [
  3055. 'location' => 'query',
  3056. 'type' => 'string',
  3057. ],
  3058. 'maxResults' => [
  3059. 'location' => 'query',
  3060. 'type' => 'integer',
  3061. ],
  3062. 'orderBy' => [
  3063. 'location' => 'query',
  3064. 'type' => 'string',
  3065. ],
  3066. 'pageToken' => [
  3067. 'location' => 'query',
  3068. 'type' => 'string',
  3069. ],
  3070. 'returnPartialSuccess' => [
  3071. 'location' => 'query',
  3072. 'type' => 'boolean',
  3073. ],
  3074. ],
  3075. ],'move' => [
  3076. 'path' => 'projects/{project}/global/addresses/{address}/move',
  3077. 'httpMethod' => 'POST',
  3078. 'parameters' => [
  3079. 'project' => [
  3080. 'location' => 'path',
  3081. 'type' => 'string',
  3082. 'required' => true,
  3083. ],
  3084. 'address' => [
  3085. 'location' => 'path',
  3086. 'type' => 'string',
  3087. 'required' => true,
  3088. ],
  3089. 'requestId' => [
  3090. 'location' => 'query',
  3091. 'type' => 'string',
  3092. ],
  3093. ],
  3094. ],'setLabels' => [
  3095. 'path' => 'projects/{project}/global/addresses/{resource}/setLabels',
  3096. 'httpMethod' => 'POST',
  3097. 'parameters' => [
  3098. 'project' => [
  3099. 'location' => 'path',
  3100. 'type' => 'string',
  3101. 'required' => true,
  3102. ],
  3103. 'resource' => [
  3104. 'location' => 'path',
  3105. 'type' => 'string',
  3106. 'required' => true,
  3107. ],
  3108. ],
  3109. ],'testIamPermissions' => [
  3110. 'path' => 'projects/{project}/global/addresses/{resource}/testIamPermissions',
  3111. 'httpMethod' => 'POST',
  3112. 'parameters' => [
  3113. 'project' => [
  3114. 'location' => 'path',
  3115. 'type' => 'string',
  3116. 'required' => true,
  3117. ],
  3118. 'resource' => [
  3119. 'location' => 'path',
  3120. 'type' => 'string',
  3121. 'required' => true,
  3122. ],
  3123. ],
  3124. ],
  3125. ]
  3126. ]
  3127. );
  3128. $this->globalForwardingRules = new Compute\Resource\GlobalForwardingRules(
  3129. $this,
  3130. $this->serviceName,
  3131. 'globalForwardingRules',
  3132. [
  3133. 'methods' => [
  3134. 'delete' => [
  3135. 'path' => 'projects/{project}/global/forwardingRules/{forwardingRule}',
  3136. 'httpMethod' => 'DELETE',
  3137. 'parameters' => [
  3138. 'project' => [
  3139. 'location' => 'path',
  3140. 'type' => 'string',
  3141. 'required' => true,
  3142. ],
  3143. 'forwardingRule' => [
  3144. 'location' => 'path',
  3145. 'type' => 'string',
  3146. 'required' => true,
  3147. ],
  3148. 'requestId' => [
  3149. 'location' => 'query',
  3150. 'type' => 'string',
  3151. ],
  3152. ],
  3153. ],'get' => [
  3154. 'path' => 'projects/{project}/global/forwardingRules/{forwardingRule}',
  3155. 'httpMethod' => 'GET',
  3156. 'parameters' => [
  3157. 'project' => [
  3158. 'location' => 'path',
  3159. 'type' => 'string',
  3160. 'required' => true,
  3161. ],
  3162. 'forwardingRule' => [
  3163. 'location' => 'path',
  3164. 'type' => 'string',
  3165. 'required' => true,
  3166. ],
  3167. ],
  3168. ],'insert' => [
  3169. 'path' => 'projects/{project}/global/forwardingRules',
  3170. 'httpMethod' => 'POST',
  3171. 'parameters' => [
  3172. 'project' => [
  3173. 'location' => 'path',
  3174. 'type' => 'string',
  3175. 'required' => true,
  3176. ],
  3177. 'requestId' => [
  3178. 'location' => 'query',
  3179. 'type' => 'string',
  3180. ],
  3181. ],
  3182. ],'list' => [
  3183. 'path' => 'projects/{project}/global/forwardingRules',
  3184. 'httpMethod' => 'GET',
  3185. 'parameters' => [
  3186. 'project' => [
  3187. 'location' => 'path',
  3188. 'type' => 'string',
  3189. 'required' => true,
  3190. ],
  3191. 'filter' => [
  3192. 'location' => 'query',
  3193. 'type' => 'string',
  3194. ],
  3195. 'maxResults' => [
  3196. 'location' => 'query',
  3197. 'type' => 'integer',
  3198. ],
  3199. 'orderBy' => [
  3200. 'location' => 'query',
  3201. 'type' => 'string',
  3202. ],
  3203. 'pageToken' => [
  3204. 'location' => 'query',
  3205. 'type' => 'string',
  3206. ],
  3207. 'returnPartialSuccess' => [
  3208. 'location' => 'query',
  3209. 'type' => 'boolean',
  3210. ],
  3211. ],
  3212. ],'patch' => [
  3213. 'path' => 'projects/{project}/global/forwardingRules/{forwardingRule}',
  3214. 'httpMethod' => 'PATCH',
  3215. 'parameters' => [
  3216. 'project' => [
  3217. 'location' => 'path',
  3218. 'type' => 'string',
  3219. 'required' => true,
  3220. ],
  3221. 'forwardingRule' => [
  3222. 'location' => 'path',
  3223. 'type' => 'string',
  3224. 'required' => true,
  3225. ],
  3226. 'requestId' => [
  3227. 'location' => 'query',
  3228. 'type' => 'string',
  3229. ],
  3230. ],
  3231. ],'setLabels' => [
  3232. 'path' => 'projects/{project}/global/forwardingRules/{resource}/setLabels',
  3233. 'httpMethod' => 'POST',
  3234. 'parameters' => [
  3235. 'project' => [
  3236. 'location' => 'path',
  3237. 'type' => 'string',
  3238. 'required' => true,
  3239. ],
  3240. 'resource' => [
  3241. 'location' => 'path',
  3242. 'type' => 'string',
  3243. 'required' => true,
  3244. ],
  3245. ],
  3246. ],'setTarget' => [
  3247. 'path' => 'projects/{project}/global/forwardingRules/{forwardingRule}/setTarget',
  3248. 'httpMethod' => 'POST',
  3249. 'parameters' => [
  3250. 'project' => [
  3251. 'location' => 'path',
  3252. 'type' => 'string',
  3253. 'required' => true,
  3254. ],
  3255. 'forwardingRule' => [
  3256. 'location' => 'path',
  3257. 'type' => 'string',
  3258. 'required' => true,
  3259. ],
  3260. 'requestId' => [
  3261. 'location' => 'query',
  3262. 'type' => 'string',
  3263. ],
  3264. ],
  3265. ],
  3266. ]
  3267. ]
  3268. );
  3269. $this->globalNetworkEndpointGroups = new Compute\Resource\GlobalNetworkEndpointGroups(
  3270. $this,
  3271. $this->serviceName,
  3272. 'globalNetworkEndpointGroups',
  3273. [
  3274. 'methods' => [
  3275. 'attachNetworkEndpoints' => [
  3276. 'path' => 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints',
  3277. 'httpMethod' => 'POST',
  3278. 'parameters' => [
  3279. 'project' => [
  3280. 'location' => 'path',
  3281. 'type' => 'string',
  3282. 'required' => true,
  3283. ],
  3284. 'networkEndpointGroup' => [
  3285. 'location' => 'path',
  3286. 'type' => 'string',
  3287. 'required' => true,
  3288. ],
  3289. 'requestId' => [
  3290. 'location' => 'query',
  3291. 'type' => 'string',
  3292. ],
  3293. ],
  3294. ],'delete' => [
  3295. 'path' => 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}',
  3296. 'httpMethod' => 'DELETE',
  3297. 'parameters' => [
  3298. 'project' => [
  3299. 'location' => 'path',
  3300. 'type' => 'string',
  3301. 'required' => true,
  3302. ],
  3303. 'networkEndpointGroup' => [
  3304. 'location' => 'path',
  3305. 'type' => 'string',
  3306. 'required' => true,
  3307. ],
  3308. 'requestId' => [
  3309. 'location' => 'query',
  3310. 'type' => 'string',
  3311. ],
  3312. ],
  3313. ],'detachNetworkEndpoints' => [
  3314. 'path' => 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints',
  3315. 'httpMethod' => 'POST',
  3316. 'parameters' => [
  3317. 'project' => [
  3318. 'location' => 'path',
  3319. 'type' => 'string',
  3320. 'required' => true,
  3321. ],
  3322. 'networkEndpointGroup' => [
  3323. 'location' => 'path',
  3324. 'type' => 'string',
  3325. 'required' => true,
  3326. ],
  3327. 'requestId' => [
  3328. 'location' => 'query',
  3329. 'type' => 'string',
  3330. ],
  3331. ],
  3332. ],'get' => [
  3333. 'path' => 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}',
  3334. 'httpMethod' => 'GET',
  3335. 'parameters' => [
  3336. 'project' => [
  3337. 'location' => 'path',
  3338. 'type' => 'string',
  3339. 'required' => true,
  3340. ],
  3341. 'networkEndpointGroup' => [
  3342. 'location' => 'path',
  3343. 'type' => 'string',
  3344. 'required' => true,
  3345. ],
  3346. ],
  3347. ],'insert' => [
  3348. 'path' => 'projects/{project}/global/networkEndpointGroups',
  3349. 'httpMethod' => 'POST',
  3350. 'parameters' => [
  3351. 'project' => [
  3352. 'location' => 'path',
  3353. 'type' => 'string',
  3354. 'required' => true,
  3355. ],
  3356. 'requestId' => [
  3357. 'location' => 'query',
  3358. 'type' => 'string',
  3359. ],
  3360. ],
  3361. ],'list' => [
  3362. 'path' => 'projects/{project}/global/networkEndpointGroups',
  3363. 'httpMethod' => 'GET',
  3364. 'parameters' => [
  3365. 'project' => [
  3366. 'location' => 'path',
  3367. 'type' => 'string',
  3368. 'required' => true,
  3369. ],
  3370. 'filter' => [
  3371. 'location' => 'query',
  3372. 'type' => 'string',
  3373. ],
  3374. 'maxResults' => [
  3375. 'location' => 'query',
  3376. 'type' => 'integer',
  3377. ],
  3378. 'orderBy' => [
  3379. 'location' => 'query',
  3380. 'type' => 'string',
  3381. ],
  3382. 'pageToken' => [
  3383. 'location' => 'query',
  3384. 'type' => 'string',
  3385. ],
  3386. 'returnPartialSuccess' => [
  3387. 'location' => 'query',
  3388. 'type' => 'boolean',
  3389. ],
  3390. ],
  3391. ],'listNetworkEndpoints' => [
  3392. 'path' => 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints',
  3393. 'httpMethod' => 'POST',
  3394. 'parameters' => [
  3395. 'project' => [
  3396. 'location' => 'path',
  3397. 'type' => 'string',
  3398. 'required' => true,
  3399. ],
  3400. 'networkEndpointGroup' => [
  3401. 'location' => 'path',
  3402. 'type' => 'string',
  3403. 'required' => true,
  3404. ],
  3405. 'filter' => [
  3406. 'location' => 'query',
  3407. 'type' => 'string',
  3408. ],
  3409. 'maxResults' => [
  3410. 'location' => 'query',
  3411. 'type' => 'integer',
  3412. ],
  3413. 'orderBy' => [
  3414. 'location' => 'query',
  3415. 'type' => 'string',
  3416. ],
  3417. 'pageToken' => [
  3418. 'location' => 'query',
  3419. 'type' => 'string',
  3420. ],
  3421. 'returnPartialSuccess' => [
  3422. 'location' => 'query',
  3423. 'type' => 'boolean',
  3424. ],
  3425. ],
  3426. ],
  3427. ]
  3428. ]
  3429. );
  3430. $this->globalOperations = new Compute\Resource\GlobalOperations(
  3431. $this,
  3432. $this->serviceName,
  3433. 'globalOperations',
  3434. [
  3435. 'methods' => [
  3436. 'aggregatedList' => [
  3437. 'path' => 'projects/{project}/aggregated/operations',
  3438. 'httpMethod' => 'GET',
  3439. 'parameters' => [
  3440. 'project' => [
  3441. 'location' => 'path',
  3442. 'type' => 'string',
  3443. 'required' => true,
  3444. ],
  3445. 'filter' => [
  3446. 'location' => 'query',
  3447. 'type' => 'string',
  3448. ],
  3449. 'includeAllScopes' => [
  3450. 'location' => 'query',
  3451. 'type' => 'boolean',
  3452. ],
  3453. 'maxResults' => [
  3454. 'location' => 'query',
  3455. 'type' => 'integer',
  3456. ],
  3457. 'orderBy' => [
  3458. 'location' => 'query',
  3459. 'type' => 'string',
  3460. ],
  3461. 'pageToken' => [
  3462. 'location' => 'query',
  3463. 'type' => 'string',
  3464. ],
  3465. 'returnPartialSuccess' => [
  3466. 'location' => 'query',
  3467. 'type' => 'boolean',
  3468. ],
  3469. 'serviceProjectNumber' => [
  3470. 'location' => 'query',
  3471. 'type' => 'string',
  3472. ],
  3473. ],
  3474. ],'delete' => [
  3475. 'path' => 'projects/{project}/global/operations/{operation}',
  3476. 'httpMethod' => 'DELETE',
  3477. 'parameters' => [
  3478. 'project' => [
  3479. 'location' => 'path',
  3480. 'type' => 'string',
  3481. 'required' => true,
  3482. ],
  3483. 'operation' => [
  3484. 'location' => 'path',
  3485. 'type' => 'string',
  3486. 'required' => true,
  3487. ],
  3488. ],
  3489. ],'get' => [
  3490. 'path' => 'projects/{project}/global/operations/{operation}',
  3491. 'httpMethod' => 'GET',
  3492. 'parameters' => [
  3493. 'project' => [
  3494. 'location' => 'path',
  3495. 'type' => 'string',
  3496. 'required' => true,
  3497. ],
  3498. 'operation' => [
  3499. 'location' => 'path',
  3500. 'type' => 'string',
  3501. 'required' => true,
  3502. ],
  3503. ],
  3504. ],'list' => [
  3505. 'path' => 'projects/{project}/global/operations',
  3506. 'httpMethod' => 'GET',
  3507. 'parameters' => [
  3508. 'project' => [
  3509. 'location' => 'path',
  3510. 'type' => 'string',
  3511. 'required' => true,
  3512. ],
  3513. 'filter' => [
  3514. 'location' => 'query',
  3515. 'type' => 'string',
  3516. ],
  3517. 'maxResults' => [
  3518. 'location' => 'query',
  3519. 'type' => 'integer',
  3520. ],
  3521. 'orderBy' => [
  3522. 'location' => 'query',
  3523. 'type' => 'string',
  3524. ],
  3525. 'pageToken' => [
  3526. 'location' => 'query',
  3527. 'type' => 'string',
  3528. ],
  3529. 'returnPartialSuccess' => [
  3530. 'location' => 'query',
  3531. 'type' => 'boolean',
  3532. ],
  3533. ],
  3534. ],'wait' => [
  3535. 'path' => 'projects/{project}/global/operations/{operation}/wait',
  3536. 'httpMethod' => 'POST',
  3537. 'parameters' => [
  3538. 'project' => [
  3539. 'location' => 'path',
  3540. 'type' => 'string',
  3541. 'required' => true,
  3542. ],
  3543. 'operation' => [
  3544. 'location' => 'path',
  3545. 'type' => 'string',
  3546. 'required' => true,
  3547. ],
  3548. ],
  3549. ],
  3550. ]
  3551. ]
  3552. );
  3553. $this->globalOrganizationOperations = new Compute\Resource\GlobalOrganizationOperations(
  3554. $this,
  3555. $this->serviceName,
  3556. 'globalOrganizationOperations',
  3557. [
  3558. 'methods' => [
  3559. 'delete' => [
  3560. 'path' => 'locations/global/operations/{operation}',
  3561. 'httpMethod' => 'DELETE',
  3562. 'parameters' => [
  3563. 'operation' => [
  3564. 'location' => 'path',
  3565. 'type' => 'string',
  3566. 'required' => true,
  3567. ],
  3568. 'parentId' => [
  3569. 'location' => 'query',
  3570. 'type' => 'string',
  3571. ],
  3572. ],
  3573. ],'get' => [
  3574. 'path' => 'locations/global/operations/{operation}',
  3575. 'httpMethod' => 'GET',
  3576. 'parameters' => [
  3577. 'operation' => [
  3578. 'location' => 'path',
  3579. 'type' => 'string',
  3580. 'required' => true,
  3581. ],
  3582. 'parentId' => [
  3583. 'location' => 'query',
  3584. 'type' => 'string',
  3585. ],
  3586. ],
  3587. ],'list' => [
  3588. 'path' => 'locations/global/operations',
  3589. 'httpMethod' => 'GET',
  3590. 'parameters' => [
  3591. 'filter' => [
  3592. 'location' => 'query',
  3593. 'type' => 'string',
  3594. ],
  3595. 'maxResults' => [
  3596. 'location' => 'query',
  3597. 'type' => 'integer',
  3598. ],
  3599. 'orderBy' => [
  3600. 'location' => 'query',
  3601. 'type' => 'string',
  3602. ],
  3603. 'pageToken' => [
  3604. 'location' => 'query',
  3605. 'type' => 'string',
  3606. ],
  3607. 'parentId' => [
  3608. 'location' => 'query',
  3609. 'type' => 'string',
  3610. ],
  3611. 'returnPartialSuccess' => [
  3612. 'location' => 'query',
  3613. 'type' => 'boolean',
  3614. ],
  3615. ],
  3616. ],
  3617. ]
  3618. ]
  3619. );
  3620. $this->globalPublicDelegatedPrefixes = new Compute\Resource\GlobalPublicDelegatedPrefixes(
  3621. $this,
  3622. $this->serviceName,
  3623. 'globalPublicDelegatedPrefixes',
  3624. [
  3625. 'methods' => [
  3626. 'delete' => [
  3627. 'path' => 'projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}',
  3628. 'httpMethod' => 'DELETE',
  3629. 'parameters' => [
  3630. 'project' => [
  3631. 'location' => 'path',
  3632. 'type' => 'string',
  3633. 'required' => true,
  3634. ],
  3635. 'publicDelegatedPrefix' => [
  3636. 'location' => 'path',
  3637. 'type' => 'string',
  3638. 'required' => true,
  3639. ],
  3640. 'requestId' => [
  3641. 'location' => 'query',
  3642. 'type' => 'string',
  3643. ],
  3644. ],
  3645. ],'get' => [
  3646. 'path' => 'projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}',
  3647. 'httpMethod' => 'GET',
  3648. 'parameters' => [
  3649. 'project' => [
  3650. 'location' => 'path',
  3651. 'type' => 'string',
  3652. 'required' => true,
  3653. ],
  3654. 'publicDelegatedPrefix' => [
  3655. 'location' => 'path',
  3656. 'type' => 'string',
  3657. 'required' => true,
  3658. ],
  3659. ],
  3660. ],'insert' => [
  3661. 'path' => 'projects/{project}/global/publicDelegatedPrefixes',
  3662. 'httpMethod' => 'POST',
  3663. 'parameters' => [
  3664. 'project' => [
  3665. 'location' => 'path',
  3666. 'type' => 'string',
  3667. 'required' => true,
  3668. ],
  3669. 'requestId' => [
  3670. 'location' => 'query',
  3671. 'type' => 'string',
  3672. ],
  3673. ],
  3674. ],'list' => [
  3675. 'path' => 'projects/{project}/global/publicDelegatedPrefixes',
  3676. 'httpMethod' => 'GET',
  3677. 'parameters' => [
  3678. 'project' => [
  3679. 'location' => 'path',
  3680. 'type' => 'string',
  3681. 'required' => true,
  3682. ],
  3683. 'filter' => [
  3684. 'location' => 'query',
  3685. 'type' => 'string',
  3686. ],
  3687. 'maxResults' => [
  3688. 'location' => 'query',
  3689. 'type' => 'integer',
  3690. ],
  3691. 'orderBy' => [
  3692. 'location' => 'query',
  3693. 'type' => 'string',
  3694. ],
  3695. 'pageToken' => [
  3696. 'location' => 'query',
  3697. 'type' => 'string',
  3698. ],
  3699. 'returnPartialSuccess' => [
  3700. 'location' => 'query',
  3701. 'type' => 'boolean',
  3702. ],
  3703. ],
  3704. ],'patch' => [
  3705. 'path' => 'projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}',
  3706. 'httpMethod' => 'PATCH',
  3707. 'parameters' => [
  3708. 'project' => [
  3709. 'location' => 'path',
  3710. 'type' => 'string',
  3711. 'required' => true,
  3712. ],
  3713. 'publicDelegatedPrefix' => [
  3714. 'location' => 'path',
  3715. 'type' => 'string',
  3716. 'required' => true,
  3717. ],
  3718. 'requestId' => [
  3719. 'location' => 'query',
  3720. 'type' => 'string',
  3721. ],
  3722. ],
  3723. ],
  3724. ]
  3725. ]
  3726. );
  3727. $this->healthChecks = new Compute\Resource\HealthChecks(
  3728. $this,
  3729. $this->serviceName,
  3730. 'healthChecks',
  3731. [
  3732. 'methods' => [
  3733. 'aggregatedList' => [
  3734. 'path' => 'projects/{project}/aggregated/healthChecks',
  3735. 'httpMethod' => 'GET',
  3736. 'parameters' => [
  3737. 'project' => [
  3738. 'location' => 'path',
  3739. 'type' => 'string',
  3740. 'required' => true,
  3741. ],
  3742. 'filter' => [
  3743. 'location' => 'query',
  3744. 'type' => 'string',
  3745. ],
  3746. 'includeAllScopes' => [
  3747. 'location' => 'query',
  3748. 'type' => 'boolean',
  3749. ],
  3750. 'maxResults' => [
  3751. 'location' => 'query',
  3752. 'type' => 'integer',
  3753. ],
  3754. 'orderBy' => [
  3755. 'location' => 'query',
  3756. 'type' => 'string',
  3757. ],
  3758. 'pageToken' => [
  3759. 'location' => 'query',
  3760. 'type' => 'string',
  3761. ],
  3762. 'returnPartialSuccess' => [
  3763. 'location' => 'query',
  3764. 'type' => 'boolean',
  3765. ],
  3766. 'serviceProjectNumber' => [
  3767. 'location' => 'query',
  3768. 'type' => 'string',
  3769. ],
  3770. ],
  3771. ],'delete' => [
  3772. 'path' => 'projects/{project}/global/healthChecks/{healthCheck}',
  3773. 'httpMethod' => 'DELETE',
  3774. 'parameters' => [
  3775. 'project' => [
  3776. 'location' => 'path',
  3777. 'type' => 'string',
  3778. 'required' => true,
  3779. ],
  3780. 'healthCheck' => [
  3781. 'location' => 'path',
  3782. 'type' => 'string',
  3783. 'required' => true,
  3784. ],
  3785. 'requestId' => [
  3786. 'location' => 'query',
  3787. 'type' => 'string',
  3788. ],
  3789. ],
  3790. ],'get' => [
  3791. 'path' => 'projects/{project}/global/healthChecks/{healthCheck}',
  3792. 'httpMethod' => 'GET',
  3793. 'parameters' => [
  3794. 'project' => [
  3795. 'location' => 'path',
  3796. 'type' => 'string',
  3797. 'required' => true,
  3798. ],
  3799. 'healthCheck' => [
  3800. 'location' => 'path',
  3801. 'type' => 'string',
  3802. 'required' => true,
  3803. ],
  3804. ],
  3805. ],'insert' => [
  3806. 'path' => 'projects/{project}/global/healthChecks',
  3807. 'httpMethod' => 'POST',
  3808. 'parameters' => [
  3809. 'project' => [
  3810. 'location' => 'path',
  3811. 'type' => 'string',
  3812. 'required' => true,
  3813. ],
  3814. 'requestId' => [
  3815. 'location' => 'query',
  3816. 'type' => 'string',
  3817. ],
  3818. ],
  3819. ],'list' => [
  3820. 'path' => 'projects/{project}/global/healthChecks',
  3821. 'httpMethod' => 'GET',
  3822. 'parameters' => [
  3823. 'project' => [
  3824. 'location' => 'path',
  3825. 'type' => 'string',
  3826. 'required' => true,
  3827. ],
  3828. 'filter' => [
  3829. 'location' => 'query',
  3830. 'type' => 'string',
  3831. ],
  3832. 'maxResults' => [
  3833. 'location' => 'query',
  3834. 'type' => 'integer',
  3835. ],
  3836. 'orderBy' => [
  3837. 'location' => 'query',
  3838. 'type' => 'string',
  3839. ],
  3840. 'pageToken' => [
  3841. 'location' => 'query',
  3842. 'type' => 'string',
  3843. ],
  3844. 'returnPartialSuccess' => [
  3845. 'location' => 'query',
  3846. 'type' => 'boolean',
  3847. ],
  3848. ],
  3849. ],'patch' => [
  3850. 'path' => 'projects/{project}/global/healthChecks/{healthCheck}',
  3851. 'httpMethod' => 'PATCH',
  3852. 'parameters' => [
  3853. 'project' => [
  3854. 'location' => 'path',
  3855. 'type' => 'string',
  3856. 'required' => true,
  3857. ],
  3858. 'healthCheck' => [
  3859. 'location' => 'path',
  3860. 'type' => 'string',
  3861. 'required' => true,
  3862. ],
  3863. 'requestId' => [
  3864. 'location' => 'query',
  3865. 'type' => 'string',
  3866. ],
  3867. ],
  3868. ],'testIamPermissions' => [
  3869. 'path' => 'projects/{project}/global/healthChecks/{resource}/testIamPermissions',
  3870. 'httpMethod' => 'POST',
  3871. 'parameters' => [
  3872. 'project' => [
  3873. 'location' => 'path',
  3874. 'type' => 'string',
  3875. 'required' => true,
  3876. ],
  3877. 'resource' => [
  3878. 'location' => 'path',
  3879. 'type' => 'string',
  3880. 'required' => true,
  3881. ],
  3882. ],
  3883. ],'update' => [
  3884. 'path' => 'projects/{project}/global/healthChecks/{healthCheck}',
  3885. 'httpMethod' => 'PUT',
  3886. 'parameters' => [
  3887. 'project' => [
  3888. 'location' => 'path',
  3889. 'type' => 'string',
  3890. 'required' => true,
  3891. ],
  3892. 'healthCheck' => [
  3893. 'location' => 'path',
  3894. 'type' => 'string',
  3895. 'required' => true,
  3896. ],
  3897. 'requestId' => [
  3898. 'location' => 'query',
  3899. 'type' => 'string',
  3900. ],
  3901. ],
  3902. ],
  3903. ]
  3904. ]
  3905. );
  3906. $this->httpHealthChecks = new Compute\Resource\HttpHealthChecks(
  3907. $this,
  3908. $this->serviceName,
  3909. 'httpHealthChecks',
  3910. [
  3911. 'methods' => [
  3912. 'delete' => [
  3913. 'path' => 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}',
  3914. 'httpMethod' => 'DELETE',
  3915. 'parameters' => [
  3916. 'project' => [
  3917. 'location' => 'path',
  3918. 'type' => 'string',
  3919. 'required' => true,
  3920. ],
  3921. 'httpHealthCheck' => [
  3922. 'location' => 'path',
  3923. 'type' => 'string',
  3924. 'required' => true,
  3925. ],
  3926. 'requestId' => [
  3927. 'location' => 'query',
  3928. 'type' => 'string',
  3929. ],
  3930. ],
  3931. ],'get' => [
  3932. 'path' => 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}',
  3933. 'httpMethod' => 'GET',
  3934. 'parameters' => [
  3935. 'project' => [
  3936. 'location' => 'path',
  3937. 'type' => 'string',
  3938. 'required' => true,
  3939. ],
  3940. 'httpHealthCheck' => [
  3941. 'location' => 'path',
  3942. 'type' => 'string',
  3943. 'required' => true,
  3944. ],
  3945. ],
  3946. ],'insert' => [
  3947. 'path' => 'projects/{project}/global/httpHealthChecks',
  3948. 'httpMethod' => 'POST',
  3949. 'parameters' => [
  3950. 'project' => [
  3951. 'location' => 'path',
  3952. 'type' => 'string',
  3953. 'required' => true,
  3954. ],
  3955. 'requestId' => [
  3956. 'location' => 'query',
  3957. 'type' => 'string',
  3958. ],
  3959. ],
  3960. ],'list' => [
  3961. 'path' => 'projects/{project}/global/httpHealthChecks',
  3962. 'httpMethod' => 'GET',
  3963. 'parameters' => [
  3964. 'project' => [
  3965. 'location' => 'path',
  3966. 'type' => 'string',
  3967. 'required' => true,
  3968. ],
  3969. 'filter' => [
  3970. 'location' => 'query',
  3971. 'type' => 'string',
  3972. ],
  3973. 'maxResults' => [
  3974. 'location' => 'query',
  3975. 'type' => 'integer',
  3976. ],
  3977. 'orderBy' => [
  3978. 'location' => 'query',
  3979. 'type' => 'string',
  3980. ],
  3981. 'pageToken' => [
  3982. 'location' => 'query',
  3983. 'type' => 'string',
  3984. ],
  3985. 'returnPartialSuccess' => [
  3986. 'location' => 'query',
  3987. 'type' => 'boolean',
  3988. ],
  3989. ],
  3990. ],'patch' => [
  3991. 'path' => 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}',
  3992. 'httpMethod' => 'PATCH',
  3993. 'parameters' => [
  3994. 'project' => [
  3995. 'location' => 'path',
  3996. 'type' => 'string',
  3997. 'required' => true,
  3998. ],
  3999. 'httpHealthCheck' => [
  4000. 'location' => 'path',
  4001. 'type' => 'string',
  4002. 'required' => true,
  4003. ],
  4004. 'requestId' => [
  4005. 'location' => 'query',
  4006. 'type' => 'string',
  4007. ],
  4008. ],
  4009. ],'testIamPermissions' => [
  4010. 'path' => 'projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions',
  4011. 'httpMethod' => 'POST',
  4012. 'parameters' => [
  4013. 'project' => [
  4014. 'location' => 'path',
  4015. 'type' => 'string',
  4016. 'required' => true,
  4017. ],
  4018. 'resource' => [
  4019. 'location' => 'path',
  4020. 'type' => 'string',
  4021. 'required' => true,
  4022. ],
  4023. ],
  4024. ],'update' => [
  4025. 'path' => 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}',
  4026. 'httpMethod' => 'PUT',
  4027. 'parameters' => [
  4028. 'project' => [
  4029. 'location' => 'path',
  4030. 'type' => 'string',
  4031. 'required' => true,
  4032. ],
  4033. 'httpHealthCheck' => [
  4034. 'location' => 'path',
  4035. 'type' => 'string',
  4036. 'required' => true,
  4037. ],
  4038. 'requestId' => [
  4039. 'location' => 'query',
  4040. 'type' => 'string',
  4041. ],
  4042. ],
  4043. ],
  4044. ]
  4045. ]
  4046. );
  4047. $this->httpsHealthChecks = new Compute\Resource\HttpsHealthChecks(
  4048. $this,
  4049. $this->serviceName,
  4050. 'httpsHealthChecks',
  4051. [
  4052. 'methods' => [
  4053. 'delete' => [
  4054. 'path' => 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}',
  4055. 'httpMethod' => 'DELETE',
  4056. 'parameters' => [
  4057. 'project' => [
  4058. 'location' => 'path',
  4059. 'type' => 'string',
  4060. 'required' => true,
  4061. ],
  4062. 'httpsHealthCheck' => [
  4063. 'location' => 'path',
  4064. 'type' => 'string',
  4065. 'required' => true,
  4066. ],
  4067. 'requestId' => [
  4068. 'location' => 'query',
  4069. 'type' => 'string',
  4070. ],
  4071. ],
  4072. ],'get' => [
  4073. 'path' => 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}',
  4074. 'httpMethod' => 'GET',
  4075. 'parameters' => [
  4076. 'project' => [
  4077. 'location' => 'path',
  4078. 'type' => 'string',
  4079. 'required' => true,
  4080. ],
  4081. 'httpsHealthCheck' => [
  4082. 'location' => 'path',
  4083. 'type' => 'string',
  4084. 'required' => true,
  4085. ],
  4086. ],
  4087. ],'insert' => [
  4088. 'path' => 'projects/{project}/global/httpsHealthChecks',
  4089. 'httpMethod' => 'POST',
  4090. 'parameters' => [
  4091. 'project' => [
  4092. 'location' => 'path',
  4093. 'type' => 'string',
  4094. 'required' => true,
  4095. ],
  4096. 'requestId' => [
  4097. 'location' => 'query',
  4098. 'type' => 'string',
  4099. ],
  4100. ],
  4101. ],'list' => [
  4102. 'path' => 'projects/{project}/global/httpsHealthChecks',
  4103. 'httpMethod' => 'GET',
  4104. 'parameters' => [
  4105. 'project' => [
  4106. 'location' => 'path',
  4107. 'type' => 'string',
  4108. 'required' => true,
  4109. ],
  4110. 'filter' => [
  4111. 'location' => 'query',
  4112. 'type' => 'string',
  4113. ],
  4114. 'maxResults' => [
  4115. 'location' => 'query',
  4116. 'type' => 'integer',
  4117. ],
  4118. 'orderBy' => [
  4119. 'location' => 'query',
  4120. 'type' => 'string',
  4121. ],
  4122. 'pageToken' => [
  4123. 'location' => 'query',
  4124. 'type' => 'string',
  4125. ],
  4126. 'returnPartialSuccess' => [
  4127. 'location' => 'query',
  4128. 'type' => 'boolean',
  4129. ],
  4130. ],
  4131. ],'patch' => [
  4132. 'path' => 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}',
  4133. 'httpMethod' => 'PATCH',
  4134. 'parameters' => [
  4135. 'project' => [
  4136. 'location' => 'path',
  4137. 'type' => 'string',
  4138. 'required' => true,
  4139. ],
  4140. 'httpsHealthCheck' => [
  4141. 'location' => 'path',
  4142. 'type' => 'string',
  4143. 'required' => true,
  4144. ],
  4145. 'requestId' => [
  4146. 'location' => 'query',
  4147. 'type' => 'string',
  4148. ],
  4149. ],
  4150. ],'testIamPermissions' => [
  4151. 'path' => 'projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions',
  4152. 'httpMethod' => 'POST',
  4153. 'parameters' => [
  4154. 'project' => [
  4155. 'location' => 'path',
  4156. 'type' => 'string',
  4157. 'required' => true,
  4158. ],
  4159. 'resource' => [
  4160. 'location' => 'path',
  4161. 'type' => 'string',
  4162. 'required' => true,
  4163. ],
  4164. ],
  4165. ],'update' => [
  4166. 'path' => 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}',
  4167. 'httpMethod' => 'PUT',
  4168. 'parameters' => [
  4169. 'project' => [
  4170. 'location' => 'path',
  4171. 'type' => 'string',
  4172. 'required' => true,
  4173. ],
  4174. 'httpsHealthCheck' => [
  4175. 'location' => 'path',
  4176. 'type' => 'string',
  4177. 'required' => true,
  4178. ],
  4179. 'requestId' => [
  4180. 'location' => 'query',
  4181. 'type' => 'string',
  4182. ],
  4183. ],
  4184. ],
  4185. ]
  4186. ]
  4187. );
  4188. $this->imageFamilyViews = new Compute\Resource\ImageFamilyViews(
  4189. $this,
  4190. $this->serviceName,
  4191. 'imageFamilyViews',
  4192. [
  4193. 'methods' => [
  4194. 'get' => [
  4195. 'path' => 'projects/{project}/zones/{zone}/imageFamilyViews/{family}',
  4196. 'httpMethod' => 'GET',
  4197. 'parameters' => [
  4198. 'project' => [
  4199. 'location' => 'path',
  4200. 'type' => 'string',
  4201. 'required' => true,
  4202. ],
  4203. 'zone' => [
  4204. 'location' => 'path',
  4205. 'type' => 'string',
  4206. 'required' => true,
  4207. ],
  4208. 'family' => [
  4209. 'location' => 'path',
  4210. 'type' => 'string',
  4211. 'required' => true,
  4212. ],
  4213. ],
  4214. ],
  4215. ]
  4216. ]
  4217. );
  4218. $this->images = new Compute\Resource\Images(
  4219. $this,
  4220. $this->serviceName,
  4221. 'images',
  4222. [
  4223. 'methods' => [
  4224. 'delete' => [
  4225. 'path' => 'projects/{project}/global/images/{image}',
  4226. 'httpMethod' => 'DELETE',
  4227. 'parameters' => [
  4228. 'project' => [
  4229. 'location' => 'path',
  4230. 'type' => 'string',
  4231. 'required' => true,
  4232. ],
  4233. 'image' => [
  4234. 'location' => 'path',
  4235. 'type' => 'string',
  4236. 'required' => true,
  4237. ],
  4238. 'requestId' => [
  4239. 'location' => 'query',
  4240. 'type' => 'string',
  4241. ],
  4242. ],
  4243. ],'deprecate' => [
  4244. 'path' => 'projects/{project}/global/images/{image}/deprecate',
  4245. 'httpMethod' => 'POST',
  4246. 'parameters' => [
  4247. 'project' => [
  4248. 'location' => 'path',
  4249. 'type' => 'string',
  4250. 'required' => true,
  4251. ],
  4252. 'image' => [
  4253. 'location' => 'path',
  4254. 'type' => 'string',
  4255. 'required' => true,
  4256. ],
  4257. 'requestId' => [
  4258. 'location' => 'query',
  4259. 'type' => 'string',
  4260. ],
  4261. ],
  4262. ],'get' => [
  4263. 'path' => 'projects/{project}/global/images/{image}',
  4264. 'httpMethod' => 'GET',
  4265. 'parameters' => [
  4266. 'project' => [
  4267. 'location' => 'path',
  4268. 'type' => 'string',
  4269. 'required' => true,
  4270. ],
  4271. 'image' => [
  4272. 'location' => 'path',
  4273. 'type' => 'string',
  4274. 'required' => true,
  4275. ],
  4276. ],
  4277. ],'getFromFamily' => [
  4278. 'path' => 'projects/{project}/global/images/family/{family}',
  4279. 'httpMethod' => 'GET',
  4280. 'parameters' => [
  4281. 'project' => [
  4282. 'location' => 'path',
  4283. 'type' => 'string',
  4284. 'required' => true,
  4285. ],
  4286. 'family' => [
  4287. 'location' => 'path',
  4288. 'type' => 'string',
  4289. 'required' => true,
  4290. ],
  4291. ],
  4292. ],'getIamPolicy' => [
  4293. 'path' => 'projects/{project}/global/images/{resource}/getIamPolicy',
  4294. 'httpMethod' => 'GET',
  4295. 'parameters' => [
  4296. 'project' => [
  4297. 'location' => 'path',
  4298. 'type' => 'string',
  4299. 'required' => true,
  4300. ],
  4301. 'resource' => [
  4302. 'location' => 'path',
  4303. 'type' => 'string',
  4304. 'required' => true,
  4305. ],
  4306. 'optionsRequestedPolicyVersion' => [
  4307. 'location' => 'query',
  4308. 'type' => 'integer',
  4309. ],
  4310. ],
  4311. ],'insert' => [
  4312. 'path' => 'projects/{project}/global/images',
  4313. 'httpMethod' => 'POST',
  4314. 'parameters' => [
  4315. 'project' => [
  4316. 'location' => 'path',
  4317. 'type' => 'string',
  4318. 'required' => true,
  4319. ],
  4320. 'forceCreate' => [
  4321. 'location' => 'query',
  4322. 'type' => 'boolean',
  4323. ],
  4324. 'requestId' => [
  4325. 'location' => 'query',
  4326. 'type' => 'string',
  4327. ],
  4328. ],
  4329. ],'list' => [
  4330. 'path' => 'projects/{project}/global/images',
  4331. 'httpMethod' => 'GET',
  4332. 'parameters' => [
  4333. 'project' => [
  4334. 'location' => 'path',
  4335. 'type' => 'string',
  4336. 'required' => true,
  4337. ],
  4338. 'filter' => [
  4339. 'location' => 'query',
  4340. 'type' => 'string',
  4341. ],
  4342. 'maxResults' => [
  4343. 'location' => 'query',
  4344. 'type' => 'integer',
  4345. ],
  4346. 'orderBy' => [
  4347. 'location' => 'query',
  4348. 'type' => 'string',
  4349. ],
  4350. 'pageToken' => [
  4351. 'location' => 'query',
  4352. 'type' => 'string',
  4353. ],
  4354. 'returnPartialSuccess' => [
  4355. 'location' => 'query',
  4356. 'type' => 'boolean',
  4357. ],
  4358. ],
  4359. ],'patch' => [
  4360. 'path' => 'projects/{project}/global/images/{image}',
  4361. 'httpMethod' => 'PATCH',
  4362. 'parameters' => [
  4363. 'project' => [
  4364. 'location' => 'path',
  4365. 'type' => 'string',
  4366. 'required' => true,
  4367. ],
  4368. 'image' => [
  4369. 'location' => 'path',
  4370. 'type' => 'string',
  4371. 'required' => true,
  4372. ],
  4373. 'requestId' => [
  4374. 'location' => 'query',
  4375. 'type' => 'string',
  4376. ],
  4377. ],
  4378. ],'setIamPolicy' => [
  4379. 'path' => 'projects/{project}/global/images/{resource}/setIamPolicy',
  4380. 'httpMethod' => 'POST',
  4381. 'parameters' => [
  4382. 'project' => [
  4383. 'location' => 'path',
  4384. 'type' => 'string',
  4385. 'required' => true,
  4386. ],
  4387. 'resource' => [
  4388. 'location' => 'path',
  4389. 'type' => 'string',
  4390. 'required' => true,
  4391. ],
  4392. ],
  4393. ],'setLabels' => [
  4394. 'path' => 'projects/{project}/global/images/{resource}/setLabels',
  4395. 'httpMethod' => 'POST',
  4396. 'parameters' => [
  4397. 'project' => [
  4398. 'location' => 'path',
  4399. 'type' => 'string',
  4400. 'required' => true,
  4401. ],
  4402. 'resource' => [
  4403. 'location' => 'path',
  4404. 'type' => 'string',
  4405. 'required' => true,
  4406. ],
  4407. ],
  4408. ],'testIamPermissions' => [
  4409. 'path' => 'projects/{project}/global/images/{resource}/testIamPermissions',
  4410. 'httpMethod' => 'POST',
  4411. 'parameters' => [
  4412. 'project' => [
  4413. 'location' => 'path',
  4414. 'type' => 'string',
  4415. 'required' => true,
  4416. ],
  4417. 'resource' => [
  4418. 'location' => 'path',
  4419. 'type' => 'string',
  4420. 'required' => true,
  4421. ],
  4422. ],
  4423. ],
  4424. ]
  4425. ]
  4426. );
  4427. $this->instanceGroupManagerResizeRequests = new Compute\Resource\InstanceGroupManagerResizeRequests(
  4428. $this,
  4429. $this->serviceName,
  4430. 'instanceGroupManagerResizeRequests',
  4431. [
  4432. 'methods' => [
  4433. 'cancel' => [
  4434. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}/cancel',
  4435. 'httpMethod' => 'POST',
  4436. 'parameters' => [
  4437. 'project' => [
  4438. 'location' => 'path',
  4439. 'type' => 'string',
  4440. 'required' => true,
  4441. ],
  4442. 'zone' => [
  4443. 'location' => 'path',
  4444. 'type' => 'string',
  4445. 'required' => true,
  4446. ],
  4447. 'instanceGroupManager' => [
  4448. 'location' => 'path',
  4449. 'type' => 'string',
  4450. 'required' => true,
  4451. ],
  4452. 'resizeRequest' => [
  4453. 'location' => 'path',
  4454. 'type' => 'string',
  4455. 'required' => true,
  4456. ],
  4457. 'requestId' => [
  4458. 'location' => 'query',
  4459. 'type' => 'string',
  4460. ],
  4461. ],
  4462. ],'delete' => [
  4463. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}',
  4464. 'httpMethod' => 'DELETE',
  4465. 'parameters' => [
  4466. 'project' => [
  4467. 'location' => 'path',
  4468. 'type' => 'string',
  4469. 'required' => true,
  4470. ],
  4471. 'zone' => [
  4472. 'location' => 'path',
  4473. 'type' => 'string',
  4474. 'required' => true,
  4475. ],
  4476. 'instanceGroupManager' => [
  4477. 'location' => 'path',
  4478. 'type' => 'string',
  4479. 'required' => true,
  4480. ],
  4481. 'resizeRequest' => [
  4482. 'location' => 'path',
  4483. 'type' => 'string',
  4484. 'required' => true,
  4485. ],
  4486. 'requestId' => [
  4487. 'location' => 'query',
  4488. 'type' => 'string',
  4489. ],
  4490. ],
  4491. ],'get' => [
  4492. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}',
  4493. 'httpMethod' => 'GET',
  4494. 'parameters' => [
  4495. 'project' => [
  4496. 'location' => 'path',
  4497. 'type' => 'string',
  4498. 'required' => true,
  4499. ],
  4500. 'zone' => [
  4501. 'location' => 'path',
  4502. 'type' => 'string',
  4503. 'required' => true,
  4504. ],
  4505. 'instanceGroupManager' => [
  4506. 'location' => 'path',
  4507. 'type' => 'string',
  4508. 'required' => true,
  4509. ],
  4510. 'resizeRequest' => [
  4511. 'location' => 'path',
  4512. 'type' => 'string',
  4513. 'required' => true,
  4514. ],
  4515. ],
  4516. ],'insert' => [
  4517. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests',
  4518. 'httpMethod' => 'POST',
  4519. 'parameters' => [
  4520. 'project' => [
  4521. 'location' => 'path',
  4522. 'type' => 'string',
  4523. 'required' => true,
  4524. ],
  4525. 'zone' => [
  4526. 'location' => 'path',
  4527. 'type' => 'string',
  4528. 'required' => true,
  4529. ],
  4530. 'instanceGroupManager' => [
  4531. 'location' => 'path',
  4532. 'type' => 'string',
  4533. 'required' => true,
  4534. ],
  4535. 'requestId' => [
  4536. 'location' => 'query',
  4537. 'type' => 'string',
  4538. ],
  4539. ],
  4540. ],'list' => [
  4541. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests',
  4542. 'httpMethod' => 'GET',
  4543. 'parameters' => [
  4544. 'project' => [
  4545. 'location' => 'path',
  4546. 'type' => 'string',
  4547. 'required' => true,
  4548. ],
  4549. 'zone' => [
  4550. 'location' => 'path',
  4551. 'type' => 'string',
  4552. 'required' => true,
  4553. ],
  4554. 'instanceGroupManager' => [
  4555. 'location' => 'path',
  4556. 'type' => 'string',
  4557. 'required' => true,
  4558. ],
  4559. 'filter' => [
  4560. 'location' => 'query',
  4561. 'type' => 'string',
  4562. ],
  4563. 'maxResults' => [
  4564. 'location' => 'query',
  4565. 'type' => 'integer',
  4566. ],
  4567. 'orderBy' => [
  4568. 'location' => 'query',
  4569. 'type' => 'string',
  4570. ],
  4571. 'pageToken' => [
  4572. 'location' => 'query',
  4573. 'type' => 'string',
  4574. ],
  4575. 'returnPartialSuccess' => [
  4576. 'location' => 'query',
  4577. 'type' => 'boolean',
  4578. ],
  4579. ],
  4580. ],
  4581. ]
  4582. ]
  4583. );
  4584. $this->instanceGroupManagers = new Compute\Resource\InstanceGroupManagers(
  4585. $this,
  4586. $this->serviceName,
  4587. 'instanceGroupManagers',
  4588. [
  4589. 'methods' => [
  4590. 'abandonInstances' => [
  4591. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances',
  4592. 'httpMethod' => 'POST',
  4593. 'parameters' => [
  4594. 'project' => [
  4595. 'location' => 'path',
  4596. 'type' => 'string',
  4597. 'required' => true,
  4598. ],
  4599. 'zone' => [
  4600. 'location' => 'path',
  4601. 'type' => 'string',
  4602. 'required' => true,
  4603. ],
  4604. 'instanceGroupManager' => [
  4605. 'location' => 'path',
  4606. 'type' => 'string',
  4607. 'required' => true,
  4608. ],
  4609. 'requestId' => [
  4610. 'location' => 'query',
  4611. 'type' => 'string',
  4612. ],
  4613. ],
  4614. ],'aggregatedList' => [
  4615. 'path' => 'projects/{project}/aggregated/instanceGroupManagers',
  4616. 'httpMethod' => 'GET',
  4617. 'parameters' => [
  4618. 'project' => [
  4619. 'location' => 'path',
  4620. 'type' => 'string',
  4621. 'required' => true,
  4622. ],
  4623. 'filter' => [
  4624. 'location' => 'query',
  4625. 'type' => 'string',
  4626. ],
  4627. 'includeAllScopes' => [
  4628. 'location' => 'query',
  4629. 'type' => 'boolean',
  4630. ],
  4631. 'maxResults' => [
  4632. 'location' => 'query',
  4633. 'type' => 'integer',
  4634. ],
  4635. 'orderBy' => [
  4636. 'location' => 'query',
  4637. 'type' => 'string',
  4638. ],
  4639. 'pageToken' => [
  4640. 'location' => 'query',
  4641. 'type' => 'string',
  4642. ],
  4643. 'returnPartialSuccess' => [
  4644. 'location' => 'query',
  4645. 'type' => 'boolean',
  4646. ],
  4647. 'serviceProjectNumber' => [
  4648. 'location' => 'query',
  4649. 'type' => 'string',
  4650. ],
  4651. ],
  4652. ],'applyUpdatesToInstances' => [
  4653. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances',
  4654. 'httpMethod' => 'POST',
  4655. 'parameters' => [
  4656. 'project' => [
  4657. 'location' => 'path',
  4658. 'type' => 'string',
  4659. 'required' => true,
  4660. ],
  4661. 'zone' => [
  4662. 'location' => 'path',
  4663. 'type' => 'string',
  4664. 'required' => true,
  4665. ],
  4666. 'instanceGroupManager' => [
  4667. 'location' => 'path',
  4668. 'type' => 'string',
  4669. 'required' => true,
  4670. ],
  4671. ],
  4672. ],'createInstances' => [
  4673. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances',
  4674. 'httpMethod' => 'POST',
  4675. 'parameters' => [
  4676. 'project' => [
  4677. 'location' => 'path',
  4678. 'type' => 'string',
  4679. 'required' => true,
  4680. ],
  4681. 'zone' => [
  4682. 'location' => 'path',
  4683. 'type' => 'string',
  4684. 'required' => true,
  4685. ],
  4686. 'instanceGroupManager' => [
  4687. 'location' => 'path',
  4688. 'type' => 'string',
  4689. 'required' => true,
  4690. ],
  4691. 'requestId' => [
  4692. 'location' => 'query',
  4693. 'type' => 'string',
  4694. ],
  4695. ],
  4696. ],'delete' => [
  4697. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
  4698. 'httpMethod' => 'DELETE',
  4699. 'parameters' => [
  4700. 'project' => [
  4701. 'location' => 'path',
  4702. 'type' => 'string',
  4703. 'required' => true,
  4704. ],
  4705. 'zone' => [
  4706. 'location' => 'path',
  4707. 'type' => 'string',
  4708. 'required' => true,
  4709. ],
  4710. 'instanceGroupManager' => [
  4711. 'location' => 'path',
  4712. 'type' => 'string',
  4713. 'required' => true,
  4714. ],
  4715. 'requestId' => [
  4716. 'location' => 'query',
  4717. 'type' => 'string',
  4718. ],
  4719. ],
  4720. ],'deleteInstances' => [
  4721. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances',
  4722. 'httpMethod' => 'POST',
  4723. 'parameters' => [
  4724. 'project' => [
  4725. 'location' => 'path',
  4726. 'type' => 'string',
  4727. 'required' => true,
  4728. ],
  4729. 'zone' => [
  4730. 'location' => 'path',
  4731. 'type' => 'string',
  4732. 'required' => true,
  4733. ],
  4734. 'instanceGroupManager' => [
  4735. 'location' => 'path',
  4736. 'type' => 'string',
  4737. 'required' => true,
  4738. ],
  4739. 'requestId' => [
  4740. 'location' => 'query',
  4741. 'type' => 'string',
  4742. ],
  4743. ],
  4744. ],'deletePerInstanceConfigs' => [
  4745. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs',
  4746. 'httpMethod' => 'POST',
  4747. 'parameters' => [
  4748. 'project' => [
  4749. 'location' => 'path',
  4750. 'type' => 'string',
  4751. 'required' => true,
  4752. ],
  4753. 'zone' => [
  4754. 'location' => 'path',
  4755. 'type' => 'string',
  4756. 'required' => true,
  4757. ],
  4758. 'instanceGroupManager' => [
  4759. 'location' => 'path',
  4760. 'type' => 'string',
  4761. 'required' => true,
  4762. ],
  4763. ],
  4764. ],'get' => [
  4765. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
  4766. 'httpMethod' => 'GET',
  4767. 'parameters' => [
  4768. 'project' => [
  4769. 'location' => 'path',
  4770. 'type' => 'string',
  4771. 'required' => true,
  4772. ],
  4773. 'zone' => [
  4774. 'location' => 'path',
  4775. 'type' => 'string',
  4776. 'required' => true,
  4777. ],
  4778. 'instanceGroupManager' => [
  4779. 'location' => 'path',
  4780. 'type' => 'string',
  4781. 'required' => true,
  4782. ],
  4783. ],
  4784. ],'insert' => [
  4785. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers',
  4786. 'httpMethod' => 'POST',
  4787. 'parameters' => [
  4788. 'project' => [
  4789. 'location' => 'path',
  4790. 'type' => 'string',
  4791. 'required' => true,
  4792. ],
  4793. 'zone' => [
  4794. 'location' => 'path',
  4795. 'type' => 'string',
  4796. 'required' => true,
  4797. ],
  4798. 'requestId' => [
  4799. 'location' => 'query',
  4800. 'type' => 'string',
  4801. ],
  4802. ],
  4803. ],'list' => [
  4804. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers',
  4805. 'httpMethod' => 'GET',
  4806. 'parameters' => [
  4807. 'project' => [
  4808. 'location' => 'path',
  4809. 'type' => 'string',
  4810. 'required' => true,
  4811. ],
  4812. 'zone' => [
  4813. 'location' => 'path',
  4814. 'type' => 'string',
  4815. 'required' => true,
  4816. ],
  4817. 'filter' => [
  4818. 'location' => 'query',
  4819. 'type' => 'string',
  4820. ],
  4821. 'maxResults' => [
  4822. 'location' => 'query',
  4823. 'type' => 'integer',
  4824. ],
  4825. 'orderBy' => [
  4826. 'location' => 'query',
  4827. 'type' => 'string',
  4828. ],
  4829. 'pageToken' => [
  4830. 'location' => 'query',
  4831. 'type' => 'string',
  4832. ],
  4833. 'returnPartialSuccess' => [
  4834. 'location' => 'query',
  4835. 'type' => 'boolean',
  4836. ],
  4837. ],
  4838. ],'listErrors' => [
  4839. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors',
  4840. 'httpMethod' => 'GET',
  4841. 'parameters' => [
  4842. 'project' => [
  4843. 'location' => 'path',
  4844. 'type' => 'string',
  4845. 'required' => true,
  4846. ],
  4847. 'zone' => [
  4848. 'location' => 'path',
  4849. 'type' => 'string',
  4850. 'required' => true,
  4851. ],
  4852. 'instanceGroupManager' => [
  4853. 'location' => 'path',
  4854. 'type' => 'string',
  4855. 'required' => true,
  4856. ],
  4857. 'filter' => [
  4858. 'location' => 'query',
  4859. 'type' => 'string',
  4860. ],
  4861. 'maxResults' => [
  4862. 'location' => 'query',
  4863. 'type' => 'integer',
  4864. ],
  4865. 'orderBy' => [
  4866. 'location' => 'query',
  4867. 'type' => 'string',
  4868. ],
  4869. 'pageToken' => [
  4870. 'location' => 'query',
  4871. 'type' => 'string',
  4872. ],
  4873. 'returnPartialSuccess' => [
  4874. 'location' => 'query',
  4875. 'type' => 'boolean',
  4876. ],
  4877. ],
  4878. ],'listManagedInstances' => [
  4879. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances',
  4880. 'httpMethod' => 'POST',
  4881. 'parameters' => [
  4882. 'project' => [
  4883. 'location' => 'path',
  4884. 'type' => 'string',
  4885. 'required' => true,
  4886. ],
  4887. 'zone' => [
  4888. 'location' => 'path',
  4889. 'type' => 'string',
  4890. 'required' => true,
  4891. ],
  4892. 'instanceGroupManager' => [
  4893. 'location' => 'path',
  4894. 'type' => 'string',
  4895. 'required' => true,
  4896. ],
  4897. 'filter' => [
  4898. 'location' => 'query',
  4899. 'type' => 'string',
  4900. ],
  4901. 'maxResults' => [
  4902. 'location' => 'query',
  4903. 'type' => 'integer',
  4904. ],
  4905. 'orderBy' => [
  4906. 'location' => 'query',
  4907. 'type' => 'string',
  4908. ],
  4909. 'pageToken' => [
  4910. 'location' => 'query',
  4911. 'type' => 'string',
  4912. ],
  4913. 'returnPartialSuccess' => [
  4914. 'location' => 'query',
  4915. 'type' => 'boolean',
  4916. ],
  4917. ],
  4918. ],'listPerInstanceConfigs' => [
  4919. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs',
  4920. 'httpMethod' => 'POST',
  4921. 'parameters' => [
  4922. 'project' => [
  4923. 'location' => 'path',
  4924. 'type' => 'string',
  4925. 'required' => true,
  4926. ],
  4927. 'zone' => [
  4928. 'location' => 'path',
  4929. 'type' => 'string',
  4930. 'required' => true,
  4931. ],
  4932. 'instanceGroupManager' => [
  4933. 'location' => 'path',
  4934. 'type' => 'string',
  4935. 'required' => true,
  4936. ],
  4937. 'filter' => [
  4938. 'location' => 'query',
  4939. 'type' => 'string',
  4940. ],
  4941. 'maxResults' => [
  4942. 'location' => 'query',
  4943. 'type' => 'integer',
  4944. ],
  4945. 'orderBy' => [
  4946. 'location' => 'query',
  4947. 'type' => 'string',
  4948. ],
  4949. 'pageToken' => [
  4950. 'location' => 'query',
  4951. 'type' => 'string',
  4952. ],
  4953. 'returnPartialSuccess' => [
  4954. 'location' => 'query',
  4955. 'type' => 'boolean',
  4956. ],
  4957. ],
  4958. ],'patch' => [
  4959. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
  4960. 'httpMethod' => 'PATCH',
  4961. 'parameters' => [
  4962. 'project' => [
  4963. 'location' => 'path',
  4964. 'type' => 'string',
  4965. 'required' => true,
  4966. ],
  4967. 'zone' => [
  4968. 'location' => 'path',
  4969. 'type' => 'string',
  4970. 'required' => true,
  4971. ],
  4972. 'instanceGroupManager' => [
  4973. 'location' => 'path',
  4974. 'type' => 'string',
  4975. 'required' => true,
  4976. ],
  4977. 'requestId' => [
  4978. 'location' => 'query',
  4979. 'type' => 'string',
  4980. ],
  4981. ],
  4982. ],'patchPerInstanceConfigs' => [
  4983. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs',
  4984. 'httpMethod' => 'POST',
  4985. 'parameters' => [
  4986. 'project' => [
  4987. 'location' => 'path',
  4988. 'type' => 'string',
  4989. 'required' => true,
  4990. ],
  4991. 'zone' => [
  4992. 'location' => 'path',
  4993. 'type' => 'string',
  4994. 'required' => true,
  4995. ],
  4996. 'instanceGroupManager' => [
  4997. 'location' => 'path',
  4998. 'type' => 'string',
  4999. 'required' => true,
  5000. ],
  5001. 'requestId' => [
  5002. 'location' => 'query',
  5003. 'type' => 'string',
  5004. ],
  5005. ],
  5006. ],'recreateInstances' => [
  5007. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances',
  5008. 'httpMethod' => 'POST',
  5009. 'parameters' => [
  5010. 'project' => [
  5011. 'location' => 'path',
  5012. 'type' => 'string',
  5013. 'required' => true,
  5014. ],
  5015. 'zone' => [
  5016. 'location' => 'path',
  5017. 'type' => 'string',
  5018. 'required' => true,
  5019. ],
  5020. 'instanceGroupManager' => [
  5021. 'location' => 'path',
  5022. 'type' => 'string',
  5023. 'required' => true,
  5024. ],
  5025. 'requestId' => [
  5026. 'location' => 'query',
  5027. 'type' => 'string',
  5028. ],
  5029. ],
  5030. ],'resize' => [
  5031. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize',
  5032. 'httpMethod' => 'POST',
  5033. 'parameters' => [
  5034. 'project' => [
  5035. 'location' => 'path',
  5036. 'type' => 'string',
  5037. 'required' => true,
  5038. ],
  5039. 'zone' => [
  5040. 'location' => 'path',
  5041. 'type' => 'string',
  5042. 'required' => true,
  5043. ],
  5044. 'instanceGroupManager' => [
  5045. 'location' => 'path',
  5046. 'type' => 'string',
  5047. 'required' => true,
  5048. ],
  5049. 'size' => [
  5050. 'location' => 'query',
  5051. 'type' => 'integer',
  5052. 'required' => true,
  5053. ],
  5054. 'requestId' => [
  5055. 'location' => 'query',
  5056. 'type' => 'string',
  5057. ],
  5058. ],
  5059. ],'resumeInstances' => [
  5060. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resumeInstances',
  5061. 'httpMethod' => 'POST',
  5062. 'parameters' => [
  5063. 'project' => [
  5064. 'location' => 'path',
  5065. 'type' => 'string',
  5066. 'required' => true,
  5067. ],
  5068. 'zone' => [
  5069. 'location' => 'path',
  5070. 'type' => 'string',
  5071. 'required' => true,
  5072. ],
  5073. 'instanceGroupManager' => [
  5074. 'location' => 'path',
  5075. 'type' => 'string',
  5076. 'required' => true,
  5077. ],
  5078. 'requestId' => [
  5079. 'location' => 'query',
  5080. 'type' => 'string',
  5081. ],
  5082. ],
  5083. ],'setInstanceTemplate' => [
  5084. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate',
  5085. 'httpMethod' => 'POST',
  5086. 'parameters' => [
  5087. 'project' => [
  5088. 'location' => 'path',
  5089. 'type' => 'string',
  5090. 'required' => true,
  5091. ],
  5092. 'zone' => [
  5093. 'location' => 'path',
  5094. 'type' => 'string',
  5095. 'required' => true,
  5096. ],
  5097. 'instanceGroupManager' => [
  5098. 'location' => 'path',
  5099. 'type' => 'string',
  5100. 'required' => true,
  5101. ],
  5102. 'requestId' => [
  5103. 'location' => 'query',
  5104. 'type' => 'string',
  5105. ],
  5106. ],
  5107. ],'setTargetPools' => [
  5108. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools',
  5109. 'httpMethod' => 'POST',
  5110. 'parameters' => [
  5111. 'project' => [
  5112. 'location' => 'path',
  5113. 'type' => 'string',
  5114. 'required' => true,
  5115. ],
  5116. 'zone' => [
  5117. 'location' => 'path',
  5118. 'type' => 'string',
  5119. 'required' => true,
  5120. ],
  5121. 'instanceGroupManager' => [
  5122. 'location' => 'path',
  5123. 'type' => 'string',
  5124. 'required' => true,
  5125. ],
  5126. 'requestId' => [
  5127. 'location' => 'query',
  5128. 'type' => 'string',
  5129. ],
  5130. ],
  5131. ],'startInstances' => [
  5132. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/startInstances',
  5133. 'httpMethod' => 'POST',
  5134. 'parameters' => [
  5135. 'project' => [
  5136. 'location' => 'path',
  5137. 'type' => 'string',
  5138. 'required' => true,
  5139. ],
  5140. 'zone' => [
  5141. 'location' => 'path',
  5142. 'type' => 'string',
  5143. 'required' => true,
  5144. ],
  5145. 'instanceGroupManager' => [
  5146. 'location' => 'path',
  5147. 'type' => 'string',
  5148. 'required' => true,
  5149. ],
  5150. 'requestId' => [
  5151. 'location' => 'query',
  5152. 'type' => 'string',
  5153. ],
  5154. ],
  5155. ],'stopInstances' => [
  5156. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/stopInstances',
  5157. 'httpMethod' => 'POST',
  5158. 'parameters' => [
  5159. 'project' => [
  5160. 'location' => 'path',
  5161. 'type' => 'string',
  5162. 'required' => true,
  5163. ],
  5164. 'zone' => [
  5165. 'location' => 'path',
  5166. 'type' => 'string',
  5167. 'required' => true,
  5168. ],
  5169. 'instanceGroupManager' => [
  5170. 'location' => 'path',
  5171. 'type' => 'string',
  5172. 'required' => true,
  5173. ],
  5174. 'requestId' => [
  5175. 'location' => 'query',
  5176. 'type' => 'string',
  5177. ],
  5178. ],
  5179. ],'suspendInstances' => [
  5180. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/suspendInstances',
  5181. 'httpMethod' => 'POST',
  5182. 'parameters' => [
  5183. 'project' => [
  5184. 'location' => 'path',
  5185. 'type' => 'string',
  5186. 'required' => true,
  5187. ],
  5188. 'zone' => [
  5189. 'location' => 'path',
  5190. 'type' => 'string',
  5191. 'required' => true,
  5192. ],
  5193. 'instanceGroupManager' => [
  5194. 'location' => 'path',
  5195. 'type' => 'string',
  5196. 'required' => true,
  5197. ],
  5198. 'requestId' => [
  5199. 'location' => 'query',
  5200. 'type' => 'string',
  5201. ],
  5202. ],
  5203. ],'updatePerInstanceConfigs' => [
  5204. 'path' => 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs',
  5205. 'httpMethod' => 'POST',
  5206. 'parameters' => [
  5207. 'project' => [
  5208. 'location' => 'path',
  5209. 'type' => 'string',
  5210. 'required' => true,
  5211. ],
  5212. 'zone' => [
  5213. 'location' => 'path',
  5214. 'type' => 'string',
  5215. 'required' => true,
  5216. ],
  5217. 'instanceGroupManager' => [
  5218. 'location' => 'path',
  5219. 'type' => 'string',
  5220. 'required' => true,
  5221. ],
  5222. 'requestId' => [
  5223. 'location' => 'query',
  5224. 'type' => 'string',
  5225. ],
  5226. ],
  5227. ],
  5228. ]
  5229. ]
  5230. );
  5231. $this->instanceGroups = new Compute\Resource\InstanceGroups(
  5232. $this,
  5233. $this->serviceName,
  5234. 'instanceGroups',
  5235. [
  5236. 'methods' => [
  5237. 'addInstances' => [
  5238. 'path' => 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances',
  5239. 'httpMethod' => 'POST',
  5240. 'parameters' => [
  5241. 'project' => [
  5242. 'location' => 'path',
  5243. 'type' => 'string',
  5244. 'required' => true,
  5245. ],
  5246. 'zone' => [
  5247. 'location' => 'path',
  5248. 'type' => 'string',
  5249. 'required' => true,
  5250. ],
  5251. 'instanceGroup' => [
  5252. 'location' => 'path',
  5253. 'type' => 'string',
  5254. 'required' => true,
  5255. ],
  5256. 'requestId' => [
  5257. 'location' => 'query',
  5258. 'type' => 'string',
  5259. ],
  5260. ],
  5261. ],'aggregatedList' => [
  5262. 'path' => 'projects/{project}/aggregated/instanceGroups',
  5263. 'httpMethod' => 'GET',
  5264. 'parameters' => [
  5265. 'project' => [
  5266. 'location' => 'path',
  5267. 'type' => 'string',
  5268. 'required' => true,
  5269. ],
  5270. 'filter' => [
  5271. 'location' => 'query',
  5272. 'type' => 'string',
  5273. ],
  5274. 'includeAllScopes' => [
  5275. 'location' => 'query',
  5276. 'type' => 'boolean',
  5277. ],
  5278. 'maxResults' => [
  5279. 'location' => 'query',
  5280. 'type' => 'integer',
  5281. ],
  5282. 'orderBy' => [
  5283. 'location' => 'query',
  5284. 'type' => 'string',
  5285. ],
  5286. 'pageToken' => [
  5287. 'location' => 'query',
  5288. 'type' => 'string',
  5289. ],
  5290. 'returnPartialSuccess' => [
  5291. 'location' => 'query',
  5292. 'type' => 'boolean',
  5293. ],
  5294. 'serviceProjectNumber' => [
  5295. 'location' => 'query',
  5296. 'type' => 'string',
  5297. ],
  5298. ],
  5299. ],'delete' => [
  5300. 'path' => 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}',
  5301. 'httpMethod' => 'DELETE',
  5302. 'parameters' => [
  5303. 'project' => [
  5304. 'location' => 'path',
  5305. 'type' => 'string',
  5306. 'required' => true,
  5307. ],
  5308. 'zone' => [
  5309. 'location' => 'path',
  5310. 'type' => 'string',
  5311. 'required' => true,
  5312. ],
  5313. 'instanceGroup' => [
  5314. 'location' => 'path',
  5315. 'type' => 'string',
  5316. 'required' => true,
  5317. ],
  5318. 'requestId' => [
  5319. 'location' => 'query',
  5320. 'type' => 'string',
  5321. ],
  5322. ],
  5323. ],'get' => [
  5324. 'path' => 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}',
  5325. 'httpMethod' => 'GET',
  5326. 'parameters' => [
  5327. 'project' => [
  5328. 'location' => 'path',
  5329. 'type' => 'string',
  5330. 'required' => true,
  5331. ],
  5332. 'zone' => [
  5333. 'location' => 'path',
  5334. 'type' => 'string',
  5335. 'required' => true,
  5336. ],
  5337. 'instanceGroup' => [
  5338. 'location' => 'path',
  5339. 'type' => 'string',
  5340. 'required' => true,
  5341. ],
  5342. ],
  5343. ],'insert' => [
  5344. 'path' => 'projects/{project}/zones/{zone}/instanceGroups',
  5345. 'httpMethod' => 'POST',
  5346. 'parameters' => [
  5347. 'project' => [
  5348. 'location' => 'path',
  5349. 'type' => 'string',
  5350. 'required' => true,
  5351. ],
  5352. 'zone' => [
  5353. 'location' => 'path',
  5354. 'type' => 'string',
  5355. 'required' => true,
  5356. ],
  5357. 'requestId' => [
  5358. 'location' => 'query',
  5359. 'type' => 'string',
  5360. ],
  5361. ],
  5362. ],'list' => [
  5363. 'path' => 'projects/{project}/zones/{zone}/instanceGroups',
  5364. 'httpMethod' => 'GET',
  5365. 'parameters' => [
  5366. 'project' => [
  5367. 'location' => 'path',
  5368. 'type' => 'string',
  5369. 'required' => true,
  5370. ],
  5371. 'zone' => [
  5372. 'location' => 'path',
  5373. 'type' => 'string',
  5374. 'required' => true,
  5375. ],
  5376. 'filter' => [
  5377. 'location' => 'query',
  5378. 'type' => 'string',
  5379. ],
  5380. 'maxResults' => [
  5381. 'location' => 'query',
  5382. 'type' => 'integer',
  5383. ],
  5384. 'orderBy' => [
  5385. 'location' => 'query',
  5386. 'type' => 'string',
  5387. ],
  5388. 'pageToken' => [
  5389. 'location' => 'query',
  5390. 'type' => 'string',
  5391. ],
  5392. 'returnPartialSuccess' => [
  5393. 'location' => 'query',
  5394. 'type' => 'boolean',
  5395. ],
  5396. ],
  5397. ],'listInstances' => [
  5398. 'path' => 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances',
  5399. 'httpMethod' => 'POST',
  5400. 'parameters' => [
  5401. 'project' => [
  5402. 'location' => 'path',
  5403. 'type' => 'string',
  5404. 'required' => true,
  5405. ],
  5406. 'zone' => [
  5407. 'location' => 'path',
  5408. 'type' => 'string',
  5409. 'required' => true,
  5410. ],
  5411. 'instanceGroup' => [
  5412. 'location' => 'path',
  5413. 'type' => 'string',
  5414. 'required' => true,
  5415. ],
  5416. 'filter' => [
  5417. 'location' => 'query',
  5418. 'type' => 'string',
  5419. ],
  5420. 'maxResults' => [
  5421. 'location' => 'query',
  5422. 'type' => 'integer',
  5423. ],
  5424. 'orderBy' => [
  5425. 'location' => 'query',
  5426. 'type' => 'string',
  5427. ],
  5428. 'pageToken' => [
  5429. 'location' => 'query',
  5430. 'type' => 'string',
  5431. ],
  5432. 'returnPartialSuccess' => [
  5433. 'location' => 'query',
  5434. 'type' => 'boolean',
  5435. ],
  5436. ],
  5437. ],'removeInstances' => [
  5438. 'path' => 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances',
  5439. 'httpMethod' => 'POST',
  5440. 'parameters' => [
  5441. 'project' => [
  5442. 'location' => 'path',
  5443. 'type' => 'string',
  5444. 'required' => true,
  5445. ],
  5446. 'zone' => [
  5447. 'location' => 'path',
  5448. 'type' => 'string',
  5449. 'required' => true,
  5450. ],
  5451. 'instanceGroup' => [
  5452. 'location' => 'path',
  5453. 'type' => 'string',
  5454. 'required' => true,
  5455. ],
  5456. 'requestId' => [
  5457. 'location' => 'query',
  5458. 'type' => 'string',
  5459. ],
  5460. ],
  5461. ],'setNamedPorts' => [
  5462. 'path' => 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts',
  5463. 'httpMethod' => 'POST',
  5464. 'parameters' => [
  5465. 'project' => [
  5466. 'location' => 'path',
  5467. 'type' => 'string',
  5468. 'required' => true,
  5469. ],
  5470. 'zone' => [
  5471. 'location' => 'path',
  5472. 'type' => 'string',
  5473. 'required' => true,
  5474. ],
  5475. 'instanceGroup' => [
  5476. 'location' => 'path',
  5477. 'type' => 'string',
  5478. 'required' => true,
  5479. ],
  5480. 'requestId' => [
  5481. 'location' => 'query',
  5482. 'type' => 'string',
  5483. ],
  5484. ],
  5485. ],'testIamPermissions' => [
  5486. 'path' => 'projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions',
  5487. 'httpMethod' => 'POST',
  5488. 'parameters' => [
  5489. 'project' => [
  5490. 'location' => 'path',
  5491. 'type' => 'string',
  5492. 'required' => true,
  5493. ],
  5494. 'zone' => [
  5495. 'location' => 'path',
  5496. 'type' => 'string',
  5497. 'required' => true,
  5498. ],
  5499. 'resource' => [
  5500. 'location' => 'path',
  5501. 'type' => 'string',
  5502. 'required' => true,
  5503. ],
  5504. ],
  5505. ],
  5506. ]
  5507. ]
  5508. );
  5509. $this->instanceSettings = new Compute\Resource\InstanceSettings(
  5510. $this,
  5511. $this->serviceName,
  5512. 'instanceSettings',
  5513. [
  5514. 'methods' => [
  5515. 'get' => [
  5516. 'path' => 'projects/{project}/zones/{zone}/instanceSettings',
  5517. 'httpMethod' => 'GET',
  5518. 'parameters' => [
  5519. 'project' => [
  5520. 'location' => 'path',
  5521. 'type' => 'string',
  5522. 'required' => true,
  5523. ],
  5524. 'zone' => [
  5525. 'location' => 'path',
  5526. 'type' => 'string',
  5527. 'required' => true,
  5528. ],
  5529. ],
  5530. ],'patch' => [
  5531. 'path' => 'projects/{project}/zones/{zone}/instanceSettings',
  5532. 'httpMethod' => 'PATCH',
  5533. 'parameters' => [
  5534. 'project' => [
  5535. 'location' => 'path',
  5536. 'type' => 'string',
  5537. 'required' => true,
  5538. ],
  5539. 'zone' => [
  5540. 'location' => 'path',
  5541. 'type' => 'string',
  5542. 'required' => true,
  5543. ],
  5544. 'requestId' => [
  5545. 'location' => 'query',
  5546. 'type' => 'string',
  5547. ],
  5548. 'updateMask' => [
  5549. 'location' => 'query',
  5550. 'type' => 'string',
  5551. ],
  5552. ],
  5553. ],
  5554. ]
  5555. ]
  5556. );
  5557. $this->instanceTemplates = new Compute\Resource\InstanceTemplates(
  5558. $this,
  5559. $this->serviceName,
  5560. 'instanceTemplates',
  5561. [
  5562. 'methods' => [
  5563. 'aggregatedList' => [
  5564. 'path' => 'projects/{project}/aggregated/instanceTemplates',
  5565. 'httpMethod' => 'GET',
  5566. 'parameters' => [
  5567. 'project' => [
  5568. 'location' => 'path',
  5569. 'type' => 'string',
  5570. 'required' => true,
  5571. ],
  5572. 'filter' => [
  5573. 'location' => 'query',
  5574. 'type' => 'string',
  5575. ],
  5576. 'includeAllScopes' => [
  5577. 'location' => 'query',
  5578. 'type' => 'boolean',
  5579. ],
  5580. 'maxResults' => [
  5581. 'location' => 'query',
  5582. 'type' => 'integer',
  5583. ],
  5584. 'orderBy' => [
  5585. 'location' => 'query',
  5586. 'type' => 'string',
  5587. ],
  5588. 'pageToken' => [
  5589. 'location' => 'query',
  5590. 'type' => 'string',
  5591. ],
  5592. 'returnPartialSuccess' => [
  5593. 'location' => 'query',
  5594. 'type' => 'boolean',
  5595. ],
  5596. 'serviceProjectNumber' => [
  5597. 'location' => 'query',
  5598. 'type' => 'string',
  5599. ],
  5600. ],
  5601. ],'delete' => [
  5602. 'path' => 'projects/{project}/global/instanceTemplates/{instanceTemplate}',
  5603. 'httpMethod' => 'DELETE',
  5604. 'parameters' => [
  5605. 'project' => [
  5606. 'location' => 'path',
  5607. 'type' => 'string',
  5608. 'required' => true,
  5609. ],
  5610. 'instanceTemplate' => [
  5611. 'location' => 'path',
  5612. 'type' => 'string',
  5613. 'required' => true,
  5614. ],
  5615. 'requestId' => [
  5616. 'location' => 'query',
  5617. 'type' => 'string',
  5618. ],
  5619. ],
  5620. ],'get' => [
  5621. 'path' => 'projects/{project}/global/instanceTemplates/{instanceTemplate}',
  5622. 'httpMethod' => 'GET',
  5623. 'parameters' => [
  5624. 'project' => [
  5625. 'location' => 'path',
  5626. 'type' => 'string',
  5627. 'required' => true,
  5628. ],
  5629. 'instanceTemplate' => [
  5630. 'location' => 'path',
  5631. 'type' => 'string',
  5632. 'required' => true,
  5633. ],
  5634. ],
  5635. ],'getIamPolicy' => [
  5636. 'path' => 'projects/{project}/global/instanceTemplates/{resource}/getIamPolicy',
  5637. 'httpMethod' => 'GET',
  5638. 'parameters' => [
  5639. 'project' => [
  5640. 'location' => 'path',
  5641. 'type' => 'string',
  5642. 'required' => true,
  5643. ],
  5644. 'resource' => [
  5645. 'location' => 'path',
  5646. 'type' => 'string',
  5647. 'required' => true,
  5648. ],
  5649. 'optionsRequestedPolicyVersion' => [
  5650. 'location' => 'query',
  5651. 'type' => 'integer',
  5652. ],
  5653. ],
  5654. ],'insert' => [
  5655. 'path' => 'projects/{project}/global/instanceTemplates',
  5656. 'httpMethod' => 'POST',
  5657. 'parameters' => [
  5658. 'project' => [
  5659. 'location' => 'path',
  5660. 'type' => 'string',
  5661. 'required' => true,
  5662. ],
  5663. 'requestId' => [
  5664. 'location' => 'query',
  5665. 'type' => 'string',
  5666. ],
  5667. ],
  5668. ],'list' => [
  5669. 'path' => 'projects/{project}/global/instanceTemplates',
  5670. 'httpMethod' => 'GET',
  5671. 'parameters' => [
  5672. 'project' => [
  5673. 'location' => 'path',
  5674. 'type' => 'string',
  5675. 'required' => true,
  5676. ],
  5677. 'filter' => [
  5678. 'location' => 'query',
  5679. 'type' => 'string',
  5680. ],
  5681. 'maxResults' => [
  5682. 'location' => 'query',
  5683. 'type' => 'integer',
  5684. ],
  5685. 'orderBy' => [
  5686. 'location' => 'query',
  5687. 'type' => 'string',
  5688. ],
  5689. 'pageToken' => [
  5690. 'location' => 'query',
  5691. 'type' => 'string',
  5692. ],
  5693. 'returnPartialSuccess' => [
  5694. 'location' => 'query',
  5695. 'type' => 'boolean',
  5696. ],
  5697. ],
  5698. ],'setIamPolicy' => [
  5699. 'path' => 'projects/{project}/global/instanceTemplates/{resource}/setIamPolicy',
  5700. 'httpMethod' => 'POST',
  5701. 'parameters' => [
  5702. 'project' => [
  5703. 'location' => 'path',
  5704. 'type' => 'string',
  5705. 'required' => true,
  5706. ],
  5707. 'resource' => [
  5708. 'location' => 'path',
  5709. 'type' => 'string',
  5710. 'required' => true,
  5711. ],
  5712. ],
  5713. ],'testIamPermissions' => [
  5714. 'path' => 'projects/{project}/global/instanceTemplates/{resource}/testIamPermissions',
  5715. 'httpMethod' => 'POST',
  5716. 'parameters' => [
  5717. 'project' => [
  5718. 'location' => 'path',
  5719. 'type' => 'string',
  5720. 'required' => true,
  5721. ],
  5722. 'resource' => [
  5723. 'location' => 'path',
  5724. 'type' => 'string',
  5725. 'required' => true,
  5726. ],
  5727. ],
  5728. ],
  5729. ]
  5730. ]
  5731. );
  5732. $this->instances = new Compute\Resource\Instances(
  5733. $this,
  5734. $this->serviceName,
  5735. 'instances',
  5736. [
  5737. 'methods' => [
  5738. 'addAccessConfig' => [
  5739. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig',
  5740. 'httpMethod' => 'POST',
  5741. 'parameters' => [
  5742. 'project' => [
  5743. 'location' => 'path',
  5744. 'type' => 'string',
  5745. 'required' => true,
  5746. ],
  5747. 'zone' => [
  5748. 'location' => 'path',
  5749. 'type' => 'string',
  5750. 'required' => true,
  5751. ],
  5752. 'instance' => [
  5753. 'location' => 'path',
  5754. 'type' => 'string',
  5755. 'required' => true,
  5756. ],
  5757. 'networkInterface' => [
  5758. 'location' => 'query',
  5759. 'type' => 'string',
  5760. 'required' => true,
  5761. ],
  5762. 'requestId' => [
  5763. 'location' => 'query',
  5764. 'type' => 'string',
  5765. ],
  5766. ],
  5767. ],'addNetworkInterface' => [
  5768. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/addNetworkInterface',
  5769. 'httpMethod' => 'POST',
  5770. 'parameters' => [
  5771. 'project' => [
  5772. 'location' => 'path',
  5773. 'type' => 'string',
  5774. 'required' => true,
  5775. ],
  5776. 'zone' => [
  5777. 'location' => 'path',
  5778. 'type' => 'string',
  5779. 'required' => true,
  5780. ],
  5781. 'instance' => [
  5782. 'location' => 'path',
  5783. 'type' => 'string',
  5784. 'required' => true,
  5785. ],
  5786. 'requestId' => [
  5787. 'location' => 'query',
  5788. 'type' => 'string',
  5789. ],
  5790. ],
  5791. ],'addResourcePolicies' => [
  5792. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies',
  5793. 'httpMethod' => 'POST',
  5794. 'parameters' => [
  5795. 'project' => [
  5796. 'location' => 'path',
  5797. 'type' => 'string',
  5798. 'required' => true,
  5799. ],
  5800. 'zone' => [
  5801. 'location' => 'path',
  5802. 'type' => 'string',
  5803. 'required' => true,
  5804. ],
  5805. 'instance' => [
  5806. 'location' => 'path',
  5807. 'type' => 'string',
  5808. 'required' => true,
  5809. ],
  5810. 'requestId' => [
  5811. 'location' => 'query',
  5812. 'type' => 'string',
  5813. ],
  5814. ],
  5815. ],'aggregatedList' => [
  5816. 'path' => 'projects/{project}/aggregated/instances',
  5817. 'httpMethod' => 'GET',
  5818. 'parameters' => [
  5819. 'project' => [
  5820. 'location' => 'path',
  5821. 'type' => 'string',
  5822. 'required' => true,
  5823. ],
  5824. 'filter' => [
  5825. 'location' => 'query',
  5826. 'type' => 'string',
  5827. ],
  5828. 'includeAllScopes' => [
  5829. 'location' => 'query',
  5830. 'type' => 'boolean',
  5831. ],
  5832. 'maxResults' => [
  5833. 'location' => 'query',
  5834. 'type' => 'integer',
  5835. ],
  5836. 'orderBy' => [
  5837. 'location' => 'query',
  5838. 'type' => 'string',
  5839. ],
  5840. 'pageToken' => [
  5841. 'location' => 'query',
  5842. 'type' => 'string',
  5843. ],
  5844. 'returnPartialSuccess' => [
  5845. 'location' => 'query',
  5846. 'type' => 'boolean',
  5847. ],
  5848. 'serviceProjectNumber' => [
  5849. 'location' => 'query',
  5850. 'type' => 'string',
  5851. ],
  5852. ],
  5853. ],'attachDisk' => [
  5854. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/attachDisk',
  5855. 'httpMethod' => 'POST',
  5856. 'parameters' => [
  5857. 'project' => [
  5858. 'location' => 'path',
  5859. 'type' => 'string',
  5860. 'required' => true,
  5861. ],
  5862. 'zone' => [
  5863. 'location' => 'path',
  5864. 'type' => 'string',
  5865. 'required' => true,
  5866. ],
  5867. 'instance' => [
  5868. 'location' => 'path',
  5869. 'type' => 'string',
  5870. 'required' => true,
  5871. ],
  5872. 'forceAttach' => [
  5873. 'location' => 'query',
  5874. 'type' => 'boolean',
  5875. ],
  5876. 'requestId' => [
  5877. 'location' => 'query',
  5878. 'type' => 'string',
  5879. ],
  5880. ],
  5881. ],'bulkInsert' => [
  5882. 'path' => 'projects/{project}/zones/{zone}/instances/bulkInsert',
  5883. 'httpMethod' => 'POST',
  5884. 'parameters' => [
  5885. 'project' => [
  5886. 'location' => 'path',
  5887. 'type' => 'string',
  5888. 'required' => true,
  5889. ],
  5890. 'zone' => [
  5891. 'location' => 'path',
  5892. 'type' => 'string',
  5893. 'required' => true,
  5894. ],
  5895. 'requestId' => [
  5896. 'location' => 'query',
  5897. 'type' => 'string',
  5898. ],
  5899. ],
  5900. ],'delete' => [
  5901. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}',
  5902. 'httpMethod' => 'DELETE',
  5903. 'parameters' => [
  5904. 'project' => [
  5905. 'location' => 'path',
  5906. 'type' => 'string',
  5907. 'required' => true,
  5908. ],
  5909. 'zone' => [
  5910. 'location' => 'path',
  5911. 'type' => 'string',
  5912. 'required' => true,
  5913. ],
  5914. 'instance' => [
  5915. 'location' => 'path',
  5916. 'type' => 'string',
  5917. 'required' => true,
  5918. ],
  5919. 'requestId' => [
  5920. 'location' => 'query',
  5921. 'type' => 'string',
  5922. ],
  5923. ],
  5924. ],'deleteAccessConfig' => [
  5925. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig',
  5926. 'httpMethod' => 'POST',
  5927. 'parameters' => [
  5928. 'project' => [
  5929. 'location' => 'path',
  5930. 'type' => 'string',
  5931. 'required' => true,
  5932. ],
  5933. 'zone' => [
  5934. 'location' => 'path',
  5935. 'type' => 'string',
  5936. 'required' => true,
  5937. ],
  5938. 'instance' => [
  5939. 'location' => 'path',
  5940. 'type' => 'string',
  5941. 'required' => true,
  5942. ],
  5943. 'accessConfig' => [
  5944. 'location' => 'query',
  5945. 'type' => 'string',
  5946. 'required' => true,
  5947. ],
  5948. 'networkInterface' => [
  5949. 'location' => 'query',
  5950. 'type' => 'string',
  5951. 'required' => true,
  5952. ],
  5953. 'requestId' => [
  5954. 'location' => 'query',
  5955. 'type' => 'string',
  5956. ],
  5957. ],
  5958. ],'deleteNetworkInterface' => [
  5959. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface',
  5960. 'httpMethod' => 'POST',
  5961. 'parameters' => [
  5962. 'project' => [
  5963. 'location' => 'path',
  5964. 'type' => 'string',
  5965. 'required' => true,
  5966. ],
  5967. 'zone' => [
  5968. 'location' => 'path',
  5969. 'type' => 'string',
  5970. 'required' => true,
  5971. ],
  5972. 'instance' => [
  5973. 'location' => 'path',
  5974. 'type' => 'string',
  5975. 'required' => true,
  5976. ],
  5977. 'networkInterfaceName' => [
  5978. 'location' => 'query',
  5979. 'type' => 'string',
  5980. 'required' => true,
  5981. ],
  5982. 'requestId' => [
  5983. 'location' => 'query',
  5984. 'type' => 'string',
  5985. ],
  5986. ],
  5987. ],'detachDisk' => [
  5988. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/detachDisk',
  5989. 'httpMethod' => 'POST',
  5990. 'parameters' => [
  5991. 'project' => [
  5992. 'location' => 'path',
  5993. 'type' => 'string',
  5994. 'required' => true,
  5995. ],
  5996. 'zone' => [
  5997. 'location' => 'path',
  5998. 'type' => 'string',
  5999. 'required' => true,
  6000. ],
  6001. 'instance' => [
  6002. 'location' => 'path',
  6003. 'type' => 'string',
  6004. 'required' => true,
  6005. ],
  6006. 'deviceName' => [
  6007. 'location' => 'query',
  6008. 'type' => 'string',
  6009. 'required' => true,
  6010. ],
  6011. 'requestId' => [
  6012. 'location' => 'query',
  6013. 'type' => 'string',
  6014. ],
  6015. ],
  6016. ],'get' => [
  6017. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}',
  6018. 'httpMethod' => 'GET',
  6019. 'parameters' => [
  6020. 'project' => [
  6021. 'location' => 'path',
  6022. 'type' => 'string',
  6023. 'required' => true,
  6024. ],
  6025. 'zone' => [
  6026. 'location' => 'path',
  6027. 'type' => 'string',
  6028. 'required' => true,
  6029. ],
  6030. 'instance' => [
  6031. 'location' => 'path',
  6032. 'type' => 'string',
  6033. 'required' => true,
  6034. ],
  6035. ],
  6036. ],'getEffectiveFirewalls' => [
  6037. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls',
  6038. 'httpMethod' => 'GET',
  6039. 'parameters' => [
  6040. 'project' => [
  6041. 'location' => 'path',
  6042. 'type' => 'string',
  6043. 'required' => true,
  6044. ],
  6045. 'zone' => [
  6046. 'location' => 'path',
  6047. 'type' => 'string',
  6048. 'required' => true,
  6049. ],
  6050. 'instance' => [
  6051. 'location' => 'path',
  6052. 'type' => 'string',
  6053. 'required' => true,
  6054. ],
  6055. 'networkInterface' => [
  6056. 'location' => 'query',
  6057. 'type' => 'string',
  6058. 'required' => true,
  6059. ],
  6060. ],
  6061. ],'getGuestAttributes' => [
  6062. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes',
  6063. 'httpMethod' => 'GET',
  6064. 'parameters' => [
  6065. 'project' => [
  6066. 'location' => 'path',
  6067. 'type' => 'string',
  6068. 'required' => true,
  6069. ],
  6070. 'zone' => [
  6071. 'location' => 'path',
  6072. 'type' => 'string',
  6073. 'required' => true,
  6074. ],
  6075. 'instance' => [
  6076. 'location' => 'path',
  6077. 'type' => 'string',
  6078. 'required' => true,
  6079. ],
  6080. 'queryPath' => [
  6081. 'location' => 'query',
  6082. 'type' => 'string',
  6083. ],
  6084. 'variableKey' => [
  6085. 'location' => 'query',
  6086. 'type' => 'string',
  6087. ],
  6088. ],
  6089. ],'getIamPolicy' => [
  6090. 'path' => 'projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy',
  6091. 'httpMethod' => 'GET',
  6092. 'parameters' => [
  6093. 'project' => [
  6094. 'location' => 'path',
  6095. 'type' => 'string',
  6096. 'required' => true,
  6097. ],
  6098. 'zone' => [
  6099. 'location' => 'path',
  6100. 'type' => 'string',
  6101. 'required' => true,
  6102. ],
  6103. 'resource' => [
  6104. 'location' => 'path',
  6105. 'type' => 'string',
  6106. 'required' => true,
  6107. ],
  6108. 'optionsRequestedPolicyVersion' => [
  6109. 'location' => 'query',
  6110. 'type' => 'integer',
  6111. ],
  6112. ],
  6113. ],'getScreenshot' => [
  6114. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/screenshot',
  6115. 'httpMethod' => 'GET',
  6116. 'parameters' => [
  6117. 'project' => [
  6118. 'location' => 'path',
  6119. 'type' => 'string',
  6120. 'required' => true,
  6121. ],
  6122. 'zone' => [
  6123. 'location' => 'path',
  6124. 'type' => 'string',
  6125. 'required' => true,
  6126. ],
  6127. 'instance' => [
  6128. 'location' => 'path',
  6129. 'type' => 'string',
  6130. 'required' => true,
  6131. ],
  6132. ],
  6133. ],'getSerialPortOutput' => [
  6134. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/serialPort',
  6135. 'httpMethod' => 'GET',
  6136. 'parameters' => [
  6137. 'project' => [
  6138. 'location' => 'path',
  6139. 'type' => 'string',
  6140. 'required' => true,
  6141. ],
  6142. 'zone' => [
  6143. 'location' => 'path',
  6144. 'type' => 'string',
  6145. 'required' => true,
  6146. ],
  6147. 'instance' => [
  6148. 'location' => 'path',
  6149. 'type' => 'string',
  6150. 'required' => true,
  6151. ],
  6152. 'port' => [
  6153. 'location' => 'query',
  6154. 'type' => 'integer',
  6155. ],
  6156. 'start' => [
  6157. 'location' => 'query',
  6158. 'type' => 'string',
  6159. ],
  6160. ],
  6161. ],'getShieldedInstanceIdentity' => [
  6162. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity',
  6163. 'httpMethod' => 'GET',
  6164. 'parameters' => [
  6165. 'project' => [
  6166. 'location' => 'path',
  6167. 'type' => 'string',
  6168. 'required' => true,
  6169. ],
  6170. 'zone' => [
  6171. 'location' => 'path',
  6172. 'type' => 'string',
  6173. 'required' => true,
  6174. ],
  6175. 'instance' => [
  6176. 'location' => 'path',
  6177. 'type' => 'string',
  6178. 'required' => true,
  6179. ],
  6180. ],
  6181. ],'insert' => [
  6182. 'path' => 'projects/{project}/zones/{zone}/instances',
  6183. 'httpMethod' => 'POST',
  6184. 'parameters' => [
  6185. 'project' => [
  6186. 'location' => 'path',
  6187. 'type' => 'string',
  6188. 'required' => true,
  6189. ],
  6190. 'zone' => [
  6191. 'location' => 'path',
  6192. 'type' => 'string',
  6193. 'required' => true,
  6194. ],
  6195. 'requestId' => [
  6196. 'location' => 'query',
  6197. 'type' => 'string',
  6198. ],
  6199. 'sourceInstanceTemplate' => [
  6200. 'location' => 'query',
  6201. 'type' => 'string',
  6202. ],
  6203. 'sourceMachineImage' => [
  6204. 'location' => 'query',
  6205. 'type' => 'string',
  6206. ],
  6207. ],
  6208. ],'list' => [
  6209. 'path' => 'projects/{project}/zones/{zone}/instances',
  6210. 'httpMethod' => 'GET',
  6211. 'parameters' => [
  6212. 'project' => [
  6213. 'location' => 'path',
  6214. 'type' => 'string',
  6215. 'required' => true,
  6216. ],
  6217. 'zone' => [
  6218. 'location' => 'path',
  6219. 'type' => 'string',
  6220. 'required' => true,
  6221. ],
  6222. 'filter' => [
  6223. 'location' => 'query',
  6224. 'type' => 'string',
  6225. ],
  6226. 'maxResults' => [
  6227. 'location' => 'query',
  6228. 'type' => 'integer',
  6229. ],
  6230. 'orderBy' => [
  6231. 'location' => 'query',
  6232. 'type' => 'string',
  6233. ],
  6234. 'pageToken' => [
  6235. 'location' => 'query',
  6236. 'type' => 'string',
  6237. ],
  6238. 'returnPartialSuccess' => [
  6239. 'location' => 'query',
  6240. 'type' => 'boolean',
  6241. ],
  6242. ],
  6243. ],'listReferrers' => [
  6244. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/referrers',
  6245. 'httpMethod' => 'GET',
  6246. 'parameters' => [
  6247. 'project' => [
  6248. 'location' => 'path',
  6249. 'type' => 'string',
  6250. 'required' => true,
  6251. ],
  6252. 'zone' => [
  6253. 'location' => 'path',
  6254. 'type' => 'string',
  6255. 'required' => true,
  6256. ],
  6257. 'instance' => [
  6258. 'location' => 'path',
  6259. 'type' => 'string',
  6260. 'required' => true,
  6261. ],
  6262. 'filter' => [
  6263. 'location' => 'query',
  6264. 'type' => 'string',
  6265. ],
  6266. 'maxResults' => [
  6267. 'location' => 'query',
  6268. 'type' => 'integer',
  6269. ],
  6270. 'orderBy' => [
  6271. 'location' => 'query',
  6272. 'type' => 'string',
  6273. ],
  6274. 'pageToken' => [
  6275. 'location' => 'query',
  6276. 'type' => 'string',
  6277. ],
  6278. 'returnPartialSuccess' => [
  6279. 'location' => 'query',
  6280. 'type' => 'boolean',
  6281. ],
  6282. ],
  6283. ],'performMaintenance' => [
  6284. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/performMaintenance',
  6285. 'httpMethod' => 'POST',
  6286. 'parameters' => [
  6287. 'project' => [
  6288. 'location' => 'path',
  6289. 'type' => 'string',
  6290. 'required' => true,
  6291. ],
  6292. 'zone' => [
  6293. 'location' => 'path',
  6294. 'type' => 'string',
  6295. 'required' => true,
  6296. ],
  6297. 'instance' => [
  6298. 'location' => 'path',
  6299. 'type' => 'string',
  6300. 'required' => true,
  6301. ],
  6302. 'requestId' => [
  6303. 'location' => 'query',
  6304. 'type' => 'string',
  6305. ],
  6306. ],
  6307. ],'removeResourcePolicies' => [
  6308. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies',
  6309. 'httpMethod' => 'POST',
  6310. 'parameters' => [
  6311. 'project' => [
  6312. 'location' => 'path',
  6313. 'type' => 'string',
  6314. 'required' => true,
  6315. ],
  6316. 'zone' => [
  6317. 'location' => 'path',
  6318. 'type' => 'string',
  6319. 'required' => true,
  6320. ],
  6321. 'instance' => [
  6322. 'location' => 'path',
  6323. 'type' => 'string',
  6324. 'required' => true,
  6325. ],
  6326. 'requestId' => [
  6327. 'location' => 'query',
  6328. 'type' => 'string',
  6329. ],
  6330. ],
  6331. ],'reportHostAsFaulty' => [
  6332. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/reportHostAsFaulty',
  6333. 'httpMethod' => 'POST',
  6334. 'parameters' => [
  6335. 'project' => [
  6336. 'location' => 'path',
  6337. 'type' => 'string',
  6338. 'required' => true,
  6339. ],
  6340. 'zone' => [
  6341. 'location' => 'path',
  6342. 'type' => 'string',
  6343. 'required' => true,
  6344. ],
  6345. 'instance' => [
  6346. 'location' => 'path',
  6347. 'type' => 'string',
  6348. 'required' => true,
  6349. ],
  6350. 'requestId' => [
  6351. 'location' => 'query',
  6352. 'type' => 'string',
  6353. ],
  6354. ],
  6355. ],'reset' => [
  6356. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/reset',
  6357. 'httpMethod' => 'POST',
  6358. 'parameters' => [
  6359. 'project' => [
  6360. 'location' => 'path',
  6361. 'type' => 'string',
  6362. 'required' => true,
  6363. ],
  6364. 'zone' => [
  6365. 'location' => 'path',
  6366. 'type' => 'string',
  6367. 'required' => true,
  6368. ],
  6369. 'instance' => [
  6370. 'location' => 'path',
  6371. 'type' => 'string',
  6372. 'required' => true,
  6373. ],
  6374. 'requestId' => [
  6375. 'location' => 'query',
  6376. 'type' => 'string',
  6377. ],
  6378. ],
  6379. ],'resume' => [
  6380. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/resume',
  6381. 'httpMethod' => 'POST',
  6382. 'parameters' => [
  6383. 'project' => [
  6384. 'location' => 'path',
  6385. 'type' => 'string',
  6386. 'required' => true,
  6387. ],
  6388. 'zone' => [
  6389. 'location' => 'path',
  6390. 'type' => 'string',
  6391. 'required' => true,
  6392. ],
  6393. 'instance' => [
  6394. 'location' => 'path',
  6395. 'type' => 'string',
  6396. 'required' => true,
  6397. ],
  6398. 'requestId' => [
  6399. 'location' => 'query',
  6400. 'type' => 'string',
  6401. ],
  6402. ],
  6403. ],'sendDiagnosticInterrupt' => [
  6404. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/sendDiagnosticInterrupt',
  6405. 'httpMethod' => 'POST',
  6406. 'parameters' => [
  6407. 'project' => [
  6408. 'location' => 'path',
  6409. 'type' => 'string',
  6410. 'required' => true,
  6411. ],
  6412. 'zone' => [
  6413. 'location' => 'path',
  6414. 'type' => 'string',
  6415. 'required' => true,
  6416. ],
  6417. 'instance' => [
  6418. 'location' => 'path',
  6419. 'type' => 'string',
  6420. 'required' => true,
  6421. ],
  6422. ],
  6423. ],'setDeletionProtection' => [
  6424. 'path' => 'projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection',
  6425. 'httpMethod' => 'POST',
  6426. 'parameters' => [
  6427. 'project' => [
  6428. 'location' => 'path',
  6429. 'type' => 'string',
  6430. 'required' => true,
  6431. ],
  6432. 'zone' => [
  6433. 'location' => 'path',
  6434. 'type' => 'string',
  6435. 'required' => true,
  6436. ],
  6437. 'resource' => [
  6438. 'location' => 'path',
  6439. 'type' => 'string',
  6440. 'required' => true,
  6441. ],
  6442. 'deletionProtection' => [
  6443. 'location' => 'query',
  6444. 'type' => 'boolean',
  6445. ],
  6446. 'requestId' => [
  6447. 'location' => 'query',
  6448. 'type' => 'string',
  6449. ],
  6450. ],
  6451. ],'setDiskAutoDelete' => [
  6452. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete',
  6453. 'httpMethod' => 'POST',
  6454. 'parameters' => [
  6455. 'project' => [
  6456. 'location' => 'path',
  6457. 'type' => 'string',
  6458. 'required' => true,
  6459. ],
  6460. 'zone' => [
  6461. 'location' => 'path',
  6462. 'type' => 'string',
  6463. 'required' => true,
  6464. ],
  6465. 'instance' => [
  6466. 'location' => 'path',
  6467. 'type' => 'string',
  6468. 'required' => true,
  6469. ],
  6470. 'autoDelete' => [
  6471. 'location' => 'query',
  6472. 'type' => 'boolean',
  6473. 'required' => true,
  6474. ],
  6475. 'deviceName' => [
  6476. 'location' => 'query',
  6477. 'type' => 'string',
  6478. 'required' => true,
  6479. ],
  6480. 'requestId' => [
  6481. 'location' => 'query',
  6482. 'type' => 'string',
  6483. ],
  6484. ],
  6485. ],'setIamPolicy' => [
  6486. 'path' => 'projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy',
  6487. 'httpMethod' => 'POST',
  6488. 'parameters' => [
  6489. 'project' => [
  6490. 'location' => 'path',
  6491. 'type' => 'string',
  6492. 'required' => true,
  6493. ],
  6494. 'zone' => [
  6495. 'location' => 'path',
  6496. 'type' => 'string',
  6497. 'required' => true,
  6498. ],
  6499. 'resource' => [
  6500. 'location' => 'path',
  6501. 'type' => 'string',
  6502. 'required' => true,
  6503. ],
  6504. ],
  6505. ],'setLabels' => [
  6506. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setLabels',
  6507. 'httpMethod' => 'POST',
  6508. 'parameters' => [
  6509. 'project' => [
  6510. 'location' => 'path',
  6511. 'type' => 'string',
  6512. 'required' => true,
  6513. ],
  6514. 'zone' => [
  6515. 'location' => 'path',
  6516. 'type' => 'string',
  6517. 'required' => true,
  6518. ],
  6519. 'instance' => [
  6520. 'location' => 'path',
  6521. 'type' => 'string',
  6522. 'required' => true,
  6523. ],
  6524. 'requestId' => [
  6525. 'location' => 'query',
  6526. 'type' => 'string',
  6527. ],
  6528. ],
  6529. ],'setMachineResources' => [
  6530. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setMachineResources',
  6531. 'httpMethod' => 'POST',
  6532. 'parameters' => [
  6533. 'project' => [
  6534. 'location' => 'path',
  6535. 'type' => 'string',
  6536. 'required' => true,
  6537. ],
  6538. 'zone' => [
  6539. 'location' => 'path',
  6540. 'type' => 'string',
  6541. 'required' => true,
  6542. ],
  6543. 'instance' => [
  6544. 'location' => 'path',
  6545. 'type' => 'string',
  6546. 'required' => true,
  6547. ],
  6548. 'requestId' => [
  6549. 'location' => 'query',
  6550. 'type' => 'string',
  6551. ],
  6552. ],
  6553. ],'setMachineType' => [
  6554. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setMachineType',
  6555. 'httpMethod' => 'POST',
  6556. 'parameters' => [
  6557. 'project' => [
  6558. 'location' => 'path',
  6559. 'type' => 'string',
  6560. 'required' => true,
  6561. ],
  6562. 'zone' => [
  6563. 'location' => 'path',
  6564. 'type' => 'string',
  6565. 'required' => true,
  6566. ],
  6567. 'instance' => [
  6568. 'location' => 'path',
  6569. 'type' => 'string',
  6570. 'required' => true,
  6571. ],
  6572. 'requestId' => [
  6573. 'location' => 'query',
  6574. 'type' => 'string',
  6575. ],
  6576. ],
  6577. ],'setMetadata' => [
  6578. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setMetadata',
  6579. 'httpMethod' => 'POST',
  6580. 'parameters' => [
  6581. 'project' => [
  6582. 'location' => 'path',
  6583. 'type' => 'string',
  6584. 'required' => true,
  6585. ],
  6586. 'zone' => [
  6587. 'location' => 'path',
  6588. 'type' => 'string',
  6589. 'required' => true,
  6590. ],
  6591. 'instance' => [
  6592. 'location' => 'path',
  6593. 'type' => 'string',
  6594. 'required' => true,
  6595. ],
  6596. 'requestId' => [
  6597. 'location' => 'query',
  6598. 'type' => 'string',
  6599. ],
  6600. ],
  6601. ],'setMinCpuPlatform' => [
  6602. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform',
  6603. 'httpMethod' => 'POST',
  6604. 'parameters' => [
  6605. 'project' => [
  6606. 'location' => 'path',
  6607. 'type' => 'string',
  6608. 'required' => true,
  6609. ],
  6610. 'zone' => [
  6611. 'location' => 'path',
  6612. 'type' => 'string',
  6613. 'required' => true,
  6614. ],
  6615. 'instance' => [
  6616. 'location' => 'path',
  6617. 'type' => 'string',
  6618. 'required' => true,
  6619. ],
  6620. 'requestId' => [
  6621. 'location' => 'query',
  6622. 'type' => 'string',
  6623. ],
  6624. ],
  6625. ],'setName' => [
  6626. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setName',
  6627. 'httpMethod' => 'POST',
  6628. 'parameters' => [
  6629. 'project' => [
  6630. 'location' => 'path',
  6631. 'type' => 'string',
  6632. 'required' => true,
  6633. ],
  6634. 'zone' => [
  6635. 'location' => 'path',
  6636. 'type' => 'string',
  6637. 'required' => true,
  6638. ],
  6639. 'instance' => [
  6640. 'location' => 'path',
  6641. 'type' => 'string',
  6642. 'required' => true,
  6643. ],
  6644. 'requestId' => [
  6645. 'location' => 'query',
  6646. 'type' => 'string',
  6647. ],
  6648. ],
  6649. ],'setScheduling' => [
  6650. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setScheduling',
  6651. 'httpMethod' => 'POST',
  6652. 'parameters' => [
  6653. 'project' => [
  6654. 'location' => 'path',
  6655. 'type' => 'string',
  6656. 'required' => true,
  6657. ],
  6658. 'zone' => [
  6659. 'location' => 'path',
  6660. 'type' => 'string',
  6661. 'required' => true,
  6662. ],
  6663. 'instance' => [
  6664. 'location' => 'path',
  6665. 'type' => 'string',
  6666. 'required' => true,
  6667. ],
  6668. 'requestId' => [
  6669. 'location' => 'query',
  6670. 'type' => 'string',
  6671. ],
  6672. ],
  6673. ],'setSecurityPolicy' => [
  6674. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setSecurityPolicy',
  6675. 'httpMethod' => 'POST',
  6676. 'parameters' => [
  6677. 'project' => [
  6678. 'location' => 'path',
  6679. 'type' => 'string',
  6680. 'required' => true,
  6681. ],
  6682. 'zone' => [
  6683. 'location' => 'path',
  6684. 'type' => 'string',
  6685. 'required' => true,
  6686. ],
  6687. 'instance' => [
  6688. 'location' => 'path',
  6689. 'type' => 'string',
  6690. 'required' => true,
  6691. ],
  6692. 'requestId' => [
  6693. 'location' => 'query',
  6694. 'type' => 'string',
  6695. ],
  6696. ],
  6697. ],'setServiceAccount' => [
  6698. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount',
  6699. 'httpMethod' => 'POST',
  6700. 'parameters' => [
  6701. 'project' => [
  6702. 'location' => 'path',
  6703. 'type' => 'string',
  6704. 'required' => true,
  6705. ],
  6706. 'zone' => [
  6707. 'location' => 'path',
  6708. 'type' => 'string',
  6709. 'required' => true,
  6710. ],
  6711. 'instance' => [
  6712. 'location' => 'path',
  6713. 'type' => 'string',
  6714. 'required' => true,
  6715. ],
  6716. 'requestId' => [
  6717. 'location' => 'query',
  6718. 'type' => 'string',
  6719. ],
  6720. ],
  6721. ],'setShieldedInstanceIntegrityPolicy' => [
  6722. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy',
  6723. 'httpMethod' => 'PATCH',
  6724. 'parameters' => [
  6725. 'project' => [
  6726. 'location' => 'path',
  6727. 'type' => 'string',
  6728. 'required' => true,
  6729. ],
  6730. 'zone' => [
  6731. 'location' => 'path',
  6732. 'type' => 'string',
  6733. 'required' => true,
  6734. ],
  6735. 'instance' => [
  6736. 'location' => 'path',
  6737. 'type' => 'string',
  6738. 'required' => true,
  6739. ],
  6740. 'requestId' => [
  6741. 'location' => 'query',
  6742. 'type' => 'string',
  6743. ],
  6744. ],
  6745. ],'setTags' => [
  6746. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/setTags',
  6747. 'httpMethod' => 'POST',
  6748. 'parameters' => [
  6749. 'project' => [
  6750. 'location' => 'path',
  6751. 'type' => 'string',
  6752. 'required' => true,
  6753. ],
  6754. 'zone' => [
  6755. 'location' => 'path',
  6756. 'type' => 'string',
  6757. 'required' => true,
  6758. ],
  6759. 'instance' => [
  6760. 'location' => 'path',
  6761. 'type' => 'string',
  6762. 'required' => true,
  6763. ],
  6764. 'requestId' => [
  6765. 'location' => 'query',
  6766. 'type' => 'string',
  6767. ],
  6768. ],
  6769. ],'simulateMaintenanceEvent' => [
  6770. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent',
  6771. 'httpMethod' => 'POST',
  6772. 'parameters' => [
  6773. 'project' => [
  6774. 'location' => 'path',
  6775. 'type' => 'string',
  6776. 'required' => true,
  6777. ],
  6778. 'zone' => [
  6779. 'location' => 'path',
  6780. 'type' => 'string',
  6781. 'required' => true,
  6782. ],
  6783. 'instance' => [
  6784. 'location' => 'path',
  6785. 'type' => 'string',
  6786. 'required' => true,
  6787. ],
  6788. 'requestId' => [
  6789. 'location' => 'query',
  6790. 'type' => 'string',
  6791. ],
  6792. 'withExtendedNotifications' => [
  6793. 'location' => 'query',
  6794. 'type' => 'boolean',
  6795. ],
  6796. ],
  6797. ],'start' => [
  6798. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/start',
  6799. 'httpMethod' => 'POST',
  6800. 'parameters' => [
  6801. 'project' => [
  6802. 'location' => 'path',
  6803. 'type' => 'string',
  6804. 'required' => true,
  6805. ],
  6806. 'zone' => [
  6807. 'location' => 'path',
  6808. 'type' => 'string',
  6809. 'required' => true,
  6810. ],
  6811. 'instance' => [
  6812. 'location' => 'path',
  6813. 'type' => 'string',
  6814. 'required' => true,
  6815. ],
  6816. 'requestId' => [
  6817. 'location' => 'query',
  6818. 'type' => 'string',
  6819. ],
  6820. ],
  6821. ],'startWithEncryptionKey' => [
  6822. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey',
  6823. 'httpMethod' => 'POST',
  6824. 'parameters' => [
  6825. 'project' => [
  6826. 'location' => 'path',
  6827. 'type' => 'string',
  6828. 'required' => true,
  6829. ],
  6830. 'zone' => [
  6831. 'location' => 'path',
  6832. 'type' => 'string',
  6833. 'required' => true,
  6834. ],
  6835. 'instance' => [
  6836. 'location' => 'path',
  6837. 'type' => 'string',
  6838. 'required' => true,
  6839. ],
  6840. 'requestId' => [
  6841. 'location' => 'query',
  6842. 'type' => 'string',
  6843. ],
  6844. ],
  6845. ],'stop' => [
  6846. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/stop',
  6847. 'httpMethod' => 'POST',
  6848. 'parameters' => [
  6849. 'project' => [
  6850. 'location' => 'path',
  6851. 'type' => 'string',
  6852. 'required' => true,
  6853. ],
  6854. 'zone' => [
  6855. 'location' => 'path',
  6856. 'type' => 'string',
  6857. 'required' => true,
  6858. ],
  6859. 'instance' => [
  6860. 'location' => 'path',
  6861. 'type' => 'string',
  6862. 'required' => true,
  6863. ],
  6864. 'discardLocalSsd' => [
  6865. 'location' => 'query',
  6866. 'type' => 'boolean',
  6867. ],
  6868. 'requestId' => [
  6869. 'location' => 'query',
  6870. 'type' => 'string',
  6871. ],
  6872. ],
  6873. ],'suspend' => [
  6874. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/suspend',
  6875. 'httpMethod' => 'POST',
  6876. 'parameters' => [
  6877. 'project' => [
  6878. 'location' => 'path',
  6879. 'type' => 'string',
  6880. 'required' => true,
  6881. ],
  6882. 'zone' => [
  6883. 'location' => 'path',
  6884. 'type' => 'string',
  6885. 'required' => true,
  6886. ],
  6887. 'instance' => [
  6888. 'location' => 'path',
  6889. 'type' => 'string',
  6890. 'required' => true,
  6891. ],
  6892. 'discardLocalSsd' => [
  6893. 'location' => 'query',
  6894. 'type' => 'boolean',
  6895. ],
  6896. 'requestId' => [
  6897. 'location' => 'query',
  6898. 'type' => 'string',
  6899. ],
  6900. ],
  6901. ],'testIamPermissions' => [
  6902. 'path' => 'projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions',
  6903. 'httpMethod' => 'POST',
  6904. 'parameters' => [
  6905. 'project' => [
  6906. 'location' => 'path',
  6907. 'type' => 'string',
  6908. 'required' => true,
  6909. ],
  6910. 'zone' => [
  6911. 'location' => 'path',
  6912. 'type' => 'string',
  6913. 'required' => true,
  6914. ],
  6915. 'resource' => [
  6916. 'location' => 'path',
  6917. 'type' => 'string',
  6918. 'required' => true,
  6919. ],
  6920. ],
  6921. ],'update' => [
  6922. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}',
  6923. 'httpMethod' => 'PUT',
  6924. 'parameters' => [
  6925. 'project' => [
  6926. 'location' => 'path',
  6927. 'type' => 'string',
  6928. 'required' => true,
  6929. ],
  6930. 'zone' => [
  6931. 'location' => 'path',
  6932. 'type' => 'string',
  6933. 'required' => true,
  6934. ],
  6935. 'instance' => [
  6936. 'location' => 'path',
  6937. 'type' => 'string',
  6938. 'required' => true,
  6939. ],
  6940. 'minimalAction' => [
  6941. 'location' => 'query',
  6942. 'type' => 'string',
  6943. ],
  6944. 'mostDisruptiveAllowedAction' => [
  6945. 'location' => 'query',
  6946. 'type' => 'string',
  6947. ],
  6948. 'requestId' => [
  6949. 'location' => 'query',
  6950. 'type' => 'string',
  6951. ],
  6952. ],
  6953. ],'updateAccessConfig' => [
  6954. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig',
  6955. 'httpMethod' => 'POST',
  6956. 'parameters' => [
  6957. 'project' => [
  6958. 'location' => 'path',
  6959. 'type' => 'string',
  6960. 'required' => true,
  6961. ],
  6962. 'zone' => [
  6963. 'location' => 'path',
  6964. 'type' => 'string',
  6965. 'required' => true,
  6966. ],
  6967. 'instance' => [
  6968. 'location' => 'path',
  6969. 'type' => 'string',
  6970. 'required' => true,
  6971. ],
  6972. 'networkInterface' => [
  6973. 'location' => 'query',
  6974. 'type' => 'string',
  6975. 'required' => true,
  6976. ],
  6977. 'requestId' => [
  6978. 'location' => 'query',
  6979. 'type' => 'string',
  6980. ],
  6981. ],
  6982. ],'updateDisplayDevice' => [
  6983. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice',
  6984. 'httpMethod' => 'PATCH',
  6985. 'parameters' => [
  6986. 'project' => [
  6987. 'location' => 'path',
  6988. 'type' => 'string',
  6989. 'required' => true,
  6990. ],
  6991. 'zone' => [
  6992. 'location' => 'path',
  6993. 'type' => 'string',
  6994. 'required' => true,
  6995. ],
  6996. 'instance' => [
  6997. 'location' => 'path',
  6998. 'type' => 'string',
  6999. 'required' => true,
  7000. ],
  7001. 'requestId' => [
  7002. 'location' => 'query',
  7003. 'type' => 'string',
  7004. ],
  7005. ],
  7006. ],'updateNetworkInterface' => [
  7007. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface',
  7008. 'httpMethod' => 'PATCH',
  7009. 'parameters' => [
  7010. 'project' => [
  7011. 'location' => 'path',
  7012. 'type' => 'string',
  7013. 'required' => true,
  7014. ],
  7015. 'zone' => [
  7016. 'location' => 'path',
  7017. 'type' => 'string',
  7018. 'required' => true,
  7019. ],
  7020. 'instance' => [
  7021. 'location' => 'path',
  7022. 'type' => 'string',
  7023. 'required' => true,
  7024. ],
  7025. 'networkInterface' => [
  7026. 'location' => 'query',
  7027. 'type' => 'string',
  7028. 'required' => true,
  7029. ],
  7030. 'requestId' => [
  7031. 'location' => 'query',
  7032. 'type' => 'string',
  7033. ],
  7034. ],
  7035. ],'updateShieldedInstanceConfig' => [
  7036. 'path' => 'projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig',
  7037. 'httpMethod' => 'PATCH',
  7038. 'parameters' => [
  7039. 'project' => [
  7040. 'location' => 'path',
  7041. 'type' => 'string',
  7042. 'required' => true,
  7043. ],
  7044. 'zone' => [
  7045. 'location' => 'path',
  7046. 'type' => 'string',
  7047. 'required' => true,
  7048. ],
  7049. 'instance' => [
  7050. 'location' => 'path',
  7051. 'type' => 'string',
  7052. 'required' => true,
  7053. ],
  7054. 'requestId' => [
  7055. 'location' => 'query',
  7056. 'type' => 'string',
  7057. ],
  7058. ],
  7059. ],
  7060. ]
  7061. ]
  7062. );
  7063. $this->instantSnapshots = new Compute\Resource\InstantSnapshots(
  7064. $this,
  7065. $this->serviceName,
  7066. 'instantSnapshots',
  7067. [
  7068. 'methods' => [
  7069. 'aggregatedList' => [
  7070. 'path' => 'projects/{project}/aggregated/instantSnapshots',
  7071. 'httpMethod' => 'GET',
  7072. 'parameters' => [
  7073. 'project' => [
  7074. 'location' => 'path',
  7075. 'type' => 'string',
  7076. 'required' => true,
  7077. ],
  7078. 'filter' => [
  7079. 'location' => 'query',
  7080. 'type' => 'string',
  7081. ],
  7082. 'includeAllScopes' => [
  7083. 'location' => 'query',
  7084. 'type' => 'boolean',
  7085. ],
  7086. 'maxResults' => [
  7087. 'location' => 'query',
  7088. 'type' => 'integer',
  7089. ],
  7090. 'orderBy' => [
  7091. 'location' => 'query',
  7092. 'type' => 'string',
  7093. ],
  7094. 'pageToken' => [
  7095. 'location' => 'query',
  7096. 'type' => 'string',
  7097. ],
  7098. 'returnPartialSuccess' => [
  7099. 'location' => 'query',
  7100. 'type' => 'boolean',
  7101. ],
  7102. 'serviceProjectNumber' => [
  7103. 'location' => 'query',
  7104. 'type' => 'string',
  7105. ],
  7106. ],
  7107. ],'delete' => [
  7108. 'path' => 'projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}',
  7109. 'httpMethod' => 'DELETE',
  7110. 'parameters' => [
  7111. 'project' => [
  7112. 'location' => 'path',
  7113. 'type' => 'string',
  7114. 'required' => true,
  7115. ],
  7116. 'zone' => [
  7117. 'location' => 'path',
  7118. 'type' => 'string',
  7119. 'required' => true,
  7120. ],
  7121. 'instantSnapshot' => [
  7122. 'location' => 'path',
  7123. 'type' => 'string',
  7124. 'required' => true,
  7125. ],
  7126. 'requestId' => [
  7127. 'location' => 'query',
  7128. 'type' => 'string',
  7129. ],
  7130. ],
  7131. ],'get' => [
  7132. 'path' => 'projects/{project}/zones/{zone}/instantSnapshots/{instantSnapshot}',
  7133. 'httpMethod' => 'GET',
  7134. 'parameters' => [
  7135. 'project' => [
  7136. 'location' => 'path',
  7137. 'type' => 'string',
  7138. 'required' => true,
  7139. ],
  7140. 'zone' => [
  7141. 'location' => 'path',
  7142. 'type' => 'string',
  7143. 'required' => true,
  7144. ],
  7145. 'instantSnapshot' => [
  7146. 'location' => 'path',
  7147. 'type' => 'string',
  7148. 'required' => true,
  7149. ],
  7150. ],
  7151. ],'getIamPolicy' => [
  7152. 'path' => 'projects/{project}/zones/{zone}/instantSnapshots/{resource}/getIamPolicy',
  7153. 'httpMethod' => 'GET',
  7154. 'parameters' => [
  7155. 'project' => [
  7156. 'location' => 'path',
  7157. 'type' => 'string',
  7158. 'required' => true,
  7159. ],
  7160. 'zone' => [
  7161. 'location' => 'path',
  7162. 'type' => 'string',
  7163. 'required' => true,
  7164. ],
  7165. 'resource' => [
  7166. 'location' => 'path',
  7167. 'type' => 'string',
  7168. 'required' => true,
  7169. ],
  7170. 'optionsRequestedPolicyVersion' => [
  7171. 'location' => 'query',
  7172. 'type' => 'integer',
  7173. ],
  7174. ],
  7175. ],'insert' => [
  7176. 'path' => 'projects/{project}/zones/{zone}/instantSnapshots',
  7177. 'httpMethod' => 'POST',
  7178. 'parameters' => [
  7179. 'project' => [
  7180. 'location' => 'path',
  7181. 'type' => 'string',
  7182. 'required' => true,
  7183. ],
  7184. 'zone' => [
  7185. 'location' => 'path',
  7186. 'type' => 'string',
  7187. 'required' => true,
  7188. ],
  7189. 'requestId' => [
  7190. 'location' => 'query',
  7191. 'type' => 'string',
  7192. ],
  7193. ],
  7194. ],'list' => [
  7195. 'path' => 'projects/{project}/zones/{zone}/instantSnapshots',
  7196. 'httpMethod' => 'GET',
  7197. 'parameters' => [
  7198. 'project' => [
  7199. 'location' => 'path',
  7200. 'type' => 'string',
  7201. 'required' => true,
  7202. ],
  7203. 'zone' => [
  7204. 'location' => 'path',
  7205. 'type' => 'string',
  7206. 'required' => true,
  7207. ],
  7208. 'filter' => [
  7209. 'location' => 'query',
  7210. 'type' => 'string',
  7211. ],
  7212. 'maxResults' => [
  7213. 'location' => 'query',
  7214. 'type' => 'integer',
  7215. ],
  7216. 'orderBy' => [
  7217. 'location' => 'query',
  7218. 'type' => 'string',
  7219. ],
  7220. 'pageToken' => [
  7221. 'location' => 'query',
  7222. 'type' => 'string',
  7223. ],
  7224. 'returnPartialSuccess' => [
  7225. 'location' => 'query',
  7226. 'type' => 'boolean',
  7227. ],
  7228. ],
  7229. ],'setIamPolicy' => [
  7230. 'path' => 'projects/{project}/zones/{zone}/instantSnapshots/{resource}/setIamPolicy',
  7231. 'httpMethod' => 'POST',
  7232. 'parameters' => [
  7233. 'project' => [
  7234. 'location' => 'path',
  7235. 'type' => 'string',
  7236. 'required' => true,
  7237. ],
  7238. 'zone' => [
  7239. 'location' => 'path',
  7240. 'type' => 'string',
  7241. 'required' => true,
  7242. ],
  7243. 'resource' => [
  7244. 'location' => 'path',
  7245. 'type' => 'string',
  7246. 'required' => true,
  7247. ],
  7248. ],
  7249. ],'setLabels' => [
  7250. 'path' => 'projects/{project}/zones/{zone}/instantSnapshots/{resource}/setLabels',
  7251. 'httpMethod' => 'POST',
  7252. 'parameters' => [
  7253. 'project' => [
  7254. 'location' => 'path',
  7255. 'type' => 'string',
  7256. 'required' => true,
  7257. ],
  7258. 'zone' => [
  7259. 'location' => 'path',
  7260. 'type' => 'string',
  7261. 'required' => true,
  7262. ],
  7263. 'resource' => [
  7264. 'location' => 'path',
  7265. 'type' => 'string',
  7266. 'required' => true,
  7267. ],
  7268. 'requestId' => [
  7269. 'location' => 'query',
  7270. 'type' => 'string',
  7271. ],
  7272. ],
  7273. ],'testIamPermissions' => [
  7274. 'path' => 'projects/{project}/zones/{zone}/instantSnapshots/{resource}/testIamPermissions',
  7275. 'httpMethod' => 'POST',
  7276. 'parameters' => [
  7277. 'project' => [
  7278. 'location' => 'path',
  7279. 'type' => 'string',
  7280. 'required' => true,
  7281. ],
  7282. 'zone' => [
  7283. 'location' => 'path',
  7284. 'type' => 'string',
  7285. 'required' => true,
  7286. ],
  7287. 'resource' => [
  7288. 'location' => 'path',
  7289. 'type' => 'string',
  7290. 'required' => true,
  7291. ],
  7292. ],
  7293. ],
  7294. ]
  7295. ]
  7296. );
  7297. $this->interconnectAttachmentGroups = new Compute\Resource\InterconnectAttachmentGroups(
  7298. $this,
  7299. $this->serviceName,
  7300. 'interconnectAttachmentGroups',
  7301. [
  7302. 'methods' => [
  7303. 'delete' => [
  7304. 'path' => 'projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}',
  7305. 'httpMethod' => 'DELETE',
  7306. 'parameters' => [
  7307. 'project' => [
  7308. 'location' => 'path',
  7309. 'type' => 'string',
  7310. 'required' => true,
  7311. ],
  7312. 'interconnectAttachmentGroup' => [
  7313. 'location' => 'path',
  7314. 'type' => 'string',
  7315. 'required' => true,
  7316. ],
  7317. 'requestId' => [
  7318. 'location' => 'query',
  7319. 'type' => 'string',
  7320. ],
  7321. ],
  7322. ],'get' => [
  7323. 'path' => 'projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}',
  7324. 'httpMethod' => 'GET',
  7325. 'parameters' => [
  7326. 'project' => [
  7327. 'location' => 'path',
  7328. 'type' => 'string',
  7329. 'required' => true,
  7330. ],
  7331. 'interconnectAttachmentGroup' => [
  7332. 'location' => 'path',
  7333. 'type' => 'string',
  7334. 'required' => true,
  7335. ],
  7336. ],
  7337. ],'getIamPolicy' => [
  7338. 'path' => 'projects/{project}/global/interconnectAttachmentGroups/{resource}/getIamPolicy',
  7339. 'httpMethod' => 'GET',
  7340. 'parameters' => [
  7341. 'project' => [
  7342. 'location' => 'path',
  7343. 'type' => 'string',
  7344. 'required' => true,
  7345. ],
  7346. 'resource' => [
  7347. 'location' => 'path',
  7348. 'type' => 'string',
  7349. 'required' => true,
  7350. ],
  7351. 'optionsRequestedPolicyVersion' => [
  7352. 'location' => 'query',
  7353. 'type' => 'integer',
  7354. ],
  7355. ],
  7356. ],'getOperationalStatus' => [
  7357. 'path' => 'projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}/getOperationalStatus',
  7358. 'httpMethod' => 'GET',
  7359. 'parameters' => [
  7360. 'project' => [
  7361. 'location' => 'path',
  7362. 'type' => 'string',
  7363. 'required' => true,
  7364. ],
  7365. 'interconnectAttachmentGroup' => [
  7366. 'location' => 'path',
  7367. 'type' => 'string',
  7368. 'required' => true,
  7369. ],
  7370. ],
  7371. ],'insert' => [
  7372. 'path' => 'projects/{project}/global/interconnectAttachmentGroups',
  7373. 'httpMethod' => 'POST',
  7374. 'parameters' => [
  7375. 'project' => [
  7376. 'location' => 'path',
  7377. 'type' => 'string',
  7378. 'required' => true,
  7379. ],
  7380. 'requestId' => [
  7381. 'location' => 'query',
  7382. 'type' => 'string',
  7383. ],
  7384. ],
  7385. ],'list' => [
  7386. 'path' => 'projects/{project}/global/interconnectAttachmentGroups',
  7387. 'httpMethod' => 'GET',
  7388. 'parameters' => [
  7389. 'project' => [
  7390. 'location' => 'path',
  7391. 'type' => 'string',
  7392. 'required' => true,
  7393. ],
  7394. 'filter' => [
  7395. 'location' => 'query',
  7396. 'type' => 'string',
  7397. ],
  7398. 'maxResults' => [
  7399. 'location' => 'query',
  7400. 'type' => 'integer',
  7401. ],
  7402. 'orderBy' => [
  7403. 'location' => 'query',
  7404. 'type' => 'string',
  7405. ],
  7406. 'pageToken' => [
  7407. 'location' => 'query',
  7408. 'type' => 'string',
  7409. ],
  7410. 'returnPartialSuccess' => [
  7411. 'location' => 'query',
  7412. 'type' => 'boolean',
  7413. ],
  7414. ],
  7415. ],'patch' => [
  7416. 'path' => 'projects/{project}/global/interconnectAttachmentGroups/{interconnectAttachmentGroup}',
  7417. 'httpMethod' => 'PATCH',
  7418. 'parameters' => [
  7419. 'project' => [
  7420. 'location' => 'path',
  7421. 'type' => 'string',
  7422. 'required' => true,
  7423. ],
  7424. 'interconnectAttachmentGroup' => [
  7425. 'location' => 'path',
  7426. 'type' => 'string',
  7427. 'required' => true,
  7428. ],
  7429. 'requestId' => [
  7430. 'location' => 'query',
  7431. 'type' => 'string',
  7432. ],
  7433. 'updateMask' => [
  7434. 'location' => 'query',
  7435. 'type' => 'string',
  7436. ],
  7437. ],
  7438. ],'setIamPolicy' => [
  7439. 'path' => 'projects/{project}/global/interconnectAttachmentGroups/{resource}/setIamPolicy',
  7440. 'httpMethod' => 'POST',
  7441. 'parameters' => [
  7442. 'project' => [
  7443. 'location' => 'path',
  7444. 'type' => 'string',
  7445. 'required' => true,
  7446. ],
  7447. 'resource' => [
  7448. 'location' => 'path',
  7449. 'type' => 'string',
  7450. 'required' => true,
  7451. ],
  7452. ],
  7453. ],'testIamPermissions' => [
  7454. 'path' => 'projects/{project}/global/interconnectAttachmentGroups/{resource}/testIamPermissions',
  7455. 'httpMethod' => 'POST',
  7456. 'parameters' => [
  7457. 'project' => [
  7458. 'location' => 'path',
  7459. 'type' => 'string',
  7460. 'required' => true,
  7461. ],
  7462. 'resource' => [
  7463. 'location' => 'path',
  7464. 'type' => 'string',
  7465. 'required' => true,
  7466. ],
  7467. ],
  7468. ],
  7469. ]
  7470. ]
  7471. );
  7472. $this->interconnectAttachments = new Compute\Resource\InterconnectAttachments(
  7473. $this,
  7474. $this->serviceName,
  7475. 'interconnectAttachments',
  7476. [
  7477. 'methods' => [
  7478. 'aggregatedList' => [
  7479. 'path' => 'projects/{project}/aggregated/interconnectAttachments',
  7480. 'httpMethod' => 'GET',
  7481. 'parameters' => [
  7482. 'project' => [
  7483. 'location' => 'path',
  7484. 'type' => 'string',
  7485. 'required' => true,
  7486. ],
  7487. 'filter' => [
  7488. 'location' => 'query',
  7489. 'type' => 'string',
  7490. ],
  7491. 'includeAllScopes' => [
  7492. 'location' => 'query',
  7493. 'type' => 'boolean',
  7494. ],
  7495. 'maxResults' => [
  7496. 'location' => 'query',
  7497. 'type' => 'integer',
  7498. ],
  7499. 'orderBy' => [
  7500. 'location' => 'query',
  7501. 'type' => 'string',
  7502. ],
  7503. 'pageToken' => [
  7504. 'location' => 'query',
  7505. 'type' => 'string',
  7506. ],
  7507. 'returnPartialSuccess' => [
  7508. 'location' => 'query',
  7509. 'type' => 'boolean',
  7510. ],
  7511. 'serviceProjectNumber' => [
  7512. 'location' => 'query',
  7513. 'type' => 'string',
  7514. ],
  7515. ],
  7516. ],'delete' => [
  7517. 'path' => 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}',
  7518. 'httpMethod' => 'DELETE',
  7519. 'parameters' => [
  7520. 'project' => [
  7521. 'location' => 'path',
  7522. 'type' => 'string',
  7523. 'required' => true,
  7524. ],
  7525. 'region' => [
  7526. 'location' => 'path',
  7527. 'type' => 'string',
  7528. 'required' => true,
  7529. ],
  7530. 'interconnectAttachment' => [
  7531. 'location' => 'path',
  7532. 'type' => 'string',
  7533. 'required' => true,
  7534. ],
  7535. 'requestId' => [
  7536. 'location' => 'query',
  7537. 'type' => 'string',
  7538. ],
  7539. ],
  7540. ],'get' => [
  7541. 'path' => 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}',
  7542. 'httpMethod' => 'GET',
  7543. 'parameters' => [
  7544. 'project' => [
  7545. 'location' => 'path',
  7546. 'type' => 'string',
  7547. 'required' => true,
  7548. ],
  7549. 'region' => [
  7550. 'location' => 'path',
  7551. 'type' => 'string',
  7552. 'required' => true,
  7553. ],
  7554. 'interconnectAttachment' => [
  7555. 'location' => 'path',
  7556. 'type' => 'string',
  7557. 'required' => true,
  7558. ],
  7559. ],
  7560. ],'insert' => [
  7561. 'path' => 'projects/{project}/regions/{region}/interconnectAttachments',
  7562. 'httpMethod' => 'POST',
  7563. 'parameters' => [
  7564. 'project' => [
  7565. 'location' => 'path',
  7566. 'type' => 'string',
  7567. 'required' => true,
  7568. ],
  7569. 'region' => [
  7570. 'location' => 'path',
  7571. 'type' => 'string',
  7572. 'required' => true,
  7573. ],
  7574. 'requestId' => [
  7575. 'location' => 'query',
  7576. 'type' => 'string',
  7577. ],
  7578. 'validateOnly' => [
  7579. 'location' => 'query',
  7580. 'type' => 'boolean',
  7581. ],
  7582. ],
  7583. ],'list' => [
  7584. 'path' => 'projects/{project}/regions/{region}/interconnectAttachments',
  7585. 'httpMethod' => 'GET',
  7586. 'parameters' => [
  7587. 'project' => [
  7588. 'location' => 'path',
  7589. 'type' => 'string',
  7590. 'required' => true,
  7591. ],
  7592. 'region' => [
  7593. 'location' => 'path',
  7594. 'type' => 'string',
  7595. 'required' => true,
  7596. ],
  7597. 'filter' => [
  7598. 'location' => 'query',
  7599. 'type' => 'string',
  7600. ],
  7601. 'maxResults' => [
  7602. 'location' => 'query',
  7603. 'type' => 'integer',
  7604. ],
  7605. 'orderBy' => [
  7606. 'location' => 'query',
  7607. 'type' => 'string',
  7608. ],
  7609. 'pageToken' => [
  7610. 'location' => 'query',
  7611. 'type' => 'string',
  7612. ],
  7613. 'returnPartialSuccess' => [
  7614. 'location' => 'query',
  7615. 'type' => 'boolean',
  7616. ],
  7617. ],
  7618. ],'patch' => [
  7619. 'path' => 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}',
  7620. 'httpMethod' => 'PATCH',
  7621. 'parameters' => [
  7622. 'project' => [
  7623. 'location' => 'path',
  7624. 'type' => 'string',
  7625. 'required' => true,
  7626. ],
  7627. 'region' => [
  7628. 'location' => 'path',
  7629. 'type' => 'string',
  7630. 'required' => true,
  7631. ],
  7632. 'interconnectAttachment' => [
  7633. 'location' => 'path',
  7634. 'type' => 'string',
  7635. 'required' => true,
  7636. ],
  7637. 'requestId' => [
  7638. 'location' => 'query',
  7639. 'type' => 'string',
  7640. ],
  7641. ],
  7642. ],'setLabels' => [
  7643. 'path' => 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels',
  7644. 'httpMethod' => 'POST',
  7645. 'parameters' => [
  7646. 'project' => [
  7647. 'location' => 'path',
  7648. 'type' => 'string',
  7649. 'required' => true,
  7650. ],
  7651. 'region' => [
  7652. 'location' => 'path',
  7653. 'type' => 'string',
  7654. 'required' => true,
  7655. ],
  7656. 'resource' => [
  7657. 'location' => 'path',
  7658. 'type' => 'string',
  7659. 'required' => true,
  7660. ],
  7661. 'requestId' => [
  7662. 'location' => 'query',
  7663. 'type' => 'string',
  7664. ],
  7665. ],
  7666. ],
  7667. ]
  7668. ]
  7669. );
  7670. $this->interconnectGroups = new Compute\Resource\InterconnectGroups(
  7671. $this,
  7672. $this->serviceName,
  7673. 'interconnectGroups',
  7674. [
  7675. 'methods' => [
  7676. 'createMembers' => [
  7677. 'path' => 'projects/{project}/global/interconnectGroups/{interconnectGroup}/createMembers',
  7678. 'httpMethod' => 'POST',
  7679. 'parameters' => [
  7680. 'project' => [
  7681. 'location' => 'path',
  7682. 'type' => 'string',
  7683. 'required' => true,
  7684. ],
  7685. 'interconnectGroup' => [
  7686. 'location' => 'path',
  7687. 'type' => 'string',
  7688. 'required' => true,
  7689. ],
  7690. ],
  7691. ],'delete' => [
  7692. 'path' => 'projects/{project}/global/interconnectGroups/{interconnectGroup}',
  7693. 'httpMethod' => 'DELETE',
  7694. 'parameters' => [
  7695. 'project' => [
  7696. 'location' => 'path',
  7697. 'type' => 'string',
  7698. 'required' => true,
  7699. ],
  7700. 'interconnectGroup' => [
  7701. 'location' => 'path',
  7702. 'type' => 'string',
  7703. 'required' => true,
  7704. ],
  7705. 'requestId' => [
  7706. 'location' => 'query',
  7707. 'type' => 'string',
  7708. ],
  7709. ],
  7710. ],'get' => [
  7711. 'path' => 'projects/{project}/global/interconnectGroups/{interconnectGroup}',
  7712. 'httpMethod' => 'GET',
  7713. 'parameters' => [
  7714. 'project' => [
  7715. 'location' => 'path',
  7716. 'type' => 'string',
  7717. 'required' => true,
  7718. ],
  7719. 'interconnectGroup' => [
  7720. 'location' => 'path',
  7721. 'type' => 'string',
  7722. 'required' => true,
  7723. ],
  7724. ],
  7725. ],'getIamPolicy' => [
  7726. 'path' => 'projects/{project}/global/interconnectGroups/{resource}/getIamPolicy',
  7727. 'httpMethod' => 'GET',
  7728. 'parameters' => [
  7729. 'project' => [
  7730. 'location' => 'path',
  7731. 'type' => 'string',
  7732. 'required' => true,
  7733. ],
  7734. 'resource' => [
  7735. 'location' => 'path',
  7736. 'type' => 'string',
  7737. 'required' => true,
  7738. ],
  7739. 'optionsRequestedPolicyVersion' => [
  7740. 'location' => 'query',
  7741. 'type' => 'integer',
  7742. ],
  7743. ],
  7744. ],'getOperationalStatus' => [
  7745. 'path' => 'projects/{project}/global/interconnectGroups/{interconnectGroup}/getOperationalStatus',
  7746. 'httpMethod' => 'GET',
  7747. 'parameters' => [
  7748. 'project' => [
  7749. 'location' => 'path',
  7750. 'type' => 'string',
  7751. 'required' => true,
  7752. ],
  7753. 'interconnectGroup' => [
  7754. 'location' => 'path',
  7755. 'type' => 'string',
  7756. 'required' => true,
  7757. ],
  7758. ],
  7759. ],'insert' => [
  7760. 'path' => 'projects/{project}/global/interconnectGroups',
  7761. 'httpMethod' => 'POST',
  7762. 'parameters' => [
  7763. 'project' => [
  7764. 'location' => 'path',
  7765. 'type' => 'string',
  7766. 'required' => true,
  7767. ],
  7768. 'requestId' => [
  7769. 'location' => 'query',
  7770. 'type' => 'string',
  7771. ],
  7772. ],
  7773. ],'list' => [
  7774. 'path' => 'projects/{project}/global/interconnectGroups',
  7775. 'httpMethod' => 'GET',
  7776. 'parameters' => [
  7777. 'project' => [
  7778. 'location' => 'path',
  7779. 'type' => 'string',
  7780. 'required' => true,
  7781. ],
  7782. 'filter' => [
  7783. 'location' => 'query',
  7784. 'type' => 'string',
  7785. ],
  7786. 'maxResults' => [
  7787. 'location' => 'query',
  7788. 'type' => 'integer',
  7789. ],
  7790. 'orderBy' => [
  7791. 'location' => 'query',
  7792. 'type' => 'string',
  7793. ],
  7794. 'pageToken' => [
  7795. 'location' => 'query',
  7796. 'type' => 'string',
  7797. ],
  7798. 'returnPartialSuccess' => [
  7799. 'location' => 'query',
  7800. 'type' => 'boolean',
  7801. ],
  7802. ],
  7803. ],'patch' => [
  7804. 'path' => 'projects/{project}/global/interconnectGroups/{interconnectGroup}',
  7805. 'httpMethod' => 'PATCH',
  7806. 'parameters' => [
  7807. 'project' => [
  7808. 'location' => 'path',
  7809. 'type' => 'string',
  7810. 'required' => true,
  7811. ],
  7812. 'interconnectGroup' => [
  7813. 'location' => 'path',
  7814. 'type' => 'string',
  7815. 'required' => true,
  7816. ],
  7817. 'requestId' => [
  7818. 'location' => 'query',
  7819. 'type' => 'string',
  7820. ],
  7821. 'updateMask' => [
  7822. 'location' => 'query',
  7823. 'type' => 'string',
  7824. ],
  7825. ],
  7826. ],'setIamPolicy' => [
  7827. 'path' => 'projects/{project}/global/interconnectGroups/{resource}/setIamPolicy',
  7828. 'httpMethod' => 'POST',
  7829. 'parameters' => [
  7830. 'project' => [
  7831. 'location' => 'path',
  7832. 'type' => 'string',
  7833. 'required' => true,
  7834. ],
  7835. 'resource' => [
  7836. 'location' => 'path',
  7837. 'type' => 'string',
  7838. 'required' => true,
  7839. ],
  7840. ],
  7841. ],'testIamPermissions' => [
  7842. 'path' => 'projects/{project}/global/interconnectGroups/{resource}/testIamPermissions',
  7843. 'httpMethod' => 'POST',
  7844. 'parameters' => [
  7845. 'project' => [
  7846. 'location' => 'path',
  7847. 'type' => 'string',
  7848. 'required' => true,
  7849. ],
  7850. 'resource' => [
  7851. 'location' => 'path',
  7852. 'type' => 'string',
  7853. 'required' => true,
  7854. ],
  7855. ],
  7856. ],
  7857. ]
  7858. ]
  7859. );
  7860. $this->interconnectLocations = new Compute\Resource\InterconnectLocations(
  7861. $this,
  7862. $this->serviceName,
  7863. 'interconnectLocations',
  7864. [
  7865. 'methods' => [
  7866. 'get' => [
  7867. 'path' => 'projects/{project}/global/interconnectLocations/{interconnectLocation}',
  7868. 'httpMethod' => 'GET',
  7869. 'parameters' => [
  7870. 'project' => [
  7871. 'location' => 'path',
  7872. 'type' => 'string',
  7873. 'required' => true,
  7874. ],
  7875. 'interconnectLocation' => [
  7876. 'location' => 'path',
  7877. 'type' => 'string',
  7878. 'required' => true,
  7879. ],
  7880. ],
  7881. ],'list' => [
  7882. 'path' => 'projects/{project}/global/interconnectLocations',
  7883. 'httpMethod' => 'GET',
  7884. 'parameters' => [
  7885. 'project' => [
  7886. 'location' => 'path',
  7887. 'type' => 'string',
  7888. 'required' => true,
  7889. ],
  7890. 'filter' => [
  7891. 'location' => 'query',
  7892. 'type' => 'string',
  7893. ],
  7894. 'maxResults' => [
  7895. 'location' => 'query',
  7896. 'type' => 'integer',
  7897. ],
  7898. 'orderBy' => [
  7899. 'location' => 'query',
  7900. 'type' => 'string',
  7901. ],
  7902. 'pageToken' => [
  7903. 'location' => 'query',
  7904. 'type' => 'string',
  7905. ],
  7906. 'returnPartialSuccess' => [
  7907. 'location' => 'query',
  7908. 'type' => 'boolean',
  7909. ],
  7910. ],
  7911. ],
  7912. ]
  7913. ]
  7914. );
  7915. $this->interconnectRemoteLocations = new Compute\Resource\InterconnectRemoteLocations(
  7916. $this,
  7917. $this->serviceName,
  7918. 'interconnectRemoteLocations',
  7919. [
  7920. 'methods' => [
  7921. 'get' => [
  7922. 'path' => 'projects/{project}/global/interconnectRemoteLocations/{interconnectRemoteLocation}',
  7923. 'httpMethod' => 'GET',
  7924. 'parameters' => [
  7925. 'project' => [
  7926. 'location' => 'path',
  7927. 'type' => 'string',
  7928. 'required' => true,
  7929. ],
  7930. 'interconnectRemoteLocation' => [
  7931. 'location' => 'path',
  7932. 'type' => 'string',
  7933. 'required' => true,
  7934. ],
  7935. ],
  7936. ],'list' => [
  7937. 'path' => 'projects/{project}/global/interconnectRemoteLocations',
  7938. 'httpMethod' => 'GET',
  7939. 'parameters' => [
  7940. 'project' => [
  7941. 'location' => 'path',
  7942. 'type' => 'string',
  7943. 'required' => true,
  7944. ],
  7945. 'filter' => [
  7946. 'location' => 'query',
  7947. 'type' => 'string',
  7948. ],
  7949. 'maxResults' => [
  7950. 'location' => 'query',
  7951. 'type' => 'integer',
  7952. ],
  7953. 'orderBy' => [
  7954. 'location' => 'query',
  7955. 'type' => 'string',
  7956. ],
  7957. 'pageToken' => [
  7958. 'location' => 'query',
  7959. 'type' => 'string',
  7960. ],
  7961. 'returnPartialSuccess' => [
  7962. 'location' => 'query',
  7963. 'type' => 'boolean',
  7964. ],
  7965. ],
  7966. ],
  7967. ]
  7968. ]
  7969. );
  7970. $this->interconnects = new Compute\Resource\Interconnects(
  7971. $this,
  7972. $this->serviceName,
  7973. 'interconnects',
  7974. [
  7975. 'methods' => [
  7976. 'delete' => [
  7977. 'path' => 'projects/{project}/global/interconnects/{interconnect}',
  7978. 'httpMethod' => 'DELETE',
  7979. 'parameters' => [
  7980. 'project' => [
  7981. 'location' => 'path',
  7982. 'type' => 'string',
  7983. 'required' => true,
  7984. ],
  7985. 'interconnect' => [
  7986. 'location' => 'path',
  7987. 'type' => 'string',
  7988. 'required' => true,
  7989. ],
  7990. 'requestId' => [
  7991. 'location' => 'query',
  7992. 'type' => 'string',
  7993. ],
  7994. ],
  7995. ],'get' => [
  7996. 'path' => 'projects/{project}/global/interconnects/{interconnect}',
  7997. 'httpMethod' => 'GET',
  7998. 'parameters' => [
  7999. 'project' => [
  8000. 'location' => 'path',
  8001. 'type' => 'string',
  8002. 'required' => true,
  8003. ],
  8004. 'interconnect' => [
  8005. 'location' => 'path',
  8006. 'type' => 'string',
  8007. 'required' => true,
  8008. ],
  8009. ],
  8010. ],'getDiagnostics' => [
  8011. 'path' => 'projects/{project}/global/interconnects/{interconnect}/getDiagnostics',
  8012. 'httpMethod' => 'GET',
  8013. 'parameters' => [
  8014. 'project' => [
  8015. 'location' => 'path',
  8016. 'type' => 'string',
  8017. 'required' => true,
  8018. ],
  8019. 'interconnect' => [
  8020. 'location' => 'path',
  8021. 'type' => 'string',
  8022. 'required' => true,
  8023. ],
  8024. ],
  8025. ],'getMacsecConfig' => [
  8026. 'path' => 'projects/{project}/global/interconnects/{interconnect}/getMacsecConfig',
  8027. 'httpMethod' => 'GET',
  8028. 'parameters' => [
  8029. 'project' => [
  8030. 'location' => 'path',
  8031. 'type' => 'string',
  8032. 'required' => true,
  8033. ],
  8034. 'interconnect' => [
  8035. 'location' => 'path',
  8036. 'type' => 'string',
  8037. 'required' => true,
  8038. ],
  8039. ],
  8040. ],'insert' => [
  8041. 'path' => 'projects/{project}/global/interconnects',
  8042. 'httpMethod' => 'POST',
  8043. 'parameters' => [
  8044. 'project' => [
  8045. 'location' => 'path',
  8046. 'type' => 'string',
  8047. 'required' => true,
  8048. ],
  8049. 'requestId' => [
  8050. 'location' => 'query',
  8051. 'type' => 'string',
  8052. ],
  8053. ],
  8054. ],'list' => [
  8055. 'path' => 'projects/{project}/global/interconnects',
  8056. 'httpMethod' => 'GET',
  8057. 'parameters' => [
  8058. 'project' => [
  8059. 'location' => 'path',
  8060. 'type' => 'string',
  8061. 'required' => true,
  8062. ],
  8063. 'filter' => [
  8064. 'location' => 'query',
  8065. 'type' => 'string',
  8066. ],
  8067. 'maxResults' => [
  8068. 'location' => 'query',
  8069. 'type' => 'integer',
  8070. ],
  8071. 'orderBy' => [
  8072. 'location' => 'query',
  8073. 'type' => 'string',
  8074. ],
  8075. 'pageToken' => [
  8076. 'location' => 'query',
  8077. 'type' => 'string',
  8078. ],
  8079. 'returnPartialSuccess' => [
  8080. 'location' => 'query',
  8081. 'type' => 'boolean',
  8082. ],
  8083. ],
  8084. ],'patch' => [
  8085. 'path' => 'projects/{project}/global/interconnects/{interconnect}',
  8086. 'httpMethod' => 'PATCH',
  8087. 'parameters' => [
  8088. 'project' => [
  8089. 'location' => 'path',
  8090. 'type' => 'string',
  8091. 'required' => true,
  8092. ],
  8093. 'interconnect' => [
  8094. 'location' => 'path',
  8095. 'type' => 'string',
  8096. 'required' => true,
  8097. ],
  8098. 'requestId' => [
  8099. 'location' => 'query',
  8100. 'type' => 'string',
  8101. ],
  8102. ],
  8103. ],'setLabels' => [
  8104. 'path' => 'projects/{project}/global/interconnects/{resource}/setLabels',
  8105. 'httpMethod' => 'POST',
  8106. 'parameters' => [
  8107. 'project' => [
  8108. 'location' => 'path',
  8109. 'type' => 'string',
  8110. 'required' => true,
  8111. ],
  8112. 'resource' => [
  8113. 'location' => 'path',
  8114. 'type' => 'string',
  8115. 'required' => true,
  8116. ],
  8117. ],
  8118. ],
  8119. ]
  8120. ]
  8121. );
  8122. $this->licenseCodes = new Compute\Resource\LicenseCodes(
  8123. $this,
  8124. $this->serviceName,
  8125. 'licenseCodes',
  8126. [
  8127. 'methods' => [
  8128. 'get' => [
  8129. 'path' => 'projects/{project}/global/licenseCodes/{licenseCode}',
  8130. 'httpMethod' => 'GET',
  8131. 'parameters' => [
  8132. 'project' => [
  8133. 'location' => 'path',
  8134. 'type' => 'string',
  8135. 'required' => true,
  8136. ],
  8137. 'licenseCode' => [
  8138. 'location' => 'path',
  8139. 'type' => 'string',
  8140. 'required' => true,
  8141. ],
  8142. ],
  8143. ],'testIamPermissions' => [
  8144. 'path' => 'projects/{project}/global/licenseCodes/{resource}/testIamPermissions',
  8145. 'httpMethod' => 'POST',
  8146. 'parameters' => [
  8147. 'project' => [
  8148. 'location' => 'path',
  8149. 'type' => 'string',
  8150. 'required' => true,
  8151. ],
  8152. 'resource' => [
  8153. 'location' => 'path',
  8154. 'type' => 'string',
  8155. 'required' => true,
  8156. ],
  8157. ],
  8158. ],
  8159. ]
  8160. ]
  8161. );
  8162. $this->licenses = new Compute\Resource\Licenses(
  8163. $this,
  8164. $this->serviceName,
  8165. 'licenses',
  8166. [
  8167. 'methods' => [
  8168. 'delete' => [
  8169. 'path' => 'projects/{project}/global/licenses/{license}',
  8170. 'httpMethod' => 'DELETE',
  8171. 'parameters' => [
  8172. 'project' => [
  8173. 'location' => 'path',
  8174. 'type' => 'string',
  8175. 'required' => true,
  8176. ],
  8177. 'license' => [
  8178. 'location' => 'path',
  8179. 'type' => 'string',
  8180. 'required' => true,
  8181. ],
  8182. 'requestId' => [
  8183. 'location' => 'query',
  8184. 'type' => 'string',
  8185. ],
  8186. ],
  8187. ],'get' => [
  8188. 'path' => 'projects/{project}/global/licenses/{license}',
  8189. 'httpMethod' => 'GET',
  8190. 'parameters' => [
  8191. 'project' => [
  8192. 'location' => 'path',
  8193. 'type' => 'string',
  8194. 'required' => true,
  8195. ],
  8196. 'license' => [
  8197. 'location' => 'path',
  8198. 'type' => 'string',
  8199. 'required' => true,
  8200. ],
  8201. ],
  8202. ],'getIamPolicy' => [
  8203. 'path' => 'projects/{project}/global/licenses/{resource}/getIamPolicy',
  8204. 'httpMethod' => 'GET',
  8205. 'parameters' => [
  8206. 'project' => [
  8207. 'location' => 'path',
  8208. 'type' => 'string',
  8209. 'required' => true,
  8210. ],
  8211. 'resource' => [
  8212. 'location' => 'path',
  8213. 'type' => 'string',
  8214. 'required' => true,
  8215. ],
  8216. 'optionsRequestedPolicyVersion' => [
  8217. 'location' => 'query',
  8218. 'type' => 'integer',
  8219. ],
  8220. ],
  8221. ],'insert' => [
  8222. 'path' => 'projects/{project}/global/licenses',
  8223. 'httpMethod' => 'POST',
  8224. 'parameters' => [
  8225. 'project' => [
  8226. 'location' => 'path',
  8227. 'type' => 'string',
  8228. 'required' => true,
  8229. ],
  8230. 'requestId' => [
  8231. 'location' => 'query',
  8232. 'type' => 'string',
  8233. ],
  8234. ],
  8235. ],'list' => [
  8236. 'path' => 'projects/{project}/global/licenses',
  8237. 'httpMethod' => 'GET',
  8238. 'parameters' => [
  8239. 'project' => [
  8240. 'location' => 'path',
  8241. 'type' => 'string',
  8242. 'required' => true,
  8243. ],
  8244. 'filter' => [
  8245. 'location' => 'query',
  8246. 'type' => 'string',
  8247. ],
  8248. 'maxResults' => [
  8249. 'location' => 'query',
  8250. 'type' => 'integer',
  8251. ],
  8252. 'orderBy' => [
  8253. 'location' => 'query',
  8254. 'type' => 'string',
  8255. ],
  8256. 'pageToken' => [
  8257. 'location' => 'query',
  8258. 'type' => 'string',
  8259. ],
  8260. 'returnPartialSuccess' => [
  8261. 'location' => 'query',
  8262. 'type' => 'boolean',
  8263. ],
  8264. ],
  8265. ],'setIamPolicy' => [
  8266. 'path' => 'projects/{project}/global/licenses/{resource}/setIamPolicy',
  8267. 'httpMethod' => 'POST',
  8268. 'parameters' => [
  8269. 'project' => [
  8270. 'location' => 'path',
  8271. 'type' => 'string',
  8272. 'required' => true,
  8273. ],
  8274. 'resource' => [
  8275. 'location' => 'path',
  8276. 'type' => 'string',
  8277. 'required' => true,
  8278. ],
  8279. ],
  8280. ],'testIamPermissions' => [
  8281. 'path' => 'projects/{project}/global/licenses/{resource}/testIamPermissions',
  8282. 'httpMethod' => 'POST',
  8283. 'parameters' => [
  8284. 'project' => [
  8285. 'location' => 'path',
  8286. 'type' => 'string',
  8287. 'required' => true,
  8288. ],
  8289. 'resource' => [
  8290. 'location' => 'path',
  8291. 'type' => 'string',
  8292. 'required' => true,
  8293. ],
  8294. ],
  8295. ],'update' => [
  8296. 'path' => 'projects/{project}/global/licenses/{license}',
  8297. 'httpMethod' => 'PATCH',
  8298. 'parameters' => [
  8299. 'project' => [
  8300. 'location' => 'path',
  8301. 'type' => 'string',
  8302. 'required' => true,
  8303. ],
  8304. 'license' => [
  8305. 'location' => 'path',
  8306. 'type' => 'string',
  8307. 'required' => true,
  8308. ],
  8309. 'requestId' => [
  8310. 'location' => 'query',
  8311. 'type' => 'string',
  8312. ],
  8313. 'updateMask' => [
  8314. 'location' => 'query',
  8315. 'type' => 'string',
  8316. ],
  8317. ],
  8318. ],
  8319. ]
  8320. ]
  8321. );
  8322. $this->machineImages = new Compute\Resource\MachineImages(
  8323. $this,
  8324. $this->serviceName,
  8325. 'machineImages',
  8326. [
  8327. 'methods' => [
  8328. 'delete' => [
  8329. 'path' => 'projects/{project}/global/machineImages/{machineImage}',
  8330. 'httpMethod' => 'DELETE',
  8331. 'parameters' => [
  8332. 'project' => [
  8333. 'location' => 'path',
  8334. 'type' => 'string',
  8335. 'required' => true,
  8336. ],
  8337. 'machineImage' => [
  8338. 'location' => 'path',
  8339. 'type' => 'string',
  8340. 'required' => true,
  8341. ],
  8342. 'requestId' => [
  8343. 'location' => 'query',
  8344. 'type' => 'string',
  8345. ],
  8346. ],
  8347. ],'get' => [
  8348. 'path' => 'projects/{project}/global/machineImages/{machineImage}',
  8349. 'httpMethod' => 'GET',
  8350. 'parameters' => [
  8351. 'project' => [
  8352. 'location' => 'path',
  8353. 'type' => 'string',
  8354. 'required' => true,
  8355. ],
  8356. 'machineImage' => [
  8357. 'location' => 'path',
  8358. 'type' => 'string',
  8359. 'required' => true,
  8360. ],
  8361. ],
  8362. ],'getIamPolicy' => [
  8363. 'path' => 'projects/{project}/global/machineImages/{resource}/getIamPolicy',
  8364. 'httpMethod' => 'GET',
  8365. 'parameters' => [
  8366. 'project' => [
  8367. 'location' => 'path',
  8368. 'type' => 'string',
  8369. 'required' => true,
  8370. ],
  8371. 'resource' => [
  8372. 'location' => 'path',
  8373. 'type' => 'string',
  8374. 'required' => true,
  8375. ],
  8376. 'optionsRequestedPolicyVersion' => [
  8377. 'location' => 'query',
  8378. 'type' => 'integer',
  8379. ],
  8380. ],
  8381. ],'insert' => [
  8382. 'path' => 'projects/{project}/global/machineImages',
  8383. 'httpMethod' => 'POST',
  8384. 'parameters' => [
  8385. 'project' => [
  8386. 'location' => 'path',
  8387. 'type' => 'string',
  8388. 'required' => true,
  8389. ],
  8390. 'requestId' => [
  8391. 'location' => 'query',
  8392. 'type' => 'string',
  8393. ],
  8394. 'sourceInstance' => [
  8395. 'location' => 'query',
  8396. 'type' => 'string',
  8397. ],
  8398. ],
  8399. ],'list' => [
  8400. 'path' => 'projects/{project}/global/machineImages',
  8401. 'httpMethod' => 'GET',
  8402. 'parameters' => [
  8403. 'project' => [
  8404. 'location' => 'path',
  8405. 'type' => 'string',
  8406. 'required' => true,
  8407. ],
  8408. 'filter' => [
  8409. 'location' => 'query',
  8410. 'type' => 'string',
  8411. ],
  8412. 'maxResults' => [
  8413. 'location' => 'query',
  8414. 'type' => 'integer',
  8415. ],
  8416. 'orderBy' => [
  8417. 'location' => 'query',
  8418. 'type' => 'string',
  8419. ],
  8420. 'pageToken' => [
  8421. 'location' => 'query',
  8422. 'type' => 'string',
  8423. ],
  8424. 'returnPartialSuccess' => [
  8425. 'location' => 'query',
  8426. 'type' => 'boolean',
  8427. ],
  8428. ],
  8429. ],'setIamPolicy' => [
  8430. 'path' => 'projects/{project}/global/machineImages/{resource}/setIamPolicy',
  8431. 'httpMethod' => 'POST',
  8432. 'parameters' => [
  8433. 'project' => [
  8434. 'location' => 'path',
  8435. 'type' => 'string',
  8436. 'required' => true,
  8437. ],
  8438. 'resource' => [
  8439. 'location' => 'path',
  8440. 'type' => 'string',
  8441. 'required' => true,
  8442. ],
  8443. ],
  8444. ],'setLabels' => [
  8445. 'path' => 'projects/{project}/global/machineImages/{resource}/setLabels',
  8446. 'httpMethod' => 'POST',
  8447. 'parameters' => [
  8448. 'project' => [
  8449. 'location' => 'path',
  8450. 'type' => 'string',
  8451. 'required' => true,
  8452. ],
  8453. 'resource' => [
  8454. 'location' => 'path',
  8455. 'type' => 'string',
  8456. 'required' => true,
  8457. ],
  8458. ],
  8459. ],'testIamPermissions' => [
  8460. 'path' => 'projects/{project}/global/machineImages/{resource}/testIamPermissions',
  8461. 'httpMethod' => 'POST',
  8462. 'parameters' => [
  8463. 'project' => [
  8464. 'location' => 'path',
  8465. 'type' => 'string',
  8466. 'required' => true,
  8467. ],
  8468. 'resource' => [
  8469. 'location' => 'path',
  8470. 'type' => 'string',
  8471. 'required' => true,
  8472. ],
  8473. ],
  8474. ],
  8475. ]
  8476. ]
  8477. );
  8478. $this->machineTypes = new Compute\Resource\MachineTypes(
  8479. $this,
  8480. $this->serviceName,
  8481. 'machineTypes',
  8482. [
  8483. 'methods' => [
  8484. 'aggregatedList' => [
  8485. 'path' => 'projects/{project}/aggregated/machineTypes',
  8486. 'httpMethod' => 'GET',
  8487. 'parameters' => [
  8488. 'project' => [
  8489. 'location' => 'path',
  8490. 'type' => 'string',
  8491. 'required' => true,
  8492. ],
  8493. 'filter' => [
  8494. 'location' => 'query',
  8495. 'type' => 'string',
  8496. ],
  8497. 'includeAllScopes' => [
  8498. 'location' => 'query',
  8499. 'type' => 'boolean',
  8500. ],
  8501. 'maxResults' => [
  8502. 'location' => 'query',
  8503. 'type' => 'integer',
  8504. ],
  8505. 'orderBy' => [
  8506. 'location' => 'query',
  8507. 'type' => 'string',
  8508. ],
  8509. 'pageToken' => [
  8510. 'location' => 'query',
  8511. 'type' => 'string',
  8512. ],
  8513. 'returnPartialSuccess' => [
  8514. 'location' => 'query',
  8515. 'type' => 'boolean',
  8516. ],
  8517. 'serviceProjectNumber' => [
  8518. 'location' => 'query',
  8519. 'type' => 'string',
  8520. ],
  8521. ],
  8522. ],'get' => [
  8523. 'path' => 'projects/{project}/zones/{zone}/machineTypes/{machineType}',
  8524. 'httpMethod' => 'GET',
  8525. 'parameters' => [
  8526. 'project' => [
  8527. 'location' => 'path',
  8528. 'type' => 'string',
  8529. 'required' => true,
  8530. ],
  8531. 'zone' => [
  8532. 'location' => 'path',
  8533. 'type' => 'string',
  8534. 'required' => true,
  8535. ],
  8536. 'machineType' => [
  8537. 'location' => 'path',
  8538. 'type' => 'string',
  8539. 'required' => true,
  8540. ],
  8541. ],
  8542. ],'list' => [
  8543. 'path' => 'projects/{project}/zones/{zone}/machineTypes',
  8544. 'httpMethod' => 'GET',
  8545. 'parameters' => [
  8546. 'project' => [
  8547. 'location' => 'path',
  8548. 'type' => 'string',
  8549. 'required' => true,
  8550. ],
  8551. 'zone' => [
  8552. 'location' => 'path',
  8553. 'type' => 'string',
  8554. 'required' => true,
  8555. ],
  8556. 'filter' => [
  8557. 'location' => 'query',
  8558. 'type' => 'string',
  8559. ],
  8560. 'maxResults' => [
  8561. 'location' => 'query',
  8562. 'type' => 'integer',
  8563. ],
  8564. 'orderBy' => [
  8565. 'location' => 'query',
  8566. 'type' => 'string',
  8567. ],
  8568. 'pageToken' => [
  8569. 'location' => 'query',
  8570. 'type' => 'string',
  8571. ],
  8572. 'returnPartialSuccess' => [
  8573. 'location' => 'query',
  8574. 'type' => 'boolean',
  8575. ],
  8576. ],
  8577. ],
  8578. ]
  8579. ]
  8580. );
  8581. $this->networkAttachments = new Compute\Resource\NetworkAttachments(
  8582. $this,
  8583. $this->serviceName,
  8584. 'networkAttachments',
  8585. [
  8586. 'methods' => [
  8587. 'aggregatedList' => [
  8588. 'path' => 'projects/{project}/aggregated/networkAttachments',
  8589. 'httpMethod' => 'GET',
  8590. 'parameters' => [
  8591. 'project' => [
  8592. 'location' => 'path',
  8593. 'type' => 'string',
  8594. 'required' => true,
  8595. ],
  8596. 'filter' => [
  8597. 'location' => 'query',
  8598. 'type' => 'string',
  8599. ],
  8600. 'includeAllScopes' => [
  8601. 'location' => 'query',
  8602. 'type' => 'boolean',
  8603. ],
  8604. 'maxResults' => [
  8605. 'location' => 'query',
  8606. 'type' => 'integer',
  8607. ],
  8608. 'orderBy' => [
  8609. 'location' => 'query',
  8610. 'type' => 'string',
  8611. ],
  8612. 'pageToken' => [
  8613. 'location' => 'query',
  8614. 'type' => 'string',
  8615. ],
  8616. 'returnPartialSuccess' => [
  8617. 'location' => 'query',
  8618. 'type' => 'boolean',
  8619. ],
  8620. 'serviceProjectNumber' => [
  8621. 'location' => 'query',
  8622. 'type' => 'string',
  8623. ],
  8624. ],
  8625. ],'delete' => [
  8626. 'path' => 'projects/{project}/regions/{region}/networkAttachments/{networkAttachment}',
  8627. 'httpMethod' => 'DELETE',
  8628. 'parameters' => [
  8629. 'project' => [
  8630. 'location' => 'path',
  8631. 'type' => 'string',
  8632. 'required' => true,
  8633. ],
  8634. 'region' => [
  8635. 'location' => 'path',
  8636. 'type' => 'string',
  8637. 'required' => true,
  8638. ],
  8639. 'networkAttachment' => [
  8640. 'location' => 'path',
  8641. 'type' => 'string',
  8642. 'required' => true,
  8643. ],
  8644. 'requestId' => [
  8645. 'location' => 'query',
  8646. 'type' => 'string',
  8647. ],
  8648. ],
  8649. ],'get' => [
  8650. 'path' => 'projects/{project}/regions/{region}/networkAttachments/{networkAttachment}',
  8651. 'httpMethod' => 'GET',
  8652. 'parameters' => [
  8653. 'project' => [
  8654. 'location' => 'path',
  8655. 'type' => 'string',
  8656. 'required' => true,
  8657. ],
  8658. 'region' => [
  8659. 'location' => 'path',
  8660. 'type' => 'string',
  8661. 'required' => true,
  8662. ],
  8663. 'networkAttachment' => [
  8664. 'location' => 'path',
  8665. 'type' => 'string',
  8666. 'required' => true,
  8667. ],
  8668. ],
  8669. ],'getIamPolicy' => [
  8670. 'path' => 'projects/{project}/regions/{region}/networkAttachments/{resource}/getIamPolicy',
  8671. 'httpMethod' => 'GET',
  8672. 'parameters' => [
  8673. 'project' => [
  8674. 'location' => 'path',
  8675. 'type' => 'string',
  8676. 'required' => true,
  8677. ],
  8678. 'region' => [
  8679. 'location' => 'path',
  8680. 'type' => 'string',
  8681. 'required' => true,
  8682. ],
  8683. 'resource' => [
  8684. 'location' => 'path',
  8685. 'type' => 'string',
  8686. 'required' => true,
  8687. ],
  8688. 'optionsRequestedPolicyVersion' => [
  8689. 'location' => 'query',
  8690. 'type' => 'integer',
  8691. ],
  8692. ],
  8693. ],'insert' => [
  8694. 'path' => 'projects/{project}/regions/{region}/networkAttachments',
  8695. 'httpMethod' => 'POST',
  8696. 'parameters' => [
  8697. 'project' => [
  8698. 'location' => 'path',
  8699. 'type' => 'string',
  8700. 'required' => true,
  8701. ],
  8702. 'region' => [
  8703. 'location' => 'path',
  8704. 'type' => 'string',
  8705. 'required' => true,
  8706. ],
  8707. 'requestId' => [
  8708. 'location' => 'query',
  8709. 'type' => 'string',
  8710. ],
  8711. ],
  8712. ],'list' => [
  8713. 'path' => 'projects/{project}/regions/{region}/networkAttachments',
  8714. 'httpMethod' => 'GET',
  8715. 'parameters' => [
  8716. 'project' => [
  8717. 'location' => 'path',
  8718. 'type' => 'string',
  8719. 'required' => true,
  8720. ],
  8721. 'region' => [
  8722. 'location' => 'path',
  8723. 'type' => 'string',
  8724. 'required' => true,
  8725. ],
  8726. 'filter' => [
  8727. 'location' => 'query',
  8728. 'type' => 'string',
  8729. ],
  8730. 'maxResults' => [
  8731. 'location' => 'query',
  8732. 'type' => 'integer',
  8733. ],
  8734. 'orderBy' => [
  8735. 'location' => 'query',
  8736. 'type' => 'string',
  8737. ],
  8738. 'pageToken' => [
  8739. 'location' => 'query',
  8740. 'type' => 'string',
  8741. ],
  8742. 'returnPartialSuccess' => [
  8743. 'location' => 'query',
  8744. 'type' => 'boolean',
  8745. ],
  8746. ],
  8747. ],'patch' => [
  8748. 'path' => 'projects/{project}/regions/{region}/networkAttachments/{networkAttachment}',
  8749. 'httpMethod' => 'PATCH',
  8750. 'parameters' => [
  8751. 'project' => [
  8752. 'location' => 'path',
  8753. 'type' => 'string',
  8754. 'required' => true,
  8755. ],
  8756. 'region' => [
  8757. 'location' => 'path',
  8758. 'type' => 'string',
  8759. 'required' => true,
  8760. ],
  8761. 'networkAttachment' => [
  8762. 'location' => 'path',
  8763. 'type' => 'string',
  8764. 'required' => true,
  8765. ],
  8766. 'requestId' => [
  8767. 'location' => 'query',
  8768. 'type' => 'string',
  8769. ],
  8770. ],
  8771. ],'setIamPolicy' => [
  8772. 'path' => 'projects/{project}/regions/{region}/networkAttachments/{resource}/setIamPolicy',
  8773. 'httpMethod' => 'POST',
  8774. 'parameters' => [
  8775. 'project' => [
  8776. 'location' => 'path',
  8777. 'type' => 'string',
  8778. 'required' => true,
  8779. ],
  8780. 'region' => [
  8781. 'location' => 'path',
  8782. 'type' => 'string',
  8783. 'required' => true,
  8784. ],
  8785. 'resource' => [
  8786. 'location' => 'path',
  8787. 'type' => 'string',
  8788. 'required' => true,
  8789. ],
  8790. ],
  8791. ],'testIamPermissions' => [
  8792. 'path' => 'projects/{project}/regions/{region}/networkAttachments/{resource}/testIamPermissions',
  8793. 'httpMethod' => 'POST',
  8794. 'parameters' => [
  8795. 'project' => [
  8796. 'location' => 'path',
  8797. 'type' => 'string',
  8798. 'required' => true,
  8799. ],
  8800. 'region' => [
  8801. 'location' => 'path',
  8802. 'type' => 'string',
  8803. 'required' => true,
  8804. ],
  8805. 'resource' => [
  8806. 'location' => 'path',
  8807. 'type' => 'string',
  8808. 'required' => true,
  8809. ],
  8810. ],
  8811. ],
  8812. ]
  8813. ]
  8814. );
  8815. $this->networkEdgeSecurityServices = new Compute\Resource\NetworkEdgeSecurityServices(
  8816. $this,
  8817. $this->serviceName,
  8818. 'networkEdgeSecurityServices',
  8819. [
  8820. 'methods' => [
  8821. 'aggregatedList' => [
  8822. 'path' => 'projects/{project}/aggregated/networkEdgeSecurityServices',
  8823. 'httpMethod' => 'GET',
  8824. 'parameters' => [
  8825. 'project' => [
  8826. 'location' => 'path',
  8827. 'type' => 'string',
  8828. 'required' => true,
  8829. ],
  8830. 'filter' => [
  8831. 'location' => 'query',
  8832. 'type' => 'string',
  8833. ],
  8834. 'includeAllScopes' => [
  8835. 'location' => 'query',
  8836. 'type' => 'boolean',
  8837. ],
  8838. 'maxResults' => [
  8839. 'location' => 'query',
  8840. 'type' => 'integer',
  8841. ],
  8842. 'orderBy' => [
  8843. 'location' => 'query',
  8844. 'type' => 'string',
  8845. ],
  8846. 'pageToken' => [
  8847. 'location' => 'query',
  8848. 'type' => 'string',
  8849. ],
  8850. 'returnPartialSuccess' => [
  8851. 'location' => 'query',
  8852. 'type' => 'boolean',
  8853. ],
  8854. 'serviceProjectNumber' => [
  8855. 'location' => 'query',
  8856. 'type' => 'string',
  8857. ],
  8858. ],
  8859. ],'delete' => [
  8860. 'path' => 'projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}',
  8861. 'httpMethod' => 'DELETE',
  8862. 'parameters' => [
  8863. 'project' => [
  8864. 'location' => 'path',
  8865. 'type' => 'string',
  8866. 'required' => true,
  8867. ],
  8868. 'region' => [
  8869. 'location' => 'path',
  8870. 'type' => 'string',
  8871. 'required' => true,
  8872. ],
  8873. 'networkEdgeSecurityService' => [
  8874. 'location' => 'path',
  8875. 'type' => 'string',
  8876. 'required' => true,
  8877. ],
  8878. 'requestId' => [
  8879. 'location' => 'query',
  8880. 'type' => 'string',
  8881. ],
  8882. ],
  8883. ],'get' => [
  8884. 'path' => 'projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}',
  8885. 'httpMethod' => 'GET',
  8886. 'parameters' => [
  8887. 'project' => [
  8888. 'location' => 'path',
  8889. 'type' => 'string',
  8890. 'required' => true,
  8891. ],
  8892. 'region' => [
  8893. 'location' => 'path',
  8894. 'type' => 'string',
  8895. 'required' => true,
  8896. ],
  8897. 'networkEdgeSecurityService' => [
  8898. 'location' => 'path',
  8899. 'type' => 'string',
  8900. 'required' => true,
  8901. ],
  8902. ],
  8903. ],'insert' => [
  8904. 'path' => 'projects/{project}/regions/{region}/networkEdgeSecurityServices',
  8905. 'httpMethod' => 'POST',
  8906. 'parameters' => [
  8907. 'project' => [
  8908. 'location' => 'path',
  8909. 'type' => 'string',
  8910. 'required' => true,
  8911. ],
  8912. 'region' => [
  8913. 'location' => 'path',
  8914. 'type' => 'string',
  8915. 'required' => true,
  8916. ],
  8917. 'requestId' => [
  8918. 'location' => 'query',
  8919. 'type' => 'string',
  8920. ],
  8921. 'validateOnly' => [
  8922. 'location' => 'query',
  8923. 'type' => 'boolean',
  8924. ],
  8925. ],
  8926. ],'patch' => [
  8927. 'path' => 'projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}',
  8928. 'httpMethod' => 'PATCH',
  8929. 'parameters' => [
  8930. 'project' => [
  8931. 'location' => 'path',
  8932. 'type' => 'string',
  8933. 'required' => true,
  8934. ],
  8935. 'region' => [
  8936. 'location' => 'path',
  8937. 'type' => 'string',
  8938. 'required' => true,
  8939. ],
  8940. 'networkEdgeSecurityService' => [
  8941. 'location' => 'path',
  8942. 'type' => 'string',
  8943. 'required' => true,
  8944. ],
  8945. 'paths' => [
  8946. 'location' => 'query',
  8947. 'type' => 'string',
  8948. 'repeated' => true,
  8949. ],
  8950. 'requestId' => [
  8951. 'location' => 'query',
  8952. 'type' => 'string',
  8953. ],
  8954. 'updateMask' => [
  8955. 'location' => 'query',
  8956. 'type' => 'string',
  8957. ],
  8958. ],
  8959. ],
  8960. ]
  8961. ]
  8962. );
  8963. $this->networkEndpointGroups = new Compute\Resource\NetworkEndpointGroups(
  8964. $this,
  8965. $this->serviceName,
  8966. 'networkEndpointGroups',
  8967. [
  8968. 'methods' => [
  8969. 'aggregatedList' => [
  8970. 'path' => 'projects/{project}/aggregated/networkEndpointGroups',
  8971. 'httpMethod' => 'GET',
  8972. 'parameters' => [
  8973. 'project' => [
  8974. 'location' => 'path',
  8975. 'type' => 'string',
  8976. 'required' => true,
  8977. ],
  8978. 'filter' => [
  8979. 'location' => 'query',
  8980. 'type' => 'string',
  8981. ],
  8982. 'includeAllScopes' => [
  8983. 'location' => 'query',
  8984. 'type' => 'boolean',
  8985. ],
  8986. 'maxResults' => [
  8987. 'location' => 'query',
  8988. 'type' => 'integer',
  8989. ],
  8990. 'orderBy' => [
  8991. 'location' => 'query',
  8992. 'type' => 'string',
  8993. ],
  8994. 'pageToken' => [
  8995. 'location' => 'query',
  8996. 'type' => 'string',
  8997. ],
  8998. 'returnPartialSuccess' => [
  8999. 'location' => 'query',
  9000. 'type' => 'boolean',
  9001. ],
  9002. 'serviceProjectNumber' => [
  9003. 'location' => 'query',
  9004. 'type' => 'string',
  9005. ],
  9006. ],
  9007. ],'attachNetworkEndpoints' => [
  9008. 'path' => 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints',
  9009. 'httpMethod' => 'POST',
  9010. 'parameters' => [
  9011. 'project' => [
  9012. 'location' => 'path',
  9013. 'type' => 'string',
  9014. 'required' => true,
  9015. ],
  9016. 'zone' => [
  9017. 'location' => 'path',
  9018. 'type' => 'string',
  9019. 'required' => true,
  9020. ],
  9021. 'networkEndpointGroup' => [
  9022. 'location' => 'path',
  9023. 'type' => 'string',
  9024. 'required' => true,
  9025. ],
  9026. 'requestId' => [
  9027. 'location' => 'query',
  9028. 'type' => 'string',
  9029. ],
  9030. ],
  9031. ],'delete' => [
  9032. 'path' => 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}',
  9033. 'httpMethod' => 'DELETE',
  9034. 'parameters' => [
  9035. 'project' => [
  9036. 'location' => 'path',
  9037. 'type' => 'string',
  9038. 'required' => true,
  9039. ],
  9040. 'zone' => [
  9041. 'location' => 'path',
  9042. 'type' => 'string',
  9043. 'required' => true,
  9044. ],
  9045. 'networkEndpointGroup' => [
  9046. 'location' => 'path',
  9047. 'type' => 'string',
  9048. 'required' => true,
  9049. ],
  9050. 'requestId' => [
  9051. 'location' => 'query',
  9052. 'type' => 'string',
  9053. ],
  9054. ],
  9055. ],'detachNetworkEndpoints' => [
  9056. 'path' => 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints',
  9057. 'httpMethod' => 'POST',
  9058. 'parameters' => [
  9059. 'project' => [
  9060. 'location' => 'path',
  9061. 'type' => 'string',
  9062. 'required' => true,
  9063. ],
  9064. 'zone' => [
  9065. 'location' => 'path',
  9066. 'type' => 'string',
  9067. 'required' => true,
  9068. ],
  9069. 'networkEndpointGroup' => [
  9070. 'location' => 'path',
  9071. 'type' => 'string',
  9072. 'required' => true,
  9073. ],
  9074. 'requestId' => [
  9075. 'location' => 'query',
  9076. 'type' => 'string',
  9077. ],
  9078. ],
  9079. ],'get' => [
  9080. 'path' => 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}',
  9081. 'httpMethod' => 'GET',
  9082. 'parameters' => [
  9083. 'project' => [
  9084. 'location' => 'path',
  9085. 'type' => 'string',
  9086. 'required' => true,
  9087. ],
  9088. 'zone' => [
  9089. 'location' => 'path',
  9090. 'type' => 'string',
  9091. 'required' => true,
  9092. ],
  9093. 'networkEndpointGroup' => [
  9094. 'location' => 'path',
  9095. 'type' => 'string',
  9096. 'required' => true,
  9097. ],
  9098. ],
  9099. ],'insert' => [
  9100. 'path' => 'projects/{project}/zones/{zone}/networkEndpointGroups',
  9101. 'httpMethod' => 'POST',
  9102. 'parameters' => [
  9103. 'project' => [
  9104. 'location' => 'path',
  9105. 'type' => 'string',
  9106. 'required' => true,
  9107. ],
  9108. 'zone' => [
  9109. 'location' => 'path',
  9110. 'type' => 'string',
  9111. 'required' => true,
  9112. ],
  9113. 'requestId' => [
  9114. 'location' => 'query',
  9115. 'type' => 'string',
  9116. ],
  9117. ],
  9118. ],'list' => [
  9119. 'path' => 'projects/{project}/zones/{zone}/networkEndpointGroups',
  9120. 'httpMethod' => 'GET',
  9121. 'parameters' => [
  9122. 'project' => [
  9123. 'location' => 'path',
  9124. 'type' => 'string',
  9125. 'required' => true,
  9126. ],
  9127. 'zone' => [
  9128. 'location' => 'path',
  9129. 'type' => 'string',
  9130. 'required' => true,
  9131. ],
  9132. 'filter' => [
  9133. 'location' => 'query',
  9134. 'type' => 'string',
  9135. ],
  9136. 'maxResults' => [
  9137. 'location' => 'query',
  9138. 'type' => 'integer',
  9139. ],
  9140. 'orderBy' => [
  9141. 'location' => 'query',
  9142. 'type' => 'string',
  9143. ],
  9144. 'pageToken' => [
  9145. 'location' => 'query',
  9146. 'type' => 'string',
  9147. ],
  9148. 'returnPartialSuccess' => [
  9149. 'location' => 'query',
  9150. 'type' => 'boolean',
  9151. ],
  9152. ],
  9153. ],'listNetworkEndpoints' => [
  9154. 'path' => 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints',
  9155. 'httpMethod' => 'POST',
  9156. 'parameters' => [
  9157. 'project' => [
  9158. 'location' => 'path',
  9159. 'type' => 'string',
  9160. 'required' => true,
  9161. ],
  9162. 'zone' => [
  9163. 'location' => 'path',
  9164. 'type' => 'string',
  9165. 'required' => true,
  9166. ],
  9167. 'networkEndpointGroup' => [
  9168. 'location' => 'path',
  9169. 'type' => 'string',
  9170. 'required' => true,
  9171. ],
  9172. 'filter' => [
  9173. 'location' => 'query',
  9174. 'type' => 'string',
  9175. ],
  9176. 'maxResults' => [
  9177. 'location' => 'query',
  9178. 'type' => 'integer',
  9179. ],
  9180. 'orderBy' => [
  9181. 'location' => 'query',
  9182. 'type' => 'string',
  9183. ],
  9184. 'pageToken' => [
  9185. 'location' => 'query',
  9186. 'type' => 'string',
  9187. ],
  9188. 'returnPartialSuccess' => [
  9189. 'location' => 'query',
  9190. 'type' => 'boolean',
  9191. ],
  9192. ],
  9193. ],'testIamPermissions' => [
  9194. 'path' => 'projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions',
  9195. 'httpMethod' => 'POST',
  9196. 'parameters' => [
  9197. 'project' => [
  9198. 'location' => 'path',
  9199. 'type' => 'string',
  9200. 'required' => true,
  9201. ],
  9202. 'zone' => [
  9203. 'location' => 'path',
  9204. 'type' => 'string',
  9205. 'required' => true,
  9206. ],
  9207. 'resource' => [
  9208. 'location' => 'path',
  9209. 'type' => 'string',
  9210. 'required' => true,
  9211. ],
  9212. ],
  9213. ],
  9214. ]
  9215. ]
  9216. );
  9217. $this->networkFirewallPolicies = new Compute\Resource\NetworkFirewallPolicies(
  9218. $this,
  9219. $this->serviceName,
  9220. 'networkFirewallPolicies',
  9221. [
  9222. 'methods' => [
  9223. 'addAssociation' => [
  9224. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addAssociation',
  9225. 'httpMethod' => 'POST',
  9226. 'parameters' => [
  9227. 'project' => [
  9228. 'location' => 'path',
  9229. 'type' => 'string',
  9230. 'required' => true,
  9231. ],
  9232. 'firewallPolicy' => [
  9233. 'location' => 'path',
  9234. 'type' => 'string',
  9235. 'required' => true,
  9236. ],
  9237. 'replaceExistingAssociation' => [
  9238. 'location' => 'query',
  9239. 'type' => 'boolean',
  9240. ],
  9241. 'requestId' => [
  9242. 'location' => 'query',
  9243. 'type' => 'string',
  9244. ],
  9245. ],
  9246. ],'addPacketMirroringRule' => [
  9247. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addPacketMirroringRule',
  9248. 'httpMethod' => 'POST',
  9249. 'parameters' => [
  9250. 'project' => [
  9251. 'location' => 'path',
  9252. 'type' => 'string',
  9253. 'required' => true,
  9254. ],
  9255. 'firewallPolicy' => [
  9256. 'location' => 'path',
  9257. 'type' => 'string',
  9258. 'required' => true,
  9259. ],
  9260. 'maxPriority' => [
  9261. 'location' => 'query',
  9262. 'type' => 'integer',
  9263. ],
  9264. 'minPriority' => [
  9265. 'location' => 'query',
  9266. 'type' => 'integer',
  9267. ],
  9268. 'requestId' => [
  9269. 'location' => 'query',
  9270. 'type' => 'string',
  9271. ],
  9272. ],
  9273. ],'addRule' => [
  9274. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule',
  9275. 'httpMethod' => 'POST',
  9276. 'parameters' => [
  9277. 'project' => [
  9278. 'location' => 'path',
  9279. 'type' => 'string',
  9280. 'required' => true,
  9281. ],
  9282. 'firewallPolicy' => [
  9283. 'location' => 'path',
  9284. 'type' => 'string',
  9285. 'required' => true,
  9286. ],
  9287. 'maxPriority' => [
  9288. 'location' => 'query',
  9289. 'type' => 'integer',
  9290. ],
  9291. 'minPriority' => [
  9292. 'location' => 'query',
  9293. 'type' => 'integer',
  9294. ],
  9295. 'requestId' => [
  9296. 'location' => 'query',
  9297. 'type' => 'string',
  9298. ],
  9299. ],
  9300. ],'aggregatedList' => [
  9301. 'path' => 'projects/{project}/aggregated/firewallPolicies',
  9302. 'httpMethod' => 'GET',
  9303. 'parameters' => [
  9304. 'project' => [
  9305. 'location' => 'path',
  9306. 'type' => 'string',
  9307. 'required' => true,
  9308. ],
  9309. 'filter' => [
  9310. 'location' => 'query',
  9311. 'type' => 'string',
  9312. ],
  9313. 'includeAllScopes' => [
  9314. 'location' => 'query',
  9315. 'type' => 'boolean',
  9316. ],
  9317. 'maxResults' => [
  9318. 'location' => 'query',
  9319. 'type' => 'integer',
  9320. ],
  9321. 'orderBy' => [
  9322. 'location' => 'query',
  9323. 'type' => 'string',
  9324. ],
  9325. 'pageToken' => [
  9326. 'location' => 'query',
  9327. 'type' => 'string',
  9328. ],
  9329. 'returnPartialSuccess' => [
  9330. 'location' => 'query',
  9331. 'type' => 'boolean',
  9332. ],
  9333. 'serviceProjectNumber' => [
  9334. 'location' => 'query',
  9335. 'type' => 'string',
  9336. ],
  9337. ],
  9338. ],'cloneRules' => [
  9339. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules',
  9340. 'httpMethod' => 'POST',
  9341. 'parameters' => [
  9342. 'project' => [
  9343. 'location' => 'path',
  9344. 'type' => 'string',
  9345. 'required' => true,
  9346. ],
  9347. 'firewallPolicy' => [
  9348. 'location' => 'path',
  9349. 'type' => 'string',
  9350. 'required' => true,
  9351. ],
  9352. 'requestId' => [
  9353. 'location' => 'query',
  9354. 'type' => 'string',
  9355. ],
  9356. 'sourceFirewallPolicy' => [
  9357. 'location' => 'query',
  9358. 'type' => 'string',
  9359. ],
  9360. ],
  9361. ],'delete' => [
  9362. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}',
  9363. 'httpMethod' => 'DELETE',
  9364. 'parameters' => [
  9365. 'project' => [
  9366. 'location' => 'path',
  9367. 'type' => 'string',
  9368. 'required' => true,
  9369. ],
  9370. 'firewallPolicy' => [
  9371. 'location' => 'path',
  9372. 'type' => 'string',
  9373. 'required' => true,
  9374. ],
  9375. 'requestId' => [
  9376. 'location' => 'query',
  9377. 'type' => 'string',
  9378. ],
  9379. ],
  9380. ],'get' => [
  9381. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}',
  9382. 'httpMethod' => 'GET',
  9383. 'parameters' => [
  9384. 'project' => [
  9385. 'location' => 'path',
  9386. 'type' => 'string',
  9387. 'required' => true,
  9388. ],
  9389. 'firewallPolicy' => [
  9390. 'location' => 'path',
  9391. 'type' => 'string',
  9392. 'required' => true,
  9393. ],
  9394. ],
  9395. ],'getAssociation' => [
  9396. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/getAssociation',
  9397. 'httpMethod' => 'GET',
  9398. 'parameters' => [
  9399. 'project' => [
  9400. 'location' => 'path',
  9401. 'type' => 'string',
  9402. 'required' => true,
  9403. ],
  9404. 'firewallPolicy' => [
  9405. 'location' => 'path',
  9406. 'type' => 'string',
  9407. 'required' => true,
  9408. ],
  9409. 'name' => [
  9410. 'location' => 'query',
  9411. 'type' => 'string',
  9412. ],
  9413. ],
  9414. ],'getIamPolicy' => [
  9415. 'path' => 'projects/{project}/global/firewallPolicies/{resource}/getIamPolicy',
  9416. 'httpMethod' => 'GET',
  9417. 'parameters' => [
  9418. 'project' => [
  9419. 'location' => 'path',
  9420. 'type' => 'string',
  9421. 'required' => true,
  9422. ],
  9423. 'resource' => [
  9424. 'location' => 'path',
  9425. 'type' => 'string',
  9426. 'required' => true,
  9427. ],
  9428. 'optionsRequestedPolicyVersion' => [
  9429. 'location' => 'query',
  9430. 'type' => 'integer',
  9431. ],
  9432. ],
  9433. ],'getPacketMirroringRule' => [
  9434. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/getPacketMirroringRule',
  9435. 'httpMethod' => 'GET',
  9436. 'parameters' => [
  9437. 'project' => [
  9438. 'location' => 'path',
  9439. 'type' => 'string',
  9440. 'required' => true,
  9441. ],
  9442. 'firewallPolicy' => [
  9443. 'location' => 'path',
  9444. 'type' => 'string',
  9445. 'required' => true,
  9446. ],
  9447. 'priority' => [
  9448. 'location' => 'query',
  9449. 'type' => 'integer',
  9450. ],
  9451. ],
  9452. ],'getRule' => [
  9453. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule',
  9454. 'httpMethod' => 'GET',
  9455. 'parameters' => [
  9456. 'project' => [
  9457. 'location' => 'path',
  9458. 'type' => 'string',
  9459. 'required' => true,
  9460. ],
  9461. 'firewallPolicy' => [
  9462. 'location' => 'path',
  9463. 'type' => 'string',
  9464. 'required' => true,
  9465. ],
  9466. 'priority' => [
  9467. 'location' => 'query',
  9468. 'type' => 'integer',
  9469. ],
  9470. ],
  9471. ],'insert' => [
  9472. 'path' => 'projects/{project}/global/firewallPolicies',
  9473. 'httpMethod' => 'POST',
  9474. 'parameters' => [
  9475. 'project' => [
  9476. 'location' => 'path',
  9477. 'type' => 'string',
  9478. 'required' => true,
  9479. ],
  9480. 'requestId' => [
  9481. 'location' => 'query',
  9482. 'type' => 'string',
  9483. ],
  9484. ],
  9485. ],'list' => [
  9486. 'path' => 'projects/{project}/global/firewallPolicies',
  9487. 'httpMethod' => 'GET',
  9488. 'parameters' => [
  9489. 'project' => [
  9490. 'location' => 'path',
  9491. 'type' => 'string',
  9492. 'required' => true,
  9493. ],
  9494. 'filter' => [
  9495. 'location' => 'query',
  9496. 'type' => 'string',
  9497. ],
  9498. 'maxResults' => [
  9499. 'location' => 'query',
  9500. 'type' => 'integer',
  9501. ],
  9502. 'orderBy' => [
  9503. 'location' => 'query',
  9504. 'type' => 'string',
  9505. ],
  9506. 'pageToken' => [
  9507. 'location' => 'query',
  9508. 'type' => 'string',
  9509. ],
  9510. 'returnPartialSuccess' => [
  9511. 'location' => 'query',
  9512. 'type' => 'boolean',
  9513. ],
  9514. ],
  9515. ],'patch' => [
  9516. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}',
  9517. 'httpMethod' => 'PATCH',
  9518. 'parameters' => [
  9519. 'project' => [
  9520. 'location' => 'path',
  9521. 'type' => 'string',
  9522. 'required' => true,
  9523. ],
  9524. 'firewallPolicy' => [
  9525. 'location' => 'path',
  9526. 'type' => 'string',
  9527. 'required' => true,
  9528. ],
  9529. 'requestId' => [
  9530. 'location' => 'query',
  9531. 'type' => 'string',
  9532. ],
  9533. ],
  9534. ],'patchPacketMirroringRule' => [
  9535. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/patchPacketMirroringRule',
  9536. 'httpMethod' => 'POST',
  9537. 'parameters' => [
  9538. 'project' => [
  9539. 'location' => 'path',
  9540. 'type' => 'string',
  9541. 'required' => true,
  9542. ],
  9543. 'firewallPolicy' => [
  9544. 'location' => 'path',
  9545. 'type' => 'string',
  9546. 'required' => true,
  9547. ],
  9548. 'priority' => [
  9549. 'location' => 'query',
  9550. 'type' => 'integer',
  9551. ],
  9552. 'requestId' => [
  9553. 'location' => 'query',
  9554. 'type' => 'string',
  9555. ],
  9556. ],
  9557. ],'patchRule' => [
  9558. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule',
  9559. 'httpMethod' => 'POST',
  9560. 'parameters' => [
  9561. 'project' => [
  9562. 'location' => 'path',
  9563. 'type' => 'string',
  9564. 'required' => true,
  9565. ],
  9566. 'firewallPolicy' => [
  9567. 'location' => 'path',
  9568. 'type' => 'string',
  9569. 'required' => true,
  9570. ],
  9571. 'priority' => [
  9572. 'location' => 'query',
  9573. 'type' => 'integer',
  9574. ],
  9575. 'requestId' => [
  9576. 'location' => 'query',
  9577. 'type' => 'string',
  9578. ],
  9579. ],
  9580. ],'removeAssociation' => [
  9581. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation',
  9582. 'httpMethod' => 'POST',
  9583. 'parameters' => [
  9584. 'project' => [
  9585. 'location' => 'path',
  9586. 'type' => 'string',
  9587. 'required' => true,
  9588. ],
  9589. 'firewallPolicy' => [
  9590. 'location' => 'path',
  9591. 'type' => 'string',
  9592. 'required' => true,
  9593. ],
  9594. 'name' => [
  9595. 'location' => 'query',
  9596. 'type' => 'string',
  9597. ],
  9598. 'requestId' => [
  9599. 'location' => 'query',
  9600. 'type' => 'string',
  9601. ],
  9602. ],
  9603. ],'removePacketMirroringRule' => [
  9604. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/removePacketMirroringRule',
  9605. 'httpMethod' => 'POST',
  9606. 'parameters' => [
  9607. 'project' => [
  9608. 'location' => 'path',
  9609. 'type' => 'string',
  9610. 'required' => true,
  9611. ],
  9612. 'firewallPolicy' => [
  9613. 'location' => 'path',
  9614. 'type' => 'string',
  9615. 'required' => true,
  9616. ],
  9617. 'priority' => [
  9618. 'location' => 'query',
  9619. 'type' => 'integer',
  9620. ],
  9621. 'requestId' => [
  9622. 'location' => 'query',
  9623. 'type' => 'string',
  9624. ],
  9625. ],
  9626. ],'removeRule' => [
  9627. 'path' => 'projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule',
  9628. 'httpMethod' => 'POST',
  9629. 'parameters' => [
  9630. 'project' => [
  9631. 'location' => 'path',
  9632. 'type' => 'string',
  9633. 'required' => true,
  9634. ],
  9635. 'firewallPolicy' => [
  9636. 'location' => 'path',
  9637. 'type' => 'string',
  9638. 'required' => true,
  9639. ],
  9640. 'priority' => [
  9641. 'location' => 'query',
  9642. 'type' => 'integer',
  9643. ],
  9644. 'requestId' => [
  9645. 'location' => 'query',
  9646. 'type' => 'string',
  9647. ],
  9648. ],
  9649. ],'setIamPolicy' => [
  9650. 'path' => 'projects/{project}/global/firewallPolicies/{resource}/setIamPolicy',
  9651. 'httpMethod' => 'POST',
  9652. 'parameters' => [
  9653. 'project' => [
  9654. 'location' => 'path',
  9655. 'type' => 'string',
  9656. 'required' => true,
  9657. ],
  9658. 'resource' => [
  9659. 'location' => 'path',
  9660. 'type' => 'string',
  9661. 'required' => true,
  9662. ],
  9663. ],
  9664. ],'testIamPermissions' => [
  9665. 'path' => 'projects/{project}/global/firewallPolicies/{resource}/testIamPermissions',
  9666. 'httpMethod' => 'POST',
  9667. 'parameters' => [
  9668. 'project' => [
  9669. 'location' => 'path',
  9670. 'type' => 'string',
  9671. 'required' => true,
  9672. ],
  9673. 'resource' => [
  9674. 'location' => 'path',
  9675. 'type' => 'string',
  9676. 'required' => true,
  9677. ],
  9678. ],
  9679. ],
  9680. ]
  9681. ]
  9682. );
  9683. $this->networkProfiles = new Compute\Resource\NetworkProfiles(
  9684. $this,
  9685. $this->serviceName,
  9686. 'networkProfiles',
  9687. [
  9688. 'methods' => [
  9689. 'get' => [
  9690. 'path' => 'projects/{project}/global/networkProfiles/{networkProfile}',
  9691. 'httpMethod' => 'GET',
  9692. 'parameters' => [
  9693. 'project' => [
  9694. 'location' => 'path',
  9695. 'type' => 'string',
  9696. 'required' => true,
  9697. ],
  9698. 'networkProfile' => [
  9699. 'location' => 'path',
  9700. 'type' => 'string',
  9701. 'required' => true,
  9702. ],
  9703. ],
  9704. ],'list' => [
  9705. 'path' => 'projects/{project}/global/networkProfiles',
  9706. 'httpMethod' => 'GET',
  9707. 'parameters' => [
  9708. 'project' => [
  9709. 'location' => 'path',
  9710. 'type' => 'string',
  9711. 'required' => true,
  9712. ],
  9713. 'filter' => [
  9714. 'location' => 'query',
  9715. 'type' => 'string',
  9716. ],
  9717. 'maxResults' => [
  9718. 'location' => 'query',
  9719. 'type' => 'integer',
  9720. ],
  9721. 'orderBy' => [
  9722. 'location' => 'query',
  9723. 'type' => 'string',
  9724. ],
  9725. 'pageToken' => [
  9726. 'location' => 'query',
  9727. 'type' => 'string',
  9728. ],
  9729. 'returnPartialSuccess' => [
  9730. 'location' => 'query',
  9731. 'type' => 'boolean',
  9732. ],
  9733. ],
  9734. ],
  9735. ]
  9736. ]
  9737. );
  9738. $this->networks = new Compute\Resource\Networks(
  9739. $this,
  9740. $this->serviceName,
  9741. 'networks',
  9742. [
  9743. 'methods' => [
  9744. 'addPeering' => [
  9745. 'path' => 'projects/{project}/global/networks/{network}/addPeering',
  9746. 'httpMethod' => 'POST',
  9747. 'parameters' => [
  9748. 'project' => [
  9749. 'location' => 'path',
  9750. 'type' => 'string',
  9751. 'required' => true,
  9752. ],
  9753. 'network' => [
  9754. 'location' => 'path',
  9755. 'type' => 'string',
  9756. 'required' => true,
  9757. ],
  9758. 'requestId' => [
  9759. 'location' => 'query',
  9760. 'type' => 'string',
  9761. ],
  9762. ],
  9763. ],'delete' => [
  9764. 'path' => 'projects/{project}/global/networks/{network}',
  9765. 'httpMethod' => 'DELETE',
  9766. 'parameters' => [
  9767. 'project' => [
  9768. 'location' => 'path',
  9769. 'type' => 'string',
  9770. 'required' => true,
  9771. ],
  9772. 'network' => [
  9773. 'location' => 'path',
  9774. 'type' => 'string',
  9775. 'required' => true,
  9776. ],
  9777. 'requestId' => [
  9778. 'location' => 'query',
  9779. 'type' => 'string',
  9780. ],
  9781. ],
  9782. ],'get' => [
  9783. 'path' => 'projects/{project}/global/networks/{network}',
  9784. 'httpMethod' => 'GET',
  9785. 'parameters' => [
  9786. 'project' => [
  9787. 'location' => 'path',
  9788. 'type' => 'string',
  9789. 'required' => true,
  9790. ],
  9791. 'network' => [
  9792. 'location' => 'path',
  9793. 'type' => 'string',
  9794. 'required' => true,
  9795. ],
  9796. ],
  9797. ],'getEffectiveFirewalls' => [
  9798. 'path' => 'projects/{project}/global/networks/{network}/getEffectiveFirewalls',
  9799. 'httpMethod' => 'GET',
  9800. 'parameters' => [
  9801. 'project' => [
  9802. 'location' => 'path',
  9803. 'type' => 'string',
  9804. 'required' => true,
  9805. ],
  9806. 'network' => [
  9807. 'location' => 'path',
  9808. 'type' => 'string',
  9809. 'required' => true,
  9810. ],
  9811. ],
  9812. ],'insert' => [
  9813. 'path' => 'projects/{project}/global/networks',
  9814. 'httpMethod' => 'POST',
  9815. 'parameters' => [
  9816. 'project' => [
  9817. 'location' => 'path',
  9818. 'type' => 'string',
  9819. 'required' => true,
  9820. ],
  9821. 'requestId' => [
  9822. 'location' => 'query',
  9823. 'type' => 'string',
  9824. ],
  9825. ],
  9826. ],'list' => [
  9827. 'path' => 'projects/{project}/global/networks',
  9828. 'httpMethod' => 'GET',
  9829. 'parameters' => [
  9830. 'project' => [
  9831. 'location' => 'path',
  9832. 'type' => 'string',
  9833. 'required' => true,
  9834. ],
  9835. 'filter' => [
  9836. 'location' => 'query',
  9837. 'type' => 'string',
  9838. ],
  9839. 'maxResults' => [
  9840. 'location' => 'query',
  9841. 'type' => 'integer',
  9842. ],
  9843. 'orderBy' => [
  9844. 'location' => 'query',
  9845. 'type' => 'string',
  9846. ],
  9847. 'pageToken' => [
  9848. 'location' => 'query',
  9849. 'type' => 'string',
  9850. ],
  9851. 'returnPartialSuccess' => [
  9852. 'location' => 'query',
  9853. 'type' => 'boolean',
  9854. ],
  9855. ],
  9856. ],'listPeeringRoutes' => [
  9857. 'path' => 'projects/{project}/global/networks/{network}/listPeeringRoutes',
  9858. 'httpMethod' => 'GET',
  9859. 'parameters' => [
  9860. 'project' => [
  9861. 'location' => 'path',
  9862. 'type' => 'string',
  9863. 'required' => true,
  9864. ],
  9865. 'network' => [
  9866. 'location' => 'path',
  9867. 'type' => 'string',
  9868. 'required' => true,
  9869. ],
  9870. 'direction' => [
  9871. 'location' => 'query',
  9872. 'type' => 'string',
  9873. ],
  9874. 'filter' => [
  9875. 'location' => 'query',
  9876. 'type' => 'string',
  9877. ],
  9878. 'maxResults' => [
  9879. 'location' => 'query',
  9880. 'type' => 'integer',
  9881. ],
  9882. 'orderBy' => [
  9883. 'location' => 'query',
  9884. 'type' => 'string',
  9885. ],
  9886. 'pageToken' => [
  9887. 'location' => 'query',
  9888. 'type' => 'string',
  9889. ],
  9890. 'peeringName' => [
  9891. 'location' => 'query',
  9892. 'type' => 'string',
  9893. ],
  9894. 'region' => [
  9895. 'location' => 'query',
  9896. 'type' => 'string',
  9897. ],
  9898. 'returnPartialSuccess' => [
  9899. 'location' => 'query',
  9900. 'type' => 'boolean',
  9901. ],
  9902. ],
  9903. ],'patch' => [
  9904. 'path' => 'projects/{project}/global/networks/{network}',
  9905. 'httpMethod' => 'PATCH',
  9906. 'parameters' => [
  9907. 'project' => [
  9908. 'location' => 'path',
  9909. 'type' => 'string',
  9910. 'required' => true,
  9911. ],
  9912. 'network' => [
  9913. 'location' => 'path',
  9914. 'type' => 'string',
  9915. 'required' => true,
  9916. ],
  9917. 'requestId' => [
  9918. 'location' => 'query',
  9919. 'type' => 'string',
  9920. ],
  9921. ],
  9922. ],'removePeering' => [
  9923. 'path' => 'projects/{project}/global/networks/{network}/removePeering',
  9924. 'httpMethod' => 'POST',
  9925. 'parameters' => [
  9926. 'project' => [
  9927. 'location' => 'path',
  9928. 'type' => 'string',
  9929. 'required' => true,
  9930. ],
  9931. 'network' => [
  9932. 'location' => 'path',
  9933. 'type' => 'string',
  9934. 'required' => true,
  9935. ],
  9936. 'requestId' => [
  9937. 'location' => 'query',
  9938. 'type' => 'string',
  9939. ],
  9940. ],
  9941. ],'requestRemovePeering' => [
  9942. 'path' => 'projects/{project}/global/networks/{network}/requestRemovePeering',
  9943. 'httpMethod' => 'POST',
  9944. 'parameters' => [
  9945. 'project' => [
  9946. 'location' => 'path',
  9947. 'type' => 'string',
  9948. 'required' => true,
  9949. ],
  9950. 'network' => [
  9951. 'location' => 'path',
  9952. 'type' => 'string',
  9953. 'required' => true,
  9954. ],
  9955. 'requestId' => [
  9956. 'location' => 'query',
  9957. 'type' => 'string',
  9958. ],
  9959. ],
  9960. ],'switchToCustomMode' => [
  9961. 'path' => 'projects/{project}/global/networks/{network}/switchToCustomMode',
  9962. 'httpMethod' => 'POST',
  9963. 'parameters' => [
  9964. 'project' => [
  9965. 'location' => 'path',
  9966. 'type' => 'string',
  9967. 'required' => true,
  9968. ],
  9969. 'network' => [
  9970. 'location' => 'path',
  9971. 'type' => 'string',
  9972. 'required' => true,
  9973. ],
  9974. 'requestId' => [
  9975. 'location' => 'query',
  9976. 'type' => 'string',
  9977. ],
  9978. ],
  9979. ],'updatePeering' => [
  9980. 'path' => 'projects/{project}/global/networks/{network}/updatePeering',
  9981. 'httpMethod' => 'PATCH',
  9982. 'parameters' => [
  9983. 'project' => [
  9984. 'location' => 'path',
  9985. 'type' => 'string',
  9986. 'required' => true,
  9987. ],
  9988. 'network' => [
  9989. 'location' => 'path',
  9990. 'type' => 'string',
  9991. 'required' => true,
  9992. ],
  9993. 'requestId' => [
  9994. 'location' => 'query',
  9995. 'type' => 'string',
  9996. ],
  9997. ],
  9998. ],
  9999. ]
  10000. ]
  10001. );
  10002. $this->nodeGroups = new Compute\Resource\NodeGroups(
  10003. $this,
  10004. $this->serviceName,
  10005. 'nodeGroups',
  10006. [
  10007. 'methods' => [
  10008. 'addNodes' => [
  10009. 'path' => 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes',
  10010. 'httpMethod' => 'POST',
  10011. 'parameters' => [
  10012. 'project' => [
  10013. 'location' => 'path',
  10014. 'type' => 'string',
  10015. 'required' => true,
  10016. ],
  10017. 'zone' => [
  10018. 'location' => 'path',
  10019. 'type' => 'string',
  10020. 'required' => true,
  10021. ],
  10022. 'nodeGroup' => [
  10023. 'location' => 'path',
  10024. 'type' => 'string',
  10025. 'required' => true,
  10026. ],
  10027. 'requestId' => [
  10028. 'location' => 'query',
  10029. 'type' => 'string',
  10030. ],
  10031. ],
  10032. ],'aggregatedList' => [
  10033. 'path' => 'projects/{project}/aggregated/nodeGroups',
  10034. 'httpMethod' => 'GET',
  10035. 'parameters' => [
  10036. 'project' => [
  10037. 'location' => 'path',
  10038. 'type' => 'string',
  10039. 'required' => true,
  10040. ],
  10041. 'filter' => [
  10042. 'location' => 'query',
  10043. 'type' => 'string',
  10044. ],
  10045. 'includeAllScopes' => [
  10046. 'location' => 'query',
  10047. 'type' => 'boolean',
  10048. ],
  10049. 'maxResults' => [
  10050. 'location' => 'query',
  10051. 'type' => 'integer',
  10052. ],
  10053. 'orderBy' => [
  10054. 'location' => 'query',
  10055. 'type' => 'string',
  10056. ],
  10057. 'pageToken' => [
  10058. 'location' => 'query',
  10059. 'type' => 'string',
  10060. ],
  10061. 'returnPartialSuccess' => [
  10062. 'location' => 'query',
  10063. 'type' => 'boolean',
  10064. ],
  10065. 'serviceProjectNumber' => [
  10066. 'location' => 'query',
  10067. 'type' => 'string',
  10068. ],
  10069. ],
  10070. ],'delete' => [
  10071. 'path' => 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}',
  10072. 'httpMethod' => 'DELETE',
  10073. 'parameters' => [
  10074. 'project' => [
  10075. 'location' => 'path',
  10076. 'type' => 'string',
  10077. 'required' => true,
  10078. ],
  10079. 'zone' => [
  10080. 'location' => 'path',
  10081. 'type' => 'string',
  10082. 'required' => true,
  10083. ],
  10084. 'nodeGroup' => [
  10085. 'location' => 'path',
  10086. 'type' => 'string',
  10087. 'required' => true,
  10088. ],
  10089. 'requestId' => [
  10090. 'location' => 'query',
  10091. 'type' => 'string',
  10092. ],
  10093. ],
  10094. ],'deleteNodes' => [
  10095. 'path' => 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes',
  10096. 'httpMethod' => 'POST',
  10097. 'parameters' => [
  10098. 'project' => [
  10099. 'location' => 'path',
  10100. 'type' => 'string',
  10101. 'required' => true,
  10102. ],
  10103. 'zone' => [
  10104. 'location' => 'path',
  10105. 'type' => 'string',
  10106. 'required' => true,
  10107. ],
  10108. 'nodeGroup' => [
  10109. 'location' => 'path',
  10110. 'type' => 'string',
  10111. 'required' => true,
  10112. ],
  10113. 'requestId' => [
  10114. 'location' => 'query',
  10115. 'type' => 'string',
  10116. ],
  10117. ],
  10118. ],'get' => [
  10119. 'path' => 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}',
  10120. 'httpMethod' => 'GET',
  10121. 'parameters' => [
  10122. 'project' => [
  10123. 'location' => 'path',
  10124. 'type' => 'string',
  10125. 'required' => true,
  10126. ],
  10127. 'zone' => [
  10128. 'location' => 'path',
  10129. 'type' => 'string',
  10130. 'required' => true,
  10131. ],
  10132. 'nodeGroup' => [
  10133. 'location' => 'path',
  10134. 'type' => 'string',
  10135. 'required' => true,
  10136. ],
  10137. ],
  10138. ],'getIamPolicy' => [
  10139. 'path' => 'projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy',
  10140. 'httpMethod' => 'GET',
  10141. 'parameters' => [
  10142. 'project' => [
  10143. 'location' => 'path',
  10144. 'type' => 'string',
  10145. 'required' => true,
  10146. ],
  10147. 'zone' => [
  10148. 'location' => 'path',
  10149. 'type' => 'string',
  10150. 'required' => true,
  10151. ],
  10152. 'resource' => [
  10153. 'location' => 'path',
  10154. 'type' => 'string',
  10155. 'required' => true,
  10156. ],
  10157. 'optionsRequestedPolicyVersion' => [
  10158. 'location' => 'query',
  10159. 'type' => 'integer',
  10160. ],
  10161. ],
  10162. ],'insert' => [
  10163. 'path' => 'projects/{project}/zones/{zone}/nodeGroups',
  10164. 'httpMethod' => 'POST',
  10165. 'parameters' => [
  10166. 'project' => [
  10167. 'location' => 'path',
  10168. 'type' => 'string',
  10169. 'required' => true,
  10170. ],
  10171. 'zone' => [
  10172. 'location' => 'path',
  10173. 'type' => 'string',
  10174. 'required' => true,
  10175. ],
  10176. 'initialNodeCount' => [
  10177. 'location' => 'query',
  10178. 'type' => 'integer',
  10179. 'required' => true,
  10180. ],
  10181. 'requestId' => [
  10182. 'location' => 'query',
  10183. 'type' => 'string',
  10184. ],
  10185. ],
  10186. ],'list' => [
  10187. 'path' => 'projects/{project}/zones/{zone}/nodeGroups',
  10188. 'httpMethod' => 'GET',
  10189. 'parameters' => [
  10190. 'project' => [
  10191. 'location' => 'path',
  10192. 'type' => 'string',
  10193. 'required' => true,
  10194. ],
  10195. 'zone' => [
  10196. 'location' => 'path',
  10197. 'type' => 'string',
  10198. 'required' => true,
  10199. ],
  10200. 'filter' => [
  10201. 'location' => 'query',
  10202. 'type' => 'string',
  10203. ],
  10204. 'maxResults' => [
  10205. 'location' => 'query',
  10206. 'type' => 'integer',
  10207. ],
  10208. 'orderBy' => [
  10209. 'location' => 'query',
  10210. 'type' => 'string',
  10211. ],
  10212. 'pageToken' => [
  10213. 'location' => 'query',
  10214. 'type' => 'string',
  10215. ],
  10216. 'returnPartialSuccess' => [
  10217. 'location' => 'query',
  10218. 'type' => 'boolean',
  10219. ],
  10220. ],
  10221. ],'listNodes' => [
  10222. 'path' => 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes',
  10223. 'httpMethod' => 'POST',
  10224. 'parameters' => [
  10225. 'project' => [
  10226. 'location' => 'path',
  10227. 'type' => 'string',
  10228. 'required' => true,
  10229. ],
  10230. 'zone' => [
  10231. 'location' => 'path',
  10232. 'type' => 'string',
  10233. 'required' => true,
  10234. ],
  10235. 'nodeGroup' => [
  10236. 'location' => 'path',
  10237. 'type' => 'string',
  10238. 'required' => true,
  10239. ],
  10240. 'filter' => [
  10241. 'location' => 'query',
  10242. 'type' => 'string',
  10243. ],
  10244. 'maxResults' => [
  10245. 'location' => 'query',
  10246. 'type' => 'integer',
  10247. ],
  10248. 'orderBy' => [
  10249. 'location' => 'query',
  10250. 'type' => 'string',
  10251. ],
  10252. 'pageToken' => [
  10253. 'location' => 'query',
  10254. 'type' => 'string',
  10255. ],
  10256. 'returnPartialSuccess' => [
  10257. 'location' => 'query',
  10258. 'type' => 'boolean',
  10259. ],
  10260. ],
  10261. ],'patch' => [
  10262. 'path' => 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}',
  10263. 'httpMethod' => 'PATCH',
  10264. 'parameters' => [
  10265. 'project' => [
  10266. 'location' => 'path',
  10267. 'type' => 'string',
  10268. 'required' => true,
  10269. ],
  10270. 'zone' => [
  10271. 'location' => 'path',
  10272. 'type' => 'string',
  10273. 'required' => true,
  10274. ],
  10275. 'nodeGroup' => [
  10276. 'location' => 'path',
  10277. 'type' => 'string',
  10278. 'required' => true,
  10279. ],
  10280. 'requestId' => [
  10281. 'location' => 'query',
  10282. 'type' => 'string',
  10283. ],
  10284. ],
  10285. ],'performMaintenance' => [
  10286. 'path' => 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/performMaintenance',
  10287. 'httpMethod' => 'POST',
  10288. 'parameters' => [
  10289. 'project' => [
  10290. 'location' => 'path',
  10291. 'type' => 'string',
  10292. 'required' => true,
  10293. ],
  10294. 'zone' => [
  10295. 'location' => 'path',
  10296. 'type' => 'string',
  10297. 'required' => true,
  10298. ],
  10299. 'nodeGroup' => [
  10300. 'location' => 'path',
  10301. 'type' => 'string',
  10302. 'required' => true,
  10303. ],
  10304. 'requestId' => [
  10305. 'location' => 'query',
  10306. 'type' => 'string',
  10307. ],
  10308. ],
  10309. ],'setIamPolicy' => [
  10310. 'path' => 'projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy',
  10311. 'httpMethod' => 'POST',
  10312. 'parameters' => [
  10313. 'project' => [
  10314. 'location' => 'path',
  10315. 'type' => 'string',
  10316. 'required' => true,
  10317. ],
  10318. 'zone' => [
  10319. 'location' => 'path',
  10320. 'type' => 'string',
  10321. 'required' => true,
  10322. ],
  10323. 'resource' => [
  10324. 'location' => 'path',
  10325. 'type' => 'string',
  10326. 'required' => true,
  10327. ],
  10328. ],
  10329. ],'setNodeTemplate' => [
  10330. 'path' => 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate',
  10331. 'httpMethod' => 'POST',
  10332. 'parameters' => [
  10333. 'project' => [
  10334. 'location' => 'path',
  10335. 'type' => 'string',
  10336. 'required' => true,
  10337. ],
  10338. 'zone' => [
  10339. 'location' => 'path',
  10340. 'type' => 'string',
  10341. 'required' => true,
  10342. ],
  10343. 'nodeGroup' => [
  10344. 'location' => 'path',
  10345. 'type' => 'string',
  10346. 'required' => true,
  10347. ],
  10348. 'requestId' => [
  10349. 'location' => 'query',
  10350. 'type' => 'string',
  10351. ],
  10352. ],
  10353. ],'simulateMaintenanceEvent' => [
  10354. 'path' => 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/simulateMaintenanceEvent',
  10355. 'httpMethod' => 'POST',
  10356. 'parameters' => [
  10357. 'project' => [
  10358. 'location' => 'path',
  10359. 'type' => 'string',
  10360. 'required' => true,
  10361. ],
  10362. 'zone' => [
  10363. 'location' => 'path',
  10364. 'type' => 'string',
  10365. 'required' => true,
  10366. ],
  10367. 'nodeGroup' => [
  10368. 'location' => 'path',
  10369. 'type' => 'string',
  10370. 'required' => true,
  10371. ],
  10372. 'requestId' => [
  10373. 'location' => 'query',
  10374. 'type' => 'string',
  10375. ],
  10376. ],
  10377. ],'testIamPermissions' => [
  10378. 'path' => 'projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions',
  10379. 'httpMethod' => 'POST',
  10380. 'parameters' => [
  10381. 'project' => [
  10382. 'location' => 'path',
  10383. 'type' => 'string',
  10384. 'required' => true,
  10385. ],
  10386. 'zone' => [
  10387. 'location' => 'path',
  10388. 'type' => 'string',
  10389. 'required' => true,
  10390. ],
  10391. 'resource' => [
  10392. 'location' => 'path',
  10393. 'type' => 'string',
  10394. 'required' => true,
  10395. ],
  10396. ],
  10397. ],
  10398. ]
  10399. ]
  10400. );
  10401. $this->nodeTemplates = new Compute\Resource\NodeTemplates(
  10402. $this,
  10403. $this->serviceName,
  10404. 'nodeTemplates',
  10405. [
  10406. 'methods' => [
  10407. 'aggregatedList' => [
  10408. 'path' => 'projects/{project}/aggregated/nodeTemplates',
  10409. 'httpMethod' => 'GET',
  10410. 'parameters' => [
  10411. 'project' => [
  10412. 'location' => 'path',
  10413. 'type' => 'string',
  10414. 'required' => true,
  10415. ],
  10416. 'filter' => [
  10417. 'location' => 'query',
  10418. 'type' => 'string',
  10419. ],
  10420. 'includeAllScopes' => [
  10421. 'location' => 'query',
  10422. 'type' => 'boolean',
  10423. ],
  10424. 'maxResults' => [
  10425. 'location' => 'query',
  10426. 'type' => 'integer',
  10427. ],
  10428. 'orderBy' => [
  10429. 'location' => 'query',
  10430. 'type' => 'string',
  10431. ],
  10432. 'pageToken' => [
  10433. 'location' => 'query',
  10434. 'type' => 'string',
  10435. ],
  10436. 'returnPartialSuccess' => [
  10437. 'location' => 'query',
  10438. 'type' => 'boolean',
  10439. ],
  10440. 'serviceProjectNumber' => [
  10441. 'location' => 'query',
  10442. 'type' => 'string',
  10443. ],
  10444. ],
  10445. ],'delete' => [
  10446. 'path' => 'projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}',
  10447. 'httpMethod' => 'DELETE',
  10448. 'parameters' => [
  10449. 'project' => [
  10450. 'location' => 'path',
  10451. 'type' => 'string',
  10452. 'required' => true,
  10453. ],
  10454. 'region' => [
  10455. 'location' => 'path',
  10456. 'type' => 'string',
  10457. 'required' => true,
  10458. ],
  10459. 'nodeTemplate' => [
  10460. 'location' => 'path',
  10461. 'type' => 'string',
  10462. 'required' => true,
  10463. ],
  10464. 'requestId' => [
  10465. 'location' => 'query',
  10466. 'type' => 'string',
  10467. ],
  10468. ],
  10469. ],'get' => [
  10470. 'path' => 'projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}',
  10471. 'httpMethod' => 'GET',
  10472. 'parameters' => [
  10473. 'project' => [
  10474. 'location' => 'path',
  10475. 'type' => 'string',
  10476. 'required' => true,
  10477. ],
  10478. 'region' => [
  10479. 'location' => 'path',
  10480. 'type' => 'string',
  10481. 'required' => true,
  10482. ],
  10483. 'nodeTemplate' => [
  10484. 'location' => 'path',
  10485. 'type' => 'string',
  10486. 'required' => true,
  10487. ],
  10488. ],
  10489. ],'getIamPolicy' => [
  10490. 'path' => 'projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy',
  10491. 'httpMethod' => 'GET',
  10492. 'parameters' => [
  10493. 'project' => [
  10494. 'location' => 'path',
  10495. 'type' => 'string',
  10496. 'required' => true,
  10497. ],
  10498. 'region' => [
  10499. 'location' => 'path',
  10500. 'type' => 'string',
  10501. 'required' => true,
  10502. ],
  10503. 'resource' => [
  10504. 'location' => 'path',
  10505. 'type' => 'string',
  10506. 'required' => true,
  10507. ],
  10508. 'optionsRequestedPolicyVersion' => [
  10509. 'location' => 'query',
  10510. 'type' => 'integer',
  10511. ],
  10512. ],
  10513. ],'insert' => [
  10514. 'path' => 'projects/{project}/regions/{region}/nodeTemplates',
  10515. 'httpMethod' => 'POST',
  10516. 'parameters' => [
  10517. 'project' => [
  10518. 'location' => 'path',
  10519. 'type' => 'string',
  10520. 'required' => true,
  10521. ],
  10522. 'region' => [
  10523. 'location' => 'path',
  10524. 'type' => 'string',
  10525. 'required' => true,
  10526. ],
  10527. 'requestId' => [
  10528. 'location' => 'query',
  10529. 'type' => 'string',
  10530. ],
  10531. ],
  10532. ],'list' => [
  10533. 'path' => 'projects/{project}/regions/{region}/nodeTemplates',
  10534. 'httpMethod' => 'GET',
  10535. 'parameters' => [
  10536. 'project' => [
  10537. 'location' => 'path',
  10538. 'type' => 'string',
  10539. 'required' => true,
  10540. ],
  10541. 'region' => [
  10542. 'location' => 'path',
  10543. 'type' => 'string',
  10544. 'required' => true,
  10545. ],
  10546. 'filter' => [
  10547. 'location' => 'query',
  10548. 'type' => 'string',
  10549. ],
  10550. 'maxResults' => [
  10551. 'location' => 'query',
  10552. 'type' => 'integer',
  10553. ],
  10554. 'orderBy' => [
  10555. 'location' => 'query',
  10556. 'type' => 'string',
  10557. ],
  10558. 'pageToken' => [
  10559. 'location' => 'query',
  10560. 'type' => 'string',
  10561. ],
  10562. 'returnPartialSuccess' => [
  10563. 'location' => 'query',
  10564. 'type' => 'boolean',
  10565. ],
  10566. ],
  10567. ],'setIamPolicy' => [
  10568. 'path' => 'projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy',
  10569. 'httpMethod' => 'POST',
  10570. 'parameters' => [
  10571. 'project' => [
  10572. 'location' => 'path',
  10573. 'type' => 'string',
  10574. 'required' => true,
  10575. ],
  10576. 'region' => [
  10577. 'location' => 'path',
  10578. 'type' => 'string',
  10579. 'required' => true,
  10580. ],
  10581. 'resource' => [
  10582. 'location' => 'path',
  10583. 'type' => 'string',
  10584. 'required' => true,
  10585. ],
  10586. ],
  10587. ],'testIamPermissions' => [
  10588. 'path' => 'projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions',
  10589. 'httpMethod' => 'POST',
  10590. 'parameters' => [
  10591. 'project' => [
  10592. 'location' => 'path',
  10593. 'type' => 'string',
  10594. 'required' => true,
  10595. ],
  10596. 'region' => [
  10597. 'location' => 'path',
  10598. 'type' => 'string',
  10599. 'required' => true,
  10600. ],
  10601. 'resource' => [
  10602. 'location' => 'path',
  10603. 'type' => 'string',
  10604. 'required' => true,
  10605. ],
  10606. ],
  10607. ],
  10608. ]
  10609. ]
  10610. );
  10611. $this->nodeTypes = new Compute\Resource\NodeTypes(
  10612. $this,
  10613. $this->serviceName,
  10614. 'nodeTypes',
  10615. [
  10616. 'methods' => [
  10617. 'aggregatedList' => [
  10618. 'path' => 'projects/{project}/aggregated/nodeTypes',
  10619. 'httpMethod' => 'GET',
  10620. 'parameters' => [
  10621. 'project' => [
  10622. 'location' => 'path',
  10623. 'type' => 'string',
  10624. 'required' => true,
  10625. ],
  10626. 'filter' => [
  10627. 'location' => 'query',
  10628. 'type' => 'string',
  10629. ],
  10630. 'includeAllScopes' => [
  10631. 'location' => 'query',
  10632. 'type' => 'boolean',
  10633. ],
  10634. 'maxResults' => [
  10635. 'location' => 'query',
  10636. 'type' => 'integer',
  10637. ],
  10638. 'orderBy' => [
  10639. 'location' => 'query',
  10640. 'type' => 'string',
  10641. ],
  10642. 'pageToken' => [
  10643. 'location' => 'query',
  10644. 'type' => 'string',
  10645. ],
  10646. 'returnPartialSuccess' => [
  10647. 'location' => 'query',
  10648. 'type' => 'boolean',
  10649. ],
  10650. 'serviceProjectNumber' => [
  10651. 'location' => 'query',
  10652. 'type' => 'string',
  10653. ],
  10654. ],
  10655. ],'get' => [
  10656. 'path' => 'projects/{project}/zones/{zone}/nodeTypes/{nodeType}',
  10657. 'httpMethod' => 'GET',
  10658. 'parameters' => [
  10659. 'project' => [
  10660. 'location' => 'path',
  10661. 'type' => 'string',
  10662. 'required' => true,
  10663. ],
  10664. 'zone' => [
  10665. 'location' => 'path',
  10666. 'type' => 'string',
  10667. 'required' => true,
  10668. ],
  10669. 'nodeType' => [
  10670. 'location' => 'path',
  10671. 'type' => 'string',
  10672. 'required' => true,
  10673. ],
  10674. ],
  10675. ],'list' => [
  10676. 'path' => 'projects/{project}/zones/{zone}/nodeTypes',
  10677. 'httpMethod' => 'GET',
  10678. 'parameters' => [
  10679. 'project' => [
  10680. 'location' => 'path',
  10681. 'type' => 'string',
  10682. 'required' => true,
  10683. ],
  10684. 'zone' => [
  10685. 'location' => 'path',
  10686. 'type' => 'string',
  10687. 'required' => true,
  10688. ],
  10689. 'filter' => [
  10690. 'location' => 'query',
  10691. 'type' => 'string',
  10692. ],
  10693. 'maxResults' => [
  10694. 'location' => 'query',
  10695. 'type' => 'integer',
  10696. ],
  10697. 'orderBy' => [
  10698. 'location' => 'query',
  10699. 'type' => 'string',
  10700. ],
  10701. 'pageToken' => [
  10702. 'location' => 'query',
  10703. 'type' => 'string',
  10704. ],
  10705. 'returnPartialSuccess' => [
  10706. 'location' => 'query',
  10707. 'type' => 'boolean',
  10708. ],
  10709. ],
  10710. ],
  10711. ]
  10712. ]
  10713. );
  10714. $this->organizationSecurityPolicies = new Compute\Resource\OrganizationSecurityPolicies(
  10715. $this,
  10716. $this->serviceName,
  10717. 'organizationSecurityPolicies',
  10718. [
  10719. 'methods' => [
  10720. 'addAssociation' => [
  10721. 'path' => 'locations/global/securityPolicies/{securityPolicy}/addAssociation',
  10722. 'httpMethod' => 'POST',
  10723. 'parameters' => [
  10724. 'securityPolicy' => [
  10725. 'location' => 'path',
  10726. 'type' => 'string',
  10727. 'required' => true,
  10728. ],
  10729. 'replaceExistingAssociation' => [
  10730. 'location' => 'query',
  10731. 'type' => 'boolean',
  10732. ],
  10733. 'requestId' => [
  10734. 'location' => 'query',
  10735. 'type' => 'string',
  10736. ],
  10737. ],
  10738. ],'addRule' => [
  10739. 'path' => 'locations/global/securityPolicies/{securityPolicy}/addRule',
  10740. 'httpMethod' => 'POST',
  10741. 'parameters' => [
  10742. 'securityPolicy' => [
  10743. 'location' => 'path',
  10744. 'type' => 'string',
  10745. 'required' => true,
  10746. ],
  10747. 'requestId' => [
  10748. 'location' => 'query',
  10749. 'type' => 'string',
  10750. ],
  10751. ],
  10752. ],'copyRules' => [
  10753. 'path' => 'locations/global/securityPolicies/{securityPolicy}/copyRules',
  10754. 'httpMethod' => 'POST',
  10755. 'parameters' => [
  10756. 'securityPolicy' => [
  10757. 'location' => 'path',
  10758. 'type' => 'string',
  10759. 'required' => true,
  10760. ],
  10761. 'requestId' => [
  10762. 'location' => 'query',
  10763. 'type' => 'string',
  10764. ],
  10765. 'sourceSecurityPolicy' => [
  10766. 'location' => 'query',
  10767. 'type' => 'string',
  10768. ],
  10769. ],
  10770. ],'delete' => [
  10771. 'path' => 'locations/global/securityPolicies/{securityPolicy}',
  10772. 'httpMethod' => 'DELETE',
  10773. 'parameters' => [
  10774. 'securityPolicy' => [
  10775. 'location' => 'path',
  10776. 'type' => 'string',
  10777. 'required' => true,
  10778. ],
  10779. 'requestId' => [
  10780. 'location' => 'query',
  10781. 'type' => 'string',
  10782. ],
  10783. ],
  10784. ],'get' => [
  10785. 'path' => 'locations/global/securityPolicies/{securityPolicy}',
  10786. 'httpMethod' => 'GET',
  10787. 'parameters' => [
  10788. 'securityPolicy' => [
  10789. 'location' => 'path',
  10790. 'type' => 'string',
  10791. 'required' => true,
  10792. ],
  10793. ],
  10794. ],'getAssociation' => [
  10795. 'path' => 'locations/global/securityPolicies/{securityPolicy}/getAssociation',
  10796. 'httpMethod' => 'GET',
  10797. 'parameters' => [
  10798. 'securityPolicy' => [
  10799. 'location' => 'path',
  10800. 'type' => 'string',
  10801. 'required' => true,
  10802. ],
  10803. 'name' => [
  10804. 'location' => 'query',
  10805. 'type' => 'string',
  10806. ],
  10807. ],
  10808. ],'getRule' => [
  10809. 'path' => 'locations/global/securityPolicies/{securityPolicy}/getRule',
  10810. 'httpMethod' => 'GET',
  10811. 'parameters' => [
  10812. 'securityPolicy' => [
  10813. 'location' => 'path',
  10814. 'type' => 'string',
  10815. 'required' => true,
  10816. ],
  10817. 'priority' => [
  10818. 'location' => 'query',
  10819. 'type' => 'integer',
  10820. ],
  10821. ],
  10822. ],'insert' => [
  10823. 'path' => 'locations/global/securityPolicies',
  10824. 'httpMethod' => 'POST',
  10825. 'parameters' => [
  10826. 'parentId' => [
  10827. 'location' => 'query',
  10828. 'type' => 'string',
  10829. ],
  10830. 'requestId' => [
  10831. 'location' => 'query',
  10832. 'type' => 'string',
  10833. ],
  10834. ],
  10835. ],'list' => [
  10836. 'path' => 'locations/global/securityPolicies',
  10837. 'httpMethod' => 'GET',
  10838. 'parameters' => [
  10839. 'filter' => [
  10840. 'location' => 'query',
  10841. 'type' => 'string',
  10842. ],
  10843. 'maxResults' => [
  10844. 'location' => 'query',
  10845. 'type' => 'integer',
  10846. ],
  10847. 'orderBy' => [
  10848. 'location' => 'query',
  10849. 'type' => 'string',
  10850. ],
  10851. 'pageToken' => [
  10852. 'location' => 'query',
  10853. 'type' => 'string',
  10854. ],
  10855. 'parentId' => [
  10856. 'location' => 'query',
  10857. 'type' => 'string',
  10858. ],
  10859. 'returnPartialSuccess' => [
  10860. 'location' => 'query',
  10861. 'type' => 'boolean',
  10862. ],
  10863. ],
  10864. ],'listAssociations' => [
  10865. 'path' => 'locations/global/securityPolicies/listAssociations',
  10866. 'httpMethod' => 'GET',
  10867. 'parameters' => [
  10868. 'targetResource' => [
  10869. 'location' => 'query',
  10870. 'type' => 'string',
  10871. ],
  10872. ],
  10873. ],'listPreconfiguredExpressionSets' => [
  10874. 'path' => 'locations/global/securityPolicies/listPreconfiguredExpressionSets',
  10875. 'httpMethod' => 'GET',
  10876. 'parameters' => [
  10877. 'filter' => [
  10878. 'location' => 'query',
  10879. 'type' => 'string',
  10880. ],
  10881. 'maxResults' => [
  10882. 'location' => 'query',
  10883. 'type' => 'integer',
  10884. ],
  10885. 'orderBy' => [
  10886. 'location' => 'query',
  10887. 'type' => 'string',
  10888. ],
  10889. 'pageToken' => [
  10890. 'location' => 'query',
  10891. 'type' => 'string',
  10892. ],
  10893. 'parentId' => [
  10894. 'location' => 'query',
  10895. 'type' => 'string',
  10896. ],
  10897. 'returnPartialSuccess' => [
  10898. 'location' => 'query',
  10899. 'type' => 'boolean',
  10900. ],
  10901. ],
  10902. ],'move' => [
  10903. 'path' => 'locations/global/securityPolicies/{securityPolicy}/move',
  10904. 'httpMethod' => 'POST',
  10905. 'parameters' => [
  10906. 'securityPolicy' => [
  10907. 'location' => 'path',
  10908. 'type' => 'string',
  10909. 'required' => true,
  10910. ],
  10911. 'parentId' => [
  10912. 'location' => 'query',
  10913. 'type' => 'string',
  10914. ],
  10915. 'requestId' => [
  10916. 'location' => 'query',
  10917. 'type' => 'string',
  10918. ],
  10919. ],
  10920. ],'patch' => [
  10921. 'path' => 'locations/global/securityPolicies/{securityPolicy}',
  10922. 'httpMethod' => 'PATCH',
  10923. 'parameters' => [
  10924. 'securityPolicy' => [
  10925. 'location' => 'path',
  10926. 'type' => 'string',
  10927. 'required' => true,
  10928. ],
  10929. 'requestId' => [
  10930. 'location' => 'query',
  10931. 'type' => 'string',
  10932. ],
  10933. ],
  10934. ],'patchRule' => [
  10935. 'path' => 'locations/global/securityPolicies/{securityPolicy}/patchRule',
  10936. 'httpMethod' => 'POST',
  10937. 'parameters' => [
  10938. 'securityPolicy' => [
  10939. 'location' => 'path',
  10940. 'type' => 'string',
  10941. 'required' => true,
  10942. ],
  10943. 'priority' => [
  10944. 'location' => 'query',
  10945. 'type' => 'integer',
  10946. ],
  10947. 'requestId' => [
  10948. 'location' => 'query',
  10949. 'type' => 'string',
  10950. ],
  10951. ],
  10952. ],'removeAssociation' => [
  10953. 'path' => 'locations/global/securityPolicies/{securityPolicy}/removeAssociation',
  10954. 'httpMethod' => 'POST',
  10955. 'parameters' => [
  10956. 'securityPolicy' => [
  10957. 'location' => 'path',
  10958. 'type' => 'string',
  10959. 'required' => true,
  10960. ],
  10961. 'name' => [
  10962. 'location' => 'query',
  10963. 'type' => 'string',
  10964. ],
  10965. 'requestId' => [
  10966. 'location' => 'query',
  10967. 'type' => 'string',
  10968. ],
  10969. ],
  10970. ],'removeRule' => [
  10971. 'path' => 'locations/global/securityPolicies/{securityPolicy}/removeRule',
  10972. 'httpMethod' => 'POST',
  10973. 'parameters' => [
  10974. 'securityPolicy' => [
  10975. 'location' => 'path',
  10976. 'type' => 'string',
  10977. 'required' => true,
  10978. ],
  10979. 'priority' => [
  10980. 'location' => 'query',
  10981. 'type' => 'integer',
  10982. ],
  10983. 'requestId' => [
  10984. 'location' => 'query',
  10985. 'type' => 'string',
  10986. ],
  10987. ],
  10988. ],
  10989. ]
  10990. ]
  10991. );
  10992. $this->packetMirrorings = new Compute\Resource\PacketMirrorings(
  10993. $this,
  10994. $this->serviceName,
  10995. 'packetMirrorings',
  10996. [
  10997. 'methods' => [
  10998. 'aggregatedList' => [
  10999. 'path' => 'projects/{project}/aggregated/packetMirrorings',
  11000. 'httpMethod' => 'GET',
  11001. 'parameters' => [
  11002. 'project' => [
  11003. 'location' => 'path',
  11004. 'type' => 'string',
  11005. 'required' => true,
  11006. ],
  11007. 'filter' => [
  11008. 'location' => 'query',
  11009. 'type' => 'string',
  11010. ],
  11011. 'includeAllScopes' => [
  11012. 'location' => 'query',
  11013. 'type' => 'boolean',
  11014. ],
  11015. 'maxResults' => [
  11016. 'location' => 'query',
  11017. 'type' => 'integer',
  11018. ],
  11019. 'orderBy' => [
  11020. 'location' => 'query',
  11021. 'type' => 'string',
  11022. ],
  11023. 'pageToken' => [
  11024. 'location' => 'query',
  11025. 'type' => 'string',
  11026. ],
  11027. 'returnPartialSuccess' => [
  11028. 'location' => 'query',
  11029. 'type' => 'boolean',
  11030. ],
  11031. 'serviceProjectNumber' => [
  11032. 'location' => 'query',
  11033. 'type' => 'string',
  11034. ],
  11035. ],
  11036. ],'delete' => [
  11037. 'path' => 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}',
  11038. 'httpMethod' => 'DELETE',
  11039. 'parameters' => [
  11040. 'project' => [
  11041. 'location' => 'path',
  11042. 'type' => 'string',
  11043. 'required' => true,
  11044. ],
  11045. 'region' => [
  11046. 'location' => 'path',
  11047. 'type' => 'string',
  11048. 'required' => true,
  11049. ],
  11050. 'packetMirroring' => [
  11051. 'location' => 'path',
  11052. 'type' => 'string',
  11053. 'required' => true,
  11054. ],
  11055. 'requestId' => [
  11056. 'location' => 'query',
  11057. 'type' => 'string',
  11058. ],
  11059. ],
  11060. ],'get' => [
  11061. 'path' => 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}',
  11062. 'httpMethod' => 'GET',
  11063. 'parameters' => [
  11064. 'project' => [
  11065. 'location' => 'path',
  11066. 'type' => 'string',
  11067. 'required' => true,
  11068. ],
  11069. 'region' => [
  11070. 'location' => 'path',
  11071. 'type' => 'string',
  11072. 'required' => true,
  11073. ],
  11074. 'packetMirroring' => [
  11075. 'location' => 'path',
  11076. 'type' => 'string',
  11077. 'required' => true,
  11078. ],
  11079. ],
  11080. ],'insert' => [
  11081. 'path' => 'projects/{project}/regions/{region}/packetMirrorings',
  11082. 'httpMethod' => 'POST',
  11083. 'parameters' => [
  11084. 'project' => [
  11085. 'location' => 'path',
  11086. 'type' => 'string',
  11087. 'required' => true,
  11088. ],
  11089. 'region' => [
  11090. 'location' => 'path',
  11091. 'type' => 'string',
  11092. 'required' => true,
  11093. ],
  11094. 'requestId' => [
  11095. 'location' => 'query',
  11096. 'type' => 'string',
  11097. ],
  11098. ],
  11099. ],'list' => [
  11100. 'path' => 'projects/{project}/regions/{region}/packetMirrorings',
  11101. 'httpMethod' => 'GET',
  11102. 'parameters' => [
  11103. 'project' => [
  11104. 'location' => 'path',
  11105. 'type' => 'string',
  11106. 'required' => true,
  11107. ],
  11108. 'region' => [
  11109. 'location' => 'path',
  11110. 'type' => 'string',
  11111. 'required' => true,
  11112. ],
  11113. 'filter' => [
  11114. 'location' => 'query',
  11115. 'type' => 'string',
  11116. ],
  11117. 'maxResults' => [
  11118. 'location' => 'query',
  11119. 'type' => 'integer',
  11120. ],
  11121. 'orderBy' => [
  11122. 'location' => 'query',
  11123. 'type' => 'string',
  11124. ],
  11125. 'pageToken' => [
  11126. 'location' => 'query',
  11127. 'type' => 'string',
  11128. ],
  11129. 'returnPartialSuccess' => [
  11130. 'location' => 'query',
  11131. 'type' => 'boolean',
  11132. ],
  11133. ],
  11134. ],'patch' => [
  11135. 'path' => 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}',
  11136. 'httpMethod' => 'PATCH',
  11137. 'parameters' => [
  11138. 'project' => [
  11139. 'location' => 'path',
  11140. 'type' => 'string',
  11141. 'required' => true,
  11142. ],
  11143. 'region' => [
  11144. 'location' => 'path',
  11145. 'type' => 'string',
  11146. 'required' => true,
  11147. ],
  11148. 'packetMirroring' => [
  11149. 'location' => 'path',
  11150. 'type' => 'string',
  11151. 'required' => true,
  11152. ],
  11153. 'requestId' => [
  11154. 'location' => 'query',
  11155. 'type' => 'string',
  11156. ],
  11157. ],
  11158. ],'testIamPermissions' => [
  11159. 'path' => 'projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions',
  11160. 'httpMethod' => 'POST',
  11161. 'parameters' => [
  11162. 'project' => [
  11163. 'location' => 'path',
  11164. 'type' => 'string',
  11165. 'required' => true,
  11166. ],
  11167. 'region' => [
  11168. 'location' => 'path',
  11169. 'type' => 'string',
  11170. 'required' => true,
  11171. ],
  11172. 'resource' => [
  11173. 'location' => 'path',
  11174. 'type' => 'string',
  11175. 'required' => true,
  11176. ],
  11177. ],
  11178. ],
  11179. ]
  11180. ]
  11181. );
  11182. $this->previewFeatures = new Compute\Resource\PreviewFeatures(
  11183. $this,
  11184. $this->serviceName,
  11185. 'previewFeatures',
  11186. [
  11187. 'methods' => [
  11188. 'get' => [
  11189. 'path' => 'projects/{project}/global/previewFeatures/{previewFeature}',
  11190. 'httpMethod' => 'GET',
  11191. 'parameters' => [
  11192. 'project' => [
  11193. 'location' => 'path',
  11194. 'type' => 'string',
  11195. 'required' => true,
  11196. ],
  11197. 'previewFeature' => [
  11198. 'location' => 'path',
  11199. 'type' => 'string',
  11200. 'required' => true,
  11201. ],
  11202. ],
  11203. ],'list' => [
  11204. 'path' => 'projects/{project}/global/previewFeatures',
  11205. 'httpMethod' => 'GET',
  11206. 'parameters' => [
  11207. 'project' => [
  11208. 'location' => 'path',
  11209. 'type' => 'string',
  11210. 'required' => true,
  11211. ],
  11212. 'filter' => [
  11213. 'location' => 'query',
  11214. 'type' => 'string',
  11215. ],
  11216. 'maxResults' => [
  11217. 'location' => 'query',
  11218. 'type' => 'integer',
  11219. ],
  11220. 'orderBy' => [
  11221. 'location' => 'query',
  11222. 'type' => 'string',
  11223. ],
  11224. 'pageToken' => [
  11225. 'location' => 'query',
  11226. 'type' => 'string',
  11227. ],
  11228. 'returnPartialSuccess' => [
  11229. 'location' => 'query',
  11230. 'type' => 'boolean',
  11231. ],
  11232. ],
  11233. ],'update' => [
  11234. 'path' => 'projects/{project}/global/previewFeatures/{previewFeature}',
  11235. 'httpMethod' => 'PATCH',
  11236. 'parameters' => [
  11237. 'project' => [
  11238. 'location' => 'path',
  11239. 'type' => 'string',
  11240. 'required' => true,
  11241. ],
  11242. 'previewFeature' => [
  11243. 'location' => 'path',
  11244. 'type' => 'string',
  11245. 'required' => true,
  11246. ],
  11247. 'requestId' => [
  11248. 'location' => 'query',
  11249. 'type' => 'string',
  11250. ],
  11251. ],
  11252. ],
  11253. ]
  11254. ]
  11255. );
  11256. $this->projects = new Compute\Resource\Projects(
  11257. $this,
  11258. $this->serviceName,
  11259. 'projects',
  11260. [
  11261. 'methods' => [
  11262. 'disableXpnHost' => [
  11263. 'path' => 'projects/{project}/disableXpnHost',
  11264. 'httpMethod' => 'POST',
  11265. 'parameters' => [
  11266. 'project' => [
  11267. 'location' => 'path',
  11268. 'type' => 'string',
  11269. 'required' => true,
  11270. ],
  11271. 'requestId' => [
  11272. 'location' => 'query',
  11273. 'type' => 'string',
  11274. ],
  11275. ],
  11276. ],'disableXpnResource' => [
  11277. 'path' => 'projects/{project}/disableXpnResource',
  11278. 'httpMethod' => 'POST',
  11279. 'parameters' => [
  11280. 'project' => [
  11281. 'location' => 'path',
  11282. 'type' => 'string',
  11283. 'required' => true,
  11284. ],
  11285. 'requestId' => [
  11286. 'location' => 'query',
  11287. 'type' => 'string',
  11288. ],
  11289. ],
  11290. ],'enableXpnHost' => [
  11291. 'path' => 'projects/{project}/enableXpnHost',
  11292. 'httpMethod' => 'POST',
  11293. 'parameters' => [
  11294. 'project' => [
  11295. 'location' => 'path',
  11296. 'type' => 'string',
  11297. 'required' => true,
  11298. ],
  11299. 'requestId' => [
  11300. 'location' => 'query',
  11301. 'type' => 'string',
  11302. ],
  11303. ],
  11304. ],'enableXpnResource' => [
  11305. 'path' => 'projects/{project}/enableXpnResource',
  11306. 'httpMethod' => 'POST',
  11307. 'parameters' => [
  11308. 'project' => [
  11309. 'location' => 'path',
  11310. 'type' => 'string',
  11311. 'required' => true,
  11312. ],
  11313. 'requestId' => [
  11314. 'location' => 'query',
  11315. 'type' => 'string',
  11316. ],
  11317. ],
  11318. ],'get' => [
  11319. 'path' => 'projects/{project}',
  11320. 'httpMethod' => 'GET',
  11321. 'parameters' => [
  11322. 'project' => [
  11323. 'location' => 'path',
  11324. 'type' => 'string',
  11325. 'required' => true,
  11326. ],
  11327. ],
  11328. ],'getXpnHost' => [
  11329. 'path' => 'projects/{project}/getXpnHost',
  11330. 'httpMethod' => 'GET',
  11331. 'parameters' => [
  11332. 'project' => [
  11333. 'location' => 'path',
  11334. 'type' => 'string',
  11335. 'required' => true,
  11336. ],
  11337. ],
  11338. ],'getXpnResources' => [
  11339. 'path' => 'projects/{project}/getXpnResources',
  11340. 'httpMethod' => 'GET',
  11341. 'parameters' => [
  11342. 'project' => [
  11343. 'location' => 'path',
  11344. 'type' => 'string',
  11345. 'required' => true,
  11346. ],
  11347. 'filter' => [
  11348. 'location' => 'query',
  11349. 'type' => 'string',
  11350. ],
  11351. 'maxResults' => [
  11352. 'location' => 'query',
  11353. 'type' => 'integer',
  11354. ],
  11355. 'orderBy' => [
  11356. 'location' => 'query',
  11357. 'type' => 'string',
  11358. ],
  11359. 'pageToken' => [
  11360. 'location' => 'query',
  11361. 'type' => 'string',
  11362. ],
  11363. 'returnPartialSuccess' => [
  11364. 'location' => 'query',
  11365. 'type' => 'boolean',
  11366. ],
  11367. ],
  11368. ],'listXpnHosts' => [
  11369. 'path' => 'projects/{project}/listXpnHosts',
  11370. 'httpMethod' => 'POST',
  11371. 'parameters' => [
  11372. 'project' => [
  11373. 'location' => 'path',
  11374. 'type' => 'string',
  11375. 'required' => true,
  11376. ],
  11377. 'filter' => [
  11378. 'location' => 'query',
  11379. 'type' => 'string',
  11380. ],
  11381. 'maxResults' => [
  11382. 'location' => 'query',
  11383. 'type' => 'integer',
  11384. ],
  11385. 'orderBy' => [
  11386. 'location' => 'query',
  11387. 'type' => 'string',
  11388. ],
  11389. 'pageToken' => [
  11390. 'location' => 'query',
  11391. 'type' => 'string',
  11392. ],
  11393. 'returnPartialSuccess' => [
  11394. 'location' => 'query',
  11395. 'type' => 'boolean',
  11396. ],
  11397. ],
  11398. ],'moveDisk' => [
  11399. 'path' => 'projects/{project}/moveDisk',
  11400. 'httpMethod' => 'POST',
  11401. 'parameters' => [
  11402. 'project' => [
  11403. 'location' => 'path',
  11404. 'type' => 'string',
  11405. 'required' => true,
  11406. ],
  11407. 'requestId' => [
  11408. 'location' => 'query',
  11409. 'type' => 'string',
  11410. ],
  11411. ],
  11412. ],'moveInstance' => [
  11413. 'path' => 'projects/{project}/moveInstance',
  11414. 'httpMethod' => 'POST',
  11415. 'parameters' => [
  11416. 'project' => [
  11417. 'location' => 'path',
  11418. 'type' => 'string',
  11419. 'required' => true,
  11420. ],
  11421. 'requestId' => [
  11422. 'location' => 'query',
  11423. 'type' => 'string',
  11424. ],
  11425. ],
  11426. ],'setCloudArmorTier' => [
  11427. 'path' => 'projects/{project}/setCloudArmorTier',
  11428. 'httpMethod' => 'POST',
  11429. 'parameters' => [
  11430. 'project' => [
  11431. 'location' => 'path',
  11432. 'type' => 'string',
  11433. 'required' => true,
  11434. ],
  11435. 'requestId' => [
  11436. 'location' => 'query',
  11437. 'type' => 'string',
  11438. ],
  11439. ],
  11440. ],'setCommonInstanceMetadata' => [
  11441. 'path' => 'projects/{project}/setCommonInstanceMetadata',
  11442. 'httpMethod' => 'POST',
  11443. 'parameters' => [
  11444. 'project' => [
  11445. 'location' => 'path',
  11446. 'type' => 'string',
  11447. 'required' => true,
  11448. ],
  11449. 'requestId' => [
  11450. 'location' => 'query',
  11451. 'type' => 'string',
  11452. ],
  11453. ],
  11454. ],'setDefaultNetworkTier' => [
  11455. 'path' => 'projects/{project}/setDefaultNetworkTier',
  11456. 'httpMethod' => 'POST',
  11457. 'parameters' => [
  11458. 'project' => [
  11459. 'location' => 'path',
  11460. 'type' => 'string',
  11461. 'required' => true,
  11462. ],
  11463. 'requestId' => [
  11464. 'location' => 'query',
  11465. 'type' => 'string',
  11466. ],
  11467. ],
  11468. ],'setUsageExportBucket' => [
  11469. 'path' => 'projects/{project}/setUsageExportBucket',
  11470. 'httpMethod' => 'POST',
  11471. 'parameters' => [
  11472. 'project' => [
  11473. 'location' => 'path',
  11474. 'type' => 'string',
  11475. 'required' => true,
  11476. ],
  11477. 'requestId' => [
  11478. 'location' => 'query',
  11479. 'type' => 'string',
  11480. ],
  11481. ],
  11482. ],
  11483. ]
  11484. ]
  11485. );
  11486. $this->publicAdvertisedPrefixes = new Compute\Resource\PublicAdvertisedPrefixes(
  11487. $this,
  11488. $this->serviceName,
  11489. 'publicAdvertisedPrefixes',
  11490. [
  11491. 'methods' => [
  11492. 'announce' => [
  11493. 'path' => 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce',
  11494. 'httpMethod' => 'POST',
  11495. 'parameters' => [
  11496. 'project' => [
  11497. 'location' => 'path',
  11498. 'type' => 'string',
  11499. 'required' => true,
  11500. ],
  11501. 'publicAdvertisedPrefix' => [
  11502. 'location' => 'path',
  11503. 'type' => 'string',
  11504. 'required' => true,
  11505. ],
  11506. 'requestId' => [
  11507. 'location' => 'query',
  11508. 'type' => 'string',
  11509. ],
  11510. ],
  11511. ],'delete' => [
  11512. 'path' => 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}',
  11513. 'httpMethod' => 'DELETE',
  11514. 'parameters' => [
  11515. 'project' => [
  11516. 'location' => 'path',
  11517. 'type' => 'string',
  11518. 'required' => true,
  11519. ],
  11520. 'publicAdvertisedPrefix' => [
  11521. 'location' => 'path',
  11522. 'type' => 'string',
  11523. 'required' => true,
  11524. ],
  11525. 'requestId' => [
  11526. 'location' => 'query',
  11527. 'type' => 'string',
  11528. ],
  11529. ],
  11530. ],'get' => [
  11531. 'path' => 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}',
  11532. 'httpMethod' => 'GET',
  11533. 'parameters' => [
  11534. 'project' => [
  11535. 'location' => 'path',
  11536. 'type' => 'string',
  11537. 'required' => true,
  11538. ],
  11539. 'publicAdvertisedPrefix' => [
  11540. 'location' => 'path',
  11541. 'type' => 'string',
  11542. 'required' => true,
  11543. ],
  11544. ],
  11545. ],'insert' => [
  11546. 'path' => 'projects/{project}/global/publicAdvertisedPrefixes',
  11547. 'httpMethod' => 'POST',
  11548. 'parameters' => [
  11549. 'project' => [
  11550. 'location' => 'path',
  11551. 'type' => 'string',
  11552. 'required' => true,
  11553. ],
  11554. 'requestId' => [
  11555. 'location' => 'query',
  11556. 'type' => 'string',
  11557. ],
  11558. ],
  11559. ],'list' => [
  11560. 'path' => 'projects/{project}/global/publicAdvertisedPrefixes',
  11561. 'httpMethod' => 'GET',
  11562. 'parameters' => [
  11563. 'project' => [
  11564. 'location' => 'path',
  11565. 'type' => 'string',
  11566. 'required' => true,
  11567. ],
  11568. 'filter' => [
  11569. 'location' => 'query',
  11570. 'type' => 'string',
  11571. ],
  11572. 'maxResults' => [
  11573. 'location' => 'query',
  11574. 'type' => 'integer',
  11575. ],
  11576. 'orderBy' => [
  11577. 'location' => 'query',
  11578. 'type' => 'string',
  11579. ],
  11580. 'pageToken' => [
  11581. 'location' => 'query',
  11582. 'type' => 'string',
  11583. ],
  11584. 'returnPartialSuccess' => [
  11585. 'location' => 'query',
  11586. 'type' => 'boolean',
  11587. ],
  11588. ],
  11589. ],'patch' => [
  11590. 'path' => 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}',
  11591. 'httpMethod' => 'PATCH',
  11592. 'parameters' => [
  11593. 'project' => [
  11594. 'location' => 'path',
  11595. 'type' => 'string',
  11596. 'required' => true,
  11597. ],
  11598. 'publicAdvertisedPrefix' => [
  11599. 'location' => 'path',
  11600. 'type' => 'string',
  11601. 'required' => true,
  11602. ],
  11603. 'requestId' => [
  11604. 'location' => 'query',
  11605. 'type' => 'string',
  11606. ],
  11607. ],
  11608. ],'withdraw' => [
  11609. 'path' => 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw',
  11610. 'httpMethod' => 'POST',
  11611. 'parameters' => [
  11612. 'project' => [
  11613. 'location' => 'path',
  11614. 'type' => 'string',
  11615. 'required' => true,
  11616. ],
  11617. 'publicAdvertisedPrefix' => [
  11618. 'location' => 'path',
  11619. 'type' => 'string',
  11620. 'required' => true,
  11621. ],
  11622. 'requestId' => [
  11623. 'location' => 'query',
  11624. 'type' => 'string',
  11625. ],
  11626. ],
  11627. ],
  11628. ]
  11629. ]
  11630. );
  11631. $this->publicDelegatedPrefixes = new Compute\Resource\PublicDelegatedPrefixes(
  11632. $this,
  11633. $this->serviceName,
  11634. 'publicDelegatedPrefixes',
  11635. [
  11636. 'methods' => [
  11637. 'aggregatedList' => [
  11638. 'path' => 'projects/{project}/aggregated/publicDelegatedPrefixes',
  11639. 'httpMethod' => 'GET',
  11640. 'parameters' => [
  11641. 'project' => [
  11642. 'location' => 'path',
  11643. 'type' => 'string',
  11644. 'required' => true,
  11645. ],
  11646. 'filter' => [
  11647. 'location' => 'query',
  11648. 'type' => 'string',
  11649. ],
  11650. 'includeAllScopes' => [
  11651. 'location' => 'query',
  11652. 'type' => 'boolean',
  11653. ],
  11654. 'maxResults' => [
  11655. 'location' => 'query',
  11656. 'type' => 'integer',
  11657. ],
  11658. 'orderBy' => [
  11659. 'location' => 'query',
  11660. 'type' => 'string',
  11661. ],
  11662. 'pageToken' => [
  11663. 'location' => 'query',
  11664. 'type' => 'string',
  11665. ],
  11666. 'returnPartialSuccess' => [
  11667. 'location' => 'query',
  11668. 'type' => 'boolean',
  11669. ],
  11670. 'serviceProjectNumber' => [
  11671. 'location' => 'query',
  11672. 'type' => 'string',
  11673. ],
  11674. ],
  11675. ],'announce' => [
  11676. 'path' => 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce',
  11677. 'httpMethod' => 'POST',
  11678. 'parameters' => [
  11679. 'project' => [
  11680. 'location' => 'path',
  11681. 'type' => 'string',
  11682. 'required' => true,
  11683. ],
  11684. 'region' => [
  11685. 'location' => 'path',
  11686. 'type' => 'string',
  11687. 'required' => true,
  11688. ],
  11689. 'publicDelegatedPrefix' => [
  11690. 'location' => 'path',
  11691. 'type' => 'string',
  11692. 'required' => true,
  11693. ],
  11694. 'requestId' => [
  11695. 'location' => 'query',
  11696. 'type' => 'string',
  11697. ],
  11698. ],
  11699. ],'delete' => [
  11700. 'path' => 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}',
  11701. 'httpMethod' => 'DELETE',
  11702. 'parameters' => [
  11703. 'project' => [
  11704. 'location' => 'path',
  11705. 'type' => 'string',
  11706. 'required' => true,
  11707. ],
  11708. 'region' => [
  11709. 'location' => 'path',
  11710. 'type' => 'string',
  11711. 'required' => true,
  11712. ],
  11713. 'publicDelegatedPrefix' => [
  11714. 'location' => 'path',
  11715. 'type' => 'string',
  11716. 'required' => true,
  11717. ],
  11718. 'requestId' => [
  11719. 'location' => 'query',
  11720. 'type' => 'string',
  11721. ],
  11722. ],
  11723. ],'get' => [
  11724. 'path' => 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}',
  11725. 'httpMethod' => 'GET',
  11726. 'parameters' => [
  11727. 'project' => [
  11728. 'location' => 'path',
  11729. 'type' => 'string',
  11730. 'required' => true,
  11731. ],
  11732. 'region' => [
  11733. 'location' => 'path',
  11734. 'type' => 'string',
  11735. 'required' => true,
  11736. ],
  11737. 'publicDelegatedPrefix' => [
  11738. 'location' => 'path',
  11739. 'type' => 'string',
  11740. 'required' => true,
  11741. ],
  11742. ],
  11743. ],'insert' => [
  11744. 'path' => 'projects/{project}/regions/{region}/publicDelegatedPrefixes',
  11745. 'httpMethod' => 'POST',
  11746. 'parameters' => [
  11747. 'project' => [
  11748. 'location' => 'path',
  11749. 'type' => 'string',
  11750. 'required' => true,
  11751. ],
  11752. 'region' => [
  11753. 'location' => 'path',
  11754. 'type' => 'string',
  11755. 'required' => true,
  11756. ],
  11757. 'requestId' => [
  11758. 'location' => 'query',
  11759. 'type' => 'string',
  11760. ],
  11761. ],
  11762. ],'list' => [
  11763. 'path' => 'projects/{project}/regions/{region}/publicDelegatedPrefixes',
  11764. 'httpMethod' => 'GET',
  11765. 'parameters' => [
  11766. 'project' => [
  11767. 'location' => 'path',
  11768. 'type' => 'string',
  11769. 'required' => true,
  11770. ],
  11771. 'region' => [
  11772. 'location' => 'path',
  11773. 'type' => 'string',
  11774. 'required' => true,
  11775. ],
  11776. 'filter' => [
  11777. 'location' => 'query',
  11778. 'type' => 'string',
  11779. ],
  11780. 'maxResults' => [
  11781. 'location' => 'query',
  11782. 'type' => 'integer',
  11783. ],
  11784. 'orderBy' => [
  11785. 'location' => 'query',
  11786. 'type' => 'string',
  11787. ],
  11788. 'pageToken' => [
  11789. 'location' => 'query',
  11790. 'type' => 'string',
  11791. ],
  11792. 'returnPartialSuccess' => [
  11793. 'location' => 'query',
  11794. 'type' => 'boolean',
  11795. ],
  11796. ],
  11797. ],'patch' => [
  11798. 'path' => 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}',
  11799. 'httpMethod' => 'PATCH',
  11800. 'parameters' => [
  11801. 'project' => [
  11802. 'location' => 'path',
  11803. 'type' => 'string',
  11804. 'required' => true,
  11805. ],
  11806. 'region' => [
  11807. 'location' => 'path',
  11808. 'type' => 'string',
  11809. 'required' => true,
  11810. ],
  11811. 'publicDelegatedPrefix' => [
  11812. 'location' => 'path',
  11813. 'type' => 'string',
  11814. 'required' => true,
  11815. ],
  11816. 'requestId' => [
  11817. 'location' => 'query',
  11818. 'type' => 'string',
  11819. ],
  11820. ],
  11821. ],'withdraw' => [
  11822. 'path' => 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw',
  11823. 'httpMethod' => 'POST',
  11824. 'parameters' => [
  11825. 'project' => [
  11826. 'location' => 'path',
  11827. 'type' => 'string',
  11828. 'required' => true,
  11829. ],
  11830. 'region' => [
  11831. 'location' => 'path',
  11832. 'type' => 'string',
  11833. 'required' => true,
  11834. ],
  11835. 'publicDelegatedPrefix' => [
  11836. 'location' => 'path',
  11837. 'type' => 'string',
  11838. 'required' => true,
  11839. ],
  11840. 'requestId' => [
  11841. 'location' => 'query',
  11842. 'type' => 'string',
  11843. ],
  11844. ],
  11845. ],
  11846. ]
  11847. ]
  11848. );
  11849. $this->regionAutoscalers = new Compute\Resource\RegionAutoscalers(
  11850. $this,
  11851. $this->serviceName,
  11852. 'regionAutoscalers',
  11853. [
  11854. 'methods' => [
  11855. 'delete' => [
  11856. 'path' => 'projects/{project}/regions/{region}/autoscalers/{autoscaler}',
  11857. 'httpMethod' => 'DELETE',
  11858. 'parameters' => [
  11859. 'project' => [
  11860. 'location' => 'path',
  11861. 'type' => 'string',
  11862. 'required' => true,
  11863. ],
  11864. 'region' => [
  11865. 'location' => 'path',
  11866. 'type' => 'string',
  11867. 'required' => true,
  11868. ],
  11869. 'autoscaler' => [
  11870. 'location' => 'path',
  11871. 'type' => 'string',
  11872. 'required' => true,
  11873. ],
  11874. 'requestId' => [
  11875. 'location' => 'query',
  11876. 'type' => 'string',
  11877. ],
  11878. ],
  11879. ],'get' => [
  11880. 'path' => 'projects/{project}/regions/{region}/autoscalers/{autoscaler}',
  11881. 'httpMethod' => 'GET',
  11882. 'parameters' => [
  11883. 'project' => [
  11884. 'location' => 'path',
  11885. 'type' => 'string',
  11886. 'required' => true,
  11887. ],
  11888. 'region' => [
  11889. 'location' => 'path',
  11890. 'type' => 'string',
  11891. 'required' => true,
  11892. ],
  11893. 'autoscaler' => [
  11894. 'location' => 'path',
  11895. 'type' => 'string',
  11896. 'required' => true,
  11897. ],
  11898. ],
  11899. ],'insert' => [
  11900. 'path' => 'projects/{project}/regions/{region}/autoscalers',
  11901. 'httpMethod' => 'POST',
  11902. 'parameters' => [
  11903. 'project' => [
  11904. 'location' => 'path',
  11905. 'type' => 'string',
  11906. 'required' => true,
  11907. ],
  11908. 'region' => [
  11909. 'location' => 'path',
  11910. 'type' => 'string',
  11911. 'required' => true,
  11912. ],
  11913. 'requestId' => [
  11914. 'location' => 'query',
  11915. 'type' => 'string',
  11916. ],
  11917. ],
  11918. ],'list' => [
  11919. 'path' => 'projects/{project}/regions/{region}/autoscalers',
  11920. 'httpMethod' => 'GET',
  11921. 'parameters' => [
  11922. 'project' => [
  11923. 'location' => 'path',
  11924. 'type' => 'string',
  11925. 'required' => true,
  11926. ],
  11927. 'region' => [
  11928. 'location' => 'path',
  11929. 'type' => 'string',
  11930. 'required' => true,
  11931. ],
  11932. 'filter' => [
  11933. 'location' => 'query',
  11934. 'type' => 'string',
  11935. ],
  11936. 'maxResults' => [
  11937. 'location' => 'query',
  11938. 'type' => 'integer',
  11939. ],
  11940. 'orderBy' => [
  11941. 'location' => 'query',
  11942. 'type' => 'string',
  11943. ],
  11944. 'pageToken' => [
  11945. 'location' => 'query',
  11946. 'type' => 'string',
  11947. ],
  11948. 'returnPartialSuccess' => [
  11949. 'location' => 'query',
  11950. 'type' => 'boolean',
  11951. ],
  11952. ],
  11953. ],'patch' => [
  11954. 'path' => 'projects/{project}/regions/{region}/autoscalers',
  11955. 'httpMethod' => 'PATCH',
  11956. 'parameters' => [
  11957. 'project' => [
  11958. 'location' => 'path',
  11959. 'type' => 'string',
  11960. 'required' => true,
  11961. ],
  11962. 'region' => [
  11963. 'location' => 'path',
  11964. 'type' => 'string',
  11965. 'required' => true,
  11966. ],
  11967. 'autoscaler' => [
  11968. 'location' => 'query',
  11969. 'type' => 'string',
  11970. ],
  11971. 'requestId' => [
  11972. 'location' => 'query',
  11973. 'type' => 'string',
  11974. ],
  11975. ],
  11976. ],'testIamPermissions' => [
  11977. 'path' => 'projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions',
  11978. 'httpMethod' => 'POST',
  11979. 'parameters' => [
  11980. 'project' => [
  11981. 'location' => 'path',
  11982. 'type' => 'string',
  11983. 'required' => true,
  11984. ],
  11985. 'region' => [
  11986. 'location' => 'path',
  11987. 'type' => 'string',
  11988. 'required' => true,
  11989. ],
  11990. 'resource' => [
  11991. 'location' => 'path',
  11992. 'type' => 'string',
  11993. 'required' => true,
  11994. ],
  11995. ],
  11996. ],'update' => [
  11997. 'path' => 'projects/{project}/regions/{region}/autoscalers',
  11998. 'httpMethod' => 'PUT',
  11999. 'parameters' => [
  12000. 'project' => [
  12001. 'location' => 'path',
  12002. 'type' => 'string',
  12003. 'required' => true,
  12004. ],
  12005. 'region' => [
  12006. 'location' => 'path',
  12007. 'type' => 'string',
  12008. 'required' => true,
  12009. ],
  12010. 'autoscaler' => [
  12011. 'location' => 'query',
  12012. 'type' => 'string',
  12013. ],
  12014. 'requestId' => [
  12015. 'location' => 'query',
  12016. 'type' => 'string',
  12017. ],
  12018. ],
  12019. ],
  12020. ]
  12021. ]
  12022. );
  12023. $this->regionBackendServices = new Compute\Resource\RegionBackendServices(
  12024. $this,
  12025. $this->serviceName,
  12026. 'regionBackendServices',
  12027. [
  12028. 'methods' => [
  12029. 'delete' => [
  12030. 'path' => 'projects/{project}/regions/{region}/backendServices/{backendService}',
  12031. 'httpMethod' => 'DELETE',
  12032. 'parameters' => [
  12033. 'project' => [
  12034. 'location' => 'path',
  12035. 'type' => 'string',
  12036. 'required' => true,
  12037. ],
  12038. 'region' => [
  12039. 'location' => 'path',
  12040. 'type' => 'string',
  12041. 'required' => true,
  12042. ],
  12043. 'backendService' => [
  12044. 'location' => 'path',
  12045. 'type' => 'string',
  12046. 'required' => true,
  12047. ],
  12048. 'requestId' => [
  12049. 'location' => 'query',
  12050. 'type' => 'string',
  12051. ],
  12052. ],
  12053. ],'get' => [
  12054. 'path' => 'projects/{project}/regions/{region}/backendServices/{backendService}',
  12055. 'httpMethod' => 'GET',
  12056. 'parameters' => [
  12057. 'project' => [
  12058. 'location' => 'path',
  12059. 'type' => 'string',
  12060. 'required' => true,
  12061. ],
  12062. 'region' => [
  12063. 'location' => 'path',
  12064. 'type' => 'string',
  12065. 'required' => true,
  12066. ],
  12067. 'backendService' => [
  12068. 'location' => 'path',
  12069. 'type' => 'string',
  12070. 'required' => true,
  12071. ],
  12072. ],
  12073. ],'getHealth' => [
  12074. 'path' => 'projects/{project}/regions/{region}/backendServices/{backendService}/getHealth',
  12075. 'httpMethod' => 'POST',
  12076. 'parameters' => [
  12077. 'project' => [
  12078. 'location' => 'path',
  12079. 'type' => 'string',
  12080. 'required' => true,
  12081. ],
  12082. 'region' => [
  12083. 'location' => 'path',
  12084. 'type' => 'string',
  12085. 'required' => true,
  12086. ],
  12087. 'backendService' => [
  12088. 'location' => 'path',
  12089. 'type' => 'string',
  12090. 'required' => true,
  12091. ],
  12092. ],
  12093. ],'getIamPolicy' => [
  12094. 'path' => 'projects/{project}/regions/{region}/backendServices/{resource}/getIamPolicy',
  12095. 'httpMethod' => 'GET',
  12096. 'parameters' => [
  12097. 'project' => [
  12098. 'location' => 'path',
  12099. 'type' => 'string',
  12100. 'required' => true,
  12101. ],
  12102. 'region' => [
  12103. 'location' => 'path',
  12104. 'type' => 'string',
  12105. 'required' => true,
  12106. ],
  12107. 'resource' => [
  12108. 'location' => 'path',
  12109. 'type' => 'string',
  12110. 'required' => true,
  12111. ],
  12112. 'optionsRequestedPolicyVersion' => [
  12113. 'location' => 'query',
  12114. 'type' => 'integer',
  12115. ],
  12116. ],
  12117. ],'insert' => [
  12118. 'path' => 'projects/{project}/regions/{region}/backendServices',
  12119. 'httpMethod' => 'POST',
  12120. 'parameters' => [
  12121. 'project' => [
  12122. 'location' => 'path',
  12123. 'type' => 'string',
  12124. 'required' => true,
  12125. ],
  12126. 'region' => [
  12127. 'location' => 'path',
  12128. 'type' => 'string',
  12129. 'required' => true,
  12130. ],
  12131. 'requestId' => [
  12132. 'location' => 'query',
  12133. 'type' => 'string',
  12134. ],
  12135. ],
  12136. ],'list' => [
  12137. 'path' => 'projects/{project}/regions/{region}/backendServices',
  12138. 'httpMethod' => 'GET',
  12139. 'parameters' => [
  12140. 'project' => [
  12141. 'location' => 'path',
  12142. 'type' => 'string',
  12143. 'required' => true,
  12144. ],
  12145. 'region' => [
  12146. 'location' => 'path',
  12147. 'type' => 'string',
  12148. 'required' => true,
  12149. ],
  12150. 'filter' => [
  12151. 'location' => 'query',
  12152. 'type' => 'string',
  12153. ],
  12154. 'maxResults' => [
  12155. 'location' => 'query',
  12156. 'type' => 'integer',
  12157. ],
  12158. 'orderBy' => [
  12159. 'location' => 'query',
  12160. 'type' => 'string',
  12161. ],
  12162. 'pageToken' => [
  12163. 'location' => 'query',
  12164. 'type' => 'string',
  12165. ],
  12166. 'returnPartialSuccess' => [
  12167. 'location' => 'query',
  12168. 'type' => 'boolean',
  12169. ],
  12170. ],
  12171. ],'listUsable' => [
  12172. 'path' => 'projects/{project}/regions/{region}/backendServices/listUsable',
  12173. 'httpMethod' => 'GET',
  12174. 'parameters' => [
  12175. 'project' => [
  12176. 'location' => 'path',
  12177. 'type' => 'string',
  12178. 'required' => true,
  12179. ],
  12180. 'region' => [
  12181. 'location' => 'path',
  12182. 'type' => 'string',
  12183. 'required' => true,
  12184. ],
  12185. 'filter' => [
  12186. 'location' => 'query',
  12187. 'type' => 'string',
  12188. ],
  12189. 'maxResults' => [
  12190. 'location' => 'query',
  12191. 'type' => 'integer',
  12192. ],
  12193. 'orderBy' => [
  12194. 'location' => 'query',
  12195. 'type' => 'string',
  12196. ],
  12197. 'pageToken' => [
  12198. 'location' => 'query',
  12199. 'type' => 'string',
  12200. ],
  12201. 'returnPartialSuccess' => [
  12202. 'location' => 'query',
  12203. 'type' => 'boolean',
  12204. ],
  12205. ],
  12206. ],'patch' => [
  12207. 'path' => 'projects/{project}/regions/{region}/backendServices/{backendService}',
  12208. 'httpMethod' => 'PATCH',
  12209. 'parameters' => [
  12210. 'project' => [
  12211. 'location' => 'path',
  12212. 'type' => 'string',
  12213. 'required' => true,
  12214. ],
  12215. 'region' => [
  12216. 'location' => 'path',
  12217. 'type' => 'string',
  12218. 'required' => true,
  12219. ],
  12220. 'backendService' => [
  12221. 'location' => 'path',
  12222. 'type' => 'string',
  12223. 'required' => true,
  12224. ],
  12225. 'requestId' => [
  12226. 'location' => 'query',
  12227. 'type' => 'string',
  12228. ],
  12229. ],
  12230. ],'setIamPolicy' => [
  12231. 'path' => 'projects/{project}/regions/{region}/backendServices/{resource}/setIamPolicy',
  12232. 'httpMethod' => 'POST',
  12233. 'parameters' => [
  12234. 'project' => [
  12235. 'location' => 'path',
  12236. 'type' => 'string',
  12237. 'required' => true,
  12238. ],
  12239. 'region' => [
  12240. 'location' => 'path',
  12241. 'type' => 'string',
  12242. 'required' => true,
  12243. ],
  12244. 'resource' => [
  12245. 'location' => 'path',
  12246. 'type' => 'string',
  12247. 'required' => true,
  12248. ],
  12249. ],
  12250. ],'setSecurityPolicy' => [
  12251. 'path' => 'projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy',
  12252. 'httpMethod' => 'POST',
  12253. 'parameters' => [
  12254. 'project' => [
  12255. 'location' => 'path',
  12256. 'type' => 'string',
  12257. 'required' => true,
  12258. ],
  12259. 'region' => [
  12260. 'location' => 'path',
  12261. 'type' => 'string',
  12262. 'required' => true,
  12263. ],
  12264. 'backendService' => [
  12265. 'location' => 'path',
  12266. 'type' => 'string',
  12267. 'required' => true,
  12268. ],
  12269. 'requestId' => [
  12270. 'location' => 'query',
  12271. 'type' => 'string',
  12272. ],
  12273. ],
  12274. ],'testIamPermissions' => [
  12275. 'path' => 'projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions',
  12276. 'httpMethod' => 'POST',
  12277. 'parameters' => [
  12278. 'project' => [
  12279. 'location' => 'path',
  12280. 'type' => 'string',
  12281. 'required' => true,
  12282. ],
  12283. 'region' => [
  12284. 'location' => 'path',
  12285. 'type' => 'string',
  12286. 'required' => true,
  12287. ],
  12288. 'resource' => [
  12289. 'location' => 'path',
  12290. 'type' => 'string',
  12291. 'required' => true,
  12292. ],
  12293. ],
  12294. ],'update' => [
  12295. 'path' => 'projects/{project}/regions/{region}/backendServices/{backendService}',
  12296. 'httpMethod' => 'PUT',
  12297. 'parameters' => [
  12298. 'project' => [
  12299. 'location' => 'path',
  12300. 'type' => 'string',
  12301. 'required' => true,
  12302. ],
  12303. 'region' => [
  12304. 'location' => 'path',
  12305. 'type' => 'string',
  12306. 'required' => true,
  12307. ],
  12308. 'backendService' => [
  12309. 'location' => 'path',
  12310. 'type' => 'string',
  12311. 'required' => true,
  12312. ],
  12313. 'requestId' => [
  12314. 'location' => 'query',
  12315. 'type' => 'string',
  12316. ],
  12317. ],
  12318. ],
  12319. ]
  12320. ]
  12321. );
  12322. $this->regionCommitments = new Compute\Resource\RegionCommitments(
  12323. $this,
  12324. $this->serviceName,
  12325. 'regionCommitments',
  12326. [
  12327. 'methods' => [
  12328. 'aggregatedList' => [
  12329. 'path' => 'projects/{project}/aggregated/commitments',
  12330. 'httpMethod' => 'GET',
  12331. 'parameters' => [
  12332. 'project' => [
  12333. 'location' => 'path',
  12334. 'type' => 'string',
  12335. 'required' => true,
  12336. ],
  12337. 'filter' => [
  12338. 'location' => 'query',
  12339. 'type' => 'string',
  12340. ],
  12341. 'includeAllScopes' => [
  12342. 'location' => 'query',
  12343. 'type' => 'boolean',
  12344. ],
  12345. 'maxResults' => [
  12346. 'location' => 'query',
  12347. 'type' => 'integer',
  12348. ],
  12349. 'orderBy' => [
  12350. 'location' => 'query',
  12351. 'type' => 'string',
  12352. ],
  12353. 'pageToken' => [
  12354. 'location' => 'query',
  12355. 'type' => 'string',
  12356. ],
  12357. 'returnPartialSuccess' => [
  12358. 'location' => 'query',
  12359. 'type' => 'boolean',
  12360. ],
  12361. 'serviceProjectNumber' => [
  12362. 'location' => 'query',
  12363. 'type' => 'string',
  12364. ],
  12365. ],
  12366. ],'get' => [
  12367. 'path' => 'projects/{project}/regions/{region}/commitments/{commitment}',
  12368. 'httpMethod' => 'GET',
  12369. 'parameters' => [
  12370. 'project' => [
  12371. 'location' => 'path',
  12372. 'type' => 'string',
  12373. 'required' => true,
  12374. ],
  12375. 'region' => [
  12376. 'location' => 'path',
  12377. 'type' => 'string',
  12378. 'required' => true,
  12379. ],
  12380. 'commitment' => [
  12381. 'location' => 'path',
  12382. 'type' => 'string',
  12383. 'required' => true,
  12384. ],
  12385. ],
  12386. ],'insert' => [
  12387. 'path' => 'projects/{project}/regions/{region}/commitments',
  12388. 'httpMethod' => 'POST',
  12389. 'parameters' => [
  12390. 'project' => [
  12391. 'location' => 'path',
  12392. 'type' => 'string',
  12393. 'required' => true,
  12394. ],
  12395. 'region' => [
  12396. 'location' => 'path',
  12397. 'type' => 'string',
  12398. 'required' => true,
  12399. ],
  12400. 'requestId' => [
  12401. 'location' => 'query',
  12402. 'type' => 'string',
  12403. ],
  12404. ],
  12405. ],'list' => [
  12406. 'path' => 'projects/{project}/regions/{region}/commitments',
  12407. 'httpMethod' => 'GET',
  12408. 'parameters' => [
  12409. 'project' => [
  12410. 'location' => 'path',
  12411. 'type' => 'string',
  12412. 'required' => true,
  12413. ],
  12414. 'region' => [
  12415. 'location' => 'path',
  12416. 'type' => 'string',
  12417. 'required' => true,
  12418. ],
  12419. 'filter' => [
  12420. 'location' => 'query',
  12421. 'type' => 'string',
  12422. ],
  12423. 'maxResults' => [
  12424. 'location' => 'query',
  12425. 'type' => 'integer',
  12426. ],
  12427. 'orderBy' => [
  12428. 'location' => 'query',
  12429. 'type' => 'string',
  12430. ],
  12431. 'pageToken' => [
  12432. 'location' => 'query',
  12433. 'type' => 'string',
  12434. ],
  12435. 'returnPartialSuccess' => [
  12436. 'location' => 'query',
  12437. 'type' => 'boolean',
  12438. ],
  12439. ],
  12440. ],'update' => [
  12441. 'path' => 'projects/{project}/regions/{region}/commitments/{commitment}',
  12442. 'httpMethod' => 'PATCH',
  12443. 'parameters' => [
  12444. 'project' => [
  12445. 'location' => 'path',
  12446. 'type' => 'string',
  12447. 'required' => true,
  12448. ],
  12449. 'region' => [
  12450. 'location' => 'path',
  12451. 'type' => 'string',
  12452. 'required' => true,
  12453. ],
  12454. 'commitment' => [
  12455. 'location' => 'path',
  12456. 'type' => 'string',
  12457. 'required' => true,
  12458. ],
  12459. 'paths' => [
  12460. 'location' => 'query',
  12461. 'type' => 'string',
  12462. 'repeated' => true,
  12463. ],
  12464. 'requestId' => [
  12465. 'location' => 'query',
  12466. 'type' => 'string',
  12467. ],
  12468. 'updateMask' => [
  12469. 'location' => 'query',
  12470. 'type' => 'string',
  12471. ],
  12472. ],
  12473. ],
  12474. ]
  12475. ]
  12476. );
  12477. $this->regionDiskTypes = new Compute\Resource\RegionDiskTypes(
  12478. $this,
  12479. $this->serviceName,
  12480. 'regionDiskTypes',
  12481. [
  12482. 'methods' => [
  12483. 'get' => [
  12484. 'path' => 'projects/{project}/regions/{region}/diskTypes/{diskType}',
  12485. 'httpMethod' => 'GET',
  12486. 'parameters' => [
  12487. 'project' => [
  12488. 'location' => 'path',
  12489. 'type' => 'string',
  12490. 'required' => true,
  12491. ],
  12492. 'region' => [
  12493. 'location' => 'path',
  12494. 'type' => 'string',
  12495. 'required' => true,
  12496. ],
  12497. 'diskType' => [
  12498. 'location' => 'path',
  12499. 'type' => 'string',
  12500. 'required' => true,
  12501. ],
  12502. ],
  12503. ],'list' => [
  12504. 'path' => 'projects/{project}/regions/{region}/diskTypes',
  12505. 'httpMethod' => 'GET',
  12506. 'parameters' => [
  12507. 'project' => [
  12508. 'location' => 'path',
  12509. 'type' => 'string',
  12510. 'required' => true,
  12511. ],
  12512. 'region' => [
  12513. 'location' => 'path',
  12514. 'type' => 'string',
  12515. 'required' => true,
  12516. ],
  12517. 'filter' => [
  12518. 'location' => 'query',
  12519. 'type' => 'string',
  12520. ],
  12521. 'maxResults' => [
  12522. 'location' => 'query',
  12523. 'type' => 'integer',
  12524. ],
  12525. 'orderBy' => [
  12526. 'location' => 'query',
  12527. 'type' => 'string',
  12528. ],
  12529. 'pageToken' => [
  12530. 'location' => 'query',
  12531. 'type' => 'string',
  12532. ],
  12533. 'returnPartialSuccess' => [
  12534. 'location' => 'query',
  12535. 'type' => 'boolean',
  12536. ],
  12537. ],
  12538. ],
  12539. ]
  12540. ]
  12541. );
  12542. $this->regionDisks = new Compute\Resource\RegionDisks(
  12543. $this,
  12544. $this->serviceName,
  12545. 'regionDisks',
  12546. [
  12547. 'methods' => [
  12548. 'addResourcePolicies' => [
  12549. 'path' => 'projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies',
  12550. 'httpMethod' => 'POST',
  12551. 'parameters' => [
  12552. 'project' => [
  12553. 'location' => 'path',
  12554. 'type' => 'string',
  12555. 'required' => true,
  12556. ],
  12557. 'region' => [
  12558. 'location' => 'path',
  12559. 'type' => 'string',
  12560. 'required' => true,
  12561. ],
  12562. 'disk' => [
  12563. 'location' => 'path',
  12564. 'type' => 'string',
  12565. 'required' => true,
  12566. ],
  12567. 'requestId' => [
  12568. 'location' => 'query',
  12569. 'type' => 'string',
  12570. ],
  12571. ],
  12572. ],'bulkInsert' => [
  12573. 'path' => 'projects/{project}/regions/{region}/disks/bulkInsert',
  12574. 'httpMethod' => 'POST',
  12575. 'parameters' => [
  12576. 'project' => [
  12577. 'location' => 'path',
  12578. 'type' => 'string',
  12579. 'required' => true,
  12580. ],
  12581. 'region' => [
  12582. 'location' => 'path',
  12583. 'type' => 'string',
  12584. 'required' => true,
  12585. ],
  12586. 'requestId' => [
  12587. 'location' => 'query',
  12588. 'type' => 'string',
  12589. ],
  12590. ],
  12591. ],'createSnapshot' => [
  12592. 'path' => 'projects/{project}/regions/{region}/disks/{disk}/createSnapshot',
  12593. 'httpMethod' => 'POST',
  12594. 'parameters' => [
  12595. 'project' => [
  12596. 'location' => 'path',
  12597. 'type' => 'string',
  12598. 'required' => true,
  12599. ],
  12600. 'region' => [
  12601. 'location' => 'path',
  12602. 'type' => 'string',
  12603. 'required' => true,
  12604. ],
  12605. 'disk' => [
  12606. 'location' => 'path',
  12607. 'type' => 'string',
  12608. 'required' => true,
  12609. ],
  12610. 'requestId' => [
  12611. 'location' => 'query',
  12612. 'type' => 'string',
  12613. ],
  12614. ],
  12615. ],'delete' => [
  12616. 'path' => 'projects/{project}/regions/{region}/disks/{disk}',
  12617. 'httpMethod' => 'DELETE',
  12618. 'parameters' => [
  12619. 'project' => [
  12620. 'location' => 'path',
  12621. 'type' => 'string',
  12622. 'required' => true,
  12623. ],
  12624. 'region' => [
  12625. 'location' => 'path',
  12626. 'type' => 'string',
  12627. 'required' => true,
  12628. ],
  12629. 'disk' => [
  12630. 'location' => 'path',
  12631. 'type' => 'string',
  12632. 'required' => true,
  12633. ],
  12634. 'requestId' => [
  12635. 'location' => 'query',
  12636. 'type' => 'string',
  12637. ],
  12638. ],
  12639. ],'get' => [
  12640. 'path' => 'projects/{project}/regions/{region}/disks/{disk}',
  12641. 'httpMethod' => 'GET',
  12642. 'parameters' => [
  12643. 'project' => [
  12644. 'location' => 'path',
  12645. 'type' => 'string',
  12646. 'required' => true,
  12647. ],
  12648. 'region' => [
  12649. 'location' => 'path',
  12650. 'type' => 'string',
  12651. 'required' => true,
  12652. ],
  12653. 'disk' => [
  12654. 'location' => 'path',
  12655. 'type' => 'string',
  12656. 'required' => true,
  12657. ],
  12658. ],
  12659. ],'getIamPolicy' => [
  12660. 'path' => 'projects/{project}/regions/{region}/disks/{resource}/getIamPolicy',
  12661. 'httpMethod' => 'GET',
  12662. 'parameters' => [
  12663. 'project' => [
  12664. 'location' => 'path',
  12665. 'type' => 'string',
  12666. 'required' => true,
  12667. ],
  12668. 'region' => [
  12669. 'location' => 'path',
  12670. 'type' => 'string',
  12671. 'required' => true,
  12672. ],
  12673. 'resource' => [
  12674. 'location' => 'path',
  12675. 'type' => 'string',
  12676. 'required' => true,
  12677. ],
  12678. 'optionsRequestedPolicyVersion' => [
  12679. 'location' => 'query',
  12680. 'type' => 'integer',
  12681. ],
  12682. ],
  12683. ],'insert' => [
  12684. 'path' => 'projects/{project}/regions/{region}/disks',
  12685. 'httpMethod' => 'POST',
  12686. 'parameters' => [
  12687. 'project' => [
  12688. 'location' => 'path',
  12689. 'type' => 'string',
  12690. 'required' => true,
  12691. ],
  12692. 'region' => [
  12693. 'location' => 'path',
  12694. 'type' => 'string',
  12695. 'required' => true,
  12696. ],
  12697. 'requestId' => [
  12698. 'location' => 'query',
  12699. 'type' => 'string',
  12700. ],
  12701. 'sourceImage' => [
  12702. 'location' => 'query',
  12703. 'type' => 'string',
  12704. ],
  12705. ],
  12706. ],'list' => [
  12707. 'path' => 'projects/{project}/regions/{region}/disks',
  12708. 'httpMethod' => 'GET',
  12709. 'parameters' => [
  12710. 'project' => [
  12711. 'location' => 'path',
  12712. 'type' => 'string',
  12713. 'required' => true,
  12714. ],
  12715. 'region' => [
  12716. 'location' => 'path',
  12717. 'type' => 'string',
  12718. 'required' => true,
  12719. ],
  12720. 'filter' => [
  12721. 'location' => 'query',
  12722. 'type' => 'string',
  12723. ],
  12724. 'maxResults' => [
  12725. 'location' => 'query',
  12726. 'type' => 'integer',
  12727. ],
  12728. 'orderBy' => [
  12729. 'location' => 'query',
  12730. 'type' => 'string',
  12731. ],
  12732. 'pageToken' => [
  12733. 'location' => 'query',
  12734. 'type' => 'string',
  12735. ],
  12736. 'returnPartialSuccess' => [
  12737. 'location' => 'query',
  12738. 'type' => 'boolean',
  12739. ],
  12740. ],
  12741. ],'removeResourcePolicies' => [
  12742. 'path' => 'projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies',
  12743. 'httpMethod' => 'POST',
  12744. 'parameters' => [
  12745. 'project' => [
  12746. 'location' => 'path',
  12747. 'type' => 'string',
  12748. 'required' => true,
  12749. ],
  12750. 'region' => [
  12751. 'location' => 'path',
  12752. 'type' => 'string',
  12753. 'required' => true,
  12754. ],
  12755. 'disk' => [
  12756. 'location' => 'path',
  12757. 'type' => 'string',
  12758. 'required' => true,
  12759. ],
  12760. 'requestId' => [
  12761. 'location' => 'query',
  12762. 'type' => 'string',
  12763. ],
  12764. ],
  12765. ],'resize' => [
  12766. 'path' => 'projects/{project}/regions/{region}/disks/{disk}/resize',
  12767. 'httpMethod' => 'POST',
  12768. 'parameters' => [
  12769. 'project' => [
  12770. 'location' => 'path',
  12771. 'type' => 'string',
  12772. 'required' => true,
  12773. ],
  12774. 'region' => [
  12775. 'location' => 'path',
  12776. 'type' => 'string',
  12777. 'required' => true,
  12778. ],
  12779. 'disk' => [
  12780. 'location' => 'path',
  12781. 'type' => 'string',
  12782. 'required' => true,
  12783. ],
  12784. 'requestId' => [
  12785. 'location' => 'query',
  12786. 'type' => 'string',
  12787. ],
  12788. ],
  12789. ],'setIamPolicy' => [
  12790. 'path' => 'projects/{project}/regions/{region}/disks/{resource}/setIamPolicy',
  12791. 'httpMethod' => 'POST',
  12792. 'parameters' => [
  12793. 'project' => [
  12794. 'location' => 'path',
  12795. 'type' => 'string',
  12796. 'required' => true,
  12797. ],
  12798. 'region' => [
  12799. 'location' => 'path',
  12800. 'type' => 'string',
  12801. 'required' => true,
  12802. ],
  12803. 'resource' => [
  12804. 'location' => 'path',
  12805. 'type' => 'string',
  12806. 'required' => true,
  12807. ],
  12808. ],
  12809. ],'setLabels' => [
  12810. 'path' => 'projects/{project}/regions/{region}/disks/{resource}/setLabels',
  12811. 'httpMethod' => 'POST',
  12812. 'parameters' => [
  12813. 'project' => [
  12814. 'location' => 'path',
  12815. 'type' => 'string',
  12816. 'required' => true,
  12817. ],
  12818. 'region' => [
  12819. 'location' => 'path',
  12820. 'type' => 'string',
  12821. 'required' => true,
  12822. ],
  12823. 'resource' => [
  12824. 'location' => 'path',
  12825. 'type' => 'string',
  12826. 'required' => true,
  12827. ],
  12828. 'requestId' => [
  12829. 'location' => 'query',
  12830. 'type' => 'string',
  12831. ],
  12832. ],
  12833. ],'startAsyncReplication' => [
  12834. 'path' => 'projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication',
  12835. 'httpMethod' => 'POST',
  12836. 'parameters' => [
  12837. 'project' => [
  12838. 'location' => 'path',
  12839. 'type' => 'string',
  12840. 'required' => true,
  12841. ],
  12842. 'region' => [
  12843. 'location' => 'path',
  12844. 'type' => 'string',
  12845. 'required' => true,
  12846. ],
  12847. 'disk' => [
  12848. 'location' => 'path',
  12849. 'type' => 'string',
  12850. 'required' => true,
  12851. ],
  12852. 'requestId' => [
  12853. 'location' => 'query',
  12854. 'type' => 'string',
  12855. ],
  12856. ],
  12857. ],'stopAsyncReplication' => [
  12858. 'path' => 'projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication',
  12859. 'httpMethod' => 'POST',
  12860. 'parameters' => [
  12861. 'project' => [
  12862. 'location' => 'path',
  12863. 'type' => 'string',
  12864. 'required' => true,
  12865. ],
  12866. 'region' => [
  12867. 'location' => 'path',
  12868. 'type' => 'string',
  12869. 'required' => true,
  12870. ],
  12871. 'disk' => [
  12872. 'location' => 'path',
  12873. 'type' => 'string',
  12874. 'required' => true,
  12875. ],
  12876. 'requestId' => [
  12877. 'location' => 'query',
  12878. 'type' => 'string',
  12879. ],
  12880. ],
  12881. ],'stopGroupAsyncReplication' => [
  12882. 'path' => 'projects/{project}/regions/{region}/disks/stopGroupAsyncReplication',
  12883. 'httpMethod' => 'POST',
  12884. 'parameters' => [
  12885. 'project' => [
  12886. 'location' => 'path',
  12887. 'type' => 'string',
  12888. 'required' => true,
  12889. ],
  12890. 'region' => [
  12891. 'location' => 'path',
  12892. 'type' => 'string',
  12893. 'required' => true,
  12894. ],
  12895. 'requestId' => [
  12896. 'location' => 'query',
  12897. 'type' => 'string',
  12898. ],
  12899. ],
  12900. ],'testIamPermissions' => [
  12901. 'path' => 'projects/{project}/regions/{region}/disks/{resource}/testIamPermissions',
  12902. 'httpMethod' => 'POST',
  12903. 'parameters' => [
  12904. 'project' => [
  12905. 'location' => 'path',
  12906. 'type' => 'string',
  12907. 'required' => true,
  12908. ],
  12909. 'region' => [
  12910. 'location' => 'path',
  12911. 'type' => 'string',
  12912. 'required' => true,
  12913. ],
  12914. 'resource' => [
  12915. 'location' => 'path',
  12916. 'type' => 'string',
  12917. 'required' => true,
  12918. ],
  12919. ],
  12920. ],'update' => [
  12921. 'path' => 'projects/{project}/regions/{region}/disks/{disk}',
  12922. 'httpMethod' => 'PATCH',
  12923. 'parameters' => [
  12924. 'project' => [
  12925. 'location' => 'path',
  12926. 'type' => 'string',
  12927. 'required' => true,
  12928. ],
  12929. 'region' => [
  12930. 'location' => 'path',
  12931. 'type' => 'string',
  12932. 'required' => true,
  12933. ],
  12934. 'disk' => [
  12935. 'location' => 'path',
  12936. 'type' => 'string',
  12937. 'required' => true,
  12938. ],
  12939. 'paths' => [
  12940. 'location' => 'query',
  12941. 'type' => 'string',
  12942. 'repeated' => true,
  12943. ],
  12944. 'requestId' => [
  12945. 'location' => 'query',
  12946. 'type' => 'string',
  12947. ],
  12948. 'updateMask' => [
  12949. 'location' => 'query',
  12950. 'type' => 'string',
  12951. ],
  12952. ],
  12953. ],
  12954. ]
  12955. ]
  12956. );
  12957. $this->regionHealthAggregationPolicies = new Compute\Resource\RegionHealthAggregationPolicies(
  12958. $this,
  12959. $this->serviceName,
  12960. 'regionHealthAggregationPolicies',
  12961. [
  12962. 'methods' => [
  12963. 'aggregatedList' => [
  12964. 'path' => 'projects/{project}/aggregated/healthAggregationPolicies',
  12965. 'httpMethod' => 'GET',
  12966. 'parameters' => [
  12967. 'project' => [
  12968. 'location' => 'path',
  12969. 'type' => 'string',
  12970. 'required' => true,
  12971. ],
  12972. 'filter' => [
  12973. 'location' => 'query',
  12974. 'type' => 'string',
  12975. ],
  12976. 'includeAllScopes' => [
  12977. 'location' => 'query',
  12978. 'type' => 'boolean',
  12979. ],
  12980. 'maxResults' => [
  12981. 'location' => 'query',
  12982. 'type' => 'integer',
  12983. ],
  12984. 'orderBy' => [
  12985. 'location' => 'query',
  12986. 'type' => 'string',
  12987. ],
  12988. 'pageToken' => [
  12989. 'location' => 'query',
  12990. 'type' => 'string',
  12991. ],
  12992. 'returnPartialSuccess' => [
  12993. 'location' => 'query',
  12994. 'type' => 'boolean',
  12995. ],
  12996. 'serviceProjectNumber' => [
  12997. 'location' => 'query',
  12998. 'type' => 'string',
  12999. ],
  13000. ],
  13001. ],'delete' => [
  13002. 'path' => 'projects/{project}/regions/{region}/healthAggregationPolicies/{healthAggregationPolicy}',
  13003. 'httpMethod' => 'DELETE',
  13004. 'parameters' => [
  13005. 'project' => [
  13006. 'location' => 'path',
  13007. 'type' => 'string',
  13008. 'required' => true,
  13009. ],
  13010. 'region' => [
  13011. 'location' => 'path',
  13012. 'type' => 'string',
  13013. 'required' => true,
  13014. ],
  13015. 'healthAggregationPolicy' => [
  13016. 'location' => 'path',
  13017. 'type' => 'string',
  13018. 'required' => true,
  13019. ],
  13020. 'requestId' => [
  13021. 'location' => 'query',
  13022. 'type' => 'string',
  13023. ],
  13024. ],
  13025. ],'get' => [
  13026. 'path' => 'projects/{project}/regions/{region}/healthAggregationPolicies/{healthAggregationPolicy}',
  13027. 'httpMethod' => 'GET',
  13028. 'parameters' => [
  13029. 'project' => [
  13030. 'location' => 'path',
  13031. 'type' => 'string',
  13032. 'required' => true,
  13033. ],
  13034. 'region' => [
  13035. 'location' => 'path',
  13036. 'type' => 'string',
  13037. 'required' => true,
  13038. ],
  13039. 'healthAggregationPolicy' => [
  13040. 'location' => 'path',
  13041. 'type' => 'string',
  13042. 'required' => true,
  13043. ],
  13044. ],
  13045. ],'insert' => [
  13046. 'path' => 'projects/{project}/regions/{region}/healthAggregationPolicies',
  13047. 'httpMethod' => 'POST',
  13048. 'parameters' => [
  13049. 'project' => [
  13050. 'location' => 'path',
  13051. 'type' => 'string',
  13052. 'required' => true,
  13053. ],
  13054. 'region' => [
  13055. 'location' => 'path',
  13056. 'type' => 'string',
  13057. 'required' => true,
  13058. ],
  13059. 'requestId' => [
  13060. 'location' => 'query',
  13061. 'type' => 'string',
  13062. ],
  13063. ],
  13064. ],'list' => [
  13065. 'path' => 'projects/{project}/regions/{region}/healthAggregationPolicies',
  13066. 'httpMethod' => 'GET',
  13067. 'parameters' => [
  13068. 'project' => [
  13069. 'location' => 'path',
  13070. 'type' => 'string',
  13071. 'required' => true,
  13072. ],
  13073. 'region' => [
  13074. 'location' => 'path',
  13075. 'type' => 'string',
  13076. 'required' => true,
  13077. ],
  13078. 'filter' => [
  13079. 'location' => 'query',
  13080. 'type' => 'string',
  13081. ],
  13082. 'maxResults' => [
  13083. 'location' => 'query',
  13084. 'type' => 'integer',
  13085. ],
  13086. 'orderBy' => [
  13087. 'location' => 'query',
  13088. 'type' => 'string',
  13089. ],
  13090. 'pageToken' => [
  13091. 'location' => 'query',
  13092. 'type' => 'string',
  13093. ],
  13094. 'returnPartialSuccess' => [
  13095. 'location' => 'query',
  13096. 'type' => 'boolean',
  13097. ],
  13098. ],
  13099. ],'patch' => [
  13100. 'path' => 'projects/{project}/regions/{region}/healthAggregationPolicies/{healthAggregationPolicy}',
  13101. 'httpMethod' => 'PATCH',
  13102. 'parameters' => [
  13103. 'project' => [
  13104. 'location' => 'path',
  13105. 'type' => 'string',
  13106. 'required' => true,
  13107. ],
  13108. 'region' => [
  13109. 'location' => 'path',
  13110. 'type' => 'string',
  13111. 'required' => true,
  13112. ],
  13113. 'healthAggregationPolicy' => [
  13114. 'location' => 'path',
  13115. 'type' => 'string',
  13116. 'required' => true,
  13117. ],
  13118. 'requestId' => [
  13119. 'location' => 'query',
  13120. 'type' => 'string',
  13121. ],
  13122. ],
  13123. ],'testIamPermissions' => [
  13124. 'path' => 'projects/{project}/regions/{region}/healthAggregationPolicies/{resource}/testIamPermissions',
  13125. 'httpMethod' => 'POST',
  13126. 'parameters' => [
  13127. 'project' => [
  13128. 'location' => 'path',
  13129. 'type' => 'string',
  13130. 'required' => true,
  13131. ],
  13132. 'region' => [
  13133. 'location' => 'path',
  13134. 'type' => 'string',
  13135. 'required' => true,
  13136. ],
  13137. 'resource' => [
  13138. 'location' => 'path',
  13139. 'type' => 'string',
  13140. 'required' => true,
  13141. ],
  13142. ],
  13143. ],
  13144. ]
  13145. ]
  13146. );
  13147. $this->regionHealthCheckServices = new Compute\Resource\RegionHealthCheckServices(
  13148. $this,
  13149. $this->serviceName,
  13150. 'regionHealthCheckServices',
  13151. [
  13152. 'methods' => [
  13153. 'delete' => [
  13154. 'path' => 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}',
  13155. 'httpMethod' => 'DELETE',
  13156. 'parameters' => [
  13157. 'project' => [
  13158. 'location' => 'path',
  13159. 'type' => 'string',
  13160. 'required' => true,
  13161. ],
  13162. 'region' => [
  13163. 'location' => 'path',
  13164. 'type' => 'string',
  13165. 'required' => true,
  13166. ],
  13167. 'healthCheckService' => [
  13168. 'location' => 'path',
  13169. 'type' => 'string',
  13170. 'required' => true,
  13171. ],
  13172. 'requestId' => [
  13173. 'location' => 'query',
  13174. 'type' => 'string',
  13175. ],
  13176. ],
  13177. ],'get' => [
  13178. 'path' => 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}',
  13179. 'httpMethod' => 'GET',
  13180. 'parameters' => [
  13181. 'project' => [
  13182. 'location' => 'path',
  13183. 'type' => 'string',
  13184. 'required' => true,
  13185. ],
  13186. 'region' => [
  13187. 'location' => 'path',
  13188. 'type' => 'string',
  13189. 'required' => true,
  13190. ],
  13191. 'healthCheckService' => [
  13192. 'location' => 'path',
  13193. 'type' => 'string',
  13194. 'required' => true,
  13195. ],
  13196. ],
  13197. ],'insert' => [
  13198. 'path' => 'projects/{project}/regions/{region}/healthCheckServices',
  13199. 'httpMethod' => 'POST',
  13200. 'parameters' => [
  13201. 'project' => [
  13202. 'location' => 'path',
  13203. 'type' => 'string',
  13204. 'required' => true,
  13205. ],
  13206. 'region' => [
  13207. 'location' => 'path',
  13208. 'type' => 'string',
  13209. 'required' => true,
  13210. ],
  13211. 'requestId' => [
  13212. 'location' => 'query',
  13213. 'type' => 'string',
  13214. ],
  13215. ],
  13216. ],'list' => [
  13217. 'path' => 'projects/{project}/regions/{region}/healthCheckServices',
  13218. 'httpMethod' => 'GET',
  13219. 'parameters' => [
  13220. 'project' => [
  13221. 'location' => 'path',
  13222. 'type' => 'string',
  13223. 'required' => true,
  13224. ],
  13225. 'region' => [
  13226. 'location' => 'path',
  13227. 'type' => 'string',
  13228. 'required' => true,
  13229. ],
  13230. 'filter' => [
  13231. 'location' => 'query',
  13232. 'type' => 'string',
  13233. ],
  13234. 'maxResults' => [
  13235. 'location' => 'query',
  13236. 'type' => 'integer',
  13237. ],
  13238. 'orderBy' => [
  13239. 'location' => 'query',
  13240. 'type' => 'string',
  13241. ],
  13242. 'pageToken' => [
  13243. 'location' => 'query',
  13244. 'type' => 'string',
  13245. ],
  13246. 'returnPartialSuccess' => [
  13247. 'location' => 'query',
  13248. 'type' => 'boolean',
  13249. ],
  13250. ],
  13251. ],'patch' => [
  13252. 'path' => 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}',
  13253. 'httpMethod' => 'PATCH',
  13254. 'parameters' => [
  13255. 'project' => [
  13256. 'location' => 'path',
  13257. 'type' => 'string',
  13258. 'required' => true,
  13259. ],
  13260. 'region' => [
  13261. 'location' => 'path',
  13262. 'type' => 'string',
  13263. 'required' => true,
  13264. ],
  13265. 'healthCheckService' => [
  13266. 'location' => 'path',
  13267. 'type' => 'string',
  13268. 'required' => true,
  13269. ],
  13270. 'requestId' => [
  13271. 'location' => 'query',
  13272. 'type' => 'string',
  13273. ],
  13274. ],
  13275. ],'testIamPermissions' => [
  13276. 'path' => 'projects/{project}/regions/{region}/healthCheckServices/{resource}/testIamPermissions',
  13277. 'httpMethod' => 'POST',
  13278. 'parameters' => [
  13279. 'project' => [
  13280. 'location' => 'path',
  13281. 'type' => 'string',
  13282. 'required' => true,
  13283. ],
  13284. 'region' => [
  13285. 'location' => 'path',
  13286. 'type' => 'string',
  13287. 'required' => true,
  13288. ],
  13289. 'resource' => [
  13290. 'location' => 'path',
  13291. 'type' => 'string',
  13292. 'required' => true,
  13293. ],
  13294. ],
  13295. ],
  13296. ]
  13297. ]
  13298. );
  13299. $this->regionHealthChecks = new Compute\Resource\RegionHealthChecks(
  13300. $this,
  13301. $this->serviceName,
  13302. 'regionHealthChecks',
  13303. [
  13304. 'methods' => [
  13305. 'delete' => [
  13306. 'path' => 'projects/{project}/regions/{region}/healthChecks/{healthCheck}',
  13307. 'httpMethod' => 'DELETE',
  13308. 'parameters' => [
  13309. 'project' => [
  13310. 'location' => 'path',
  13311. 'type' => 'string',
  13312. 'required' => true,
  13313. ],
  13314. 'region' => [
  13315. 'location' => 'path',
  13316. 'type' => 'string',
  13317. 'required' => true,
  13318. ],
  13319. 'healthCheck' => [
  13320. 'location' => 'path',
  13321. 'type' => 'string',
  13322. 'required' => true,
  13323. ],
  13324. 'requestId' => [
  13325. 'location' => 'query',
  13326. 'type' => 'string',
  13327. ],
  13328. ],
  13329. ],'get' => [
  13330. 'path' => 'projects/{project}/regions/{region}/healthChecks/{healthCheck}',
  13331. 'httpMethod' => 'GET',
  13332. 'parameters' => [
  13333. 'project' => [
  13334. 'location' => 'path',
  13335. 'type' => 'string',
  13336. 'required' => true,
  13337. ],
  13338. 'region' => [
  13339. 'location' => 'path',
  13340. 'type' => 'string',
  13341. 'required' => true,
  13342. ],
  13343. 'healthCheck' => [
  13344. 'location' => 'path',
  13345. 'type' => 'string',
  13346. 'required' => true,
  13347. ],
  13348. ],
  13349. ],'insert' => [
  13350. 'path' => 'projects/{project}/regions/{region}/healthChecks',
  13351. 'httpMethod' => 'POST',
  13352. 'parameters' => [
  13353. 'project' => [
  13354. 'location' => 'path',
  13355. 'type' => 'string',
  13356. 'required' => true,
  13357. ],
  13358. 'region' => [
  13359. 'location' => 'path',
  13360. 'type' => 'string',
  13361. 'required' => true,
  13362. ],
  13363. 'requestId' => [
  13364. 'location' => 'query',
  13365. 'type' => 'string',
  13366. ],
  13367. ],
  13368. ],'list' => [
  13369. 'path' => 'projects/{project}/regions/{region}/healthChecks',
  13370. 'httpMethod' => 'GET',
  13371. 'parameters' => [
  13372. 'project' => [
  13373. 'location' => 'path',
  13374. 'type' => 'string',
  13375. 'required' => true,
  13376. ],
  13377. 'region' => [
  13378. 'location' => 'path',
  13379. 'type' => 'string',
  13380. 'required' => true,
  13381. ],
  13382. 'filter' => [
  13383. 'location' => 'query',
  13384. 'type' => 'string',
  13385. ],
  13386. 'maxResults' => [
  13387. 'location' => 'query',
  13388. 'type' => 'integer',
  13389. ],
  13390. 'orderBy' => [
  13391. 'location' => 'query',
  13392. 'type' => 'string',
  13393. ],
  13394. 'pageToken' => [
  13395. 'location' => 'query',
  13396. 'type' => 'string',
  13397. ],
  13398. 'returnPartialSuccess' => [
  13399. 'location' => 'query',
  13400. 'type' => 'boolean',
  13401. ],
  13402. ],
  13403. ],'patch' => [
  13404. 'path' => 'projects/{project}/regions/{region}/healthChecks/{healthCheck}',
  13405. 'httpMethod' => 'PATCH',
  13406. 'parameters' => [
  13407. 'project' => [
  13408. 'location' => 'path',
  13409. 'type' => 'string',
  13410. 'required' => true,
  13411. ],
  13412. 'region' => [
  13413. 'location' => 'path',
  13414. 'type' => 'string',
  13415. 'required' => true,
  13416. ],
  13417. 'healthCheck' => [
  13418. 'location' => 'path',
  13419. 'type' => 'string',
  13420. 'required' => true,
  13421. ],
  13422. 'requestId' => [
  13423. 'location' => 'query',
  13424. 'type' => 'string',
  13425. ],
  13426. ],
  13427. ],'testIamPermissions' => [
  13428. 'path' => 'projects/{project}/regions/{region}/healthChecks/{resource}/testIamPermissions',
  13429. 'httpMethod' => 'POST',
  13430. 'parameters' => [
  13431. 'project' => [
  13432. 'location' => 'path',
  13433. 'type' => 'string',
  13434. 'required' => true,
  13435. ],
  13436. 'region' => [
  13437. 'location' => 'path',
  13438. 'type' => 'string',
  13439. 'required' => true,
  13440. ],
  13441. 'resource' => [
  13442. 'location' => 'path',
  13443. 'type' => 'string',
  13444. 'required' => true,
  13445. ],
  13446. ],
  13447. ],'update' => [
  13448. 'path' => 'projects/{project}/regions/{region}/healthChecks/{healthCheck}',
  13449. 'httpMethod' => 'PUT',
  13450. 'parameters' => [
  13451. 'project' => [
  13452. 'location' => 'path',
  13453. 'type' => 'string',
  13454. 'required' => true,
  13455. ],
  13456. 'region' => [
  13457. 'location' => 'path',
  13458. 'type' => 'string',
  13459. 'required' => true,
  13460. ],
  13461. 'healthCheck' => [
  13462. 'location' => 'path',
  13463. 'type' => 'string',
  13464. 'required' => true,
  13465. ],
  13466. 'requestId' => [
  13467. 'location' => 'query',
  13468. 'type' => 'string',
  13469. ],
  13470. ],
  13471. ],
  13472. ]
  13473. ]
  13474. );
  13475. $this->regionInstanceGroupManagers = new Compute\Resource\RegionInstanceGroupManagers(
  13476. $this,
  13477. $this->serviceName,
  13478. 'regionInstanceGroupManagers',
  13479. [
  13480. 'methods' => [
  13481. 'abandonInstances' => [
  13482. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances',
  13483. 'httpMethod' => 'POST',
  13484. 'parameters' => [
  13485. 'project' => [
  13486. 'location' => 'path',
  13487. 'type' => 'string',
  13488. 'required' => true,
  13489. ],
  13490. 'region' => [
  13491. 'location' => 'path',
  13492. 'type' => 'string',
  13493. 'required' => true,
  13494. ],
  13495. 'instanceGroupManager' => [
  13496. 'location' => 'path',
  13497. 'type' => 'string',
  13498. 'required' => true,
  13499. ],
  13500. 'requestId' => [
  13501. 'location' => 'query',
  13502. 'type' => 'string',
  13503. ],
  13504. ],
  13505. ],'applyUpdatesToInstances' => [
  13506. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances',
  13507. 'httpMethod' => 'POST',
  13508. 'parameters' => [
  13509. 'project' => [
  13510. 'location' => 'path',
  13511. 'type' => 'string',
  13512. 'required' => true,
  13513. ],
  13514. 'region' => [
  13515. 'location' => 'path',
  13516. 'type' => 'string',
  13517. 'required' => true,
  13518. ],
  13519. 'instanceGroupManager' => [
  13520. 'location' => 'path',
  13521. 'type' => 'string',
  13522. 'required' => true,
  13523. ],
  13524. ],
  13525. ],'createInstances' => [
  13526. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances',
  13527. 'httpMethod' => 'POST',
  13528. 'parameters' => [
  13529. 'project' => [
  13530. 'location' => 'path',
  13531. 'type' => 'string',
  13532. 'required' => true,
  13533. ],
  13534. 'region' => [
  13535. 'location' => 'path',
  13536. 'type' => 'string',
  13537. 'required' => true,
  13538. ],
  13539. 'instanceGroupManager' => [
  13540. 'location' => 'path',
  13541. 'type' => 'string',
  13542. 'required' => true,
  13543. ],
  13544. 'requestId' => [
  13545. 'location' => 'query',
  13546. 'type' => 'string',
  13547. ],
  13548. ],
  13549. ],'delete' => [
  13550. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}',
  13551. 'httpMethod' => 'DELETE',
  13552. 'parameters' => [
  13553. 'project' => [
  13554. 'location' => 'path',
  13555. 'type' => 'string',
  13556. 'required' => true,
  13557. ],
  13558. 'region' => [
  13559. 'location' => 'path',
  13560. 'type' => 'string',
  13561. 'required' => true,
  13562. ],
  13563. 'instanceGroupManager' => [
  13564. 'location' => 'path',
  13565. 'type' => 'string',
  13566. 'required' => true,
  13567. ],
  13568. 'requestId' => [
  13569. 'location' => 'query',
  13570. 'type' => 'string',
  13571. ],
  13572. ],
  13573. ],'deleteInstances' => [
  13574. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances',
  13575. 'httpMethod' => 'POST',
  13576. 'parameters' => [
  13577. 'project' => [
  13578. 'location' => 'path',
  13579. 'type' => 'string',
  13580. 'required' => true,
  13581. ],
  13582. 'region' => [
  13583. 'location' => 'path',
  13584. 'type' => 'string',
  13585. 'required' => true,
  13586. ],
  13587. 'instanceGroupManager' => [
  13588. 'location' => 'path',
  13589. 'type' => 'string',
  13590. 'required' => true,
  13591. ],
  13592. 'requestId' => [
  13593. 'location' => 'query',
  13594. 'type' => 'string',
  13595. ],
  13596. ],
  13597. ],'deletePerInstanceConfigs' => [
  13598. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs',
  13599. 'httpMethod' => 'POST',
  13600. 'parameters' => [
  13601. 'project' => [
  13602. 'location' => 'path',
  13603. 'type' => 'string',
  13604. 'required' => true,
  13605. ],
  13606. 'region' => [
  13607. 'location' => 'path',
  13608. 'type' => 'string',
  13609. 'required' => true,
  13610. ],
  13611. 'instanceGroupManager' => [
  13612. 'location' => 'path',
  13613. 'type' => 'string',
  13614. 'required' => true,
  13615. ],
  13616. ],
  13617. ],'get' => [
  13618. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}',
  13619. 'httpMethod' => 'GET',
  13620. 'parameters' => [
  13621. 'project' => [
  13622. 'location' => 'path',
  13623. 'type' => 'string',
  13624. 'required' => true,
  13625. ],
  13626. 'region' => [
  13627. 'location' => 'path',
  13628. 'type' => 'string',
  13629. 'required' => true,
  13630. ],
  13631. 'instanceGroupManager' => [
  13632. 'location' => 'path',
  13633. 'type' => 'string',
  13634. 'required' => true,
  13635. ],
  13636. ],
  13637. ],'insert' => [
  13638. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers',
  13639. 'httpMethod' => 'POST',
  13640. 'parameters' => [
  13641. 'project' => [
  13642. 'location' => 'path',
  13643. 'type' => 'string',
  13644. 'required' => true,
  13645. ],
  13646. 'region' => [
  13647. 'location' => 'path',
  13648. 'type' => 'string',
  13649. 'required' => true,
  13650. ],
  13651. 'requestId' => [
  13652. 'location' => 'query',
  13653. 'type' => 'string',
  13654. ],
  13655. ],
  13656. ],'list' => [
  13657. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers',
  13658. 'httpMethod' => 'GET',
  13659. 'parameters' => [
  13660. 'project' => [
  13661. 'location' => 'path',
  13662. 'type' => 'string',
  13663. 'required' => true,
  13664. ],
  13665. 'region' => [
  13666. 'location' => 'path',
  13667. 'type' => 'string',
  13668. 'required' => true,
  13669. ],
  13670. 'filter' => [
  13671. 'location' => 'query',
  13672. 'type' => 'string',
  13673. ],
  13674. 'maxResults' => [
  13675. 'location' => 'query',
  13676. 'type' => 'integer',
  13677. ],
  13678. 'orderBy' => [
  13679. 'location' => 'query',
  13680. 'type' => 'string',
  13681. ],
  13682. 'pageToken' => [
  13683. 'location' => 'query',
  13684. 'type' => 'string',
  13685. ],
  13686. 'returnPartialSuccess' => [
  13687. 'location' => 'query',
  13688. 'type' => 'boolean',
  13689. ],
  13690. ],
  13691. ],'listErrors' => [
  13692. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors',
  13693. 'httpMethod' => 'GET',
  13694. 'parameters' => [
  13695. 'project' => [
  13696. 'location' => 'path',
  13697. 'type' => 'string',
  13698. 'required' => true,
  13699. ],
  13700. 'region' => [
  13701. 'location' => 'path',
  13702. 'type' => 'string',
  13703. 'required' => true,
  13704. ],
  13705. 'instanceGroupManager' => [
  13706. 'location' => 'path',
  13707. 'type' => 'string',
  13708. 'required' => true,
  13709. ],
  13710. 'filter' => [
  13711. 'location' => 'query',
  13712. 'type' => 'string',
  13713. ],
  13714. 'maxResults' => [
  13715. 'location' => 'query',
  13716. 'type' => 'integer',
  13717. ],
  13718. 'orderBy' => [
  13719. 'location' => 'query',
  13720. 'type' => 'string',
  13721. ],
  13722. 'pageToken' => [
  13723. 'location' => 'query',
  13724. 'type' => 'string',
  13725. ],
  13726. 'returnPartialSuccess' => [
  13727. 'location' => 'query',
  13728. 'type' => 'boolean',
  13729. ],
  13730. ],
  13731. ],'listManagedInstances' => [
  13732. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances',
  13733. 'httpMethod' => 'POST',
  13734. 'parameters' => [
  13735. 'project' => [
  13736. 'location' => 'path',
  13737. 'type' => 'string',
  13738. 'required' => true,
  13739. ],
  13740. 'region' => [
  13741. 'location' => 'path',
  13742. 'type' => 'string',
  13743. 'required' => true,
  13744. ],
  13745. 'instanceGroupManager' => [
  13746. 'location' => 'path',
  13747. 'type' => 'string',
  13748. 'required' => true,
  13749. ],
  13750. 'filter' => [
  13751. 'location' => 'query',
  13752. 'type' => 'string',
  13753. ],
  13754. 'maxResults' => [
  13755. 'location' => 'query',
  13756. 'type' => 'integer',
  13757. ],
  13758. 'orderBy' => [
  13759. 'location' => 'query',
  13760. 'type' => 'string',
  13761. ],
  13762. 'pageToken' => [
  13763. 'location' => 'query',
  13764. 'type' => 'string',
  13765. ],
  13766. 'returnPartialSuccess' => [
  13767. 'location' => 'query',
  13768. 'type' => 'boolean',
  13769. ],
  13770. ],
  13771. ],'listPerInstanceConfigs' => [
  13772. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs',
  13773. 'httpMethod' => 'POST',
  13774. 'parameters' => [
  13775. 'project' => [
  13776. 'location' => 'path',
  13777. 'type' => 'string',
  13778. 'required' => true,
  13779. ],
  13780. 'region' => [
  13781. 'location' => 'path',
  13782. 'type' => 'string',
  13783. 'required' => true,
  13784. ],
  13785. 'instanceGroupManager' => [
  13786. 'location' => 'path',
  13787. 'type' => 'string',
  13788. 'required' => true,
  13789. ],
  13790. 'filter' => [
  13791. 'location' => 'query',
  13792. 'type' => 'string',
  13793. ],
  13794. 'maxResults' => [
  13795. 'location' => 'query',
  13796. 'type' => 'integer',
  13797. ],
  13798. 'orderBy' => [
  13799. 'location' => 'query',
  13800. 'type' => 'string',
  13801. ],
  13802. 'pageToken' => [
  13803. 'location' => 'query',
  13804. 'type' => 'string',
  13805. ],
  13806. 'returnPartialSuccess' => [
  13807. 'location' => 'query',
  13808. 'type' => 'boolean',
  13809. ],
  13810. ],
  13811. ],'patch' => [
  13812. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}',
  13813. 'httpMethod' => 'PATCH',
  13814. 'parameters' => [
  13815. 'project' => [
  13816. 'location' => 'path',
  13817. 'type' => 'string',
  13818. 'required' => true,
  13819. ],
  13820. 'region' => [
  13821. 'location' => 'path',
  13822. 'type' => 'string',
  13823. 'required' => true,
  13824. ],
  13825. 'instanceGroupManager' => [
  13826. 'location' => 'path',
  13827. 'type' => 'string',
  13828. 'required' => true,
  13829. ],
  13830. 'requestId' => [
  13831. 'location' => 'query',
  13832. 'type' => 'string',
  13833. ],
  13834. ],
  13835. ],'patchPerInstanceConfigs' => [
  13836. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs',
  13837. 'httpMethod' => 'POST',
  13838. 'parameters' => [
  13839. 'project' => [
  13840. 'location' => 'path',
  13841. 'type' => 'string',
  13842. 'required' => true,
  13843. ],
  13844. 'region' => [
  13845. 'location' => 'path',
  13846. 'type' => 'string',
  13847. 'required' => true,
  13848. ],
  13849. 'instanceGroupManager' => [
  13850. 'location' => 'path',
  13851. 'type' => 'string',
  13852. 'required' => true,
  13853. ],
  13854. 'requestId' => [
  13855. 'location' => 'query',
  13856. 'type' => 'string',
  13857. ],
  13858. ],
  13859. ],'recreateInstances' => [
  13860. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances',
  13861. 'httpMethod' => 'POST',
  13862. 'parameters' => [
  13863. 'project' => [
  13864. 'location' => 'path',
  13865. 'type' => 'string',
  13866. 'required' => true,
  13867. ],
  13868. 'region' => [
  13869. 'location' => 'path',
  13870. 'type' => 'string',
  13871. 'required' => true,
  13872. ],
  13873. 'instanceGroupManager' => [
  13874. 'location' => 'path',
  13875. 'type' => 'string',
  13876. 'required' => true,
  13877. ],
  13878. 'requestId' => [
  13879. 'location' => 'query',
  13880. 'type' => 'string',
  13881. ],
  13882. ],
  13883. ],'resize' => [
  13884. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize',
  13885. 'httpMethod' => 'POST',
  13886. 'parameters' => [
  13887. 'project' => [
  13888. 'location' => 'path',
  13889. 'type' => 'string',
  13890. 'required' => true,
  13891. ],
  13892. 'region' => [
  13893. 'location' => 'path',
  13894. 'type' => 'string',
  13895. 'required' => true,
  13896. ],
  13897. 'instanceGroupManager' => [
  13898. 'location' => 'path',
  13899. 'type' => 'string',
  13900. 'required' => true,
  13901. ],
  13902. 'size' => [
  13903. 'location' => 'query',
  13904. 'type' => 'integer',
  13905. 'required' => true,
  13906. ],
  13907. 'requestId' => [
  13908. 'location' => 'query',
  13909. 'type' => 'string',
  13910. ],
  13911. ],
  13912. ],'resumeInstances' => [
  13913. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resumeInstances',
  13914. 'httpMethod' => 'POST',
  13915. 'parameters' => [
  13916. 'project' => [
  13917. 'location' => 'path',
  13918. 'type' => 'string',
  13919. 'required' => true,
  13920. ],
  13921. 'region' => [
  13922. 'location' => 'path',
  13923. 'type' => 'string',
  13924. 'required' => true,
  13925. ],
  13926. 'instanceGroupManager' => [
  13927. 'location' => 'path',
  13928. 'type' => 'string',
  13929. 'required' => true,
  13930. ],
  13931. 'requestId' => [
  13932. 'location' => 'query',
  13933. 'type' => 'string',
  13934. ],
  13935. ],
  13936. ],'setInstanceTemplate' => [
  13937. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate',
  13938. 'httpMethod' => 'POST',
  13939. 'parameters' => [
  13940. 'project' => [
  13941. 'location' => 'path',
  13942. 'type' => 'string',
  13943. 'required' => true,
  13944. ],
  13945. 'region' => [
  13946. 'location' => 'path',
  13947. 'type' => 'string',
  13948. 'required' => true,
  13949. ],
  13950. 'instanceGroupManager' => [
  13951. 'location' => 'path',
  13952. 'type' => 'string',
  13953. 'required' => true,
  13954. ],
  13955. 'requestId' => [
  13956. 'location' => 'query',
  13957. 'type' => 'string',
  13958. ],
  13959. ],
  13960. ],'setTargetPools' => [
  13961. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools',
  13962. 'httpMethod' => 'POST',
  13963. 'parameters' => [
  13964. 'project' => [
  13965. 'location' => 'path',
  13966. 'type' => 'string',
  13967. 'required' => true,
  13968. ],
  13969. 'region' => [
  13970. 'location' => 'path',
  13971. 'type' => 'string',
  13972. 'required' => true,
  13973. ],
  13974. 'instanceGroupManager' => [
  13975. 'location' => 'path',
  13976. 'type' => 'string',
  13977. 'required' => true,
  13978. ],
  13979. 'requestId' => [
  13980. 'location' => 'query',
  13981. 'type' => 'string',
  13982. ],
  13983. ],
  13984. ],'startInstances' => [
  13985. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/startInstances',
  13986. 'httpMethod' => 'POST',
  13987. 'parameters' => [
  13988. 'project' => [
  13989. 'location' => 'path',
  13990. 'type' => 'string',
  13991. 'required' => true,
  13992. ],
  13993. 'region' => [
  13994. 'location' => 'path',
  13995. 'type' => 'string',
  13996. 'required' => true,
  13997. ],
  13998. 'instanceGroupManager' => [
  13999. 'location' => 'path',
  14000. 'type' => 'string',
  14001. 'required' => true,
  14002. ],
  14003. 'requestId' => [
  14004. 'location' => 'query',
  14005. 'type' => 'string',
  14006. ],
  14007. ],
  14008. ],'stopInstances' => [
  14009. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/stopInstances',
  14010. 'httpMethod' => 'POST',
  14011. 'parameters' => [
  14012. 'project' => [
  14013. 'location' => 'path',
  14014. 'type' => 'string',
  14015. 'required' => true,
  14016. ],
  14017. 'region' => [
  14018. 'location' => 'path',
  14019. 'type' => 'string',
  14020. 'required' => true,
  14021. ],
  14022. 'instanceGroupManager' => [
  14023. 'location' => 'path',
  14024. 'type' => 'string',
  14025. 'required' => true,
  14026. ],
  14027. 'requestId' => [
  14028. 'location' => 'query',
  14029. 'type' => 'string',
  14030. ],
  14031. ],
  14032. ],'suspendInstances' => [
  14033. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/suspendInstances',
  14034. 'httpMethod' => 'POST',
  14035. 'parameters' => [
  14036. 'project' => [
  14037. 'location' => 'path',
  14038. 'type' => 'string',
  14039. 'required' => true,
  14040. ],
  14041. 'region' => [
  14042. 'location' => 'path',
  14043. 'type' => 'string',
  14044. 'required' => true,
  14045. ],
  14046. 'instanceGroupManager' => [
  14047. 'location' => 'path',
  14048. 'type' => 'string',
  14049. 'required' => true,
  14050. ],
  14051. 'requestId' => [
  14052. 'location' => 'query',
  14053. 'type' => 'string',
  14054. ],
  14055. ],
  14056. ],'updatePerInstanceConfigs' => [
  14057. 'path' => 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs',
  14058. 'httpMethod' => 'POST',
  14059. 'parameters' => [
  14060. 'project' => [
  14061. 'location' => 'path',
  14062. 'type' => 'string',
  14063. 'required' => true,
  14064. ],
  14065. 'region' => [
  14066. 'location' => 'path',
  14067. 'type' => 'string',
  14068. 'required' => true,
  14069. ],
  14070. 'instanceGroupManager' => [
  14071. 'location' => 'path',
  14072. 'type' => 'string',
  14073. 'required' => true,
  14074. ],
  14075. 'requestId' => [
  14076. 'location' => 'query',
  14077. 'type' => 'string',
  14078. ],
  14079. ],
  14080. ],
  14081. ]
  14082. ]
  14083. );
  14084. $this->regionInstanceGroups = new Compute\Resource\RegionInstanceGroups(
  14085. $this,
  14086. $this->serviceName,
  14087. 'regionInstanceGroups',
  14088. [
  14089. 'methods' => [
  14090. 'get' => [
  14091. 'path' => 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}',
  14092. 'httpMethod' => 'GET',
  14093. 'parameters' => [
  14094. 'project' => [
  14095. 'location' => 'path',
  14096. 'type' => 'string',
  14097. 'required' => true,
  14098. ],
  14099. 'region' => [
  14100. 'location' => 'path',
  14101. 'type' => 'string',
  14102. 'required' => true,
  14103. ],
  14104. 'instanceGroup' => [
  14105. 'location' => 'path',
  14106. 'type' => 'string',
  14107. 'required' => true,
  14108. ],
  14109. ],
  14110. ],'list' => [
  14111. 'path' => 'projects/{project}/regions/{region}/instanceGroups',
  14112. 'httpMethod' => 'GET',
  14113. 'parameters' => [
  14114. 'project' => [
  14115. 'location' => 'path',
  14116. 'type' => 'string',
  14117. 'required' => true,
  14118. ],
  14119. 'region' => [
  14120. 'location' => 'path',
  14121. 'type' => 'string',
  14122. 'required' => true,
  14123. ],
  14124. 'filter' => [
  14125. 'location' => 'query',
  14126. 'type' => 'string',
  14127. ],
  14128. 'maxResults' => [
  14129. 'location' => 'query',
  14130. 'type' => 'integer',
  14131. ],
  14132. 'orderBy' => [
  14133. 'location' => 'query',
  14134. 'type' => 'string',
  14135. ],
  14136. 'pageToken' => [
  14137. 'location' => 'query',
  14138. 'type' => 'string',
  14139. ],
  14140. 'returnPartialSuccess' => [
  14141. 'location' => 'query',
  14142. 'type' => 'boolean',
  14143. ],
  14144. ],
  14145. ],'listInstances' => [
  14146. 'path' => 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances',
  14147. 'httpMethod' => 'POST',
  14148. 'parameters' => [
  14149. 'project' => [
  14150. 'location' => 'path',
  14151. 'type' => 'string',
  14152. 'required' => true,
  14153. ],
  14154. 'region' => [
  14155. 'location' => 'path',
  14156. 'type' => 'string',
  14157. 'required' => true,
  14158. ],
  14159. 'instanceGroup' => [
  14160. 'location' => 'path',
  14161. 'type' => 'string',
  14162. 'required' => true,
  14163. ],
  14164. 'filter' => [
  14165. 'location' => 'query',
  14166. 'type' => 'string',
  14167. ],
  14168. 'maxResults' => [
  14169. 'location' => 'query',
  14170. 'type' => 'integer',
  14171. ],
  14172. 'orderBy' => [
  14173. 'location' => 'query',
  14174. 'type' => 'string',
  14175. ],
  14176. 'pageToken' => [
  14177. 'location' => 'query',
  14178. 'type' => 'string',
  14179. ],
  14180. 'returnPartialSuccess' => [
  14181. 'location' => 'query',
  14182. 'type' => 'boolean',
  14183. ],
  14184. ],
  14185. ],'setNamedPorts' => [
  14186. 'path' => 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts',
  14187. 'httpMethod' => 'POST',
  14188. 'parameters' => [
  14189. 'project' => [
  14190. 'location' => 'path',
  14191. 'type' => 'string',
  14192. 'required' => true,
  14193. ],
  14194. 'region' => [
  14195. 'location' => 'path',
  14196. 'type' => 'string',
  14197. 'required' => true,
  14198. ],
  14199. 'instanceGroup' => [
  14200. 'location' => 'path',
  14201. 'type' => 'string',
  14202. 'required' => true,
  14203. ],
  14204. 'requestId' => [
  14205. 'location' => 'query',
  14206. 'type' => 'string',
  14207. ],
  14208. ],
  14209. ],'testIamPermissions' => [
  14210. 'path' => 'projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions',
  14211. 'httpMethod' => 'POST',
  14212. 'parameters' => [
  14213. 'project' => [
  14214. 'location' => 'path',
  14215. 'type' => 'string',
  14216. 'required' => true,
  14217. ],
  14218. 'region' => [
  14219. 'location' => 'path',
  14220. 'type' => 'string',
  14221. 'required' => true,
  14222. ],
  14223. 'resource' => [
  14224. 'location' => 'path',
  14225. 'type' => 'string',
  14226. 'required' => true,
  14227. ],
  14228. ],
  14229. ],
  14230. ]
  14231. ]
  14232. );
  14233. $this->regionInstanceTemplates = new Compute\Resource\RegionInstanceTemplates(
  14234. $this,
  14235. $this->serviceName,
  14236. 'regionInstanceTemplates',
  14237. [
  14238. 'methods' => [
  14239. 'delete' => [
  14240. 'path' => 'projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}',
  14241. 'httpMethod' => 'DELETE',
  14242. 'parameters' => [
  14243. 'project' => [
  14244. 'location' => 'path',
  14245. 'type' => 'string',
  14246. 'required' => true,
  14247. ],
  14248. 'region' => [
  14249. 'location' => 'path',
  14250. 'type' => 'string',
  14251. 'required' => true,
  14252. ],
  14253. 'instanceTemplate' => [
  14254. 'location' => 'path',
  14255. 'type' => 'string',
  14256. 'required' => true,
  14257. ],
  14258. 'requestId' => [
  14259. 'location' => 'query',
  14260. 'type' => 'string',
  14261. ],
  14262. ],
  14263. ],'get' => [
  14264. 'path' => 'projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}',
  14265. 'httpMethod' => 'GET',
  14266. 'parameters' => [
  14267. 'project' => [
  14268. 'location' => 'path',
  14269. 'type' => 'string',
  14270. 'required' => true,
  14271. ],
  14272. 'region' => [
  14273. 'location' => 'path',
  14274. 'type' => 'string',
  14275. 'required' => true,
  14276. ],
  14277. 'instanceTemplate' => [
  14278. 'location' => 'path',
  14279. 'type' => 'string',
  14280. 'required' => true,
  14281. ],
  14282. ],
  14283. ],'insert' => [
  14284. 'path' => 'projects/{project}/regions/{region}/instanceTemplates',
  14285. 'httpMethod' => 'POST',
  14286. 'parameters' => [
  14287. 'project' => [
  14288. 'location' => 'path',
  14289. 'type' => 'string',
  14290. 'required' => true,
  14291. ],
  14292. 'region' => [
  14293. 'location' => 'path',
  14294. 'type' => 'string',
  14295. 'required' => true,
  14296. ],
  14297. 'requestId' => [
  14298. 'location' => 'query',
  14299. 'type' => 'string',
  14300. ],
  14301. ],
  14302. ],'list' => [
  14303. 'path' => 'projects/{project}/regions/{region}/instanceTemplates',
  14304. 'httpMethod' => 'GET',
  14305. 'parameters' => [
  14306. 'project' => [
  14307. 'location' => 'path',
  14308. 'type' => 'string',
  14309. 'required' => true,
  14310. ],
  14311. 'region' => [
  14312. 'location' => 'path',
  14313. 'type' => 'string',
  14314. 'required' => true,
  14315. ],
  14316. 'filter' => [
  14317. 'location' => 'query',
  14318. 'type' => 'string',
  14319. ],
  14320. 'maxResults' => [
  14321. 'location' => 'query',
  14322. 'type' => 'integer',
  14323. ],
  14324. 'orderBy' => [
  14325. 'location' => 'query',
  14326. 'type' => 'string',
  14327. ],
  14328. 'pageToken' => [
  14329. 'location' => 'query',
  14330. 'type' => 'string',
  14331. ],
  14332. 'returnPartialSuccess' => [
  14333. 'location' => 'query',
  14334. 'type' => 'boolean',
  14335. ],
  14336. ],
  14337. ],
  14338. ]
  14339. ]
  14340. );
  14341. $this->regionInstances = new Compute\Resource\RegionInstances(
  14342. $this,
  14343. $this->serviceName,
  14344. 'regionInstances',
  14345. [
  14346. 'methods' => [
  14347. 'bulkInsert' => [
  14348. 'path' => 'projects/{project}/regions/{region}/instances/bulkInsert',
  14349. 'httpMethod' => 'POST',
  14350. 'parameters' => [
  14351. 'project' => [
  14352. 'location' => 'path',
  14353. 'type' => 'string',
  14354. 'required' => true,
  14355. ],
  14356. 'region' => [
  14357. 'location' => 'path',
  14358. 'type' => 'string',
  14359. 'required' => true,
  14360. ],
  14361. 'requestId' => [
  14362. 'location' => 'query',
  14363. 'type' => 'string',
  14364. ],
  14365. ],
  14366. ],
  14367. ]
  14368. ]
  14369. );
  14370. $this->regionInstantSnapshots = new Compute\Resource\RegionInstantSnapshots(
  14371. $this,
  14372. $this->serviceName,
  14373. 'regionInstantSnapshots',
  14374. [
  14375. 'methods' => [
  14376. 'delete' => [
  14377. 'path' => 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}',
  14378. 'httpMethod' => 'DELETE',
  14379. 'parameters' => [
  14380. 'project' => [
  14381. 'location' => 'path',
  14382. 'type' => 'string',
  14383. 'required' => true,
  14384. ],
  14385. 'region' => [
  14386. 'location' => 'path',
  14387. 'type' => 'string',
  14388. 'required' => true,
  14389. ],
  14390. 'instantSnapshot' => [
  14391. 'location' => 'path',
  14392. 'type' => 'string',
  14393. 'required' => true,
  14394. ],
  14395. 'requestId' => [
  14396. 'location' => 'query',
  14397. 'type' => 'string',
  14398. ],
  14399. ],
  14400. ],'get' => [
  14401. 'path' => 'projects/{project}/regions/{region}/instantSnapshots/{instantSnapshot}',
  14402. 'httpMethod' => 'GET',
  14403. 'parameters' => [
  14404. 'project' => [
  14405. 'location' => 'path',
  14406. 'type' => 'string',
  14407. 'required' => true,
  14408. ],
  14409. 'region' => [
  14410. 'location' => 'path',
  14411. 'type' => 'string',
  14412. 'required' => true,
  14413. ],
  14414. 'instantSnapshot' => [
  14415. 'location' => 'path',
  14416. 'type' => 'string',
  14417. 'required' => true,
  14418. ],
  14419. ],
  14420. ],'getIamPolicy' => [
  14421. 'path' => 'projects/{project}/regions/{region}/instantSnapshots/{resource}/getIamPolicy',
  14422. 'httpMethod' => 'GET',
  14423. 'parameters' => [
  14424. 'project' => [
  14425. 'location' => 'path',
  14426. 'type' => 'string',
  14427. 'required' => true,
  14428. ],
  14429. 'region' => [
  14430. 'location' => 'path',
  14431. 'type' => 'string',
  14432. 'required' => true,
  14433. ],
  14434. 'resource' => [
  14435. 'location' => 'path',
  14436. 'type' => 'string',
  14437. 'required' => true,
  14438. ],
  14439. 'optionsRequestedPolicyVersion' => [
  14440. 'location' => 'query',
  14441. 'type' => 'integer',
  14442. ],
  14443. ],
  14444. ],'insert' => [
  14445. 'path' => 'projects/{project}/regions/{region}/instantSnapshots',
  14446. 'httpMethod' => 'POST',
  14447. 'parameters' => [
  14448. 'project' => [
  14449. 'location' => 'path',
  14450. 'type' => 'string',
  14451. 'required' => true,
  14452. ],
  14453. 'region' => [
  14454. 'location' => 'path',
  14455. 'type' => 'string',
  14456. 'required' => true,
  14457. ],
  14458. 'requestId' => [
  14459. 'location' => 'query',
  14460. 'type' => 'string',
  14461. ],
  14462. ],
  14463. ],'list' => [
  14464. 'path' => 'projects/{project}/regions/{region}/instantSnapshots',
  14465. 'httpMethod' => 'GET',
  14466. 'parameters' => [
  14467. 'project' => [
  14468. 'location' => 'path',
  14469. 'type' => 'string',
  14470. 'required' => true,
  14471. ],
  14472. 'region' => [
  14473. 'location' => 'path',
  14474. 'type' => 'string',
  14475. 'required' => true,
  14476. ],
  14477. 'filter' => [
  14478. 'location' => 'query',
  14479. 'type' => 'string',
  14480. ],
  14481. 'maxResults' => [
  14482. 'location' => 'query',
  14483. 'type' => 'integer',
  14484. ],
  14485. 'orderBy' => [
  14486. 'location' => 'query',
  14487. 'type' => 'string',
  14488. ],
  14489. 'pageToken' => [
  14490. 'location' => 'query',
  14491. 'type' => 'string',
  14492. ],
  14493. 'returnPartialSuccess' => [
  14494. 'location' => 'query',
  14495. 'type' => 'boolean',
  14496. ],
  14497. ],
  14498. ],'setIamPolicy' => [
  14499. 'path' => 'projects/{project}/regions/{region}/instantSnapshots/{resource}/setIamPolicy',
  14500. 'httpMethod' => 'POST',
  14501. 'parameters' => [
  14502. 'project' => [
  14503. 'location' => 'path',
  14504. 'type' => 'string',
  14505. 'required' => true,
  14506. ],
  14507. 'region' => [
  14508. 'location' => 'path',
  14509. 'type' => 'string',
  14510. 'required' => true,
  14511. ],
  14512. 'resource' => [
  14513. 'location' => 'path',
  14514. 'type' => 'string',
  14515. 'required' => true,
  14516. ],
  14517. ],
  14518. ],'setLabels' => [
  14519. 'path' => 'projects/{project}/regions/{region}/instantSnapshots/{resource}/setLabels',
  14520. 'httpMethod' => 'POST',
  14521. 'parameters' => [
  14522. 'project' => [
  14523. 'location' => 'path',
  14524. 'type' => 'string',
  14525. 'required' => true,
  14526. ],
  14527. 'region' => [
  14528. 'location' => 'path',
  14529. 'type' => 'string',
  14530. 'required' => true,
  14531. ],
  14532. 'resource' => [
  14533. 'location' => 'path',
  14534. 'type' => 'string',
  14535. 'required' => true,
  14536. ],
  14537. 'requestId' => [
  14538. 'location' => 'query',
  14539. 'type' => 'string',
  14540. ],
  14541. ],
  14542. ],'testIamPermissions' => [
  14543. 'path' => 'projects/{project}/regions/{region}/instantSnapshots/{resource}/testIamPermissions',
  14544. 'httpMethod' => 'POST',
  14545. 'parameters' => [
  14546. 'project' => [
  14547. 'location' => 'path',
  14548. 'type' => 'string',
  14549. 'required' => true,
  14550. ],
  14551. 'region' => [
  14552. 'location' => 'path',
  14553. 'type' => 'string',
  14554. 'required' => true,
  14555. ],
  14556. 'resource' => [
  14557. 'location' => 'path',
  14558. 'type' => 'string',
  14559. 'required' => true,
  14560. ],
  14561. ],
  14562. ],
  14563. ]
  14564. ]
  14565. );
  14566. $this->regionNetworkEndpointGroups = new Compute\Resource\RegionNetworkEndpointGroups(
  14567. $this,
  14568. $this->serviceName,
  14569. 'regionNetworkEndpointGroups',
  14570. [
  14571. 'methods' => [
  14572. 'attachNetworkEndpoints' => [
  14573. 'path' => 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints',
  14574. 'httpMethod' => 'POST',
  14575. 'parameters' => [
  14576. 'project' => [
  14577. 'location' => 'path',
  14578. 'type' => 'string',
  14579. 'required' => true,
  14580. ],
  14581. 'region' => [
  14582. 'location' => 'path',
  14583. 'type' => 'string',
  14584. 'required' => true,
  14585. ],
  14586. 'networkEndpointGroup' => [
  14587. 'location' => 'path',
  14588. 'type' => 'string',
  14589. 'required' => true,
  14590. ],
  14591. 'requestId' => [
  14592. 'location' => 'query',
  14593. 'type' => 'string',
  14594. ],
  14595. ],
  14596. ],'delete' => [
  14597. 'path' => 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}',
  14598. 'httpMethod' => 'DELETE',
  14599. 'parameters' => [
  14600. 'project' => [
  14601. 'location' => 'path',
  14602. 'type' => 'string',
  14603. 'required' => true,
  14604. ],
  14605. 'region' => [
  14606. 'location' => 'path',
  14607. 'type' => 'string',
  14608. 'required' => true,
  14609. ],
  14610. 'networkEndpointGroup' => [
  14611. 'location' => 'path',
  14612. 'type' => 'string',
  14613. 'required' => true,
  14614. ],
  14615. 'requestId' => [
  14616. 'location' => 'query',
  14617. 'type' => 'string',
  14618. ],
  14619. ],
  14620. ],'detachNetworkEndpoints' => [
  14621. 'path' => 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints',
  14622. 'httpMethod' => 'POST',
  14623. 'parameters' => [
  14624. 'project' => [
  14625. 'location' => 'path',
  14626. 'type' => 'string',
  14627. 'required' => true,
  14628. ],
  14629. 'region' => [
  14630. 'location' => 'path',
  14631. 'type' => 'string',
  14632. 'required' => true,
  14633. ],
  14634. 'networkEndpointGroup' => [
  14635. 'location' => 'path',
  14636. 'type' => 'string',
  14637. 'required' => true,
  14638. ],
  14639. 'requestId' => [
  14640. 'location' => 'query',
  14641. 'type' => 'string',
  14642. ],
  14643. ],
  14644. ],'get' => [
  14645. 'path' => 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}',
  14646. 'httpMethod' => 'GET',
  14647. 'parameters' => [
  14648. 'project' => [
  14649. 'location' => 'path',
  14650. 'type' => 'string',
  14651. 'required' => true,
  14652. ],
  14653. 'region' => [
  14654. 'location' => 'path',
  14655. 'type' => 'string',
  14656. 'required' => true,
  14657. ],
  14658. 'networkEndpointGroup' => [
  14659. 'location' => 'path',
  14660. 'type' => 'string',
  14661. 'required' => true,
  14662. ],
  14663. ],
  14664. ],'insert' => [
  14665. 'path' => 'projects/{project}/regions/{region}/networkEndpointGroups',
  14666. 'httpMethod' => 'POST',
  14667. 'parameters' => [
  14668. 'project' => [
  14669. 'location' => 'path',
  14670. 'type' => 'string',
  14671. 'required' => true,
  14672. ],
  14673. 'region' => [
  14674. 'location' => 'path',
  14675. 'type' => 'string',
  14676. 'required' => true,
  14677. ],
  14678. 'requestId' => [
  14679. 'location' => 'query',
  14680. 'type' => 'string',
  14681. ],
  14682. ],
  14683. ],'list' => [
  14684. 'path' => 'projects/{project}/regions/{region}/networkEndpointGroups',
  14685. 'httpMethod' => 'GET',
  14686. 'parameters' => [
  14687. 'project' => [
  14688. 'location' => 'path',
  14689. 'type' => 'string',
  14690. 'required' => true,
  14691. ],
  14692. 'region' => [
  14693. 'location' => 'path',
  14694. 'type' => 'string',
  14695. 'required' => true,
  14696. ],
  14697. 'filter' => [
  14698. 'location' => 'query',
  14699. 'type' => 'string',
  14700. ],
  14701. 'maxResults' => [
  14702. 'location' => 'query',
  14703. 'type' => 'integer',
  14704. ],
  14705. 'orderBy' => [
  14706. 'location' => 'query',
  14707. 'type' => 'string',
  14708. ],
  14709. 'pageToken' => [
  14710. 'location' => 'query',
  14711. 'type' => 'string',
  14712. ],
  14713. 'returnPartialSuccess' => [
  14714. 'location' => 'query',
  14715. 'type' => 'boolean',
  14716. ],
  14717. ],
  14718. ],'listNetworkEndpoints' => [
  14719. 'path' => 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints',
  14720. 'httpMethod' => 'POST',
  14721. 'parameters' => [
  14722. 'project' => [
  14723. 'location' => 'path',
  14724. 'type' => 'string',
  14725. 'required' => true,
  14726. ],
  14727. 'region' => [
  14728. 'location' => 'path',
  14729. 'type' => 'string',
  14730. 'required' => true,
  14731. ],
  14732. 'networkEndpointGroup' => [
  14733. 'location' => 'path',
  14734. 'type' => 'string',
  14735. 'required' => true,
  14736. ],
  14737. 'filter' => [
  14738. 'location' => 'query',
  14739. 'type' => 'string',
  14740. ],
  14741. 'maxResults' => [
  14742. 'location' => 'query',
  14743. 'type' => 'integer',
  14744. ],
  14745. 'orderBy' => [
  14746. 'location' => 'query',
  14747. 'type' => 'string',
  14748. ],
  14749. 'pageToken' => [
  14750. 'location' => 'query',
  14751. 'type' => 'string',
  14752. ],
  14753. 'returnPartialSuccess' => [
  14754. 'location' => 'query',
  14755. 'type' => 'boolean',
  14756. ],
  14757. ],
  14758. ],
  14759. ]
  14760. ]
  14761. );
  14762. $this->regionNetworkFirewallPolicies = new Compute\Resource\RegionNetworkFirewallPolicies(
  14763. $this,
  14764. $this->serviceName,
  14765. 'regionNetworkFirewallPolicies',
  14766. [
  14767. 'methods' => [
  14768. 'addAssociation' => [
  14769. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation',
  14770. 'httpMethod' => 'POST',
  14771. 'parameters' => [
  14772. 'project' => [
  14773. 'location' => 'path',
  14774. 'type' => 'string',
  14775. 'required' => true,
  14776. ],
  14777. 'region' => [
  14778. 'location' => 'path',
  14779. 'type' => 'string',
  14780. 'required' => true,
  14781. ],
  14782. 'firewallPolicy' => [
  14783. 'location' => 'path',
  14784. 'type' => 'string',
  14785. 'required' => true,
  14786. ],
  14787. 'replaceExistingAssociation' => [
  14788. 'location' => 'query',
  14789. 'type' => 'boolean',
  14790. ],
  14791. 'requestId' => [
  14792. 'location' => 'query',
  14793. 'type' => 'string',
  14794. ],
  14795. ],
  14796. ],'addRule' => [
  14797. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addRule',
  14798. 'httpMethod' => 'POST',
  14799. 'parameters' => [
  14800. 'project' => [
  14801. 'location' => 'path',
  14802. 'type' => 'string',
  14803. 'required' => true,
  14804. ],
  14805. 'region' => [
  14806. 'location' => 'path',
  14807. 'type' => 'string',
  14808. 'required' => true,
  14809. ],
  14810. 'firewallPolicy' => [
  14811. 'location' => 'path',
  14812. 'type' => 'string',
  14813. 'required' => true,
  14814. ],
  14815. 'maxPriority' => [
  14816. 'location' => 'query',
  14817. 'type' => 'integer',
  14818. ],
  14819. 'minPriority' => [
  14820. 'location' => 'query',
  14821. 'type' => 'integer',
  14822. ],
  14823. 'requestId' => [
  14824. 'location' => 'query',
  14825. 'type' => 'string',
  14826. ],
  14827. ],
  14828. ],'cloneRules' => [
  14829. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/cloneRules',
  14830. 'httpMethod' => 'POST',
  14831. 'parameters' => [
  14832. 'project' => [
  14833. 'location' => 'path',
  14834. 'type' => 'string',
  14835. 'required' => true,
  14836. ],
  14837. 'region' => [
  14838. 'location' => 'path',
  14839. 'type' => 'string',
  14840. 'required' => true,
  14841. ],
  14842. 'firewallPolicy' => [
  14843. 'location' => 'path',
  14844. 'type' => 'string',
  14845. 'required' => true,
  14846. ],
  14847. 'requestId' => [
  14848. 'location' => 'query',
  14849. 'type' => 'string',
  14850. ],
  14851. 'sourceFirewallPolicy' => [
  14852. 'location' => 'query',
  14853. 'type' => 'string',
  14854. ],
  14855. ],
  14856. ],'delete' => [
  14857. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}',
  14858. 'httpMethod' => 'DELETE',
  14859. 'parameters' => [
  14860. 'project' => [
  14861. 'location' => 'path',
  14862. 'type' => 'string',
  14863. 'required' => true,
  14864. ],
  14865. 'region' => [
  14866. 'location' => 'path',
  14867. 'type' => 'string',
  14868. 'required' => true,
  14869. ],
  14870. 'firewallPolicy' => [
  14871. 'location' => 'path',
  14872. 'type' => 'string',
  14873. 'required' => true,
  14874. ],
  14875. 'requestId' => [
  14876. 'location' => 'query',
  14877. 'type' => 'string',
  14878. ],
  14879. ],
  14880. ],'get' => [
  14881. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}',
  14882. 'httpMethod' => 'GET',
  14883. 'parameters' => [
  14884. 'project' => [
  14885. 'location' => 'path',
  14886. 'type' => 'string',
  14887. 'required' => true,
  14888. ],
  14889. 'region' => [
  14890. 'location' => 'path',
  14891. 'type' => 'string',
  14892. 'required' => true,
  14893. ],
  14894. 'firewallPolicy' => [
  14895. 'location' => 'path',
  14896. 'type' => 'string',
  14897. 'required' => true,
  14898. ],
  14899. ],
  14900. ],'getAssociation' => [
  14901. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getAssociation',
  14902. 'httpMethod' => 'GET',
  14903. 'parameters' => [
  14904. 'project' => [
  14905. 'location' => 'path',
  14906. 'type' => 'string',
  14907. 'required' => true,
  14908. ],
  14909. 'region' => [
  14910. 'location' => 'path',
  14911. 'type' => 'string',
  14912. 'required' => true,
  14913. ],
  14914. 'firewallPolicy' => [
  14915. 'location' => 'path',
  14916. 'type' => 'string',
  14917. 'required' => true,
  14918. ],
  14919. 'name' => [
  14920. 'location' => 'query',
  14921. 'type' => 'string',
  14922. ],
  14923. ],
  14924. ],'getEffectiveFirewalls' => [
  14925. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/getEffectiveFirewalls',
  14926. 'httpMethod' => 'GET',
  14927. 'parameters' => [
  14928. 'project' => [
  14929. 'location' => 'path',
  14930. 'type' => 'string',
  14931. 'required' => true,
  14932. ],
  14933. 'region' => [
  14934. 'location' => 'path',
  14935. 'type' => 'string',
  14936. 'required' => true,
  14937. ],
  14938. 'network' => [
  14939. 'location' => 'query',
  14940. 'type' => 'string',
  14941. 'required' => true,
  14942. ],
  14943. ],
  14944. ],'getIamPolicy' => [
  14945. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{resource}/getIamPolicy',
  14946. 'httpMethod' => 'GET',
  14947. 'parameters' => [
  14948. 'project' => [
  14949. 'location' => 'path',
  14950. 'type' => 'string',
  14951. 'required' => true,
  14952. ],
  14953. 'region' => [
  14954. 'location' => 'path',
  14955. 'type' => 'string',
  14956. 'required' => true,
  14957. ],
  14958. 'resource' => [
  14959. 'location' => 'path',
  14960. 'type' => 'string',
  14961. 'required' => true,
  14962. ],
  14963. 'optionsRequestedPolicyVersion' => [
  14964. 'location' => 'query',
  14965. 'type' => 'integer',
  14966. ],
  14967. ],
  14968. ],'getRule' => [
  14969. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getRule',
  14970. 'httpMethod' => 'GET',
  14971. 'parameters' => [
  14972. 'project' => [
  14973. 'location' => 'path',
  14974. 'type' => 'string',
  14975. 'required' => true,
  14976. ],
  14977. 'region' => [
  14978. 'location' => 'path',
  14979. 'type' => 'string',
  14980. 'required' => true,
  14981. ],
  14982. 'firewallPolicy' => [
  14983. 'location' => 'path',
  14984. 'type' => 'string',
  14985. 'required' => true,
  14986. ],
  14987. 'priority' => [
  14988. 'location' => 'query',
  14989. 'type' => 'integer',
  14990. ],
  14991. ],
  14992. ],'insert' => [
  14993. 'path' => 'projects/{project}/regions/{region}/firewallPolicies',
  14994. 'httpMethod' => 'POST',
  14995. 'parameters' => [
  14996. 'project' => [
  14997. 'location' => 'path',
  14998. 'type' => 'string',
  14999. 'required' => true,
  15000. ],
  15001. 'region' => [
  15002. 'location' => 'path',
  15003. 'type' => 'string',
  15004. 'required' => true,
  15005. ],
  15006. 'requestId' => [
  15007. 'location' => 'query',
  15008. 'type' => 'string',
  15009. ],
  15010. ],
  15011. ],'list' => [
  15012. 'path' => 'projects/{project}/regions/{region}/firewallPolicies',
  15013. 'httpMethod' => 'GET',
  15014. 'parameters' => [
  15015. 'project' => [
  15016. 'location' => 'path',
  15017. 'type' => 'string',
  15018. 'required' => true,
  15019. ],
  15020. 'region' => [
  15021. 'location' => 'path',
  15022. 'type' => 'string',
  15023. 'required' => true,
  15024. ],
  15025. 'filter' => [
  15026. 'location' => 'query',
  15027. 'type' => 'string',
  15028. ],
  15029. 'maxResults' => [
  15030. 'location' => 'query',
  15031. 'type' => 'integer',
  15032. ],
  15033. 'orderBy' => [
  15034. 'location' => 'query',
  15035. 'type' => 'string',
  15036. ],
  15037. 'pageToken' => [
  15038. 'location' => 'query',
  15039. 'type' => 'string',
  15040. ],
  15041. 'returnPartialSuccess' => [
  15042. 'location' => 'query',
  15043. 'type' => 'boolean',
  15044. ],
  15045. ],
  15046. ],'patch' => [
  15047. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}',
  15048. 'httpMethod' => 'PATCH',
  15049. 'parameters' => [
  15050. 'project' => [
  15051. 'location' => 'path',
  15052. 'type' => 'string',
  15053. 'required' => true,
  15054. ],
  15055. 'region' => [
  15056. 'location' => 'path',
  15057. 'type' => 'string',
  15058. 'required' => true,
  15059. ],
  15060. 'firewallPolicy' => [
  15061. 'location' => 'path',
  15062. 'type' => 'string',
  15063. 'required' => true,
  15064. ],
  15065. 'requestId' => [
  15066. 'location' => 'query',
  15067. 'type' => 'string',
  15068. ],
  15069. ],
  15070. ],'patchRule' => [
  15071. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchRule',
  15072. 'httpMethod' => 'POST',
  15073. 'parameters' => [
  15074. 'project' => [
  15075. 'location' => 'path',
  15076. 'type' => 'string',
  15077. 'required' => true,
  15078. ],
  15079. 'region' => [
  15080. 'location' => 'path',
  15081. 'type' => 'string',
  15082. 'required' => true,
  15083. ],
  15084. 'firewallPolicy' => [
  15085. 'location' => 'path',
  15086. 'type' => 'string',
  15087. 'required' => true,
  15088. ],
  15089. 'priority' => [
  15090. 'location' => 'query',
  15091. 'type' => 'integer',
  15092. ],
  15093. 'requestId' => [
  15094. 'location' => 'query',
  15095. 'type' => 'string',
  15096. ],
  15097. ],
  15098. ],'removeAssociation' => [
  15099. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeAssociation',
  15100. 'httpMethod' => 'POST',
  15101. 'parameters' => [
  15102. 'project' => [
  15103. 'location' => 'path',
  15104. 'type' => 'string',
  15105. 'required' => true,
  15106. ],
  15107. 'region' => [
  15108. 'location' => 'path',
  15109. 'type' => 'string',
  15110. 'required' => true,
  15111. ],
  15112. 'firewallPolicy' => [
  15113. 'location' => 'path',
  15114. 'type' => 'string',
  15115. 'required' => true,
  15116. ],
  15117. 'name' => [
  15118. 'location' => 'query',
  15119. 'type' => 'string',
  15120. ],
  15121. 'requestId' => [
  15122. 'location' => 'query',
  15123. 'type' => 'string',
  15124. ],
  15125. ],
  15126. ],'removeRule' => [
  15127. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeRule',
  15128. 'httpMethod' => 'POST',
  15129. 'parameters' => [
  15130. 'project' => [
  15131. 'location' => 'path',
  15132. 'type' => 'string',
  15133. 'required' => true,
  15134. ],
  15135. 'region' => [
  15136. 'location' => 'path',
  15137. 'type' => 'string',
  15138. 'required' => true,
  15139. ],
  15140. 'firewallPolicy' => [
  15141. 'location' => 'path',
  15142. 'type' => 'string',
  15143. 'required' => true,
  15144. ],
  15145. 'priority' => [
  15146. 'location' => 'query',
  15147. 'type' => 'integer',
  15148. ],
  15149. 'requestId' => [
  15150. 'location' => 'query',
  15151. 'type' => 'string',
  15152. ],
  15153. ],
  15154. ],'setIamPolicy' => [
  15155. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{resource}/setIamPolicy',
  15156. 'httpMethod' => 'POST',
  15157. 'parameters' => [
  15158. 'project' => [
  15159. 'location' => 'path',
  15160. 'type' => 'string',
  15161. 'required' => true,
  15162. ],
  15163. 'region' => [
  15164. 'location' => 'path',
  15165. 'type' => 'string',
  15166. 'required' => true,
  15167. ],
  15168. 'resource' => [
  15169. 'location' => 'path',
  15170. 'type' => 'string',
  15171. 'required' => true,
  15172. ],
  15173. ],
  15174. ],'testIamPermissions' => [
  15175. 'path' => 'projects/{project}/regions/{region}/firewallPolicies/{resource}/testIamPermissions',
  15176. 'httpMethod' => 'POST',
  15177. 'parameters' => [
  15178. 'project' => [
  15179. 'location' => 'path',
  15180. 'type' => 'string',
  15181. 'required' => true,
  15182. ],
  15183. 'region' => [
  15184. 'location' => 'path',
  15185. 'type' => 'string',
  15186. 'required' => true,
  15187. ],
  15188. 'resource' => [
  15189. 'location' => 'path',
  15190. 'type' => 'string',
  15191. 'required' => true,
  15192. ],
  15193. ],
  15194. ],
  15195. ]
  15196. ]
  15197. );
  15198. $this->regionNotificationEndpoints = new Compute\Resource\RegionNotificationEndpoints(
  15199. $this,
  15200. $this->serviceName,
  15201. 'regionNotificationEndpoints',
  15202. [
  15203. 'methods' => [
  15204. 'delete' => [
  15205. 'path' => 'projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}',
  15206. 'httpMethod' => 'DELETE',
  15207. 'parameters' => [
  15208. 'project' => [
  15209. 'location' => 'path',
  15210. 'type' => 'string',
  15211. 'required' => true,
  15212. ],
  15213. 'region' => [
  15214. 'location' => 'path',
  15215. 'type' => 'string',
  15216. 'required' => true,
  15217. ],
  15218. 'notificationEndpoint' => [
  15219. 'location' => 'path',
  15220. 'type' => 'string',
  15221. 'required' => true,
  15222. ],
  15223. 'requestId' => [
  15224. 'location' => 'query',
  15225. 'type' => 'string',
  15226. ],
  15227. ],
  15228. ],'get' => [
  15229. 'path' => 'projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}',
  15230. 'httpMethod' => 'GET',
  15231. 'parameters' => [
  15232. 'project' => [
  15233. 'location' => 'path',
  15234. 'type' => 'string',
  15235. 'required' => true,
  15236. ],
  15237. 'region' => [
  15238. 'location' => 'path',
  15239. 'type' => 'string',
  15240. 'required' => true,
  15241. ],
  15242. 'notificationEndpoint' => [
  15243. 'location' => 'path',
  15244. 'type' => 'string',
  15245. 'required' => true,
  15246. ],
  15247. ],
  15248. ],'insert' => [
  15249. 'path' => 'projects/{project}/regions/{region}/notificationEndpoints',
  15250. 'httpMethod' => 'POST',
  15251. 'parameters' => [
  15252. 'project' => [
  15253. 'location' => 'path',
  15254. 'type' => 'string',
  15255. 'required' => true,
  15256. ],
  15257. 'region' => [
  15258. 'location' => 'path',
  15259. 'type' => 'string',
  15260. 'required' => true,
  15261. ],
  15262. 'requestId' => [
  15263. 'location' => 'query',
  15264. 'type' => 'string',
  15265. ],
  15266. ],
  15267. ],'list' => [
  15268. 'path' => 'projects/{project}/regions/{region}/notificationEndpoints',
  15269. 'httpMethod' => 'GET',
  15270. 'parameters' => [
  15271. 'project' => [
  15272. 'location' => 'path',
  15273. 'type' => 'string',
  15274. 'required' => true,
  15275. ],
  15276. 'region' => [
  15277. 'location' => 'path',
  15278. 'type' => 'string',
  15279. 'required' => true,
  15280. ],
  15281. 'filter' => [
  15282. 'location' => 'query',
  15283. 'type' => 'string',
  15284. ],
  15285. 'maxResults' => [
  15286. 'location' => 'query',
  15287. 'type' => 'integer',
  15288. ],
  15289. 'orderBy' => [
  15290. 'location' => 'query',
  15291. 'type' => 'string',
  15292. ],
  15293. 'pageToken' => [
  15294. 'location' => 'query',
  15295. 'type' => 'string',
  15296. ],
  15297. 'returnPartialSuccess' => [
  15298. 'location' => 'query',
  15299. 'type' => 'boolean',
  15300. ],
  15301. ],
  15302. ],'testIamPermissions' => [
  15303. 'path' => 'projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions',
  15304. 'httpMethod' => 'POST',
  15305. 'parameters' => [
  15306. 'project' => [
  15307. 'location' => 'path',
  15308. 'type' => 'string',
  15309. 'required' => true,
  15310. ],
  15311. 'region' => [
  15312. 'location' => 'path',
  15313. 'type' => 'string',
  15314. 'required' => true,
  15315. ],
  15316. 'resource' => [
  15317. 'location' => 'path',
  15318. 'type' => 'string',
  15319. 'required' => true,
  15320. ],
  15321. ],
  15322. ],
  15323. ]
  15324. ]
  15325. );
  15326. $this->regionOperations = new Compute\Resource\RegionOperations(
  15327. $this,
  15328. $this->serviceName,
  15329. 'regionOperations',
  15330. [
  15331. 'methods' => [
  15332. 'delete' => [
  15333. 'path' => 'projects/{project}/regions/{region}/operations/{operation}',
  15334. 'httpMethod' => 'DELETE',
  15335. 'parameters' => [
  15336. 'project' => [
  15337. 'location' => 'path',
  15338. 'type' => 'string',
  15339. 'required' => true,
  15340. ],
  15341. 'region' => [
  15342. 'location' => 'path',
  15343. 'type' => 'string',
  15344. 'required' => true,
  15345. ],
  15346. 'operation' => [
  15347. 'location' => 'path',
  15348. 'type' => 'string',
  15349. 'required' => true,
  15350. ],
  15351. ],
  15352. ],'get' => [
  15353. 'path' => 'projects/{project}/regions/{region}/operations/{operation}',
  15354. 'httpMethod' => 'GET',
  15355. 'parameters' => [
  15356. 'project' => [
  15357. 'location' => 'path',
  15358. 'type' => 'string',
  15359. 'required' => true,
  15360. ],
  15361. 'region' => [
  15362. 'location' => 'path',
  15363. 'type' => 'string',
  15364. 'required' => true,
  15365. ],
  15366. 'operation' => [
  15367. 'location' => 'path',
  15368. 'type' => 'string',
  15369. 'required' => true,
  15370. ],
  15371. ],
  15372. ],'list' => [
  15373. 'path' => 'projects/{project}/regions/{region}/operations',
  15374. 'httpMethod' => 'GET',
  15375. 'parameters' => [
  15376. 'project' => [
  15377. 'location' => 'path',
  15378. 'type' => 'string',
  15379. 'required' => true,
  15380. ],
  15381. 'region' => [
  15382. 'location' => 'path',
  15383. 'type' => 'string',
  15384. 'required' => true,
  15385. ],
  15386. 'filter' => [
  15387. 'location' => 'query',
  15388. 'type' => 'string',
  15389. ],
  15390. 'maxResults' => [
  15391. 'location' => 'query',
  15392. 'type' => 'integer',
  15393. ],
  15394. 'orderBy' => [
  15395. 'location' => 'query',
  15396. 'type' => 'string',
  15397. ],
  15398. 'pageToken' => [
  15399. 'location' => 'query',
  15400. 'type' => 'string',
  15401. ],
  15402. 'returnPartialSuccess' => [
  15403. 'location' => 'query',
  15404. 'type' => 'boolean',
  15405. ],
  15406. ],
  15407. ],'wait' => [
  15408. 'path' => 'projects/{project}/regions/{region}/operations/{operation}/wait',
  15409. 'httpMethod' => 'POST',
  15410. 'parameters' => [
  15411. 'project' => [
  15412. 'location' => 'path',
  15413. 'type' => 'string',
  15414. 'required' => true,
  15415. ],
  15416. 'region' => [
  15417. 'location' => 'path',
  15418. 'type' => 'string',
  15419. 'required' => true,
  15420. ],
  15421. 'operation' => [
  15422. 'location' => 'path',
  15423. 'type' => 'string',
  15424. 'required' => true,
  15425. ],
  15426. ],
  15427. ],
  15428. ]
  15429. ]
  15430. );
  15431. $this->regionSecurityPolicies = new Compute\Resource\RegionSecurityPolicies(
  15432. $this,
  15433. $this->serviceName,
  15434. 'regionSecurityPolicies',
  15435. [
  15436. 'methods' => [
  15437. 'addRule' => [
  15438. 'path' => 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule',
  15439. 'httpMethod' => 'POST',
  15440. 'parameters' => [
  15441. 'project' => [
  15442. 'location' => 'path',
  15443. 'type' => 'string',
  15444. 'required' => true,
  15445. ],
  15446. 'region' => [
  15447. 'location' => 'path',
  15448. 'type' => 'string',
  15449. 'required' => true,
  15450. ],
  15451. 'securityPolicy' => [
  15452. 'location' => 'path',
  15453. 'type' => 'string',
  15454. 'required' => true,
  15455. ],
  15456. 'validateOnly' => [
  15457. 'location' => 'query',
  15458. 'type' => 'boolean',
  15459. ],
  15460. ],
  15461. ],'delete' => [
  15462. 'path' => 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}',
  15463. 'httpMethod' => 'DELETE',
  15464. 'parameters' => [
  15465. 'project' => [
  15466. 'location' => 'path',
  15467. 'type' => 'string',
  15468. 'required' => true,
  15469. ],
  15470. 'region' => [
  15471. 'location' => 'path',
  15472. 'type' => 'string',
  15473. 'required' => true,
  15474. ],
  15475. 'securityPolicy' => [
  15476. 'location' => 'path',
  15477. 'type' => 'string',
  15478. 'required' => true,
  15479. ],
  15480. 'requestId' => [
  15481. 'location' => 'query',
  15482. 'type' => 'string',
  15483. ],
  15484. ],
  15485. ],'get' => [
  15486. 'path' => 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}',
  15487. 'httpMethod' => 'GET',
  15488. 'parameters' => [
  15489. 'project' => [
  15490. 'location' => 'path',
  15491. 'type' => 'string',
  15492. 'required' => true,
  15493. ],
  15494. 'region' => [
  15495. 'location' => 'path',
  15496. 'type' => 'string',
  15497. 'required' => true,
  15498. ],
  15499. 'securityPolicy' => [
  15500. 'location' => 'path',
  15501. 'type' => 'string',
  15502. 'required' => true,
  15503. ],
  15504. ],
  15505. ],'getRule' => [
  15506. 'path' => 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule',
  15507. 'httpMethod' => 'GET',
  15508. 'parameters' => [
  15509. 'project' => [
  15510. 'location' => 'path',
  15511. 'type' => 'string',
  15512. 'required' => true,
  15513. ],
  15514. 'region' => [
  15515. 'location' => 'path',
  15516. 'type' => 'string',
  15517. 'required' => true,
  15518. ],
  15519. 'securityPolicy' => [
  15520. 'location' => 'path',
  15521. 'type' => 'string',
  15522. 'required' => true,
  15523. ],
  15524. 'priority' => [
  15525. 'location' => 'query',
  15526. 'type' => 'integer',
  15527. ],
  15528. ],
  15529. ],'insert' => [
  15530. 'path' => 'projects/{project}/regions/{region}/securityPolicies',
  15531. 'httpMethod' => 'POST',
  15532. 'parameters' => [
  15533. 'project' => [
  15534. 'location' => 'path',
  15535. 'type' => 'string',
  15536. 'required' => true,
  15537. ],
  15538. 'region' => [
  15539. 'location' => 'path',
  15540. 'type' => 'string',
  15541. 'required' => true,
  15542. ],
  15543. 'requestId' => [
  15544. 'location' => 'query',
  15545. 'type' => 'string',
  15546. ],
  15547. 'validateOnly' => [
  15548. 'location' => 'query',
  15549. 'type' => 'boolean',
  15550. ],
  15551. ],
  15552. ],'list' => [
  15553. 'path' => 'projects/{project}/regions/{region}/securityPolicies',
  15554. 'httpMethod' => 'GET',
  15555. 'parameters' => [
  15556. 'project' => [
  15557. 'location' => 'path',
  15558. 'type' => 'string',
  15559. 'required' => true,
  15560. ],
  15561. 'region' => [
  15562. 'location' => 'path',
  15563. 'type' => 'string',
  15564. 'required' => true,
  15565. ],
  15566. 'filter' => [
  15567. 'location' => 'query',
  15568. 'type' => 'string',
  15569. ],
  15570. 'maxResults' => [
  15571. 'location' => 'query',
  15572. 'type' => 'integer',
  15573. ],
  15574. 'orderBy' => [
  15575. 'location' => 'query',
  15576. 'type' => 'string',
  15577. ],
  15578. 'pageToken' => [
  15579. 'location' => 'query',
  15580. 'type' => 'string',
  15581. ],
  15582. 'returnPartialSuccess' => [
  15583. 'location' => 'query',
  15584. 'type' => 'boolean',
  15585. ],
  15586. ],
  15587. ],'patch' => [
  15588. 'path' => 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}',
  15589. 'httpMethod' => 'PATCH',
  15590. 'parameters' => [
  15591. 'project' => [
  15592. 'location' => 'path',
  15593. 'type' => 'string',
  15594. 'required' => true,
  15595. ],
  15596. 'region' => [
  15597. 'location' => 'path',
  15598. 'type' => 'string',
  15599. 'required' => true,
  15600. ],
  15601. 'securityPolicy' => [
  15602. 'location' => 'path',
  15603. 'type' => 'string',
  15604. 'required' => true,
  15605. ],
  15606. 'requestId' => [
  15607. 'location' => 'query',
  15608. 'type' => 'string',
  15609. ],
  15610. 'updateMask' => [
  15611. 'location' => 'query',
  15612. 'type' => 'string',
  15613. ],
  15614. ],
  15615. ],'patchRule' => [
  15616. 'path' => 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule',
  15617. 'httpMethod' => 'POST',
  15618. 'parameters' => [
  15619. 'project' => [
  15620. 'location' => 'path',
  15621. 'type' => 'string',
  15622. 'required' => true,
  15623. ],
  15624. 'region' => [
  15625. 'location' => 'path',
  15626. 'type' => 'string',
  15627. 'required' => true,
  15628. ],
  15629. 'securityPolicy' => [
  15630. 'location' => 'path',
  15631. 'type' => 'string',
  15632. 'required' => true,
  15633. ],
  15634. 'priority' => [
  15635. 'location' => 'query',
  15636. 'type' => 'integer',
  15637. ],
  15638. 'updateMask' => [
  15639. 'location' => 'query',
  15640. 'type' => 'string',
  15641. ],
  15642. 'validateOnly' => [
  15643. 'location' => 'query',
  15644. 'type' => 'boolean',
  15645. ],
  15646. ],
  15647. ],'removeRule' => [
  15648. 'path' => 'projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule',
  15649. 'httpMethod' => 'POST',
  15650. 'parameters' => [
  15651. 'project' => [
  15652. 'location' => 'path',
  15653. 'type' => 'string',
  15654. 'required' => true,
  15655. ],
  15656. 'region' => [
  15657. 'location' => 'path',
  15658. 'type' => 'string',
  15659. 'required' => true,
  15660. ],
  15661. 'securityPolicy' => [
  15662. 'location' => 'path',
  15663. 'type' => 'string',
  15664. 'required' => true,
  15665. ],
  15666. 'priority' => [
  15667. 'location' => 'query',
  15668. 'type' => 'integer',
  15669. ],
  15670. ],
  15671. ],'setLabels' => [
  15672. 'path' => 'projects/{project}/regions/{region}/securityPolicies/{resource}/setLabels',
  15673. 'httpMethod' => 'POST',
  15674. 'parameters' => [
  15675. 'project' => [
  15676. 'location' => 'path',
  15677. 'type' => 'string',
  15678. 'required' => true,
  15679. ],
  15680. 'region' => [
  15681. 'location' => 'path',
  15682. 'type' => 'string',
  15683. 'required' => true,
  15684. ],
  15685. 'resource' => [
  15686. 'location' => 'path',
  15687. 'type' => 'string',
  15688. 'required' => true,
  15689. ],
  15690. 'requestId' => [
  15691. 'location' => 'query',
  15692. 'type' => 'string',
  15693. ],
  15694. ],
  15695. ],
  15696. ]
  15697. ]
  15698. );
  15699. $this->regionSslCertificates = new Compute\Resource\RegionSslCertificates(
  15700. $this,
  15701. $this->serviceName,
  15702. 'regionSslCertificates',
  15703. [
  15704. 'methods' => [
  15705. 'delete' => [
  15706. 'path' => 'projects/{project}/regions/{region}/sslCertificates/{sslCertificate}',
  15707. 'httpMethod' => 'DELETE',
  15708. 'parameters' => [
  15709. 'project' => [
  15710. 'location' => 'path',
  15711. 'type' => 'string',
  15712. 'required' => true,
  15713. ],
  15714. 'region' => [
  15715. 'location' => 'path',
  15716. 'type' => 'string',
  15717. 'required' => true,
  15718. ],
  15719. 'sslCertificate' => [
  15720. 'location' => 'path',
  15721. 'type' => 'string',
  15722. 'required' => true,
  15723. ],
  15724. 'requestId' => [
  15725. 'location' => 'query',
  15726. 'type' => 'string',
  15727. ],
  15728. ],
  15729. ],'get' => [
  15730. 'path' => 'projects/{project}/regions/{region}/sslCertificates/{sslCertificate}',
  15731. 'httpMethod' => 'GET',
  15732. 'parameters' => [
  15733. 'project' => [
  15734. 'location' => 'path',
  15735. 'type' => 'string',
  15736. 'required' => true,
  15737. ],
  15738. 'region' => [
  15739. 'location' => 'path',
  15740. 'type' => 'string',
  15741. 'required' => true,
  15742. ],
  15743. 'sslCertificate' => [
  15744. 'location' => 'path',
  15745. 'type' => 'string',
  15746. 'required' => true,
  15747. ],
  15748. ],
  15749. ],'insert' => [
  15750. 'path' => 'projects/{project}/regions/{region}/sslCertificates',
  15751. 'httpMethod' => 'POST',
  15752. 'parameters' => [
  15753. 'project' => [
  15754. 'location' => 'path',
  15755. 'type' => 'string',
  15756. 'required' => true,
  15757. ],
  15758. 'region' => [
  15759. 'location' => 'path',
  15760. 'type' => 'string',
  15761. 'required' => true,
  15762. ],
  15763. 'requestId' => [
  15764. 'location' => 'query',
  15765. 'type' => 'string',
  15766. ],
  15767. ],
  15768. ],'list' => [
  15769. 'path' => 'projects/{project}/regions/{region}/sslCertificates',
  15770. 'httpMethod' => 'GET',
  15771. 'parameters' => [
  15772. 'project' => [
  15773. 'location' => 'path',
  15774. 'type' => 'string',
  15775. 'required' => true,
  15776. ],
  15777. 'region' => [
  15778. 'location' => 'path',
  15779. 'type' => 'string',
  15780. 'required' => true,
  15781. ],
  15782. 'filter' => [
  15783. 'location' => 'query',
  15784. 'type' => 'string',
  15785. ],
  15786. 'maxResults' => [
  15787. 'location' => 'query',
  15788. 'type' => 'integer',
  15789. ],
  15790. 'orderBy' => [
  15791. 'location' => 'query',
  15792. 'type' => 'string',
  15793. ],
  15794. 'pageToken' => [
  15795. 'location' => 'query',
  15796. 'type' => 'string',
  15797. ],
  15798. 'returnPartialSuccess' => [
  15799. 'location' => 'query',
  15800. 'type' => 'boolean',
  15801. ],
  15802. ],
  15803. ],
  15804. ]
  15805. ]
  15806. );
  15807. $this->regionSslPolicies = new Compute\Resource\RegionSslPolicies(
  15808. $this,
  15809. $this->serviceName,
  15810. 'regionSslPolicies',
  15811. [
  15812. 'methods' => [
  15813. 'delete' => [
  15814. 'path' => 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}',
  15815. 'httpMethod' => 'DELETE',
  15816. 'parameters' => [
  15817. 'project' => [
  15818. 'location' => 'path',
  15819. 'type' => 'string',
  15820. 'required' => true,
  15821. ],
  15822. 'region' => [
  15823. 'location' => 'path',
  15824. 'type' => 'string',
  15825. 'required' => true,
  15826. ],
  15827. 'sslPolicy' => [
  15828. 'location' => 'path',
  15829. 'type' => 'string',
  15830. 'required' => true,
  15831. ],
  15832. 'requestId' => [
  15833. 'location' => 'query',
  15834. 'type' => 'string',
  15835. ],
  15836. ],
  15837. ],'get' => [
  15838. 'path' => 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}',
  15839. 'httpMethod' => 'GET',
  15840. 'parameters' => [
  15841. 'project' => [
  15842. 'location' => 'path',
  15843. 'type' => 'string',
  15844. 'required' => true,
  15845. ],
  15846. 'region' => [
  15847. 'location' => 'path',
  15848. 'type' => 'string',
  15849. 'required' => true,
  15850. ],
  15851. 'sslPolicy' => [
  15852. 'location' => 'path',
  15853. 'type' => 'string',
  15854. 'required' => true,
  15855. ],
  15856. ],
  15857. ],'insert' => [
  15858. 'path' => 'projects/{project}/regions/{region}/sslPolicies',
  15859. 'httpMethod' => 'POST',
  15860. 'parameters' => [
  15861. 'project' => [
  15862. 'location' => 'path',
  15863. 'type' => 'string',
  15864. 'required' => true,
  15865. ],
  15866. 'region' => [
  15867. 'location' => 'path',
  15868. 'type' => 'string',
  15869. 'required' => true,
  15870. ],
  15871. 'requestId' => [
  15872. 'location' => 'query',
  15873. 'type' => 'string',
  15874. ],
  15875. ],
  15876. ],'list' => [
  15877. 'path' => 'projects/{project}/regions/{region}/sslPolicies',
  15878. 'httpMethod' => 'GET',
  15879. 'parameters' => [
  15880. 'project' => [
  15881. 'location' => 'path',
  15882. 'type' => 'string',
  15883. 'required' => true,
  15884. ],
  15885. 'region' => [
  15886. 'location' => 'path',
  15887. 'type' => 'string',
  15888. 'required' => true,
  15889. ],
  15890. 'filter' => [
  15891. 'location' => 'query',
  15892. 'type' => 'string',
  15893. ],
  15894. 'maxResults' => [
  15895. 'location' => 'query',
  15896. 'type' => 'integer',
  15897. ],
  15898. 'orderBy' => [
  15899. 'location' => 'query',
  15900. 'type' => 'string',
  15901. ],
  15902. 'pageToken' => [
  15903. 'location' => 'query',
  15904. 'type' => 'string',
  15905. ],
  15906. 'returnPartialSuccess' => [
  15907. 'location' => 'query',
  15908. 'type' => 'boolean',
  15909. ],
  15910. ],
  15911. ],'listAvailableFeatures' => [
  15912. 'path' => 'projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures',
  15913. 'httpMethod' => 'GET',
  15914. 'parameters' => [
  15915. 'project' => [
  15916. 'location' => 'path',
  15917. 'type' => 'string',
  15918. 'required' => true,
  15919. ],
  15920. 'region' => [
  15921. 'location' => 'path',
  15922. 'type' => 'string',
  15923. 'required' => true,
  15924. ],
  15925. 'filter' => [
  15926. 'location' => 'query',
  15927. 'type' => 'string',
  15928. ],
  15929. 'maxResults' => [
  15930. 'location' => 'query',
  15931. 'type' => 'integer',
  15932. ],
  15933. 'orderBy' => [
  15934. 'location' => 'query',
  15935. 'type' => 'string',
  15936. ],
  15937. 'pageToken' => [
  15938. 'location' => 'query',
  15939. 'type' => 'string',
  15940. ],
  15941. 'returnPartialSuccess' => [
  15942. 'location' => 'query',
  15943. 'type' => 'boolean',
  15944. ],
  15945. ],
  15946. ],'patch' => [
  15947. 'path' => 'projects/{project}/regions/{region}/sslPolicies/{sslPolicy}',
  15948. 'httpMethod' => 'PATCH',
  15949. 'parameters' => [
  15950. 'project' => [
  15951. 'location' => 'path',
  15952. 'type' => 'string',
  15953. 'required' => true,
  15954. ],
  15955. 'region' => [
  15956. 'location' => 'path',
  15957. 'type' => 'string',
  15958. 'required' => true,
  15959. ],
  15960. 'sslPolicy' => [
  15961. 'location' => 'path',
  15962. 'type' => 'string',
  15963. 'required' => true,
  15964. ],
  15965. 'requestId' => [
  15966. 'location' => 'query',
  15967. 'type' => 'string',
  15968. ],
  15969. ],
  15970. ],
  15971. ]
  15972. ]
  15973. );
  15974. $this->regionTargetHttpProxies = new Compute\Resource\RegionTargetHttpProxies(
  15975. $this,
  15976. $this->serviceName,
  15977. 'regionTargetHttpProxies',
  15978. [
  15979. 'methods' => [
  15980. 'delete' => [
  15981. 'path' => 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}',
  15982. 'httpMethod' => 'DELETE',
  15983. 'parameters' => [
  15984. 'project' => [
  15985. 'location' => 'path',
  15986. 'type' => 'string',
  15987. 'required' => true,
  15988. ],
  15989. 'region' => [
  15990. 'location' => 'path',
  15991. 'type' => 'string',
  15992. 'required' => true,
  15993. ],
  15994. 'targetHttpProxy' => [
  15995. 'location' => 'path',
  15996. 'type' => 'string',
  15997. 'required' => true,
  15998. ],
  15999. 'requestId' => [
  16000. 'location' => 'query',
  16001. 'type' => 'string',
  16002. ],
  16003. ],
  16004. ],'get' => [
  16005. 'path' => 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}',
  16006. 'httpMethod' => 'GET',
  16007. 'parameters' => [
  16008. 'project' => [
  16009. 'location' => 'path',
  16010. 'type' => 'string',
  16011. 'required' => true,
  16012. ],
  16013. 'region' => [
  16014. 'location' => 'path',
  16015. 'type' => 'string',
  16016. 'required' => true,
  16017. ],
  16018. 'targetHttpProxy' => [
  16019. 'location' => 'path',
  16020. 'type' => 'string',
  16021. 'required' => true,
  16022. ],
  16023. ],
  16024. ],'insert' => [
  16025. 'path' => 'projects/{project}/regions/{region}/targetHttpProxies',
  16026. 'httpMethod' => 'POST',
  16027. 'parameters' => [
  16028. 'project' => [
  16029. 'location' => 'path',
  16030. 'type' => 'string',
  16031. 'required' => true,
  16032. ],
  16033. 'region' => [
  16034. 'location' => 'path',
  16035. 'type' => 'string',
  16036. 'required' => true,
  16037. ],
  16038. 'requestId' => [
  16039. 'location' => 'query',
  16040. 'type' => 'string',
  16041. ],
  16042. ],
  16043. ],'list' => [
  16044. 'path' => 'projects/{project}/regions/{region}/targetHttpProxies',
  16045. 'httpMethod' => 'GET',
  16046. 'parameters' => [
  16047. 'project' => [
  16048. 'location' => 'path',
  16049. 'type' => 'string',
  16050. 'required' => true,
  16051. ],
  16052. 'region' => [
  16053. 'location' => 'path',
  16054. 'type' => 'string',
  16055. 'required' => true,
  16056. ],
  16057. 'filter' => [
  16058. 'location' => 'query',
  16059. 'type' => 'string',
  16060. ],
  16061. 'maxResults' => [
  16062. 'location' => 'query',
  16063. 'type' => 'integer',
  16064. ],
  16065. 'orderBy' => [
  16066. 'location' => 'query',
  16067. 'type' => 'string',
  16068. ],
  16069. 'pageToken' => [
  16070. 'location' => 'query',
  16071. 'type' => 'string',
  16072. ],
  16073. 'returnPartialSuccess' => [
  16074. 'location' => 'query',
  16075. 'type' => 'boolean',
  16076. ],
  16077. ],
  16078. ],'setUrlMap' => [
  16079. 'path' => 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap',
  16080. 'httpMethod' => 'POST',
  16081. 'parameters' => [
  16082. 'project' => [
  16083. 'location' => 'path',
  16084. 'type' => 'string',
  16085. 'required' => true,
  16086. ],
  16087. 'region' => [
  16088. 'location' => 'path',
  16089. 'type' => 'string',
  16090. 'required' => true,
  16091. ],
  16092. 'targetHttpProxy' => [
  16093. 'location' => 'path',
  16094. 'type' => 'string',
  16095. 'required' => true,
  16096. ],
  16097. 'requestId' => [
  16098. 'location' => 'query',
  16099. 'type' => 'string',
  16100. ],
  16101. ],
  16102. ],
  16103. ]
  16104. ]
  16105. );
  16106. $this->regionTargetHttpsProxies = new Compute\Resource\RegionTargetHttpsProxies(
  16107. $this,
  16108. $this->serviceName,
  16109. 'regionTargetHttpsProxies',
  16110. [
  16111. 'methods' => [
  16112. 'delete' => [
  16113. 'path' => 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}',
  16114. 'httpMethod' => 'DELETE',
  16115. 'parameters' => [
  16116. 'project' => [
  16117. 'location' => 'path',
  16118. 'type' => 'string',
  16119. 'required' => true,
  16120. ],
  16121. 'region' => [
  16122. 'location' => 'path',
  16123. 'type' => 'string',
  16124. 'required' => true,
  16125. ],
  16126. 'targetHttpsProxy' => [
  16127. 'location' => 'path',
  16128. 'type' => 'string',
  16129. 'required' => true,
  16130. ],
  16131. 'requestId' => [
  16132. 'location' => 'query',
  16133. 'type' => 'string',
  16134. ],
  16135. ],
  16136. ],'get' => [
  16137. 'path' => 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}',
  16138. 'httpMethod' => 'GET',
  16139. 'parameters' => [
  16140. 'project' => [
  16141. 'location' => 'path',
  16142. 'type' => 'string',
  16143. 'required' => true,
  16144. ],
  16145. 'region' => [
  16146. 'location' => 'path',
  16147. 'type' => 'string',
  16148. 'required' => true,
  16149. ],
  16150. 'targetHttpsProxy' => [
  16151. 'location' => 'path',
  16152. 'type' => 'string',
  16153. 'required' => true,
  16154. ],
  16155. ],
  16156. ],'insert' => [
  16157. 'path' => 'projects/{project}/regions/{region}/targetHttpsProxies',
  16158. 'httpMethod' => 'POST',
  16159. 'parameters' => [
  16160. 'project' => [
  16161. 'location' => 'path',
  16162. 'type' => 'string',
  16163. 'required' => true,
  16164. ],
  16165. 'region' => [
  16166. 'location' => 'path',
  16167. 'type' => 'string',
  16168. 'required' => true,
  16169. ],
  16170. 'requestId' => [
  16171. 'location' => 'query',
  16172. 'type' => 'string',
  16173. ],
  16174. ],
  16175. ],'list' => [
  16176. 'path' => 'projects/{project}/regions/{region}/targetHttpsProxies',
  16177. 'httpMethod' => 'GET',
  16178. 'parameters' => [
  16179. 'project' => [
  16180. 'location' => 'path',
  16181. 'type' => 'string',
  16182. 'required' => true,
  16183. ],
  16184. 'region' => [
  16185. 'location' => 'path',
  16186. 'type' => 'string',
  16187. 'required' => true,
  16188. ],
  16189. 'filter' => [
  16190. 'location' => 'query',
  16191. 'type' => 'string',
  16192. ],
  16193. 'maxResults' => [
  16194. 'location' => 'query',
  16195. 'type' => 'integer',
  16196. ],
  16197. 'orderBy' => [
  16198. 'location' => 'query',
  16199. 'type' => 'string',
  16200. ],
  16201. 'pageToken' => [
  16202. 'location' => 'query',
  16203. 'type' => 'string',
  16204. ],
  16205. 'returnPartialSuccess' => [
  16206. 'location' => 'query',
  16207. 'type' => 'boolean',
  16208. ],
  16209. ],
  16210. ],'patch' => [
  16211. 'path' => 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}',
  16212. 'httpMethod' => 'PATCH',
  16213. 'parameters' => [
  16214. 'project' => [
  16215. 'location' => 'path',
  16216. 'type' => 'string',
  16217. 'required' => true,
  16218. ],
  16219. 'region' => [
  16220. 'location' => 'path',
  16221. 'type' => 'string',
  16222. 'required' => true,
  16223. ],
  16224. 'targetHttpsProxy' => [
  16225. 'location' => 'path',
  16226. 'type' => 'string',
  16227. 'required' => true,
  16228. ],
  16229. 'requestId' => [
  16230. 'location' => 'query',
  16231. 'type' => 'string',
  16232. ],
  16233. ],
  16234. ],'setSslCertificates' => [
  16235. 'path' => 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates',
  16236. 'httpMethod' => 'POST',
  16237. 'parameters' => [
  16238. 'project' => [
  16239. 'location' => 'path',
  16240. 'type' => 'string',
  16241. 'required' => true,
  16242. ],
  16243. 'region' => [
  16244. 'location' => 'path',
  16245. 'type' => 'string',
  16246. 'required' => true,
  16247. ],
  16248. 'targetHttpsProxy' => [
  16249. 'location' => 'path',
  16250. 'type' => 'string',
  16251. 'required' => true,
  16252. ],
  16253. 'requestId' => [
  16254. 'location' => 'query',
  16255. 'type' => 'string',
  16256. ],
  16257. ],
  16258. ],'setUrlMap' => [
  16259. 'path' => 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap',
  16260. 'httpMethod' => 'POST',
  16261. 'parameters' => [
  16262. 'project' => [
  16263. 'location' => 'path',
  16264. 'type' => 'string',
  16265. 'required' => true,
  16266. ],
  16267. 'region' => [
  16268. 'location' => 'path',
  16269. 'type' => 'string',
  16270. 'required' => true,
  16271. ],
  16272. 'targetHttpsProxy' => [
  16273. 'location' => 'path',
  16274. 'type' => 'string',
  16275. 'required' => true,
  16276. ],
  16277. 'requestId' => [
  16278. 'location' => 'query',
  16279. 'type' => 'string',
  16280. ],
  16281. ],
  16282. ],
  16283. ]
  16284. ]
  16285. );
  16286. $this->regionTargetTcpProxies = new Compute\Resource\RegionTargetTcpProxies(
  16287. $this,
  16288. $this->serviceName,
  16289. 'regionTargetTcpProxies',
  16290. [
  16291. 'methods' => [
  16292. 'delete' => [
  16293. 'path' => 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}',
  16294. 'httpMethod' => 'DELETE',
  16295. 'parameters' => [
  16296. 'project' => [
  16297. 'location' => 'path',
  16298. 'type' => 'string',
  16299. 'required' => true,
  16300. ],
  16301. 'region' => [
  16302. 'location' => 'path',
  16303. 'type' => 'string',
  16304. 'required' => true,
  16305. ],
  16306. 'targetTcpProxy' => [
  16307. 'location' => 'path',
  16308. 'type' => 'string',
  16309. 'required' => true,
  16310. ],
  16311. 'requestId' => [
  16312. 'location' => 'query',
  16313. 'type' => 'string',
  16314. ],
  16315. ],
  16316. ],'get' => [
  16317. 'path' => 'projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}',
  16318. 'httpMethod' => 'GET',
  16319. 'parameters' => [
  16320. 'project' => [
  16321. 'location' => 'path',
  16322. 'type' => 'string',
  16323. 'required' => true,
  16324. ],
  16325. 'region' => [
  16326. 'location' => 'path',
  16327. 'type' => 'string',
  16328. 'required' => true,
  16329. ],
  16330. 'targetTcpProxy' => [
  16331. 'location' => 'path',
  16332. 'type' => 'string',
  16333. 'required' => true,
  16334. ],
  16335. ],
  16336. ],'insert' => [
  16337. 'path' => 'projects/{project}/regions/{region}/targetTcpProxies',
  16338. 'httpMethod' => 'POST',
  16339. 'parameters' => [
  16340. 'project' => [
  16341. 'location' => 'path',
  16342. 'type' => 'string',
  16343. 'required' => true,
  16344. ],
  16345. 'region' => [
  16346. 'location' => 'path',
  16347. 'type' => 'string',
  16348. 'required' => true,
  16349. ],
  16350. 'requestId' => [
  16351. 'location' => 'query',
  16352. 'type' => 'string',
  16353. ],
  16354. ],
  16355. ],'list' => [
  16356. 'path' => 'projects/{project}/regions/{region}/targetTcpProxies',
  16357. 'httpMethod' => 'GET',
  16358. 'parameters' => [
  16359. 'project' => [
  16360. 'location' => 'path',
  16361. 'type' => 'string',
  16362. 'required' => true,
  16363. ],
  16364. 'region' => [
  16365. 'location' => 'path',
  16366. 'type' => 'string',
  16367. 'required' => true,
  16368. ],
  16369. 'filter' => [
  16370. 'location' => 'query',
  16371. 'type' => 'string',
  16372. ],
  16373. 'maxResults' => [
  16374. 'location' => 'query',
  16375. 'type' => 'integer',
  16376. ],
  16377. 'orderBy' => [
  16378. 'location' => 'query',
  16379. 'type' => 'string',
  16380. ],
  16381. 'pageToken' => [
  16382. 'location' => 'query',
  16383. 'type' => 'string',
  16384. ],
  16385. 'returnPartialSuccess' => [
  16386. 'location' => 'query',
  16387. 'type' => 'boolean',
  16388. ],
  16389. ],
  16390. ],
  16391. ]
  16392. ]
  16393. );
  16394. $this->regionUrlMaps = new Compute\Resource\RegionUrlMaps(
  16395. $this,
  16396. $this->serviceName,
  16397. 'regionUrlMaps',
  16398. [
  16399. 'methods' => [
  16400. 'delete' => [
  16401. 'path' => 'projects/{project}/regions/{region}/urlMaps/{urlMap}',
  16402. 'httpMethod' => 'DELETE',
  16403. 'parameters' => [
  16404. 'project' => [
  16405. 'location' => 'path',
  16406. 'type' => 'string',
  16407. 'required' => true,
  16408. ],
  16409. 'region' => [
  16410. 'location' => 'path',
  16411. 'type' => 'string',
  16412. 'required' => true,
  16413. ],
  16414. 'urlMap' => [
  16415. 'location' => 'path',
  16416. 'type' => 'string',
  16417. 'required' => true,
  16418. ],
  16419. 'requestId' => [
  16420. 'location' => 'query',
  16421. 'type' => 'string',
  16422. ],
  16423. ],
  16424. ],'get' => [
  16425. 'path' => 'projects/{project}/regions/{region}/urlMaps/{urlMap}',
  16426. 'httpMethod' => 'GET',
  16427. 'parameters' => [
  16428. 'project' => [
  16429. 'location' => 'path',
  16430. 'type' => 'string',
  16431. 'required' => true,
  16432. ],
  16433. 'region' => [
  16434. 'location' => 'path',
  16435. 'type' => 'string',
  16436. 'required' => true,
  16437. ],
  16438. 'urlMap' => [
  16439. 'location' => 'path',
  16440. 'type' => 'string',
  16441. 'required' => true,
  16442. ],
  16443. ],
  16444. ],'insert' => [
  16445. 'path' => 'projects/{project}/regions/{region}/urlMaps',
  16446. 'httpMethod' => 'POST',
  16447. 'parameters' => [
  16448. 'project' => [
  16449. 'location' => 'path',
  16450. 'type' => 'string',
  16451. 'required' => true,
  16452. ],
  16453. 'region' => [
  16454. 'location' => 'path',
  16455. 'type' => 'string',
  16456. 'required' => true,
  16457. ],
  16458. 'requestId' => [
  16459. 'location' => 'query',
  16460. 'type' => 'string',
  16461. ],
  16462. ],
  16463. ],'list' => [
  16464. 'path' => 'projects/{project}/regions/{region}/urlMaps',
  16465. 'httpMethod' => 'GET',
  16466. 'parameters' => [
  16467. 'project' => [
  16468. 'location' => 'path',
  16469. 'type' => 'string',
  16470. 'required' => true,
  16471. ],
  16472. 'region' => [
  16473. 'location' => 'path',
  16474. 'type' => 'string',
  16475. 'required' => true,
  16476. ],
  16477. 'filter' => [
  16478. 'location' => 'query',
  16479. 'type' => 'string',
  16480. ],
  16481. 'maxResults' => [
  16482. 'location' => 'query',
  16483. 'type' => 'integer',
  16484. ],
  16485. 'orderBy' => [
  16486. 'location' => 'query',
  16487. 'type' => 'string',
  16488. ],
  16489. 'pageToken' => [
  16490. 'location' => 'query',
  16491. 'type' => 'string',
  16492. ],
  16493. 'returnPartialSuccess' => [
  16494. 'location' => 'query',
  16495. 'type' => 'boolean',
  16496. ],
  16497. ],
  16498. ],'patch' => [
  16499. 'path' => 'projects/{project}/regions/{region}/urlMaps/{urlMap}',
  16500. 'httpMethod' => 'PATCH',
  16501. 'parameters' => [
  16502. 'project' => [
  16503. 'location' => 'path',
  16504. 'type' => 'string',
  16505. 'required' => true,
  16506. ],
  16507. 'region' => [
  16508. 'location' => 'path',
  16509. 'type' => 'string',
  16510. 'required' => true,
  16511. ],
  16512. 'urlMap' => [
  16513. 'location' => 'path',
  16514. 'type' => 'string',
  16515. 'required' => true,
  16516. ],
  16517. 'requestId' => [
  16518. 'location' => 'query',
  16519. 'type' => 'string',
  16520. ],
  16521. ],
  16522. ],'update' => [
  16523. 'path' => 'projects/{project}/regions/{region}/urlMaps/{urlMap}',
  16524. 'httpMethod' => 'PUT',
  16525. 'parameters' => [
  16526. 'project' => [
  16527. 'location' => 'path',
  16528. 'type' => 'string',
  16529. 'required' => true,
  16530. ],
  16531. 'region' => [
  16532. 'location' => 'path',
  16533. 'type' => 'string',
  16534. 'required' => true,
  16535. ],
  16536. 'urlMap' => [
  16537. 'location' => 'path',
  16538. 'type' => 'string',
  16539. 'required' => true,
  16540. ],
  16541. 'requestId' => [
  16542. 'location' => 'query',
  16543. 'type' => 'string',
  16544. ],
  16545. ],
  16546. ],'validate' => [
  16547. 'path' => 'projects/{project}/regions/{region}/urlMaps/{urlMap}/validate',
  16548. 'httpMethod' => 'POST',
  16549. 'parameters' => [
  16550. 'project' => [
  16551. 'location' => 'path',
  16552. 'type' => 'string',
  16553. 'required' => true,
  16554. ],
  16555. 'region' => [
  16556. 'location' => 'path',
  16557. 'type' => 'string',
  16558. 'required' => true,
  16559. ],
  16560. 'urlMap' => [
  16561. 'location' => 'path',
  16562. 'type' => 'string',
  16563. 'required' => true,
  16564. ],
  16565. ],
  16566. ],
  16567. ]
  16568. ]
  16569. );
  16570. $this->regionZones = new Compute\Resource\RegionZones(
  16571. $this,
  16572. $this->serviceName,
  16573. 'regionZones',
  16574. [
  16575. 'methods' => [
  16576. 'list' => [
  16577. 'path' => 'projects/{project}/regions/{region}/zones',
  16578. 'httpMethod' => 'GET',
  16579. 'parameters' => [
  16580. 'project' => [
  16581. 'location' => 'path',
  16582. 'type' => 'string',
  16583. 'required' => true,
  16584. ],
  16585. 'region' => [
  16586. 'location' => 'path',
  16587. 'type' => 'string',
  16588. 'required' => true,
  16589. ],
  16590. 'filter' => [
  16591. 'location' => 'query',
  16592. 'type' => 'string',
  16593. ],
  16594. 'maxResults' => [
  16595. 'location' => 'query',
  16596. 'type' => 'integer',
  16597. ],
  16598. 'orderBy' => [
  16599. 'location' => 'query',
  16600. 'type' => 'string',
  16601. ],
  16602. 'pageToken' => [
  16603. 'location' => 'query',
  16604. 'type' => 'string',
  16605. ],
  16606. 'returnPartialSuccess' => [
  16607. 'location' => 'query',
  16608. 'type' => 'boolean',
  16609. ],
  16610. ],
  16611. ],
  16612. ]
  16613. ]
  16614. );
  16615. $this->regions = new Compute\Resource\Regions(
  16616. $this,
  16617. $this->serviceName,
  16618. 'regions',
  16619. [
  16620. 'methods' => [
  16621. 'get' => [
  16622. 'path' => 'projects/{project}/regions/{region}',
  16623. 'httpMethod' => 'GET',
  16624. 'parameters' => [
  16625. 'project' => [
  16626. 'location' => 'path',
  16627. 'type' => 'string',
  16628. 'required' => true,
  16629. ],
  16630. 'region' => [
  16631. 'location' => 'path',
  16632. 'type' => 'string',
  16633. 'required' => true,
  16634. ],
  16635. ],
  16636. ],'list' => [
  16637. 'path' => 'projects/{project}/regions',
  16638. 'httpMethod' => 'GET',
  16639. 'parameters' => [
  16640. 'project' => [
  16641. 'location' => 'path',
  16642. 'type' => 'string',
  16643. 'required' => true,
  16644. ],
  16645. 'filter' => [
  16646. 'location' => 'query',
  16647. 'type' => 'string',
  16648. ],
  16649. 'maxResults' => [
  16650. 'location' => 'query',
  16651. 'type' => 'integer',
  16652. ],
  16653. 'orderBy' => [
  16654. 'location' => 'query',
  16655. 'type' => 'string',
  16656. ],
  16657. 'pageToken' => [
  16658. 'location' => 'query',
  16659. 'type' => 'string',
  16660. ],
  16661. 'returnPartialSuccess' => [
  16662. 'location' => 'query',
  16663. 'type' => 'boolean',
  16664. ],
  16665. ],
  16666. ],
  16667. ]
  16668. ]
  16669. );
  16670. $this->reservationBlocks = new Compute\Resource\ReservationBlocks(
  16671. $this,
  16672. $this->serviceName,
  16673. 'reservationBlocks',
  16674. [
  16675. 'methods' => [
  16676. 'get' => [
  16677. 'path' => 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}',
  16678. 'httpMethod' => 'GET',
  16679. 'parameters' => [
  16680. 'project' => [
  16681. 'location' => 'path',
  16682. 'type' => 'string',
  16683. 'required' => true,
  16684. ],
  16685. 'zone' => [
  16686. 'location' => 'path',
  16687. 'type' => 'string',
  16688. 'required' => true,
  16689. ],
  16690. 'reservation' => [
  16691. 'location' => 'path',
  16692. 'type' => 'string',
  16693. 'required' => true,
  16694. ],
  16695. 'reservationBlock' => [
  16696. 'location' => 'path',
  16697. 'type' => 'string',
  16698. 'required' => true,
  16699. ],
  16700. 'view' => [
  16701. 'location' => 'query',
  16702. 'type' => 'string',
  16703. ],
  16704. ],
  16705. ],'getIamPolicy' => [
  16706. 'path' => 'projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/getIamPolicy',
  16707. 'httpMethod' => 'GET',
  16708. 'parameters' => [
  16709. 'project' => [
  16710. 'location' => 'path',
  16711. 'type' => 'string',
  16712. 'required' => true,
  16713. ],
  16714. 'zone' => [
  16715. 'location' => 'path',
  16716. 'type' => 'string',
  16717. 'required' => true,
  16718. ],
  16719. 'parentResource' => [
  16720. 'location' => 'path',
  16721. 'type' => 'string',
  16722. 'required' => true,
  16723. ],
  16724. 'resource' => [
  16725. 'location' => 'path',
  16726. 'type' => 'string',
  16727. 'required' => true,
  16728. ],
  16729. 'optionsRequestedPolicyVersion' => [
  16730. 'location' => 'query',
  16731. 'type' => 'integer',
  16732. ],
  16733. ],
  16734. ],'list' => [
  16735. 'path' => 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks',
  16736. 'httpMethod' => 'GET',
  16737. 'parameters' => [
  16738. 'project' => [
  16739. 'location' => 'path',
  16740. 'type' => 'string',
  16741. 'required' => true,
  16742. ],
  16743. 'zone' => [
  16744. 'location' => 'path',
  16745. 'type' => 'string',
  16746. 'required' => true,
  16747. ],
  16748. 'reservation' => [
  16749. 'location' => 'path',
  16750. 'type' => 'string',
  16751. 'required' => true,
  16752. ],
  16753. 'filter' => [
  16754. 'location' => 'query',
  16755. 'type' => 'string',
  16756. ],
  16757. 'maxResults' => [
  16758. 'location' => 'query',
  16759. 'type' => 'integer',
  16760. ],
  16761. 'orderBy' => [
  16762. 'location' => 'query',
  16763. 'type' => 'string',
  16764. ],
  16765. 'pageToken' => [
  16766. 'location' => 'query',
  16767. 'type' => 'string',
  16768. ],
  16769. 'returnPartialSuccess' => [
  16770. 'location' => 'query',
  16771. 'type' => 'boolean',
  16772. ],
  16773. ],
  16774. ],'performMaintenance' => [
  16775. 'path' => 'projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/performMaintenance',
  16776. 'httpMethod' => 'POST',
  16777. 'parameters' => [
  16778. 'project' => [
  16779. 'location' => 'path',
  16780. 'type' => 'string',
  16781. 'required' => true,
  16782. ],
  16783. 'zone' => [
  16784. 'location' => 'path',
  16785. 'type' => 'string',
  16786. 'required' => true,
  16787. ],
  16788. 'reservation' => [
  16789. 'location' => 'path',
  16790. 'type' => 'string',
  16791. 'required' => true,
  16792. ],
  16793. 'reservationBlock' => [
  16794. 'location' => 'path',
  16795. 'type' => 'string',
  16796. 'required' => true,
  16797. ],
  16798. 'requestId' => [
  16799. 'location' => 'query',
  16800. 'type' => 'string',
  16801. ],
  16802. ],
  16803. ],'setIamPolicy' => [
  16804. 'path' => 'projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/setIamPolicy',
  16805. 'httpMethod' => 'POST',
  16806. 'parameters' => [
  16807. 'project' => [
  16808. 'location' => 'path',
  16809. 'type' => 'string',
  16810. 'required' => true,
  16811. ],
  16812. 'zone' => [
  16813. 'location' => 'path',
  16814. 'type' => 'string',
  16815. 'required' => true,
  16816. ],
  16817. 'parentResource' => [
  16818. 'location' => 'path',
  16819. 'type' => 'string',
  16820. 'required' => true,
  16821. ],
  16822. 'resource' => [
  16823. 'location' => 'path',
  16824. 'type' => 'string',
  16825. 'required' => true,
  16826. ],
  16827. ],
  16828. ],'testIamPermissions' => [
  16829. 'path' => 'projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/testIamPermissions',
  16830. 'httpMethod' => 'POST',
  16831. 'parameters' => [
  16832. 'project' => [
  16833. 'location' => 'path',
  16834. 'type' => 'string',
  16835. 'required' => true,
  16836. ],
  16837. 'zone' => [
  16838. 'location' => 'path',
  16839. 'type' => 'string',
  16840. 'required' => true,
  16841. ],
  16842. 'parentResource' => [
  16843. 'location' => 'path',
  16844. 'type' => 'string',
  16845. 'required' => true,
  16846. ],
  16847. 'resource' => [
  16848. 'location' => 'path',
  16849. 'type' => 'string',
  16850. 'required' => true,
  16851. ],
  16852. ],
  16853. ],
  16854. ]
  16855. ]
  16856. );
  16857. $this->reservationSlots = new Compute\Resource\ReservationSlots(
  16858. $this,
  16859. $this->serviceName,
  16860. 'reservationSlots',
  16861. [
  16862. 'methods' => [
  16863. 'get' => [
  16864. 'path' => 'projects/{project}/zones/{zone}/{+parentName}/reservationSlots/{reservationSlot}',
  16865. 'httpMethod' => 'GET',
  16866. 'parameters' => [
  16867. 'project' => [
  16868. 'location' => 'path',
  16869. 'type' => 'string',
  16870. 'required' => true,
  16871. ],
  16872. 'zone' => [
  16873. 'location' => 'path',
  16874. 'type' => 'string',
  16875. 'required' => true,
  16876. ],
  16877. 'parentName' => [
  16878. 'location' => 'path',
  16879. 'type' => 'string',
  16880. 'required' => true,
  16881. ],
  16882. 'reservationSlot' => [
  16883. 'location' => 'path',
  16884. 'type' => 'string',
  16885. 'required' => true,
  16886. ],
  16887. ],
  16888. ],'list' => [
  16889. 'path' => 'projects/{project}/zones/{zone}/{+parentName}/reservationSlots',
  16890. 'httpMethod' => 'GET',
  16891. 'parameters' => [
  16892. 'project' => [
  16893. 'location' => 'path',
  16894. 'type' => 'string',
  16895. 'required' => true,
  16896. ],
  16897. 'zone' => [
  16898. 'location' => 'path',
  16899. 'type' => 'string',
  16900. 'required' => true,
  16901. ],
  16902. 'parentName' => [
  16903. 'location' => 'path',
  16904. 'type' => 'string',
  16905. 'required' => true,
  16906. ],
  16907. 'filter' => [
  16908. 'location' => 'query',
  16909. 'type' => 'string',
  16910. ],
  16911. 'maxResults' => [
  16912. 'location' => 'query',
  16913. 'type' => 'integer',
  16914. ],
  16915. 'orderBy' => [
  16916. 'location' => 'query',
  16917. 'type' => 'string',
  16918. ],
  16919. 'pageToken' => [
  16920. 'location' => 'query',
  16921. 'type' => 'string',
  16922. ],
  16923. 'returnPartialSuccess' => [
  16924. 'location' => 'query',
  16925. 'type' => 'boolean',
  16926. ],
  16927. ],
  16928. ],'update' => [
  16929. 'path' => 'projects/{project}/zones/{zone}/{+parentName}/reservationSlots/{reservationSlot}',
  16930. 'httpMethod' => 'POST',
  16931. 'parameters' => [
  16932. 'project' => [
  16933. 'location' => 'path',
  16934. 'type' => 'string',
  16935. 'required' => true,
  16936. ],
  16937. 'zone' => [
  16938. 'location' => 'path',
  16939. 'type' => 'string',
  16940. 'required' => true,
  16941. ],
  16942. 'parentName' => [
  16943. 'location' => 'path',
  16944. 'type' => 'string',
  16945. 'required' => true,
  16946. ],
  16947. 'reservationSlot' => [
  16948. 'location' => 'path',
  16949. 'type' => 'string',
  16950. 'required' => true,
  16951. ],
  16952. 'updateMask' => [
  16953. 'location' => 'query',
  16954. 'type' => 'string',
  16955. ],
  16956. ],
  16957. ],
  16958. ]
  16959. ]
  16960. );
  16961. $this->reservationSubBlocks = new Compute\Resource\ReservationSubBlocks(
  16962. $this,
  16963. $this->serviceName,
  16964. 'reservationSubBlocks',
  16965. [
  16966. 'methods' => [
  16967. 'get' => [
  16968. 'path' => 'projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}',
  16969. 'httpMethod' => 'GET',
  16970. 'parameters' => [
  16971. 'project' => [
  16972. 'location' => 'path',
  16973. 'type' => 'string',
  16974. 'required' => true,
  16975. ],
  16976. 'zone' => [
  16977. 'location' => 'path',
  16978. 'type' => 'string',
  16979. 'required' => true,
  16980. ],
  16981. 'parentName' => [
  16982. 'location' => 'path',
  16983. 'type' => 'string',
  16984. 'required' => true,
  16985. ],
  16986. 'reservationSubBlock' => [
  16987. 'location' => 'path',
  16988. 'type' => 'string',
  16989. 'required' => true,
  16990. ],
  16991. 'view' => [
  16992. 'location' => 'query',
  16993. 'type' => 'string',
  16994. ],
  16995. ],
  16996. ],'getIamPolicy' => [
  16997. 'path' => 'projects/{project}/zones/{zone}/{+parentResource}/reservationSubBlocks/{resource}/getIamPolicy',
  16998. 'httpMethod' => 'GET',
  16999. 'parameters' => [
  17000. 'project' => [
  17001. 'location' => 'path',
  17002. 'type' => 'string',
  17003. 'required' => true,
  17004. ],
  17005. 'zone' => [
  17006. 'location' => 'path',
  17007. 'type' => 'string',
  17008. 'required' => true,
  17009. ],
  17010. 'parentResource' => [
  17011. 'location' => 'path',
  17012. 'type' => 'string',
  17013. 'required' => true,
  17014. ],
  17015. 'resource' => [
  17016. 'location' => 'path',
  17017. 'type' => 'string',
  17018. 'required' => true,
  17019. ],
  17020. 'optionsRequestedPolicyVersion' => [
  17021. 'location' => 'query',
  17022. 'type' => 'integer',
  17023. ],
  17024. ],
  17025. ],'list' => [
  17026. 'path' => 'projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks',
  17027. 'httpMethod' => 'GET',
  17028. 'parameters' => [
  17029. 'project' => [
  17030. 'location' => 'path',
  17031. 'type' => 'string',
  17032. 'required' => true,
  17033. ],
  17034. 'zone' => [
  17035. 'location' => 'path',
  17036. 'type' => 'string',
  17037. 'required' => true,
  17038. ],
  17039. 'parentName' => [
  17040. 'location' => 'path',
  17041. 'type' => 'string',
  17042. 'required' => true,
  17043. ],
  17044. 'filter' => [
  17045. 'location' => 'query',
  17046. 'type' => 'string',
  17047. ],
  17048. 'maxResults' => [
  17049. 'location' => 'query',
  17050. 'type' => 'integer',
  17051. ],
  17052. 'orderBy' => [
  17053. 'location' => 'query',
  17054. 'type' => 'string',
  17055. ],
  17056. 'pageToken' => [
  17057. 'location' => 'query',
  17058. 'type' => 'string',
  17059. ],
  17060. 'returnPartialSuccess' => [
  17061. 'location' => 'query',
  17062. 'type' => 'boolean',
  17063. ],
  17064. ],
  17065. ],'performMaintenance' => [
  17066. 'path' => 'projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance',
  17067. 'httpMethod' => 'POST',
  17068. 'parameters' => [
  17069. 'project' => [
  17070. 'location' => 'path',
  17071. 'type' => 'string',
  17072. 'required' => true,
  17073. ],
  17074. 'zone' => [
  17075. 'location' => 'path',
  17076. 'type' => 'string',
  17077. 'required' => true,
  17078. ],
  17079. 'parentName' => [
  17080. 'location' => 'path',
  17081. 'type' => 'string',
  17082. 'required' => true,
  17083. ],
  17084. 'reservationSubBlock' => [
  17085. 'location' => 'path',
  17086. 'type' => 'string',
  17087. 'required' => true,
  17088. ],
  17089. 'requestId' => [
  17090. 'location' => 'query',
  17091. 'type' => 'string',
  17092. ],
  17093. ],
  17094. ],'reportFaulty' => [
  17095. 'path' => 'projects/{project}/zones/{zone}/{+parentName}/reservationSubBlocks/{reservationSubBlock}/reportFaulty',
  17096. 'httpMethod' => 'POST',
  17097. 'parameters' => [
  17098. 'project' => [
  17099. 'location' => 'path',
  17100. 'type' => 'string',
  17101. 'required' => true,
  17102. ],
  17103. 'zone' => [
  17104. 'location' => 'path',
  17105. 'type' => 'string',
  17106. 'required' => true,
  17107. ],
  17108. 'parentName' => [
  17109. 'location' => 'path',
  17110. 'type' => 'string',
  17111. 'required' => true,
  17112. ],
  17113. 'reservationSubBlock' => [
  17114. 'location' => 'path',
  17115. 'type' => 'string',
  17116. 'required' => true,
  17117. ],
  17118. 'requestId' => [
  17119. 'location' => 'query',
  17120. 'type' => 'string',
  17121. ],
  17122. ],
  17123. ],'setIamPolicy' => [
  17124. 'path' => 'projects/{project}/zones/{zone}/{+parentResource}/reservationSubBlocks/{resource}/setIamPolicy',
  17125. 'httpMethod' => 'POST',
  17126. 'parameters' => [
  17127. 'project' => [
  17128. 'location' => 'path',
  17129. 'type' => 'string',
  17130. 'required' => true,
  17131. ],
  17132. 'zone' => [
  17133. 'location' => 'path',
  17134. 'type' => 'string',
  17135. 'required' => true,
  17136. ],
  17137. 'parentResource' => [
  17138. 'location' => 'path',
  17139. 'type' => 'string',
  17140. 'required' => true,
  17141. ],
  17142. 'resource' => [
  17143. 'location' => 'path',
  17144. 'type' => 'string',
  17145. 'required' => true,
  17146. ],
  17147. ],
  17148. ],'testIamPermissions' => [
  17149. 'path' => 'projects/{project}/zones/{zone}/{+parentResource}/reservationSubBlocks/{resource}/testIamPermissions',
  17150. 'httpMethod' => 'POST',
  17151. 'parameters' => [
  17152. 'project' => [
  17153. 'location' => 'path',
  17154. 'type' => 'string',
  17155. 'required' => true,
  17156. ],
  17157. 'zone' => [
  17158. 'location' => 'path',
  17159. 'type' => 'string',
  17160. 'required' => true,
  17161. ],
  17162. 'parentResource' => [
  17163. 'location' => 'path',
  17164. 'type' => 'string',
  17165. 'required' => true,
  17166. ],
  17167. 'resource' => [
  17168. 'location' => 'path',
  17169. 'type' => 'string',
  17170. 'required' => true,
  17171. ],
  17172. ],
  17173. ],
  17174. ]
  17175. ]
  17176. );
  17177. $this->reservations = new Compute\Resource\Reservations(
  17178. $this,
  17179. $this->serviceName,
  17180. 'reservations',
  17181. [
  17182. 'methods' => [
  17183. 'aggregatedList' => [
  17184. 'path' => 'projects/{project}/aggregated/reservations',
  17185. 'httpMethod' => 'GET',
  17186. 'parameters' => [
  17187. 'project' => [
  17188. 'location' => 'path',
  17189. 'type' => 'string',
  17190. 'required' => true,
  17191. ],
  17192. 'filter' => [
  17193. 'location' => 'query',
  17194. 'type' => 'string',
  17195. ],
  17196. 'includeAllScopes' => [
  17197. 'location' => 'query',
  17198. 'type' => 'boolean',
  17199. ],
  17200. 'maxResults' => [
  17201. 'location' => 'query',
  17202. 'type' => 'integer',
  17203. ],
  17204. 'orderBy' => [
  17205. 'location' => 'query',
  17206. 'type' => 'string',
  17207. ],
  17208. 'pageToken' => [
  17209. 'location' => 'query',
  17210. 'type' => 'string',
  17211. ],
  17212. 'returnPartialSuccess' => [
  17213. 'location' => 'query',
  17214. 'type' => 'boolean',
  17215. ],
  17216. 'serviceProjectNumber' => [
  17217. 'location' => 'query',
  17218. 'type' => 'string',
  17219. ],
  17220. ],
  17221. ],'delete' => [
  17222. 'path' => 'projects/{project}/zones/{zone}/reservations/{reservation}',
  17223. 'httpMethod' => 'DELETE',
  17224. 'parameters' => [
  17225. 'project' => [
  17226. 'location' => 'path',
  17227. 'type' => 'string',
  17228. 'required' => true,
  17229. ],
  17230. 'zone' => [
  17231. 'location' => 'path',
  17232. 'type' => 'string',
  17233. 'required' => true,
  17234. ],
  17235. 'reservation' => [
  17236. 'location' => 'path',
  17237. 'type' => 'string',
  17238. 'required' => true,
  17239. ],
  17240. 'requestId' => [
  17241. 'location' => 'query',
  17242. 'type' => 'string',
  17243. ],
  17244. ],
  17245. ],'get' => [
  17246. 'path' => 'projects/{project}/zones/{zone}/reservations/{reservation}',
  17247. 'httpMethod' => 'GET',
  17248. 'parameters' => [
  17249. 'project' => [
  17250. 'location' => 'path',
  17251. 'type' => 'string',
  17252. 'required' => true,
  17253. ],
  17254. 'zone' => [
  17255. 'location' => 'path',
  17256. 'type' => 'string',
  17257. 'required' => true,
  17258. ],
  17259. 'reservation' => [
  17260. 'location' => 'path',
  17261. 'type' => 'string',
  17262. 'required' => true,
  17263. ],
  17264. ],
  17265. ],'getIamPolicy' => [
  17266. 'path' => 'projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy',
  17267. 'httpMethod' => 'GET',
  17268. 'parameters' => [
  17269. 'project' => [
  17270. 'location' => 'path',
  17271. 'type' => 'string',
  17272. 'required' => true,
  17273. ],
  17274. 'zone' => [
  17275. 'location' => 'path',
  17276. 'type' => 'string',
  17277. 'required' => true,
  17278. ],
  17279. 'resource' => [
  17280. 'location' => 'path',
  17281. 'type' => 'string',
  17282. 'required' => true,
  17283. ],
  17284. 'optionsRequestedPolicyVersion' => [
  17285. 'location' => 'query',
  17286. 'type' => 'integer',
  17287. ],
  17288. ],
  17289. ],'insert' => [
  17290. 'path' => 'projects/{project}/zones/{zone}/reservations',
  17291. 'httpMethod' => 'POST',
  17292. 'parameters' => [
  17293. 'project' => [
  17294. 'location' => 'path',
  17295. 'type' => 'string',
  17296. 'required' => true,
  17297. ],
  17298. 'zone' => [
  17299. 'location' => 'path',
  17300. 'type' => 'string',
  17301. 'required' => true,
  17302. ],
  17303. 'requestId' => [
  17304. 'location' => 'query',
  17305. 'type' => 'string',
  17306. ],
  17307. ],
  17308. ],'list' => [
  17309. 'path' => 'projects/{project}/zones/{zone}/reservations',
  17310. 'httpMethod' => 'GET',
  17311. 'parameters' => [
  17312. 'project' => [
  17313. 'location' => 'path',
  17314. 'type' => 'string',
  17315. 'required' => true,
  17316. ],
  17317. 'zone' => [
  17318. 'location' => 'path',
  17319. 'type' => 'string',
  17320. 'required' => true,
  17321. ],
  17322. 'filter' => [
  17323. 'location' => 'query',
  17324. 'type' => 'string',
  17325. ],
  17326. 'maxResults' => [
  17327. 'location' => 'query',
  17328. 'type' => 'integer',
  17329. ],
  17330. 'orderBy' => [
  17331. 'location' => 'query',
  17332. 'type' => 'string',
  17333. ],
  17334. 'pageToken' => [
  17335. 'location' => 'query',
  17336. 'type' => 'string',
  17337. ],
  17338. 'returnPartialSuccess' => [
  17339. 'location' => 'query',
  17340. 'type' => 'boolean',
  17341. ],
  17342. ],
  17343. ],'performMaintenance' => [
  17344. 'path' => 'projects/{project}/zones/{zone}/reservations/{reservation}/performMaintenance',
  17345. 'httpMethod' => 'POST',
  17346. 'parameters' => [
  17347. 'project' => [
  17348. 'location' => 'path',
  17349. 'type' => 'string',
  17350. 'required' => true,
  17351. ],
  17352. 'zone' => [
  17353. 'location' => 'path',
  17354. 'type' => 'string',
  17355. 'required' => true,
  17356. ],
  17357. 'reservation' => [
  17358. 'location' => 'path',
  17359. 'type' => 'string',
  17360. 'required' => true,
  17361. ],
  17362. 'requestId' => [
  17363. 'location' => 'query',
  17364. 'type' => 'string',
  17365. ],
  17366. ],
  17367. ],'resize' => [
  17368. 'path' => 'projects/{project}/zones/{zone}/reservations/{reservation}/resize',
  17369. 'httpMethod' => 'POST',
  17370. 'parameters' => [
  17371. 'project' => [
  17372. 'location' => 'path',
  17373. 'type' => 'string',
  17374. 'required' => true,
  17375. ],
  17376. 'zone' => [
  17377. 'location' => 'path',
  17378. 'type' => 'string',
  17379. 'required' => true,
  17380. ],
  17381. 'reservation' => [
  17382. 'location' => 'path',
  17383. 'type' => 'string',
  17384. 'required' => true,
  17385. ],
  17386. 'requestId' => [
  17387. 'location' => 'query',
  17388. 'type' => 'string',
  17389. ],
  17390. ],
  17391. ],'setIamPolicy' => [
  17392. 'path' => 'projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy',
  17393. 'httpMethod' => 'POST',
  17394. 'parameters' => [
  17395. 'project' => [
  17396. 'location' => 'path',
  17397. 'type' => 'string',
  17398. 'required' => true,
  17399. ],
  17400. 'zone' => [
  17401. 'location' => 'path',
  17402. 'type' => 'string',
  17403. 'required' => true,
  17404. ],
  17405. 'resource' => [
  17406. 'location' => 'path',
  17407. 'type' => 'string',
  17408. 'required' => true,
  17409. ],
  17410. ],
  17411. ],'testIamPermissions' => [
  17412. 'path' => 'projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions',
  17413. 'httpMethod' => 'POST',
  17414. 'parameters' => [
  17415. 'project' => [
  17416. 'location' => 'path',
  17417. 'type' => 'string',
  17418. 'required' => true,
  17419. ],
  17420. 'zone' => [
  17421. 'location' => 'path',
  17422. 'type' => 'string',
  17423. 'required' => true,
  17424. ],
  17425. 'resource' => [
  17426. 'location' => 'path',
  17427. 'type' => 'string',
  17428. 'required' => true,
  17429. ],
  17430. ],
  17431. ],'update' => [
  17432. 'path' => 'projects/{project}/zones/{zone}/reservations/{reservation}',
  17433. 'httpMethod' => 'PATCH',
  17434. 'parameters' => [
  17435. 'project' => [
  17436. 'location' => 'path',
  17437. 'type' => 'string',
  17438. 'required' => true,
  17439. ],
  17440. 'zone' => [
  17441. 'location' => 'path',
  17442. 'type' => 'string',
  17443. 'required' => true,
  17444. ],
  17445. 'reservation' => [
  17446. 'location' => 'path',
  17447. 'type' => 'string',
  17448. 'required' => true,
  17449. ],
  17450. 'paths' => [
  17451. 'location' => 'query',
  17452. 'type' => 'string',
  17453. 'repeated' => true,
  17454. ],
  17455. 'requestId' => [
  17456. 'location' => 'query',
  17457. 'type' => 'string',
  17458. ],
  17459. 'updateMask' => [
  17460. 'location' => 'query',
  17461. 'type' => 'string',
  17462. ],
  17463. ],
  17464. ],
  17465. ]
  17466. ]
  17467. );
  17468. $this->resourcePolicies = new Compute\Resource\ResourcePolicies(
  17469. $this,
  17470. $this->serviceName,
  17471. 'resourcePolicies',
  17472. [
  17473. 'methods' => [
  17474. 'aggregatedList' => [
  17475. 'path' => 'projects/{project}/aggregated/resourcePolicies',
  17476. 'httpMethod' => 'GET',
  17477. 'parameters' => [
  17478. 'project' => [
  17479. 'location' => 'path',
  17480. 'type' => 'string',
  17481. 'required' => true,
  17482. ],
  17483. 'filter' => [
  17484. 'location' => 'query',
  17485. 'type' => 'string',
  17486. ],
  17487. 'includeAllScopes' => [
  17488. 'location' => 'query',
  17489. 'type' => 'boolean',
  17490. ],
  17491. 'maxResults' => [
  17492. 'location' => 'query',
  17493. 'type' => 'integer',
  17494. ],
  17495. 'orderBy' => [
  17496. 'location' => 'query',
  17497. 'type' => 'string',
  17498. ],
  17499. 'pageToken' => [
  17500. 'location' => 'query',
  17501. 'type' => 'string',
  17502. ],
  17503. 'returnPartialSuccess' => [
  17504. 'location' => 'query',
  17505. 'type' => 'boolean',
  17506. ],
  17507. 'serviceProjectNumber' => [
  17508. 'location' => 'query',
  17509. 'type' => 'string',
  17510. ],
  17511. ],
  17512. ],'delete' => [
  17513. 'path' => 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}',
  17514. 'httpMethod' => 'DELETE',
  17515. 'parameters' => [
  17516. 'project' => [
  17517. 'location' => 'path',
  17518. 'type' => 'string',
  17519. 'required' => true,
  17520. ],
  17521. 'region' => [
  17522. 'location' => 'path',
  17523. 'type' => 'string',
  17524. 'required' => true,
  17525. ],
  17526. 'resourcePolicy' => [
  17527. 'location' => 'path',
  17528. 'type' => 'string',
  17529. 'required' => true,
  17530. ],
  17531. 'requestId' => [
  17532. 'location' => 'query',
  17533. 'type' => 'string',
  17534. ],
  17535. ],
  17536. ],'get' => [
  17537. 'path' => 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}',
  17538. 'httpMethod' => 'GET',
  17539. 'parameters' => [
  17540. 'project' => [
  17541. 'location' => 'path',
  17542. 'type' => 'string',
  17543. 'required' => true,
  17544. ],
  17545. 'region' => [
  17546. 'location' => 'path',
  17547. 'type' => 'string',
  17548. 'required' => true,
  17549. ],
  17550. 'resourcePolicy' => [
  17551. 'location' => 'path',
  17552. 'type' => 'string',
  17553. 'required' => true,
  17554. ],
  17555. ],
  17556. ],'getIamPolicy' => [
  17557. 'path' => 'projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy',
  17558. 'httpMethod' => 'GET',
  17559. 'parameters' => [
  17560. 'project' => [
  17561. 'location' => 'path',
  17562. 'type' => 'string',
  17563. 'required' => true,
  17564. ],
  17565. 'region' => [
  17566. 'location' => 'path',
  17567. 'type' => 'string',
  17568. 'required' => true,
  17569. ],
  17570. 'resource' => [
  17571. 'location' => 'path',
  17572. 'type' => 'string',
  17573. 'required' => true,
  17574. ],
  17575. 'optionsRequestedPolicyVersion' => [
  17576. 'location' => 'query',
  17577. 'type' => 'integer',
  17578. ],
  17579. ],
  17580. ],'insert' => [
  17581. 'path' => 'projects/{project}/regions/{region}/resourcePolicies',
  17582. 'httpMethod' => 'POST',
  17583. 'parameters' => [
  17584. 'project' => [
  17585. 'location' => 'path',
  17586. 'type' => 'string',
  17587. 'required' => true,
  17588. ],
  17589. 'region' => [
  17590. 'location' => 'path',
  17591. 'type' => 'string',
  17592. 'required' => true,
  17593. ],
  17594. 'requestId' => [
  17595. 'location' => 'query',
  17596. 'type' => 'string',
  17597. ],
  17598. ],
  17599. ],'list' => [
  17600. 'path' => 'projects/{project}/regions/{region}/resourcePolicies',
  17601. 'httpMethod' => 'GET',
  17602. 'parameters' => [
  17603. 'project' => [
  17604. 'location' => 'path',
  17605. 'type' => 'string',
  17606. 'required' => true,
  17607. ],
  17608. 'region' => [
  17609. 'location' => 'path',
  17610. 'type' => 'string',
  17611. 'required' => true,
  17612. ],
  17613. 'filter' => [
  17614. 'location' => 'query',
  17615. 'type' => 'string',
  17616. ],
  17617. 'maxResults' => [
  17618. 'location' => 'query',
  17619. 'type' => 'integer',
  17620. ],
  17621. 'orderBy' => [
  17622. 'location' => 'query',
  17623. 'type' => 'string',
  17624. ],
  17625. 'pageToken' => [
  17626. 'location' => 'query',
  17627. 'type' => 'string',
  17628. ],
  17629. 'returnPartialSuccess' => [
  17630. 'location' => 'query',
  17631. 'type' => 'boolean',
  17632. ],
  17633. ],
  17634. ],'patch' => [
  17635. 'path' => 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}',
  17636. 'httpMethod' => 'PATCH',
  17637. 'parameters' => [
  17638. 'project' => [
  17639. 'location' => 'path',
  17640. 'type' => 'string',
  17641. 'required' => true,
  17642. ],
  17643. 'region' => [
  17644. 'location' => 'path',
  17645. 'type' => 'string',
  17646. 'required' => true,
  17647. ],
  17648. 'resourcePolicy' => [
  17649. 'location' => 'path',
  17650. 'type' => 'string',
  17651. 'required' => true,
  17652. ],
  17653. 'requestId' => [
  17654. 'location' => 'query',
  17655. 'type' => 'string',
  17656. ],
  17657. 'updateMask' => [
  17658. 'location' => 'query',
  17659. 'type' => 'string',
  17660. ],
  17661. ],
  17662. ],'setIamPolicy' => [
  17663. 'path' => 'projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy',
  17664. 'httpMethod' => 'POST',
  17665. 'parameters' => [
  17666. 'project' => [
  17667. 'location' => 'path',
  17668. 'type' => 'string',
  17669. 'required' => true,
  17670. ],
  17671. 'region' => [
  17672. 'location' => 'path',
  17673. 'type' => 'string',
  17674. 'required' => true,
  17675. ],
  17676. 'resource' => [
  17677. 'location' => 'path',
  17678. 'type' => 'string',
  17679. 'required' => true,
  17680. ],
  17681. ],
  17682. ],'testIamPermissions' => [
  17683. 'path' => 'projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions',
  17684. 'httpMethod' => 'POST',
  17685. 'parameters' => [
  17686. 'project' => [
  17687. 'location' => 'path',
  17688. 'type' => 'string',
  17689. 'required' => true,
  17690. ],
  17691. 'region' => [
  17692. 'location' => 'path',
  17693. 'type' => 'string',
  17694. 'required' => true,
  17695. ],
  17696. 'resource' => [
  17697. 'location' => 'path',
  17698. 'type' => 'string',
  17699. 'required' => true,
  17700. ],
  17701. ],
  17702. ],
  17703. ]
  17704. ]
  17705. );
  17706. $this->routers = new Compute\Resource\Routers(
  17707. $this,
  17708. $this->serviceName,
  17709. 'routers',
  17710. [
  17711. 'methods' => [
  17712. 'aggregatedList' => [
  17713. 'path' => 'projects/{project}/aggregated/routers',
  17714. 'httpMethod' => 'GET',
  17715. 'parameters' => [
  17716. 'project' => [
  17717. 'location' => 'path',
  17718. 'type' => 'string',
  17719. 'required' => true,
  17720. ],
  17721. 'filter' => [
  17722. 'location' => 'query',
  17723. 'type' => 'string',
  17724. ],
  17725. 'includeAllScopes' => [
  17726. 'location' => 'query',
  17727. 'type' => 'boolean',
  17728. ],
  17729. 'maxResults' => [
  17730. 'location' => 'query',
  17731. 'type' => 'integer',
  17732. ],
  17733. 'orderBy' => [
  17734. 'location' => 'query',
  17735. 'type' => 'string',
  17736. ],
  17737. 'pageToken' => [
  17738. 'location' => 'query',
  17739. 'type' => 'string',
  17740. ],
  17741. 'returnPartialSuccess' => [
  17742. 'location' => 'query',
  17743. 'type' => 'boolean',
  17744. ],
  17745. 'serviceProjectNumber' => [
  17746. 'location' => 'query',
  17747. 'type' => 'string',
  17748. ],
  17749. ],
  17750. ],'delete' => [
  17751. 'path' => 'projects/{project}/regions/{region}/routers/{router}',
  17752. 'httpMethod' => 'DELETE',
  17753. 'parameters' => [
  17754. 'project' => [
  17755. 'location' => 'path',
  17756. 'type' => 'string',
  17757. 'required' => true,
  17758. ],
  17759. 'region' => [
  17760. 'location' => 'path',
  17761. 'type' => 'string',
  17762. 'required' => true,
  17763. ],
  17764. 'router' => [
  17765. 'location' => 'path',
  17766. 'type' => 'string',
  17767. 'required' => true,
  17768. ],
  17769. 'requestId' => [
  17770. 'location' => 'query',
  17771. 'type' => 'string',
  17772. ],
  17773. ],
  17774. ],'deleteRoutePolicy' => [
  17775. 'path' => 'projects/{project}/regions/{region}/routers/{router}/deleteRoutePolicy',
  17776. 'httpMethod' => 'POST',
  17777. 'parameters' => [
  17778. 'project' => [
  17779. 'location' => 'path',
  17780. 'type' => 'string',
  17781. 'required' => true,
  17782. ],
  17783. 'region' => [
  17784. 'location' => 'path',
  17785. 'type' => 'string',
  17786. 'required' => true,
  17787. ],
  17788. 'router' => [
  17789. 'location' => 'path',
  17790. 'type' => 'string',
  17791. 'required' => true,
  17792. ],
  17793. 'policy' => [
  17794. 'location' => 'query',
  17795. 'type' => 'string',
  17796. ],
  17797. 'requestId' => [
  17798. 'location' => 'query',
  17799. 'type' => 'string',
  17800. ],
  17801. ],
  17802. ],'get' => [
  17803. 'path' => 'projects/{project}/regions/{region}/routers/{router}',
  17804. 'httpMethod' => 'GET',
  17805. 'parameters' => [
  17806. 'project' => [
  17807. 'location' => 'path',
  17808. 'type' => 'string',
  17809. 'required' => true,
  17810. ],
  17811. 'region' => [
  17812. 'location' => 'path',
  17813. 'type' => 'string',
  17814. 'required' => true,
  17815. ],
  17816. 'router' => [
  17817. 'location' => 'path',
  17818. 'type' => 'string',
  17819. 'required' => true,
  17820. ],
  17821. ],
  17822. ],'getNatIpInfo' => [
  17823. 'path' => 'projects/{project}/regions/{region}/routers/{router}/getNatIpInfo',
  17824. 'httpMethod' => 'GET',
  17825. 'parameters' => [
  17826. 'project' => [
  17827. 'location' => 'path',
  17828. 'type' => 'string',
  17829. 'required' => true,
  17830. ],
  17831. 'region' => [
  17832. 'location' => 'path',
  17833. 'type' => 'string',
  17834. 'required' => true,
  17835. ],
  17836. 'router' => [
  17837. 'location' => 'path',
  17838. 'type' => 'string',
  17839. 'required' => true,
  17840. ],
  17841. 'natName' => [
  17842. 'location' => 'query',
  17843. 'type' => 'string',
  17844. ],
  17845. ],
  17846. ],'getNatMappingInfo' => [
  17847. 'path' => 'projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo',
  17848. 'httpMethod' => 'GET',
  17849. 'parameters' => [
  17850. 'project' => [
  17851. 'location' => 'path',
  17852. 'type' => 'string',
  17853. 'required' => true,
  17854. ],
  17855. 'region' => [
  17856. 'location' => 'path',
  17857. 'type' => 'string',
  17858. 'required' => true,
  17859. ],
  17860. 'router' => [
  17861. 'location' => 'path',
  17862. 'type' => 'string',
  17863. 'required' => true,
  17864. ],
  17865. 'filter' => [
  17866. 'location' => 'query',
  17867. 'type' => 'string',
  17868. ],
  17869. 'maxResults' => [
  17870. 'location' => 'query',
  17871. 'type' => 'integer',
  17872. ],
  17873. 'natName' => [
  17874. 'location' => 'query',
  17875. 'type' => 'string',
  17876. ],
  17877. 'orderBy' => [
  17878. 'location' => 'query',
  17879. 'type' => 'string',
  17880. ],
  17881. 'pageToken' => [
  17882. 'location' => 'query',
  17883. 'type' => 'string',
  17884. ],
  17885. 'returnPartialSuccess' => [
  17886. 'location' => 'query',
  17887. 'type' => 'boolean',
  17888. ],
  17889. ],
  17890. ],'getRoutePolicy' => [
  17891. 'path' => 'projects/{project}/regions/{region}/routers/{router}/getRoutePolicy',
  17892. 'httpMethod' => 'GET',
  17893. 'parameters' => [
  17894. 'project' => [
  17895. 'location' => 'path',
  17896. 'type' => 'string',
  17897. 'required' => true,
  17898. ],
  17899. 'region' => [
  17900. 'location' => 'path',
  17901. 'type' => 'string',
  17902. 'required' => true,
  17903. ],
  17904. 'router' => [
  17905. 'location' => 'path',
  17906. 'type' => 'string',
  17907. 'required' => true,
  17908. ],
  17909. 'policy' => [
  17910. 'location' => 'query',
  17911. 'type' => 'string',
  17912. ],
  17913. ],
  17914. ],'getRouterStatus' => [
  17915. 'path' => 'projects/{project}/regions/{region}/routers/{router}/getRouterStatus',
  17916. 'httpMethod' => 'GET',
  17917. 'parameters' => [
  17918. 'project' => [
  17919. 'location' => 'path',
  17920. 'type' => 'string',
  17921. 'required' => true,
  17922. ],
  17923. 'region' => [
  17924. 'location' => 'path',
  17925. 'type' => 'string',
  17926. 'required' => true,
  17927. ],
  17928. 'router' => [
  17929. 'location' => 'path',
  17930. 'type' => 'string',
  17931. 'required' => true,
  17932. ],
  17933. ],
  17934. ],'insert' => [
  17935. 'path' => 'projects/{project}/regions/{region}/routers',
  17936. 'httpMethod' => 'POST',
  17937. 'parameters' => [
  17938. 'project' => [
  17939. 'location' => 'path',
  17940. 'type' => 'string',
  17941. 'required' => true,
  17942. ],
  17943. 'region' => [
  17944. 'location' => 'path',
  17945. 'type' => 'string',
  17946. 'required' => true,
  17947. ],
  17948. 'requestId' => [
  17949. 'location' => 'query',
  17950. 'type' => 'string',
  17951. ],
  17952. ],
  17953. ],'list' => [
  17954. 'path' => 'projects/{project}/regions/{region}/routers',
  17955. 'httpMethod' => 'GET',
  17956. 'parameters' => [
  17957. 'project' => [
  17958. 'location' => 'path',
  17959. 'type' => 'string',
  17960. 'required' => true,
  17961. ],
  17962. 'region' => [
  17963. 'location' => 'path',
  17964. 'type' => 'string',
  17965. 'required' => true,
  17966. ],
  17967. 'filter' => [
  17968. 'location' => 'query',
  17969. 'type' => 'string',
  17970. ],
  17971. 'maxResults' => [
  17972. 'location' => 'query',
  17973. 'type' => 'integer',
  17974. ],
  17975. 'orderBy' => [
  17976. 'location' => 'query',
  17977. 'type' => 'string',
  17978. ],
  17979. 'pageToken' => [
  17980. 'location' => 'query',
  17981. 'type' => 'string',
  17982. ],
  17983. 'returnPartialSuccess' => [
  17984. 'location' => 'query',
  17985. 'type' => 'boolean',
  17986. ],
  17987. ],
  17988. ],'listBgpRoutes' => [
  17989. 'path' => 'projects/{project}/regions/{region}/routers/{router}/listBgpRoutes',
  17990. 'httpMethod' => 'GET',
  17991. 'parameters' => [
  17992. 'project' => [
  17993. 'location' => 'path',
  17994. 'type' => 'string',
  17995. 'required' => true,
  17996. ],
  17997. 'region' => [
  17998. 'location' => 'path',
  17999. 'type' => 'string',
  18000. 'required' => true,
  18001. ],
  18002. 'router' => [
  18003. 'location' => 'path',
  18004. 'type' => 'string',
  18005. 'required' => true,
  18006. ],
  18007. 'addressFamily' => [
  18008. 'location' => 'query',
  18009. 'type' => 'string',
  18010. ],
  18011. 'destinationPrefix' => [
  18012. 'location' => 'query',
  18013. 'type' => 'string',
  18014. ],
  18015. 'filter' => [
  18016. 'location' => 'query',
  18017. 'type' => 'string',
  18018. ],
  18019. 'maxResults' => [
  18020. 'location' => 'query',
  18021. 'type' => 'integer',
  18022. ],
  18023. 'orderBy' => [
  18024. 'location' => 'query',
  18025. 'type' => 'string',
  18026. ],
  18027. 'pageToken' => [
  18028. 'location' => 'query',
  18029. 'type' => 'string',
  18030. ],
  18031. 'peer' => [
  18032. 'location' => 'query',
  18033. 'type' => 'string',
  18034. ],
  18035. 'policyApplied' => [
  18036. 'location' => 'query',
  18037. 'type' => 'boolean',
  18038. ],
  18039. 'returnPartialSuccess' => [
  18040. 'location' => 'query',
  18041. 'type' => 'boolean',
  18042. ],
  18043. 'routeType' => [
  18044. 'location' => 'query',
  18045. 'type' => 'string',
  18046. ],
  18047. ],
  18048. ],'listRoutePolicies' => [
  18049. 'path' => 'projects/{project}/regions/{region}/routers/{router}/listRoutePolicies',
  18050. 'httpMethod' => 'GET',
  18051. 'parameters' => [
  18052. 'project' => [
  18053. 'location' => 'path',
  18054. 'type' => 'string',
  18055. 'required' => true,
  18056. ],
  18057. 'region' => [
  18058. 'location' => 'path',
  18059. 'type' => 'string',
  18060. 'required' => true,
  18061. ],
  18062. 'router' => [
  18063. 'location' => 'path',
  18064. 'type' => 'string',
  18065. 'required' => true,
  18066. ],
  18067. 'filter' => [
  18068. 'location' => 'query',
  18069. 'type' => 'string',
  18070. ],
  18071. 'maxResults' => [
  18072. 'location' => 'query',
  18073. 'type' => 'integer',
  18074. ],
  18075. 'orderBy' => [
  18076. 'location' => 'query',
  18077. 'type' => 'string',
  18078. ],
  18079. 'pageToken' => [
  18080. 'location' => 'query',
  18081. 'type' => 'string',
  18082. ],
  18083. 'returnPartialSuccess' => [
  18084. 'location' => 'query',
  18085. 'type' => 'boolean',
  18086. ],
  18087. ],
  18088. ],'patch' => [
  18089. 'path' => 'projects/{project}/regions/{region}/routers/{router}',
  18090. 'httpMethod' => 'PATCH',
  18091. 'parameters' => [
  18092. 'project' => [
  18093. 'location' => 'path',
  18094. 'type' => 'string',
  18095. 'required' => true,
  18096. ],
  18097. 'region' => [
  18098. 'location' => 'path',
  18099. 'type' => 'string',
  18100. 'required' => true,
  18101. ],
  18102. 'router' => [
  18103. 'location' => 'path',
  18104. 'type' => 'string',
  18105. 'required' => true,
  18106. ],
  18107. 'requestId' => [
  18108. 'location' => 'query',
  18109. 'type' => 'string',
  18110. ],
  18111. ],
  18112. ],'patchRoutePolicy' => [
  18113. 'path' => 'projects/{project}/regions/{region}/routers/{router}/patchRoutePolicy',
  18114. 'httpMethod' => 'POST',
  18115. 'parameters' => [
  18116. 'project' => [
  18117. 'location' => 'path',
  18118. 'type' => 'string',
  18119. 'required' => true,
  18120. ],
  18121. 'region' => [
  18122. 'location' => 'path',
  18123. 'type' => 'string',
  18124. 'required' => true,
  18125. ],
  18126. 'router' => [
  18127. 'location' => 'path',
  18128. 'type' => 'string',
  18129. 'required' => true,
  18130. ],
  18131. 'requestId' => [
  18132. 'location' => 'query',
  18133. 'type' => 'string',
  18134. ],
  18135. ],
  18136. ],'preview' => [
  18137. 'path' => 'projects/{project}/regions/{region}/routers/{router}/preview',
  18138. 'httpMethod' => 'POST',
  18139. 'parameters' => [
  18140. 'project' => [
  18141. 'location' => 'path',
  18142. 'type' => 'string',
  18143. 'required' => true,
  18144. ],
  18145. 'region' => [
  18146. 'location' => 'path',
  18147. 'type' => 'string',
  18148. 'required' => true,
  18149. ],
  18150. 'router' => [
  18151. 'location' => 'path',
  18152. 'type' => 'string',
  18153. 'required' => true,
  18154. ],
  18155. ],
  18156. ],'update' => [
  18157. 'path' => 'projects/{project}/regions/{region}/routers/{router}',
  18158. 'httpMethod' => 'PUT',
  18159. 'parameters' => [
  18160. 'project' => [
  18161. 'location' => 'path',
  18162. 'type' => 'string',
  18163. 'required' => true,
  18164. ],
  18165. 'region' => [
  18166. 'location' => 'path',
  18167. 'type' => 'string',
  18168. 'required' => true,
  18169. ],
  18170. 'router' => [
  18171. 'location' => 'path',
  18172. 'type' => 'string',
  18173. 'required' => true,
  18174. ],
  18175. 'requestId' => [
  18176. 'location' => 'query',
  18177. 'type' => 'string',
  18178. ],
  18179. ],
  18180. ],'updateRoutePolicy' => [
  18181. 'path' => 'projects/{project}/regions/{region}/routers/{router}/updateRoutePolicy',
  18182. 'httpMethod' => 'POST',
  18183. 'parameters' => [
  18184. 'project' => [
  18185. 'location' => 'path',
  18186. 'type' => 'string',
  18187. 'required' => true,
  18188. ],
  18189. 'region' => [
  18190. 'location' => 'path',
  18191. 'type' => 'string',
  18192. 'required' => true,
  18193. ],
  18194. 'router' => [
  18195. 'location' => 'path',
  18196. 'type' => 'string',
  18197. 'required' => true,
  18198. ],
  18199. 'requestId' => [
  18200. 'location' => 'query',
  18201. 'type' => 'string',
  18202. ],
  18203. ],
  18204. ],
  18205. ]
  18206. ]
  18207. );
  18208. $this->routes = new Compute\Resource\Routes(
  18209. $this,
  18210. $this->serviceName,
  18211. 'routes',
  18212. [
  18213. 'methods' => [
  18214. 'delete' => [
  18215. 'path' => 'projects/{project}/global/routes/{route}',
  18216. 'httpMethod' => 'DELETE',
  18217. 'parameters' => [
  18218. 'project' => [
  18219. 'location' => 'path',
  18220. 'type' => 'string',
  18221. 'required' => true,
  18222. ],
  18223. 'route' => [
  18224. 'location' => 'path',
  18225. 'type' => 'string',
  18226. 'required' => true,
  18227. ],
  18228. 'requestId' => [
  18229. 'location' => 'query',
  18230. 'type' => 'string',
  18231. ],
  18232. ],
  18233. ],'get' => [
  18234. 'path' => 'projects/{project}/global/routes/{route}',
  18235. 'httpMethod' => 'GET',
  18236. 'parameters' => [
  18237. 'project' => [
  18238. 'location' => 'path',
  18239. 'type' => 'string',
  18240. 'required' => true,
  18241. ],
  18242. 'route' => [
  18243. 'location' => 'path',
  18244. 'type' => 'string',
  18245. 'required' => true,
  18246. ],
  18247. ],
  18248. ],'insert' => [
  18249. 'path' => 'projects/{project}/global/routes',
  18250. 'httpMethod' => 'POST',
  18251. 'parameters' => [
  18252. 'project' => [
  18253. 'location' => 'path',
  18254. 'type' => 'string',
  18255. 'required' => true,
  18256. ],
  18257. 'requestId' => [
  18258. 'location' => 'query',
  18259. 'type' => 'string',
  18260. ],
  18261. ],
  18262. ],'list' => [
  18263. 'path' => 'projects/{project}/global/routes',
  18264. 'httpMethod' => 'GET',
  18265. 'parameters' => [
  18266. 'project' => [
  18267. 'location' => 'path',
  18268. 'type' => 'string',
  18269. 'required' => true,
  18270. ],
  18271. 'filter' => [
  18272. 'location' => 'query',
  18273. 'type' => 'string',
  18274. ],
  18275. 'maxResults' => [
  18276. 'location' => 'query',
  18277. 'type' => 'integer',
  18278. ],
  18279. 'orderBy' => [
  18280. 'location' => 'query',
  18281. 'type' => 'string',
  18282. ],
  18283. 'pageToken' => [
  18284. 'location' => 'query',
  18285. 'type' => 'string',
  18286. ],
  18287. 'returnPartialSuccess' => [
  18288. 'location' => 'query',
  18289. 'type' => 'boolean',
  18290. ],
  18291. ],
  18292. ],'testIamPermissions' => [
  18293. 'path' => 'projects/{project}/global/routes/{resource}/testIamPermissions',
  18294. 'httpMethod' => 'POST',
  18295. 'parameters' => [
  18296. 'project' => [
  18297. 'location' => 'path',
  18298. 'type' => 'string',
  18299. 'required' => true,
  18300. ],
  18301. 'resource' => [
  18302. 'location' => 'path',
  18303. 'type' => 'string',
  18304. 'required' => true,
  18305. ],
  18306. ],
  18307. ],
  18308. ]
  18309. ]
  18310. );
  18311. $this->securityPolicies = new Compute\Resource\SecurityPolicies(
  18312. $this,
  18313. $this->serviceName,
  18314. 'securityPolicies',
  18315. [
  18316. 'methods' => [
  18317. 'addRule' => [
  18318. 'path' => 'projects/{project}/global/securityPolicies/{securityPolicy}/addRule',
  18319. 'httpMethod' => 'POST',
  18320. 'parameters' => [
  18321. 'project' => [
  18322. 'location' => 'path',
  18323. 'type' => 'string',
  18324. 'required' => true,
  18325. ],
  18326. 'securityPolicy' => [
  18327. 'location' => 'path',
  18328. 'type' => 'string',
  18329. 'required' => true,
  18330. ],
  18331. 'validateOnly' => [
  18332. 'location' => 'query',
  18333. 'type' => 'boolean',
  18334. ],
  18335. ],
  18336. ],'aggregatedList' => [
  18337. 'path' => 'projects/{project}/aggregated/securityPolicies',
  18338. 'httpMethod' => 'GET',
  18339. 'parameters' => [
  18340. 'project' => [
  18341. 'location' => 'path',
  18342. 'type' => 'string',
  18343. 'required' => true,
  18344. ],
  18345. 'filter' => [
  18346. 'location' => 'query',
  18347. 'type' => 'string',
  18348. ],
  18349. 'includeAllScopes' => [
  18350. 'location' => 'query',
  18351. 'type' => 'boolean',
  18352. ],
  18353. 'maxResults' => [
  18354. 'location' => 'query',
  18355. 'type' => 'integer',
  18356. ],
  18357. 'orderBy' => [
  18358. 'location' => 'query',
  18359. 'type' => 'string',
  18360. ],
  18361. 'pageToken' => [
  18362. 'location' => 'query',
  18363. 'type' => 'string',
  18364. ],
  18365. 'returnPartialSuccess' => [
  18366. 'location' => 'query',
  18367. 'type' => 'boolean',
  18368. ],
  18369. 'serviceProjectNumber' => [
  18370. 'location' => 'query',
  18371. 'type' => 'string',
  18372. ],
  18373. ],
  18374. ],'delete' => [
  18375. 'path' => 'projects/{project}/global/securityPolicies/{securityPolicy}',
  18376. 'httpMethod' => 'DELETE',
  18377. 'parameters' => [
  18378. 'project' => [
  18379. 'location' => 'path',
  18380. 'type' => 'string',
  18381. 'required' => true,
  18382. ],
  18383. 'securityPolicy' => [
  18384. 'location' => 'path',
  18385. 'type' => 'string',
  18386. 'required' => true,
  18387. ],
  18388. 'requestId' => [
  18389. 'location' => 'query',
  18390. 'type' => 'string',
  18391. ],
  18392. ],
  18393. ],'get' => [
  18394. 'path' => 'projects/{project}/global/securityPolicies/{securityPolicy}',
  18395. 'httpMethod' => 'GET',
  18396. 'parameters' => [
  18397. 'project' => [
  18398. 'location' => 'path',
  18399. 'type' => 'string',
  18400. 'required' => true,
  18401. ],
  18402. 'securityPolicy' => [
  18403. 'location' => 'path',
  18404. 'type' => 'string',
  18405. 'required' => true,
  18406. ],
  18407. ],
  18408. ],'getRule' => [
  18409. 'path' => 'projects/{project}/global/securityPolicies/{securityPolicy}/getRule',
  18410. 'httpMethod' => 'GET',
  18411. 'parameters' => [
  18412. 'project' => [
  18413. 'location' => 'path',
  18414. 'type' => 'string',
  18415. 'required' => true,
  18416. ],
  18417. 'securityPolicy' => [
  18418. 'location' => 'path',
  18419. 'type' => 'string',
  18420. 'required' => true,
  18421. ],
  18422. 'priority' => [
  18423. 'location' => 'query',
  18424. 'type' => 'integer',
  18425. ],
  18426. ],
  18427. ],'insert' => [
  18428. 'path' => 'projects/{project}/global/securityPolicies',
  18429. 'httpMethod' => 'POST',
  18430. 'parameters' => [
  18431. 'project' => [
  18432. 'location' => 'path',
  18433. 'type' => 'string',
  18434. 'required' => true,
  18435. ],
  18436. 'requestId' => [
  18437. 'location' => 'query',
  18438. 'type' => 'string',
  18439. ],
  18440. 'validateOnly' => [
  18441. 'location' => 'query',
  18442. 'type' => 'boolean',
  18443. ],
  18444. ],
  18445. ],'list' => [
  18446. 'path' => 'projects/{project}/global/securityPolicies',
  18447. 'httpMethod' => 'GET',
  18448. 'parameters' => [
  18449. 'project' => [
  18450. 'location' => 'path',
  18451. 'type' => 'string',
  18452. 'required' => true,
  18453. ],
  18454. 'filter' => [
  18455. 'location' => 'query',
  18456. 'type' => 'string',
  18457. ],
  18458. 'maxResults' => [
  18459. 'location' => 'query',
  18460. 'type' => 'integer',
  18461. ],
  18462. 'orderBy' => [
  18463. 'location' => 'query',
  18464. 'type' => 'string',
  18465. ],
  18466. 'pageToken' => [
  18467. 'location' => 'query',
  18468. 'type' => 'string',
  18469. ],
  18470. 'returnPartialSuccess' => [
  18471. 'location' => 'query',
  18472. 'type' => 'boolean',
  18473. ],
  18474. ],
  18475. ],'listPreconfiguredExpressionSets' => [
  18476. 'path' => 'projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets',
  18477. 'httpMethod' => 'GET',
  18478. 'parameters' => [
  18479. 'project' => [
  18480. 'location' => 'path',
  18481. 'type' => 'string',
  18482. 'required' => true,
  18483. ],
  18484. 'filter' => [
  18485. 'location' => 'query',
  18486. 'type' => 'string',
  18487. ],
  18488. 'maxResults' => [
  18489. 'location' => 'query',
  18490. 'type' => 'integer',
  18491. ],
  18492. 'orderBy' => [
  18493. 'location' => 'query',
  18494. 'type' => 'string',
  18495. ],
  18496. 'pageToken' => [
  18497. 'location' => 'query',
  18498. 'type' => 'string',
  18499. ],
  18500. 'returnPartialSuccess' => [
  18501. 'location' => 'query',
  18502. 'type' => 'boolean',
  18503. ],
  18504. ],
  18505. ],'patch' => [
  18506. 'path' => 'projects/{project}/global/securityPolicies/{securityPolicy}',
  18507. 'httpMethod' => 'PATCH',
  18508. 'parameters' => [
  18509. 'project' => [
  18510. 'location' => 'path',
  18511. 'type' => 'string',
  18512. 'required' => true,
  18513. ],
  18514. 'securityPolicy' => [
  18515. 'location' => 'path',
  18516. 'type' => 'string',
  18517. 'required' => true,
  18518. ],
  18519. 'requestId' => [
  18520. 'location' => 'query',
  18521. 'type' => 'string',
  18522. ],
  18523. 'updateMask' => [
  18524. 'location' => 'query',
  18525. 'type' => 'string',
  18526. ],
  18527. ],
  18528. ],'patchRule' => [
  18529. 'path' => 'projects/{project}/global/securityPolicies/{securityPolicy}/patchRule',
  18530. 'httpMethod' => 'POST',
  18531. 'parameters' => [
  18532. 'project' => [
  18533. 'location' => 'path',
  18534. 'type' => 'string',
  18535. 'required' => true,
  18536. ],
  18537. 'securityPolicy' => [
  18538. 'location' => 'path',
  18539. 'type' => 'string',
  18540. 'required' => true,
  18541. ],
  18542. 'priority' => [
  18543. 'location' => 'query',
  18544. 'type' => 'integer',
  18545. ],
  18546. 'updateMask' => [
  18547. 'location' => 'query',
  18548. 'type' => 'string',
  18549. ],
  18550. 'validateOnly' => [
  18551. 'location' => 'query',
  18552. 'type' => 'boolean',
  18553. ],
  18554. ],
  18555. ],'removeRule' => [
  18556. 'path' => 'projects/{project}/global/securityPolicies/{securityPolicy}/removeRule',
  18557. 'httpMethod' => 'POST',
  18558. 'parameters' => [
  18559. 'project' => [
  18560. 'location' => 'path',
  18561. 'type' => 'string',
  18562. 'required' => true,
  18563. ],
  18564. 'securityPolicy' => [
  18565. 'location' => 'path',
  18566. 'type' => 'string',
  18567. 'required' => true,
  18568. ],
  18569. 'priority' => [
  18570. 'location' => 'query',
  18571. 'type' => 'integer',
  18572. ],
  18573. ],
  18574. ],'setLabels' => [
  18575. 'path' => 'projects/{project}/global/securityPolicies/{resource}/setLabels',
  18576. 'httpMethod' => 'POST',
  18577. 'parameters' => [
  18578. 'project' => [
  18579. 'location' => 'path',
  18580. 'type' => 'string',
  18581. 'required' => true,
  18582. ],
  18583. 'resource' => [
  18584. 'location' => 'path',
  18585. 'type' => 'string',
  18586. 'required' => true,
  18587. ],
  18588. ],
  18589. ],
  18590. ]
  18591. ]
  18592. );
  18593. $this->serviceAttachments = new Compute\Resource\ServiceAttachments(
  18594. $this,
  18595. $this->serviceName,
  18596. 'serviceAttachments',
  18597. [
  18598. 'methods' => [
  18599. 'aggregatedList' => [
  18600. 'path' => 'projects/{project}/aggregated/serviceAttachments',
  18601. 'httpMethod' => 'GET',
  18602. 'parameters' => [
  18603. 'project' => [
  18604. 'location' => 'path',
  18605. 'type' => 'string',
  18606. 'required' => true,
  18607. ],
  18608. 'filter' => [
  18609. 'location' => 'query',
  18610. 'type' => 'string',
  18611. ],
  18612. 'includeAllScopes' => [
  18613. 'location' => 'query',
  18614. 'type' => 'boolean',
  18615. ],
  18616. 'maxResults' => [
  18617. 'location' => 'query',
  18618. 'type' => 'integer',
  18619. ],
  18620. 'orderBy' => [
  18621. 'location' => 'query',
  18622. 'type' => 'string',
  18623. ],
  18624. 'pageToken' => [
  18625. 'location' => 'query',
  18626. 'type' => 'string',
  18627. ],
  18628. 'returnPartialSuccess' => [
  18629. 'location' => 'query',
  18630. 'type' => 'boolean',
  18631. ],
  18632. 'serviceProjectNumber' => [
  18633. 'location' => 'query',
  18634. 'type' => 'string',
  18635. ],
  18636. ],
  18637. ],'delete' => [
  18638. 'path' => 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}',
  18639. 'httpMethod' => 'DELETE',
  18640. 'parameters' => [
  18641. 'project' => [
  18642. 'location' => 'path',
  18643. 'type' => 'string',
  18644. 'required' => true,
  18645. ],
  18646. 'region' => [
  18647. 'location' => 'path',
  18648. 'type' => 'string',
  18649. 'required' => true,
  18650. ],
  18651. 'serviceAttachment' => [
  18652. 'location' => 'path',
  18653. 'type' => 'string',
  18654. 'required' => true,
  18655. ],
  18656. 'requestId' => [
  18657. 'location' => 'query',
  18658. 'type' => 'string',
  18659. ],
  18660. ],
  18661. ],'get' => [
  18662. 'path' => 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}',
  18663. 'httpMethod' => 'GET',
  18664. 'parameters' => [
  18665. 'project' => [
  18666. 'location' => 'path',
  18667. 'type' => 'string',
  18668. 'required' => true,
  18669. ],
  18670. 'region' => [
  18671. 'location' => 'path',
  18672. 'type' => 'string',
  18673. 'required' => true,
  18674. ],
  18675. 'serviceAttachment' => [
  18676. 'location' => 'path',
  18677. 'type' => 'string',
  18678. 'required' => true,
  18679. ],
  18680. 'showNatIps' => [
  18681. 'location' => 'query',
  18682. 'type' => 'boolean',
  18683. ],
  18684. ],
  18685. ],'getIamPolicy' => [
  18686. 'path' => 'projects/{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy',
  18687. 'httpMethod' => 'GET',
  18688. 'parameters' => [
  18689. 'project' => [
  18690. 'location' => 'path',
  18691. 'type' => 'string',
  18692. 'required' => true,
  18693. ],
  18694. 'region' => [
  18695. 'location' => 'path',
  18696. 'type' => 'string',
  18697. 'required' => true,
  18698. ],
  18699. 'resource' => [
  18700. 'location' => 'path',
  18701. 'type' => 'string',
  18702. 'required' => true,
  18703. ],
  18704. 'optionsRequestedPolicyVersion' => [
  18705. 'location' => 'query',
  18706. 'type' => 'integer',
  18707. ],
  18708. ],
  18709. ],'insert' => [
  18710. 'path' => 'projects/{project}/regions/{region}/serviceAttachments',
  18711. 'httpMethod' => 'POST',
  18712. 'parameters' => [
  18713. 'project' => [
  18714. 'location' => 'path',
  18715. 'type' => 'string',
  18716. 'required' => true,
  18717. ],
  18718. 'region' => [
  18719. 'location' => 'path',
  18720. 'type' => 'string',
  18721. 'required' => true,
  18722. ],
  18723. 'requestId' => [
  18724. 'location' => 'query',
  18725. 'type' => 'string',
  18726. ],
  18727. ],
  18728. ],'list' => [
  18729. 'path' => 'projects/{project}/regions/{region}/serviceAttachments',
  18730. 'httpMethod' => 'GET',
  18731. 'parameters' => [
  18732. 'project' => [
  18733. 'location' => 'path',
  18734. 'type' => 'string',
  18735. 'required' => true,
  18736. ],
  18737. 'region' => [
  18738. 'location' => 'path',
  18739. 'type' => 'string',
  18740. 'required' => true,
  18741. ],
  18742. 'filter' => [
  18743. 'location' => 'query',
  18744. 'type' => 'string',
  18745. ],
  18746. 'maxResults' => [
  18747. 'location' => 'query',
  18748. 'type' => 'integer',
  18749. ],
  18750. 'orderBy' => [
  18751. 'location' => 'query',
  18752. 'type' => 'string',
  18753. ],
  18754. 'pageToken' => [
  18755. 'location' => 'query',
  18756. 'type' => 'string',
  18757. ],
  18758. 'returnPartialSuccess' => [
  18759. 'location' => 'query',
  18760. 'type' => 'boolean',
  18761. ],
  18762. ],
  18763. ],'patch' => [
  18764. 'path' => 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}',
  18765. 'httpMethod' => 'PATCH',
  18766. 'parameters' => [
  18767. 'project' => [
  18768. 'location' => 'path',
  18769. 'type' => 'string',
  18770. 'required' => true,
  18771. ],
  18772. 'region' => [
  18773. 'location' => 'path',
  18774. 'type' => 'string',
  18775. 'required' => true,
  18776. ],
  18777. 'serviceAttachment' => [
  18778. 'location' => 'path',
  18779. 'type' => 'string',
  18780. 'required' => true,
  18781. ],
  18782. 'requestId' => [
  18783. 'location' => 'query',
  18784. 'type' => 'string',
  18785. ],
  18786. ],
  18787. ],'setIamPolicy' => [
  18788. 'path' => 'projects/{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy',
  18789. 'httpMethod' => 'POST',
  18790. 'parameters' => [
  18791. 'project' => [
  18792. 'location' => 'path',
  18793. 'type' => 'string',
  18794. 'required' => true,
  18795. ],
  18796. 'region' => [
  18797. 'location' => 'path',
  18798. 'type' => 'string',
  18799. 'required' => true,
  18800. ],
  18801. 'resource' => [
  18802. 'location' => 'path',
  18803. 'type' => 'string',
  18804. 'required' => true,
  18805. ],
  18806. ],
  18807. ],'testIamPermissions' => [
  18808. 'path' => 'projects/{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions',
  18809. 'httpMethod' => 'POST',
  18810. 'parameters' => [
  18811. 'project' => [
  18812. 'location' => 'path',
  18813. 'type' => 'string',
  18814. 'required' => true,
  18815. ],
  18816. 'region' => [
  18817. 'location' => 'path',
  18818. 'type' => 'string',
  18819. 'required' => true,
  18820. ],
  18821. 'resource' => [
  18822. 'location' => 'path',
  18823. 'type' => 'string',
  18824. 'required' => true,
  18825. ],
  18826. ],
  18827. ],
  18828. ]
  18829. ]
  18830. );
  18831. $this->snapshotSettings = new Compute\Resource\SnapshotSettings(
  18832. $this,
  18833. $this->serviceName,
  18834. 'snapshotSettings',
  18835. [
  18836. 'methods' => [
  18837. 'get' => [
  18838. 'path' => 'projects/{project}/global/snapshotSettings',
  18839. 'httpMethod' => 'GET',
  18840. 'parameters' => [
  18841. 'project' => [
  18842. 'location' => 'path',
  18843. 'type' => 'string',
  18844. 'required' => true,
  18845. ],
  18846. ],
  18847. ],'patch' => [
  18848. 'path' => 'projects/{project}/global/snapshotSettings',
  18849. 'httpMethod' => 'PATCH',
  18850. 'parameters' => [
  18851. 'project' => [
  18852. 'location' => 'path',
  18853. 'type' => 'string',
  18854. 'required' => true,
  18855. ],
  18856. 'requestId' => [
  18857. 'location' => 'query',
  18858. 'type' => 'string',
  18859. ],
  18860. 'updateMask' => [
  18861. 'location' => 'query',
  18862. 'type' => 'string',
  18863. ],
  18864. ],
  18865. ],
  18866. ]
  18867. ]
  18868. );
  18869. $this->snapshots = new Compute\Resource\Snapshots(
  18870. $this,
  18871. $this->serviceName,
  18872. 'snapshots',
  18873. [
  18874. 'methods' => [
  18875. 'delete' => [
  18876. 'path' => 'projects/{project}/global/snapshots/{snapshot}',
  18877. 'httpMethod' => 'DELETE',
  18878. 'parameters' => [
  18879. 'project' => [
  18880. 'location' => 'path',
  18881. 'type' => 'string',
  18882. 'required' => true,
  18883. ],
  18884. 'snapshot' => [
  18885. 'location' => 'path',
  18886. 'type' => 'string',
  18887. 'required' => true,
  18888. ],
  18889. 'requestId' => [
  18890. 'location' => 'query',
  18891. 'type' => 'string',
  18892. ],
  18893. ],
  18894. ],'get' => [
  18895. 'path' => 'projects/{project}/global/snapshots/{snapshot}',
  18896. 'httpMethod' => 'GET',
  18897. 'parameters' => [
  18898. 'project' => [
  18899. 'location' => 'path',
  18900. 'type' => 'string',
  18901. 'required' => true,
  18902. ],
  18903. 'snapshot' => [
  18904. 'location' => 'path',
  18905. 'type' => 'string',
  18906. 'required' => true,
  18907. ],
  18908. ],
  18909. ],'getIamPolicy' => [
  18910. 'path' => 'projects/{project}/global/snapshots/{resource}/getIamPolicy',
  18911. 'httpMethod' => 'GET',
  18912. 'parameters' => [
  18913. 'project' => [
  18914. 'location' => 'path',
  18915. 'type' => 'string',
  18916. 'required' => true,
  18917. ],
  18918. 'resource' => [
  18919. 'location' => 'path',
  18920. 'type' => 'string',
  18921. 'required' => true,
  18922. ],
  18923. 'optionsRequestedPolicyVersion' => [
  18924. 'location' => 'query',
  18925. 'type' => 'integer',
  18926. ],
  18927. ],
  18928. ],'insert' => [
  18929. 'path' => 'projects/{project}/global/snapshots',
  18930. 'httpMethod' => 'POST',
  18931. 'parameters' => [
  18932. 'project' => [
  18933. 'location' => 'path',
  18934. 'type' => 'string',
  18935. 'required' => true,
  18936. ],
  18937. 'requestId' => [
  18938. 'location' => 'query',
  18939. 'type' => 'string',
  18940. ],
  18941. ],
  18942. ],'list' => [
  18943. 'path' => 'projects/{project}/global/snapshots',
  18944. 'httpMethod' => 'GET',
  18945. 'parameters' => [
  18946. 'project' => [
  18947. 'location' => 'path',
  18948. 'type' => 'string',
  18949. 'required' => true,
  18950. ],
  18951. 'filter' => [
  18952. 'location' => 'query',
  18953. 'type' => 'string',
  18954. ],
  18955. 'maxResults' => [
  18956. 'location' => 'query',
  18957. 'type' => 'integer',
  18958. ],
  18959. 'orderBy' => [
  18960. 'location' => 'query',
  18961. 'type' => 'string',
  18962. ],
  18963. 'pageToken' => [
  18964. 'location' => 'query',
  18965. 'type' => 'string',
  18966. ],
  18967. 'returnPartialSuccess' => [
  18968. 'location' => 'query',
  18969. 'type' => 'boolean',
  18970. ],
  18971. ],
  18972. ],'setIamPolicy' => [
  18973. 'path' => 'projects/{project}/global/snapshots/{resource}/setIamPolicy',
  18974. 'httpMethod' => 'POST',
  18975. 'parameters' => [
  18976. 'project' => [
  18977. 'location' => 'path',
  18978. 'type' => 'string',
  18979. 'required' => true,
  18980. ],
  18981. 'resource' => [
  18982. 'location' => 'path',
  18983. 'type' => 'string',
  18984. 'required' => true,
  18985. ],
  18986. ],
  18987. ],'setLabels' => [
  18988. 'path' => 'projects/{project}/global/snapshots/{resource}/setLabels',
  18989. 'httpMethod' => 'POST',
  18990. 'parameters' => [
  18991. 'project' => [
  18992. 'location' => 'path',
  18993. 'type' => 'string',
  18994. 'required' => true,
  18995. ],
  18996. 'resource' => [
  18997. 'location' => 'path',
  18998. 'type' => 'string',
  18999. 'required' => true,
  19000. ],
  19001. ],
  19002. ],'testIamPermissions' => [
  19003. 'path' => 'projects/{project}/global/snapshots/{resource}/testIamPermissions',
  19004. 'httpMethod' => 'POST',
  19005. 'parameters' => [
  19006. 'project' => [
  19007. 'location' => 'path',
  19008. 'type' => 'string',
  19009. 'required' => true,
  19010. ],
  19011. 'resource' => [
  19012. 'location' => 'path',
  19013. 'type' => 'string',
  19014. 'required' => true,
  19015. ],
  19016. ],
  19017. ],
  19018. ]
  19019. ]
  19020. );
  19021. $this->sslCertificates = new Compute\Resource\SslCertificates(
  19022. $this,
  19023. $this->serviceName,
  19024. 'sslCertificates',
  19025. [
  19026. 'methods' => [
  19027. 'aggregatedList' => [
  19028. 'path' => 'projects/{project}/aggregated/sslCertificates',
  19029. 'httpMethod' => 'GET',
  19030. 'parameters' => [
  19031. 'project' => [
  19032. 'location' => 'path',
  19033. 'type' => 'string',
  19034. 'required' => true,
  19035. ],
  19036. 'filter' => [
  19037. 'location' => 'query',
  19038. 'type' => 'string',
  19039. ],
  19040. 'includeAllScopes' => [
  19041. 'location' => 'query',
  19042. 'type' => 'boolean',
  19043. ],
  19044. 'maxResults' => [
  19045. 'location' => 'query',
  19046. 'type' => 'integer',
  19047. ],
  19048. 'orderBy' => [
  19049. 'location' => 'query',
  19050. 'type' => 'string',
  19051. ],
  19052. 'pageToken' => [
  19053. 'location' => 'query',
  19054. 'type' => 'string',
  19055. ],
  19056. 'returnPartialSuccess' => [
  19057. 'location' => 'query',
  19058. 'type' => 'boolean',
  19059. ],
  19060. 'serviceProjectNumber' => [
  19061. 'location' => 'query',
  19062. 'type' => 'string',
  19063. ],
  19064. ],
  19065. ],'delete' => [
  19066. 'path' => 'projects/{project}/global/sslCertificates/{sslCertificate}',
  19067. 'httpMethod' => 'DELETE',
  19068. 'parameters' => [
  19069. 'project' => [
  19070. 'location' => 'path',
  19071. 'type' => 'string',
  19072. 'required' => true,
  19073. ],
  19074. 'sslCertificate' => [
  19075. 'location' => 'path',
  19076. 'type' => 'string',
  19077. 'required' => true,
  19078. ],
  19079. 'requestId' => [
  19080. 'location' => 'query',
  19081. 'type' => 'string',
  19082. ],
  19083. ],
  19084. ],'get' => [
  19085. 'path' => 'projects/{project}/global/sslCertificates/{sslCertificate}',
  19086. 'httpMethod' => 'GET',
  19087. 'parameters' => [
  19088. 'project' => [
  19089. 'location' => 'path',
  19090. 'type' => 'string',
  19091. 'required' => true,
  19092. ],
  19093. 'sslCertificate' => [
  19094. 'location' => 'path',
  19095. 'type' => 'string',
  19096. 'required' => true,
  19097. ],
  19098. ],
  19099. ],'insert' => [
  19100. 'path' => 'projects/{project}/global/sslCertificates',
  19101. 'httpMethod' => 'POST',
  19102. 'parameters' => [
  19103. 'project' => [
  19104. 'location' => 'path',
  19105. 'type' => 'string',
  19106. 'required' => true,
  19107. ],
  19108. 'requestId' => [
  19109. 'location' => 'query',
  19110. 'type' => 'string',
  19111. ],
  19112. ],
  19113. ],'list' => [
  19114. 'path' => 'projects/{project}/global/sslCertificates',
  19115. 'httpMethod' => 'GET',
  19116. 'parameters' => [
  19117. 'project' => [
  19118. 'location' => 'path',
  19119. 'type' => 'string',
  19120. 'required' => true,
  19121. ],
  19122. 'filter' => [
  19123. 'location' => 'query',
  19124. 'type' => 'string',
  19125. ],
  19126. 'maxResults' => [
  19127. 'location' => 'query',
  19128. 'type' => 'integer',
  19129. ],
  19130. 'orderBy' => [
  19131. 'location' => 'query',
  19132. 'type' => 'string',
  19133. ],
  19134. 'pageToken' => [
  19135. 'location' => 'query',
  19136. 'type' => 'string',
  19137. ],
  19138. 'returnPartialSuccess' => [
  19139. 'location' => 'query',
  19140. 'type' => 'boolean',
  19141. ],
  19142. ],
  19143. ],
  19144. ]
  19145. ]
  19146. );
  19147. $this->sslPolicies = new Compute\Resource\SslPolicies(
  19148. $this,
  19149. $this->serviceName,
  19150. 'sslPolicies',
  19151. [
  19152. 'methods' => [
  19153. 'aggregatedList' => [
  19154. 'path' => 'projects/{project}/aggregated/sslPolicies',
  19155. 'httpMethod' => 'GET',
  19156. 'parameters' => [
  19157. 'project' => [
  19158. 'location' => 'path',
  19159. 'type' => 'string',
  19160. 'required' => true,
  19161. ],
  19162. 'filter' => [
  19163. 'location' => 'query',
  19164. 'type' => 'string',
  19165. ],
  19166. 'includeAllScopes' => [
  19167. 'location' => 'query',
  19168. 'type' => 'boolean',
  19169. ],
  19170. 'maxResults' => [
  19171. 'location' => 'query',
  19172. 'type' => 'integer',
  19173. ],
  19174. 'orderBy' => [
  19175. 'location' => 'query',
  19176. 'type' => 'string',
  19177. ],
  19178. 'pageToken' => [
  19179. 'location' => 'query',
  19180. 'type' => 'string',
  19181. ],
  19182. 'returnPartialSuccess' => [
  19183. 'location' => 'query',
  19184. 'type' => 'boolean',
  19185. ],
  19186. 'serviceProjectNumber' => [
  19187. 'location' => 'query',
  19188. 'type' => 'string',
  19189. ],
  19190. ],
  19191. ],'delete' => [
  19192. 'path' => 'projects/{project}/global/sslPolicies/{sslPolicy}',
  19193. 'httpMethod' => 'DELETE',
  19194. 'parameters' => [
  19195. 'project' => [
  19196. 'location' => 'path',
  19197. 'type' => 'string',
  19198. 'required' => true,
  19199. ],
  19200. 'sslPolicy' => [
  19201. 'location' => 'path',
  19202. 'type' => 'string',
  19203. 'required' => true,
  19204. ],
  19205. 'requestId' => [
  19206. 'location' => 'query',
  19207. 'type' => 'string',
  19208. ],
  19209. ],
  19210. ],'get' => [
  19211. 'path' => 'projects/{project}/global/sslPolicies/{sslPolicy}',
  19212. 'httpMethod' => 'GET',
  19213. 'parameters' => [
  19214. 'project' => [
  19215. 'location' => 'path',
  19216. 'type' => 'string',
  19217. 'required' => true,
  19218. ],
  19219. 'sslPolicy' => [
  19220. 'location' => 'path',
  19221. 'type' => 'string',
  19222. 'required' => true,
  19223. ],
  19224. ],
  19225. ],'insert' => [
  19226. 'path' => 'projects/{project}/global/sslPolicies',
  19227. 'httpMethod' => 'POST',
  19228. 'parameters' => [
  19229. 'project' => [
  19230. 'location' => 'path',
  19231. 'type' => 'string',
  19232. 'required' => true,
  19233. ],
  19234. 'requestId' => [
  19235. 'location' => 'query',
  19236. 'type' => 'string',
  19237. ],
  19238. ],
  19239. ],'list' => [
  19240. 'path' => 'projects/{project}/global/sslPolicies',
  19241. 'httpMethod' => 'GET',
  19242. 'parameters' => [
  19243. 'project' => [
  19244. 'location' => 'path',
  19245. 'type' => 'string',
  19246. 'required' => true,
  19247. ],
  19248. 'filter' => [
  19249. 'location' => 'query',
  19250. 'type' => 'string',
  19251. ],
  19252. 'maxResults' => [
  19253. 'location' => 'query',
  19254. 'type' => 'integer',
  19255. ],
  19256. 'orderBy' => [
  19257. 'location' => 'query',
  19258. 'type' => 'string',
  19259. ],
  19260. 'pageToken' => [
  19261. 'location' => 'query',
  19262. 'type' => 'string',
  19263. ],
  19264. 'returnPartialSuccess' => [
  19265. 'location' => 'query',
  19266. 'type' => 'boolean',
  19267. ],
  19268. ],
  19269. ],'listAvailableFeatures' => [
  19270. 'path' => 'projects/{project}/global/sslPolicies/listAvailableFeatures',
  19271. 'httpMethod' => 'GET',
  19272. 'parameters' => [
  19273. 'project' => [
  19274. 'location' => 'path',
  19275. 'type' => 'string',
  19276. 'required' => true,
  19277. ],
  19278. 'filter' => [
  19279. 'location' => 'query',
  19280. 'type' => 'string',
  19281. ],
  19282. 'maxResults' => [
  19283. 'location' => 'query',
  19284. 'type' => 'integer',
  19285. ],
  19286. 'orderBy' => [
  19287. 'location' => 'query',
  19288. 'type' => 'string',
  19289. ],
  19290. 'pageToken' => [
  19291. 'location' => 'query',
  19292. 'type' => 'string',
  19293. ],
  19294. 'returnPartialSuccess' => [
  19295. 'location' => 'query',
  19296. 'type' => 'boolean',
  19297. ],
  19298. ],
  19299. ],'patch' => [
  19300. 'path' => 'projects/{project}/global/sslPolicies/{sslPolicy}',
  19301. 'httpMethod' => 'PATCH',
  19302. 'parameters' => [
  19303. 'project' => [
  19304. 'location' => 'path',
  19305. 'type' => 'string',
  19306. 'required' => true,
  19307. ],
  19308. 'sslPolicy' => [
  19309. 'location' => 'path',
  19310. 'type' => 'string',
  19311. 'required' => true,
  19312. ],
  19313. 'requestId' => [
  19314. 'location' => 'query',
  19315. 'type' => 'string',
  19316. ],
  19317. ],
  19318. ],
  19319. ]
  19320. ]
  19321. );
  19322. $this->storagePoolTypes = new Compute\Resource\StoragePoolTypes(
  19323. $this,
  19324. $this->serviceName,
  19325. 'storagePoolTypes',
  19326. [
  19327. 'methods' => [
  19328. 'aggregatedList' => [
  19329. 'path' => 'projects/{project}/aggregated/storagePoolTypes',
  19330. 'httpMethod' => 'GET',
  19331. 'parameters' => [
  19332. 'project' => [
  19333. 'location' => 'path',
  19334. 'type' => 'string',
  19335. 'required' => true,
  19336. ],
  19337. 'filter' => [
  19338. 'location' => 'query',
  19339. 'type' => 'string',
  19340. ],
  19341. 'includeAllScopes' => [
  19342. 'location' => 'query',
  19343. 'type' => 'boolean',
  19344. ],
  19345. 'maxResults' => [
  19346. 'location' => 'query',
  19347. 'type' => 'integer',
  19348. ],
  19349. 'orderBy' => [
  19350. 'location' => 'query',
  19351. 'type' => 'string',
  19352. ],
  19353. 'pageToken' => [
  19354. 'location' => 'query',
  19355. 'type' => 'string',
  19356. ],
  19357. 'returnPartialSuccess' => [
  19358. 'location' => 'query',
  19359. 'type' => 'boolean',
  19360. ],
  19361. 'serviceProjectNumber' => [
  19362. 'location' => 'query',
  19363. 'type' => 'string',
  19364. ],
  19365. ],
  19366. ],'get' => [
  19367. 'path' => 'projects/{project}/zones/{zone}/storagePoolTypes/{storagePoolType}',
  19368. 'httpMethod' => 'GET',
  19369. 'parameters' => [
  19370. 'project' => [
  19371. 'location' => 'path',
  19372. 'type' => 'string',
  19373. 'required' => true,
  19374. ],
  19375. 'zone' => [
  19376. 'location' => 'path',
  19377. 'type' => 'string',
  19378. 'required' => true,
  19379. ],
  19380. 'storagePoolType' => [
  19381. 'location' => 'path',
  19382. 'type' => 'string',
  19383. 'required' => true,
  19384. ],
  19385. ],
  19386. ],'list' => [
  19387. 'path' => 'projects/{project}/zones/{zone}/storagePoolTypes',
  19388. 'httpMethod' => 'GET',
  19389. 'parameters' => [
  19390. 'project' => [
  19391. 'location' => 'path',
  19392. 'type' => 'string',
  19393. 'required' => true,
  19394. ],
  19395. 'zone' => [
  19396. 'location' => 'path',
  19397. 'type' => 'string',
  19398. 'required' => true,
  19399. ],
  19400. 'filter' => [
  19401. 'location' => 'query',
  19402. 'type' => 'string',
  19403. ],
  19404. 'maxResults' => [
  19405. 'location' => 'query',
  19406. 'type' => 'integer',
  19407. ],
  19408. 'orderBy' => [
  19409. 'location' => 'query',
  19410. 'type' => 'string',
  19411. ],
  19412. 'pageToken' => [
  19413. 'location' => 'query',
  19414. 'type' => 'string',
  19415. ],
  19416. 'returnPartialSuccess' => [
  19417. 'location' => 'query',
  19418. 'type' => 'boolean',
  19419. ],
  19420. ],
  19421. ],
  19422. ]
  19423. ]
  19424. );
  19425. $this->storagePools = new Compute\Resource\StoragePools(
  19426. $this,
  19427. $this->serviceName,
  19428. 'storagePools',
  19429. [
  19430. 'methods' => [
  19431. 'aggregatedList' => [
  19432. 'path' => 'projects/{project}/aggregated/storagePools',
  19433. 'httpMethod' => 'GET',
  19434. 'parameters' => [
  19435. 'project' => [
  19436. 'location' => 'path',
  19437. 'type' => 'string',
  19438. 'required' => true,
  19439. ],
  19440. 'filter' => [
  19441. 'location' => 'query',
  19442. 'type' => 'string',
  19443. ],
  19444. 'includeAllScopes' => [
  19445. 'location' => 'query',
  19446. 'type' => 'boolean',
  19447. ],
  19448. 'maxResults' => [
  19449. 'location' => 'query',
  19450. 'type' => 'integer',
  19451. ],
  19452. 'orderBy' => [
  19453. 'location' => 'query',
  19454. 'type' => 'string',
  19455. ],
  19456. 'pageToken' => [
  19457. 'location' => 'query',
  19458. 'type' => 'string',
  19459. ],
  19460. 'returnPartialSuccess' => [
  19461. 'location' => 'query',
  19462. 'type' => 'boolean',
  19463. ],
  19464. 'serviceProjectNumber' => [
  19465. 'location' => 'query',
  19466. 'type' => 'string',
  19467. ],
  19468. ],
  19469. ],'delete' => [
  19470. 'path' => 'projects/{project}/zones/{zone}/storagePools/{storagePool}',
  19471. 'httpMethod' => 'DELETE',
  19472. 'parameters' => [
  19473. 'project' => [
  19474. 'location' => 'path',
  19475. 'type' => 'string',
  19476. 'required' => true,
  19477. ],
  19478. 'zone' => [
  19479. 'location' => 'path',
  19480. 'type' => 'string',
  19481. 'required' => true,
  19482. ],
  19483. 'storagePool' => [
  19484. 'location' => 'path',
  19485. 'type' => 'string',
  19486. 'required' => true,
  19487. ],
  19488. 'requestId' => [
  19489. 'location' => 'query',
  19490. 'type' => 'string',
  19491. ],
  19492. ],
  19493. ],'get' => [
  19494. 'path' => 'projects/{project}/zones/{zone}/storagePools/{storagePool}',
  19495. 'httpMethod' => 'GET',
  19496. 'parameters' => [
  19497. 'project' => [
  19498. 'location' => 'path',
  19499. 'type' => 'string',
  19500. 'required' => true,
  19501. ],
  19502. 'zone' => [
  19503. 'location' => 'path',
  19504. 'type' => 'string',
  19505. 'required' => true,
  19506. ],
  19507. 'storagePool' => [
  19508. 'location' => 'path',
  19509. 'type' => 'string',
  19510. 'required' => true,
  19511. ],
  19512. ],
  19513. ],'getIamPolicy' => [
  19514. 'path' => 'projects/{project}/zones/{zone}/storagePools/{resource}/getIamPolicy',
  19515. 'httpMethod' => 'GET',
  19516. 'parameters' => [
  19517. 'project' => [
  19518. 'location' => 'path',
  19519. 'type' => 'string',
  19520. 'required' => true,
  19521. ],
  19522. 'zone' => [
  19523. 'location' => 'path',
  19524. 'type' => 'string',
  19525. 'required' => true,
  19526. ],
  19527. 'resource' => [
  19528. 'location' => 'path',
  19529. 'type' => 'string',
  19530. 'required' => true,
  19531. ],
  19532. 'optionsRequestedPolicyVersion' => [
  19533. 'location' => 'query',
  19534. 'type' => 'integer',
  19535. ],
  19536. ],
  19537. ],'insert' => [
  19538. 'path' => 'projects/{project}/zones/{zone}/storagePools',
  19539. 'httpMethod' => 'POST',
  19540. 'parameters' => [
  19541. 'project' => [
  19542. 'location' => 'path',
  19543. 'type' => 'string',
  19544. 'required' => true,
  19545. ],
  19546. 'zone' => [
  19547. 'location' => 'path',
  19548. 'type' => 'string',
  19549. 'required' => true,
  19550. ],
  19551. 'requestId' => [
  19552. 'location' => 'query',
  19553. 'type' => 'string',
  19554. ],
  19555. ],
  19556. ],'list' => [
  19557. 'path' => 'projects/{project}/zones/{zone}/storagePools',
  19558. 'httpMethod' => 'GET',
  19559. 'parameters' => [
  19560. 'project' => [
  19561. 'location' => 'path',
  19562. 'type' => 'string',
  19563. 'required' => true,
  19564. ],
  19565. 'zone' => [
  19566. 'location' => 'path',
  19567. 'type' => 'string',
  19568. 'required' => true,
  19569. ],
  19570. 'filter' => [
  19571. 'location' => 'query',
  19572. 'type' => 'string',
  19573. ],
  19574. 'maxResults' => [
  19575. 'location' => 'query',
  19576. 'type' => 'integer',
  19577. ],
  19578. 'orderBy' => [
  19579. 'location' => 'query',
  19580. 'type' => 'string',
  19581. ],
  19582. 'pageToken' => [
  19583. 'location' => 'query',
  19584. 'type' => 'string',
  19585. ],
  19586. 'returnPartialSuccess' => [
  19587. 'location' => 'query',
  19588. 'type' => 'boolean',
  19589. ],
  19590. ],
  19591. ],'listDisks' => [
  19592. 'path' => 'projects/{project}/zones/{zone}/storagePools/{storagePool}/listDisks',
  19593. 'httpMethod' => 'GET',
  19594. 'parameters' => [
  19595. 'project' => [
  19596. 'location' => 'path',
  19597. 'type' => 'string',
  19598. 'required' => true,
  19599. ],
  19600. 'zone' => [
  19601. 'location' => 'path',
  19602. 'type' => 'string',
  19603. 'required' => true,
  19604. ],
  19605. 'storagePool' => [
  19606. 'location' => 'path',
  19607. 'type' => 'string',
  19608. 'required' => true,
  19609. ],
  19610. 'filter' => [
  19611. 'location' => 'query',
  19612. 'type' => 'string',
  19613. ],
  19614. 'maxResults' => [
  19615. 'location' => 'query',
  19616. 'type' => 'integer',
  19617. ],
  19618. 'orderBy' => [
  19619. 'location' => 'query',
  19620. 'type' => 'string',
  19621. ],
  19622. 'pageToken' => [
  19623. 'location' => 'query',
  19624. 'type' => 'string',
  19625. ],
  19626. 'returnPartialSuccess' => [
  19627. 'location' => 'query',
  19628. 'type' => 'boolean',
  19629. ],
  19630. ],
  19631. ],'setIamPolicy' => [
  19632. 'path' => 'projects/{project}/zones/{zone}/storagePools/{resource}/setIamPolicy',
  19633. 'httpMethod' => 'POST',
  19634. 'parameters' => [
  19635. 'project' => [
  19636. 'location' => 'path',
  19637. 'type' => 'string',
  19638. 'required' => true,
  19639. ],
  19640. 'zone' => [
  19641. 'location' => 'path',
  19642. 'type' => 'string',
  19643. 'required' => true,
  19644. ],
  19645. 'resource' => [
  19646. 'location' => 'path',
  19647. 'type' => 'string',
  19648. 'required' => true,
  19649. ],
  19650. ],
  19651. ],'testIamPermissions' => [
  19652. 'path' => 'projects/{project}/zones/{zone}/storagePools/{resource}/testIamPermissions',
  19653. 'httpMethod' => 'POST',
  19654. 'parameters' => [
  19655. 'project' => [
  19656. 'location' => 'path',
  19657. 'type' => 'string',
  19658. 'required' => true,
  19659. ],
  19660. 'zone' => [
  19661. 'location' => 'path',
  19662. 'type' => 'string',
  19663. 'required' => true,
  19664. ],
  19665. 'resource' => [
  19666. 'location' => 'path',
  19667. 'type' => 'string',
  19668. 'required' => true,
  19669. ],
  19670. ],
  19671. ],'update' => [
  19672. 'path' => 'projects/{project}/zones/{zone}/storagePools/{storagePool}',
  19673. 'httpMethod' => 'PATCH',
  19674. 'parameters' => [
  19675. 'project' => [
  19676. 'location' => 'path',
  19677. 'type' => 'string',
  19678. 'required' => true,
  19679. ],
  19680. 'zone' => [
  19681. 'location' => 'path',
  19682. 'type' => 'string',
  19683. 'required' => true,
  19684. ],
  19685. 'storagePool' => [
  19686. 'location' => 'path',
  19687. 'type' => 'string',
  19688. 'required' => true,
  19689. ],
  19690. 'requestId' => [
  19691. 'location' => 'query',
  19692. 'type' => 'string',
  19693. ],
  19694. 'updateMask' => [
  19695. 'location' => 'query',
  19696. 'type' => 'string',
  19697. ],
  19698. ],
  19699. ],
  19700. ]
  19701. ]
  19702. );
  19703. $this->subnetworks = new Compute\Resource\Subnetworks(
  19704. $this,
  19705. $this->serviceName,
  19706. 'subnetworks',
  19707. [
  19708. 'methods' => [
  19709. 'aggregatedList' => [
  19710. 'path' => 'projects/{project}/aggregated/subnetworks',
  19711. 'httpMethod' => 'GET',
  19712. 'parameters' => [
  19713. 'project' => [
  19714. 'location' => 'path',
  19715. 'type' => 'string',
  19716. 'required' => true,
  19717. ],
  19718. 'filter' => [
  19719. 'location' => 'query',
  19720. 'type' => 'string',
  19721. ],
  19722. 'includeAllScopes' => [
  19723. 'location' => 'query',
  19724. 'type' => 'boolean',
  19725. ],
  19726. 'maxResults' => [
  19727. 'location' => 'query',
  19728. 'type' => 'integer',
  19729. ],
  19730. 'orderBy' => [
  19731. 'location' => 'query',
  19732. 'type' => 'string',
  19733. ],
  19734. 'pageToken' => [
  19735. 'location' => 'query',
  19736. 'type' => 'string',
  19737. ],
  19738. 'returnPartialSuccess' => [
  19739. 'location' => 'query',
  19740. 'type' => 'boolean',
  19741. ],
  19742. 'serviceProjectNumber' => [
  19743. 'location' => 'query',
  19744. 'type' => 'string',
  19745. ],
  19746. 'views' => [
  19747. 'location' => 'query',
  19748. 'type' => 'string',
  19749. 'repeated' => true,
  19750. ],
  19751. ],
  19752. ],'delete' => [
  19753. 'path' => 'projects/{project}/regions/{region}/subnetworks/{subnetwork}',
  19754. 'httpMethod' => 'DELETE',
  19755. 'parameters' => [
  19756. 'project' => [
  19757. 'location' => 'path',
  19758. 'type' => 'string',
  19759. 'required' => true,
  19760. ],
  19761. 'region' => [
  19762. 'location' => 'path',
  19763. 'type' => 'string',
  19764. 'required' => true,
  19765. ],
  19766. 'subnetwork' => [
  19767. 'location' => 'path',
  19768. 'type' => 'string',
  19769. 'required' => true,
  19770. ],
  19771. 'requestId' => [
  19772. 'location' => 'query',
  19773. 'type' => 'string',
  19774. ],
  19775. ],
  19776. ],'expandIpCidrRange' => [
  19777. 'path' => 'projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange',
  19778. 'httpMethod' => 'POST',
  19779. 'parameters' => [
  19780. 'project' => [
  19781. 'location' => 'path',
  19782. 'type' => 'string',
  19783. 'required' => true,
  19784. ],
  19785. 'region' => [
  19786. 'location' => 'path',
  19787. 'type' => 'string',
  19788. 'required' => true,
  19789. ],
  19790. 'subnetwork' => [
  19791. 'location' => 'path',
  19792. 'type' => 'string',
  19793. 'required' => true,
  19794. ],
  19795. 'requestId' => [
  19796. 'location' => 'query',
  19797. 'type' => 'string',
  19798. ],
  19799. ],
  19800. ],'get' => [
  19801. 'path' => 'projects/{project}/regions/{region}/subnetworks/{subnetwork}',
  19802. 'httpMethod' => 'GET',
  19803. 'parameters' => [
  19804. 'project' => [
  19805. 'location' => 'path',
  19806. 'type' => 'string',
  19807. 'required' => true,
  19808. ],
  19809. 'region' => [
  19810. 'location' => 'path',
  19811. 'type' => 'string',
  19812. 'required' => true,
  19813. ],
  19814. 'subnetwork' => [
  19815. 'location' => 'path',
  19816. 'type' => 'string',
  19817. 'required' => true,
  19818. ],
  19819. 'views' => [
  19820. 'location' => 'query',
  19821. 'type' => 'string',
  19822. 'repeated' => true,
  19823. ],
  19824. ],
  19825. ],'getIamPolicy' => [
  19826. 'path' => 'projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy',
  19827. 'httpMethod' => 'GET',
  19828. 'parameters' => [
  19829. 'project' => [
  19830. 'location' => 'path',
  19831. 'type' => 'string',
  19832. 'required' => true,
  19833. ],
  19834. 'region' => [
  19835. 'location' => 'path',
  19836. 'type' => 'string',
  19837. 'required' => true,
  19838. ],
  19839. 'resource' => [
  19840. 'location' => 'path',
  19841. 'type' => 'string',
  19842. 'required' => true,
  19843. ],
  19844. 'optionsRequestedPolicyVersion' => [
  19845. 'location' => 'query',
  19846. 'type' => 'integer',
  19847. ],
  19848. ],
  19849. ],'insert' => [
  19850. 'path' => 'projects/{project}/regions/{region}/subnetworks',
  19851. 'httpMethod' => 'POST',
  19852. 'parameters' => [
  19853. 'project' => [
  19854. 'location' => 'path',
  19855. 'type' => 'string',
  19856. 'required' => true,
  19857. ],
  19858. 'region' => [
  19859. 'location' => 'path',
  19860. 'type' => 'string',
  19861. 'required' => true,
  19862. ],
  19863. 'requestId' => [
  19864. 'location' => 'query',
  19865. 'type' => 'string',
  19866. ],
  19867. ],
  19868. ],'list' => [
  19869. 'path' => 'projects/{project}/regions/{region}/subnetworks',
  19870. 'httpMethod' => 'GET',
  19871. 'parameters' => [
  19872. 'project' => [
  19873. 'location' => 'path',
  19874. 'type' => 'string',
  19875. 'required' => true,
  19876. ],
  19877. 'region' => [
  19878. 'location' => 'path',
  19879. 'type' => 'string',
  19880. 'required' => true,
  19881. ],
  19882. 'filter' => [
  19883. 'location' => 'query',
  19884. 'type' => 'string',
  19885. ],
  19886. 'maxResults' => [
  19887. 'location' => 'query',
  19888. 'type' => 'integer',
  19889. ],
  19890. 'orderBy' => [
  19891. 'location' => 'query',
  19892. 'type' => 'string',
  19893. ],
  19894. 'pageToken' => [
  19895. 'location' => 'query',
  19896. 'type' => 'string',
  19897. ],
  19898. 'returnPartialSuccess' => [
  19899. 'location' => 'query',
  19900. 'type' => 'boolean',
  19901. ],
  19902. 'views' => [
  19903. 'location' => 'query',
  19904. 'type' => 'string',
  19905. 'repeated' => true,
  19906. ],
  19907. ],
  19908. ],'listUsable' => [
  19909. 'path' => 'projects/{project}/aggregated/subnetworks/listUsable',
  19910. 'httpMethod' => 'GET',
  19911. 'parameters' => [
  19912. 'project' => [
  19913. 'location' => 'path',
  19914. 'type' => 'string',
  19915. 'required' => true,
  19916. ],
  19917. 'filter' => [
  19918. 'location' => 'query',
  19919. 'type' => 'string',
  19920. ],
  19921. 'maxResults' => [
  19922. 'location' => 'query',
  19923. 'type' => 'integer',
  19924. ],
  19925. 'orderBy' => [
  19926. 'location' => 'query',
  19927. 'type' => 'string',
  19928. ],
  19929. 'pageToken' => [
  19930. 'location' => 'query',
  19931. 'type' => 'string',
  19932. ],
  19933. 'returnPartialSuccess' => [
  19934. 'location' => 'query',
  19935. 'type' => 'boolean',
  19936. ],
  19937. 'serviceProject' => [
  19938. 'location' => 'query',
  19939. 'type' => 'string',
  19940. ],
  19941. ],
  19942. ],'patch' => [
  19943. 'path' => 'projects/{project}/regions/{region}/subnetworks/{subnetwork}',
  19944. 'httpMethod' => 'PATCH',
  19945. 'parameters' => [
  19946. 'project' => [
  19947. 'location' => 'path',
  19948. 'type' => 'string',
  19949. 'required' => true,
  19950. ],
  19951. 'region' => [
  19952. 'location' => 'path',
  19953. 'type' => 'string',
  19954. 'required' => true,
  19955. ],
  19956. 'subnetwork' => [
  19957. 'location' => 'path',
  19958. 'type' => 'string',
  19959. 'required' => true,
  19960. ],
  19961. 'drainTimeoutSeconds' => [
  19962. 'location' => 'query',
  19963. 'type' => 'integer',
  19964. ],
  19965. 'requestId' => [
  19966. 'location' => 'query',
  19967. 'type' => 'string',
  19968. ],
  19969. ],
  19970. ],'setIamPolicy' => [
  19971. 'path' => 'projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy',
  19972. 'httpMethod' => 'POST',
  19973. 'parameters' => [
  19974. 'project' => [
  19975. 'location' => 'path',
  19976. 'type' => 'string',
  19977. 'required' => true,
  19978. ],
  19979. 'region' => [
  19980. 'location' => 'path',
  19981. 'type' => 'string',
  19982. 'required' => true,
  19983. ],
  19984. 'resource' => [
  19985. 'location' => 'path',
  19986. 'type' => 'string',
  19987. 'required' => true,
  19988. ],
  19989. ],
  19990. ],'setPrivateIpGoogleAccess' => [
  19991. 'path' => 'projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess',
  19992. 'httpMethod' => 'POST',
  19993. 'parameters' => [
  19994. 'project' => [
  19995. 'location' => 'path',
  19996. 'type' => 'string',
  19997. 'required' => true,
  19998. ],
  19999. 'region' => [
  20000. 'location' => 'path',
  20001. 'type' => 'string',
  20002. 'required' => true,
  20003. ],
  20004. 'subnetwork' => [
  20005. 'location' => 'path',
  20006. 'type' => 'string',
  20007. 'required' => true,
  20008. ],
  20009. 'requestId' => [
  20010. 'location' => 'query',
  20011. 'type' => 'string',
  20012. ],
  20013. ],
  20014. ],'testIamPermissions' => [
  20015. 'path' => 'projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions',
  20016. 'httpMethod' => 'POST',
  20017. 'parameters' => [
  20018. 'project' => [
  20019. 'location' => 'path',
  20020. 'type' => 'string',
  20021. 'required' => true,
  20022. ],
  20023. 'region' => [
  20024. 'location' => 'path',
  20025. 'type' => 'string',
  20026. 'required' => true,
  20027. ],
  20028. 'resource' => [
  20029. 'location' => 'path',
  20030. 'type' => 'string',
  20031. 'required' => true,
  20032. ],
  20033. ],
  20034. ],
  20035. ]
  20036. ]
  20037. );
  20038. $this->targetGrpcProxies = new Compute\Resource\TargetGrpcProxies(
  20039. $this,
  20040. $this->serviceName,
  20041. 'targetGrpcProxies',
  20042. [
  20043. 'methods' => [
  20044. 'delete' => [
  20045. 'path' => 'projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}',
  20046. 'httpMethod' => 'DELETE',
  20047. 'parameters' => [
  20048. 'project' => [
  20049. 'location' => 'path',
  20050. 'type' => 'string',
  20051. 'required' => true,
  20052. ],
  20053. 'targetGrpcProxy' => [
  20054. 'location' => 'path',
  20055. 'type' => 'string',
  20056. 'required' => true,
  20057. ],
  20058. 'requestId' => [
  20059. 'location' => 'query',
  20060. 'type' => 'string',
  20061. ],
  20062. ],
  20063. ],'get' => [
  20064. 'path' => 'projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}',
  20065. 'httpMethod' => 'GET',
  20066. 'parameters' => [
  20067. 'project' => [
  20068. 'location' => 'path',
  20069. 'type' => 'string',
  20070. 'required' => true,
  20071. ],
  20072. 'targetGrpcProxy' => [
  20073. 'location' => 'path',
  20074. 'type' => 'string',
  20075. 'required' => true,
  20076. ],
  20077. ],
  20078. ],'insert' => [
  20079. 'path' => 'projects/{project}/global/targetGrpcProxies',
  20080. 'httpMethod' => 'POST',
  20081. 'parameters' => [
  20082. 'project' => [
  20083. 'location' => 'path',
  20084. 'type' => 'string',
  20085. 'required' => true,
  20086. ],
  20087. 'requestId' => [
  20088. 'location' => 'query',
  20089. 'type' => 'string',
  20090. ],
  20091. ],
  20092. ],'list' => [
  20093. 'path' => 'projects/{project}/global/targetGrpcProxies',
  20094. 'httpMethod' => 'GET',
  20095. 'parameters' => [
  20096. 'project' => [
  20097. 'location' => 'path',
  20098. 'type' => 'string',
  20099. 'required' => true,
  20100. ],
  20101. 'filter' => [
  20102. 'location' => 'query',
  20103. 'type' => 'string',
  20104. ],
  20105. 'maxResults' => [
  20106. 'location' => 'query',
  20107. 'type' => 'integer',
  20108. ],
  20109. 'orderBy' => [
  20110. 'location' => 'query',
  20111. 'type' => 'string',
  20112. ],
  20113. 'pageToken' => [
  20114. 'location' => 'query',
  20115. 'type' => 'string',
  20116. ],
  20117. 'returnPartialSuccess' => [
  20118. 'location' => 'query',
  20119. 'type' => 'boolean',
  20120. ],
  20121. ],
  20122. ],'patch' => [
  20123. 'path' => 'projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}',
  20124. 'httpMethod' => 'PATCH',
  20125. 'parameters' => [
  20126. 'project' => [
  20127. 'location' => 'path',
  20128. 'type' => 'string',
  20129. 'required' => true,
  20130. ],
  20131. 'targetGrpcProxy' => [
  20132. 'location' => 'path',
  20133. 'type' => 'string',
  20134. 'required' => true,
  20135. ],
  20136. 'requestId' => [
  20137. 'location' => 'query',
  20138. 'type' => 'string',
  20139. ],
  20140. ],
  20141. ],
  20142. ]
  20143. ]
  20144. );
  20145. $this->targetHttpProxies = new Compute\Resource\TargetHttpProxies(
  20146. $this,
  20147. $this->serviceName,
  20148. 'targetHttpProxies',
  20149. [
  20150. 'methods' => [
  20151. 'aggregatedList' => [
  20152. 'path' => 'projects/{project}/aggregated/targetHttpProxies',
  20153. 'httpMethod' => 'GET',
  20154. 'parameters' => [
  20155. 'project' => [
  20156. 'location' => 'path',
  20157. 'type' => 'string',
  20158. 'required' => true,
  20159. ],
  20160. 'filter' => [
  20161. 'location' => 'query',
  20162. 'type' => 'string',
  20163. ],
  20164. 'includeAllScopes' => [
  20165. 'location' => 'query',
  20166. 'type' => 'boolean',
  20167. ],
  20168. 'maxResults' => [
  20169. 'location' => 'query',
  20170. 'type' => 'integer',
  20171. ],
  20172. 'orderBy' => [
  20173. 'location' => 'query',
  20174. 'type' => 'string',
  20175. ],
  20176. 'pageToken' => [
  20177. 'location' => 'query',
  20178. 'type' => 'string',
  20179. ],
  20180. 'returnPartialSuccess' => [
  20181. 'location' => 'query',
  20182. 'type' => 'boolean',
  20183. ],
  20184. 'serviceProjectNumber' => [
  20185. 'location' => 'query',
  20186. 'type' => 'string',
  20187. ],
  20188. ],
  20189. ],'delete' => [
  20190. 'path' => 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}',
  20191. 'httpMethod' => 'DELETE',
  20192. 'parameters' => [
  20193. 'project' => [
  20194. 'location' => 'path',
  20195. 'type' => 'string',
  20196. 'required' => true,
  20197. ],
  20198. 'targetHttpProxy' => [
  20199. 'location' => 'path',
  20200. 'type' => 'string',
  20201. 'required' => true,
  20202. ],
  20203. 'requestId' => [
  20204. 'location' => 'query',
  20205. 'type' => 'string',
  20206. ],
  20207. ],
  20208. ],'get' => [
  20209. 'path' => 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}',
  20210. 'httpMethod' => 'GET',
  20211. 'parameters' => [
  20212. 'project' => [
  20213. 'location' => 'path',
  20214. 'type' => 'string',
  20215. 'required' => true,
  20216. ],
  20217. 'targetHttpProxy' => [
  20218. 'location' => 'path',
  20219. 'type' => 'string',
  20220. 'required' => true,
  20221. ],
  20222. ],
  20223. ],'insert' => [
  20224. 'path' => 'projects/{project}/global/targetHttpProxies',
  20225. 'httpMethod' => 'POST',
  20226. 'parameters' => [
  20227. 'project' => [
  20228. 'location' => 'path',
  20229. 'type' => 'string',
  20230. 'required' => true,
  20231. ],
  20232. 'requestId' => [
  20233. 'location' => 'query',
  20234. 'type' => 'string',
  20235. ],
  20236. ],
  20237. ],'list' => [
  20238. 'path' => 'projects/{project}/global/targetHttpProxies',
  20239. 'httpMethod' => 'GET',
  20240. 'parameters' => [
  20241. 'project' => [
  20242. 'location' => 'path',
  20243. 'type' => 'string',
  20244. 'required' => true,
  20245. ],
  20246. 'filter' => [
  20247. 'location' => 'query',
  20248. 'type' => 'string',
  20249. ],
  20250. 'maxResults' => [
  20251. 'location' => 'query',
  20252. 'type' => 'integer',
  20253. ],
  20254. 'orderBy' => [
  20255. 'location' => 'query',
  20256. 'type' => 'string',
  20257. ],
  20258. 'pageToken' => [
  20259. 'location' => 'query',
  20260. 'type' => 'string',
  20261. ],
  20262. 'returnPartialSuccess' => [
  20263. 'location' => 'query',
  20264. 'type' => 'boolean',
  20265. ],
  20266. ],
  20267. ],'patch' => [
  20268. 'path' => 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}',
  20269. 'httpMethod' => 'PATCH',
  20270. 'parameters' => [
  20271. 'project' => [
  20272. 'location' => 'path',
  20273. 'type' => 'string',
  20274. 'required' => true,
  20275. ],
  20276. 'targetHttpProxy' => [
  20277. 'location' => 'path',
  20278. 'type' => 'string',
  20279. 'required' => true,
  20280. ],
  20281. 'requestId' => [
  20282. 'location' => 'query',
  20283. 'type' => 'string',
  20284. ],
  20285. ],
  20286. ],'setUrlMap' => [
  20287. 'path' => 'projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap',
  20288. 'httpMethod' => 'POST',
  20289. 'parameters' => [
  20290. 'project' => [
  20291. 'location' => 'path',
  20292. 'type' => 'string',
  20293. 'required' => true,
  20294. ],
  20295. 'targetHttpProxy' => [
  20296. 'location' => 'path',
  20297. 'type' => 'string',
  20298. 'required' => true,
  20299. ],
  20300. 'requestId' => [
  20301. 'location' => 'query',
  20302. 'type' => 'string',
  20303. ],
  20304. ],
  20305. ],
  20306. ]
  20307. ]
  20308. );
  20309. $this->targetHttpsProxies = new Compute\Resource\TargetHttpsProxies(
  20310. $this,
  20311. $this->serviceName,
  20312. 'targetHttpsProxies',
  20313. [
  20314. 'methods' => [
  20315. 'aggregatedList' => [
  20316. 'path' => 'projects/{project}/aggregated/targetHttpsProxies',
  20317. 'httpMethod' => 'GET',
  20318. 'parameters' => [
  20319. 'project' => [
  20320. 'location' => 'path',
  20321. 'type' => 'string',
  20322. 'required' => true,
  20323. ],
  20324. 'filter' => [
  20325. 'location' => 'query',
  20326. 'type' => 'string',
  20327. ],
  20328. 'includeAllScopes' => [
  20329. 'location' => 'query',
  20330. 'type' => 'boolean',
  20331. ],
  20332. 'maxResults' => [
  20333. 'location' => 'query',
  20334. 'type' => 'integer',
  20335. ],
  20336. 'orderBy' => [
  20337. 'location' => 'query',
  20338. 'type' => 'string',
  20339. ],
  20340. 'pageToken' => [
  20341. 'location' => 'query',
  20342. 'type' => 'string',
  20343. ],
  20344. 'returnPartialSuccess' => [
  20345. 'location' => 'query',
  20346. 'type' => 'boolean',
  20347. ],
  20348. 'serviceProjectNumber' => [
  20349. 'location' => 'query',
  20350. 'type' => 'string',
  20351. ],
  20352. ],
  20353. ],'delete' => [
  20354. 'path' => 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}',
  20355. 'httpMethod' => 'DELETE',
  20356. 'parameters' => [
  20357. 'project' => [
  20358. 'location' => 'path',
  20359. 'type' => 'string',
  20360. 'required' => true,
  20361. ],
  20362. 'targetHttpsProxy' => [
  20363. 'location' => 'path',
  20364. 'type' => 'string',
  20365. 'required' => true,
  20366. ],
  20367. 'requestId' => [
  20368. 'location' => 'query',
  20369. 'type' => 'string',
  20370. ],
  20371. ],
  20372. ],'get' => [
  20373. 'path' => 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}',
  20374. 'httpMethod' => 'GET',
  20375. 'parameters' => [
  20376. 'project' => [
  20377. 'location' => 'path',
  20378. 'type' => 'string',
  20379. 'required' => true,
  20380. ],
  20381. 'targetHttpsProxy' => [
  20382. 'location' => 'path',
  20383. 'type' => 'string',
  20384. 'required' => true,
  20385. ],
  20386. ],
  20387. ],'insert' => [
  20388. 'path' => 'projects/{project}/global/targetHttpsProxies',
  20389. 'httpMethod' => 'POST',
  20390. 'parameters' => [
  20391. 'project' => [
  20392. 'location' => 'path',
  20393. 'type' => 'string',
  20394. 'required' => true,
  20395. ],
  20396. 'requestId' => [
  20397. 'location' => 'query',
  20398. 'type' => 'string',
  20399. ],
  20400. ],
  20401. ],'list' => [
  20402. 'path' => 'projects/{project}/global/targetHttpsProxies',
  20403. 'httpMethod' => 'GET',
  20404. 'parameters' => [
  20405. 'project' => [
  20406. 'location' => 'path',
  20407. 'type' => 'string',
  20408. 'required' => true,
  20409. ],
  20410. 'filter' => [
  20411. 'location' => 'query',
  20412. 'type' => 'string',
  20413. ],
  20414. 'maxResults' => [
  20415. 'location' => 'query',
  20416. 'type' => 'integer',
  20417. ],
  20418. 'orderBy' => [
  20419. 'location' => 'query',
  20420. 'type' => 'string',
  20421. ],
  20422. 'pageToken' => [
  20423. 'location' => 'query',
  20424. 'type' => 'string',
  20425. ],
  20426. 'returnPartialSuccess' => [
  20427. 'location' => 'query',
  20428. 'type' => 'boolean',
  20429. ],
  20430. ],
  20431. ],'patch' => [
  20432. 'path' => 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}',
  20433. 'httpMethod' => 'PATCH',
  20434. 'parameters' => [
  20435. 'project' => [
  20436. 'location' => 'path',
  20437. 'type' => 'string',
  20438. 'required' => true,
  20439. ],
  20440. 'targetHttpsProxy' => [
  20441. 'location' => 'path',
  20442. 'type' => 'string',
  20443. 'required' => true,
  20444. ],
  20445. 'requestId' => [
  20446. 'location' => 'query',
  20447. 'type' => 'string',
  20448. ],
  20449. ],
  20450. ],'setCertificateMap' => [
  20451. 'path' => 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap',
  20452. 'httpMethod' => 'POST',
  20453. 'parameters' => [
  20454. 'project' => [
  20455. 'location' => 'path',
  20456. 'type' => 'string',
  20457. 'required' => true,
  20458. ],
  20459. 'targetHttpsProxy' => [
  20460. 'location' => 'path',
  20461. 'type' => 'string',
  20462. 'required' => true,
  20463. ],
  20464. 'requestId' => [
  20465. 'location' => 'query',
  20466. 'type' => 'string',
  20467. ],
  20468. ],
  20469. ],'setQuicOverride' => [
  20470. 'path' => 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride',
  20471. 'httpMethod' => 'POST',
  20472. 'parameters' => [
  20473. 'project' => [
  20474. 'location' => 'path',
  20475. 'type' => 'string',
  20476. 'required' => true,
  20477. ],
  20478. 'targetHttpsProxy' => [
  20479. 'location' => 'path',
  20480. 'type' => 'string',
  20481. 'required' => true,
  20482. ],
  20483. 'requestId' => [
  20484. 'location' => 'query',
  20485. 'type' => 'string',
  20486. ],
  20487. ],
  20488. ],'setSslCertificates' => [
  20489. 'path' => 'projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates',
  20490. 'httpMethod' => 'POST',
  20491. 'parameters' => [
  20492. 'project' => [
  20493. 'location' => 'path',
  20494. 'type' => 'string',
  20495. 'required' => true,
  20496. ],
  20497. 'targetHttpsProxy' => [
  20498. 'location' => 'path',
  20499. 'type' => 'string',
  20500. 'required' => true,
  20501. ],
  20502. 'requestId' => [
  20503. 'location' => 'query',
  20504. 'type' => 'string',
  20505. ],
  20506. ],
  20507. ],'setSslPolicy' => [
  20508. 'path' => 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy',
  20509. 'httpMethod' => 'POST',
  20510. 'parameters' => [
  20511. 'project' => [
  20512. 'location' => 'path',
  20513. 'type' => 'string',
  20514. 'required' => true,
  20515. ],
  20516. 'targetHttpsProxy' => [
  20517. 'location' => 'path',
  20518. 'type' => 'string',
  20519. 'required' => true,
  20520. ],
  20521. 'requestId' => [
  20522. 'location' => 'query',
  20523. 'type' => 'string',
  20524. ],
  20525. ],
  20526. ],'setUrlMap' => [
  20527. 'path' => 'projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap',
  20528. 'httpMethod' => 'POST',
  20529. 'parameters' => [
  20530. 'project' => [
  20531. 'location' => 'path',
  20532. 'type' => 'string',
  20533. 'required' => true,
  20534. ],
  20535. 'targetHttpsProxy' => [
  20536. 'location' => 'path',
  20537. 'type' => 'string',
  20538. 'required' => true,
  20539. ],
  20540. 'requestId' => [
  20541. 'location' => 'query',
  20542. 'type' => 'string',
  20543. ],
  20544. ],
  20545. ],
  20546. ]
  20547. ]
  20548. );
  20549. $this->targetInstances = new Compute\Resource\TargetInstances(
  20550. $this,
  20551. $this->serviceName,
  20552. 'targetInstances',
  20553. [
  20554. 'methods' => [
  20555. 'aggregatedList' => [
  20556. 'path' => 'projects/{project}/aggregated/targetInstances',
  20557. 'httpMethod' => 'GET',
  20558. 'parameters' => [
  20559. 'project' => [
  20560. 'location' => 'path',
  20561. 'type' => 'string',
  20562. 'required' => true,
  20563. ],
  20564. 'filter' => [
  20565. 'location' => 'query',
  20566. 'type' => 'string',
  20567. ],
  20568. 'includeAllScopes' => [
  20569. 'location' => 'query',
  20570. 'type' => 'boolean',
  20571. ],
  20572. 'maxResults' => [
  20573. 'location' => 'query',
  20574. 'type' => 'integer',
  20575. ],
  20576. 'orderBy' => [
  20577. 'location' => 'query',
  20578. 'type' => 'string',
  20579. ],
  20580. 'pageToken' => [
  20581. 'location' => 'query',
  20582. 'type' => 'string',
  20583. ],
  20584. 'returnPartialSuccess' => [
  20585. 'location' => 'query',
  20586. 'type' => 'boolean',
  20587. ],
  20588. 'serviceProjectNumber' => [
  20589. 'location' => 'query',
  20590. 'type' => 'string',
  20591. ],
  20592. ],
  20593. ],'delete' => [
  20594. 'path' => 'projects/{project}/zones/{zone}/targetInstances/{targetInstance}',
  20595. 'httpMethod' => 'DELETE',
  20596. 'parameters' => [
  20597. 'project' => [
  20598. 'location' => 'path',
  20599. 'type' => 'string',
  20600. 'required' => true,
  20601. ],
  20602. 'zone' => [
  20603. 'location' => 'path',
  20604. 'type' => 'string',
  20605. 'required' => true,
  20606. ],
  20607. 'targetInstance' => [
  20608. 'location' => 'path',
  20609. 'type' => 'string',
  20610. 'required' => true,
  20611. ],
  20612. 'requestId' => [
  20613. 'location' => 'query',
  20614. 'type' => 'string',
  20615. ],
  20616. ],
  20617. ],'get' => [
  20618. 'path' => 'projects/{project}/zones/{zone}/targetInstances/{targetInstance}',
  20619. 'httpMethod' => 'GET',
  20620. 'parameters' => [
  20621. 'project' => [
  20622. 'location' => 'path',
  20623. 'type' => 'string',
  20624. 'required' => true,
  20625. ],
  20626. 'zone' => [
  20627. 'location' => 'path',
  20628. 'type' => 'string',
  20629. 'required' => true,
  20630. ],
  20631. 'targetInstance' => [
  20632. 'location' => 'path',
  20633. 'type' => 'string',
  20634. 'required' => true,
  20635. ],
  20636. ],
  20637. ],'insert' => [
  20638. 'path' => 'projects/{project}/zones/{zone}/targetInstances',
  20639. 'httpMethod' => 'POST',
  20640. 'parameters' => [
  20641. 'project' => [
  20642. 'location' => 'path',
  20643. 'type' => 'string',
  20644. 'required' => true,
  20645. ],
  20646. 'zone' => [
  20647. 'location' => 'path',
  20648. 'type' => 'string',
  20649. 'required' => true,
  20650. ],
  20651. 'requestId' => [
  20652. 'location' => 'query',
  20653. 'type' => 'string',
  20654. ],
  20655. ],
  20656. ],'list' => [
  20657. 'path' => 'projects/{project}/zones/{zone}/targetInstances',
  20658. 'httpMethod' => 'GET',
  20659. 'parameters' => [
  20660. 'project' => [
  20661. 'location' => 'path',
  20662. 'type' => 'string',
  20663. 'required' => true,
  20664. ],
  20665. 'zone' => [
  20666. 'location' => 'path',
  20667. 'type' => 'string',
  20668. 'required' => true,
  20669. ],
  20670. 'filter' => [
  20671. 'location' => 'query',
  20672. 'type' => 'string',
  20673. ],
  20674. 'maxResults' => [
  20675. 'location' => 'query',
  20676. 'type' => 'integer',
  20677. ],
  20678. 'orderBy' => [
  20679. 'location' => 'query',
  20680. 'type' => 'string',
  20681. ],
  20682. 'pageToken' => [
  20683. 'location' => 'query',
  20684. 'type' => 'string',
  20685. ],
  20686. 'returnPartialSuccess' => [
  20687. 'location' => 'query',
  20688. 'type' => 'boolean',
  20689. ],
  20690. ],
  20691. ],'setSecurityPolicy' => [
  20692. 'path' => 'projects/{project}/zones/{zone}/targetInstances/{targetInstance}/setSecurityPolicy',
  20693. 'httpMethod' => 'POST',
  20694. 'parameters' => [
  20695. 'project' => [
  20696. 'location' => 'path',
  20697. 'type' => 'string',
  20698. 'required' => true,
  20699. ],
  20700. 'zone' => [
  20701. 'location' => 'path',
  20702. 'type' => 'string',
  20703. 'required' => true,
  20704. ],
  20705. 'targetInstance' => [
  20706. 'location' => 'path',
  20707. 'type' => 'string',
  20708. 'required' => true,
  20709. ],
  20710. 'requestId' => [
  20711. 'location' => 'query',
  20712. 'type' => 'string',
  20713. ],
  20714. ],
  20715. ],'testIamPermissions' => [
  20716. 'path' => 'projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions',
  20717. 'httpMethod' => 'POST',
  20718. 'parameters' => [
  20719. 'project' => [
  20720. 'location' => 'path',
  20721. 'type' => 'string',
  20722. 'required' => true,
  20723. ],
  20724. 'zone' => [
  20725. 'location' => 'path',
  20726. 'type' => 'string',
  20727. 'required' => true,
  20728. ],
  20729. 'resource' => [
  20730. 'location' => 'path',
  20731. 'type' => 'string',
  20732. 'required' => true,
  20733. ],
  20734. ],
  20735. ],
  20736. ]
  20737. ]
  20738. );
  20739. $this->targetPools = new Compute\Resource\TargetPools(
  20740. $this,
  20741. $this->serviceName,
  20742. 'targetPools',
  20743. [
  20744. 'methods' => [
  20745. 'addHealthCheck' => [
  20746. 'path' => 'projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck',
  20747. 'httpMethod' => 'POST',
  20748. 'parameters' => [
  20749. 'project' => [
  20750. 'location' => 'path',
  20751. 'type' => 'string',
  20752. 'required' => true,
  20753. ],
  20754. 'region' => [
  20755. 'location' => 'path',
  20756. 'type' => 'string',
  20757. 'required' => true,
  20758. ],
  20759. 'targetPool' => [
  20760. 'location' => 'path',
  20761. 'type' => 'string',
  20762. 'required' => true,
  20763. ],
  20764. 'requestId' => [
  20765. 'location' => 'query',
  20766. 'type' => 'string',
  20767. ],
  20768. ],
  20769. ],'addInstance' => [
  20770. 'path' => 'projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance',
  20771. 'httpMethod' => 'POST',
  20772. 'parameters' => [
  20773. 'project' => [
  20774. 'location' => 'path',
  20775. 'type' => 'string',
  20776. 'required' => true,
  20777. ],
  20778. 'region' => [
  20779. 'location' => 'path',
  20780. 'type' => 'string',
  20781. 'required' => true,
  20782. ],
  20783. 'targetPool' => [
  20784. 'location' => 'path',
  20785. 'type' => 'string',
  20786. 'required' => true,
  20787. ],
  20788. 'requestId' => [
  20789. 'location' => 'query',
  20790. 'type' => 'string',
  20791. ],
  20792. ],
  20793. ],'aggregatedList' => [
  20794. 'path' => 'projects/{project}/aggregated/targetPools',
  20795. 'httpMethod' => 'GET',
  20796. 'parameters' => [
  20797. 'project' => [
  20798. 'location' => 'path',
  20799. 'type' => 'string',
  20800. 'required' => true,
  20801. ],
  20802. 'filter' => [
  20803. 'location' => 'query',
  20804. 'type' => 'string',
  20805. ],
  20806. 'includeAllScopes' => [
  20807. 'location' => 'query',
  20808. 'type' => 'boolean',
  20809. ],
  20810. 'maxResults' => [
  20811. 'location' => 'query',
  20812. 'type' => 'integer',
  20813. ],
  20814. 'orderBy' => [
  20815. 'location' => 'query',
  20816. 'type' => 'string',
  20817. ],
  20818. 'pageToken' => [
  20819. 'location' => 'query',
  20820. 'type' => 'string',
  20821. ],
  20822. 'returnPartialSuccess' => [
  20823. 'location' => 'query',
  20824. 'type' => 'boolean',
  20825. ],
  20826. 'serviceProjectNumber' => [
  20827. 'location' => 'query',
  20828. 'type' => 'string',
  20829. ],
  20830. ],
  20831. ],'delete' => [
  20832. 'path' => 'projects/{project}/regions/{region}/targetPools/{targetPool}',
  20833. 'httpMethod' => 'DELETE',
  20834. 'parameters' => [
  20835. 'project' => [
  20836. 'location' => 'path',
  20837. 'type' => 'string',
  20838. 'required' => true,
  20839. ],
  20840. 'region' => [
  20841. 'location' => 'path',
  20842. 'type' => 'string',
  20843. 'required' => true,
  20844. ],
  20845. 'targetPool' => [
  20846. 'location' => 'path',
  20847. 'type' => 'string',
  20848. 'required' => true,
  20849. ],
  20850. 'requestId' => [
  20851. 'location' => 'query',
  20852. 'type' => 'string',
  20853. ],
  20854. ],
  20855. ],'get' => [
  20856. 'path' => 'projects/{project}/regions/{region}/targetPools/{targetPool}',
  20857. 'httpMethod' => 'GET',
  20858. 'parameters' => [
  20859. 'project' => [
  20860. 'location' => 'path',
  20861. 'type' => 'string',
  20862. 'required' => true,
  20863. ],
  20864. 'region' => [
  20865. 'location' => 'path',
  20866. 'type' => 'string',
  20867. 'required' => true,
  20868. ],
  20869. 'targetPool' => [
  20870. 'location' => 'path',
  20871. 'type' => 'string',
  20872. 'required' => true,
  20873. ],
  20874. ],
  20875. ],'getHealth' => [
  20876. 'path' => 'projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth',
  20877. 'httpMethod' => 'POST',
  20878. 'parameters' => [
  20879. 'project' => [
  20880. 'location' => 'path',
  20881. 'type' => 'string',
  20882. 'required' => true,
  20883. ],
  20884. 'region' => [
  20885. 'location' => 'path',
  20886. 'type' => 'string',
  20887. 'required' => true,
  20888. ],
  20889. 'targetPool' => [
  20890. 'location' => 'path',
  20891. 'type' => 'string',
  20892. 'required' => true,
  20893. ],
  20894. ],
  20895. ],'insert' => [
  20896. 'path' => 'projects/{project}/regions/{region}/targetPools',
  20897. 'httpMethod' => 'POST',
  20898. 'parameters' => [
  20899. 'project' => [
  20900. 'location' => 'path',
  20901. 'type' => 'string',
  20902. 'required' => true,
  20903. ],
  20904. 'region' => [
  20905. 'location' => 'path',
  20906. 'type' => 'string',
  20907. 'required' => true,
  20908. ],
  20909. 'requestId' => [
  20910. 'location' => 'query',
  20911. 'type' => 'string',
  20912. ],
  20913. ],
  20914. ],'list' => [
  20915. 'path' => 'projects/{project}/regions/{region}/targetPools',
  20916. 'httpMethod' => 'GET',
  20917. 'parameters' => [
  20918. 'project' => [
  20919. 'location' => 'path',
  20920. 'type' => 'string',
  20921. 'required' => true,
  20922. ],
  20923. 'region' => [
  20924. 'location' => 'path',
  20925. 'type' => 'string',
  20926. 'required' => true,
  20927. ],
  20928. 'filter' => [
  20929. 'location' => 'query',
  20930. 'type' => 'string',
  20931. ],
  20932. 'maxResults' => [
  20933. 'location' => 'query',
  20934. 'type' => 'integer',
  20935. ],
  20936. 'orderBy' => [
  20937. 'location' => 'query',
  20938. 'type' => 'string',
  20939. ],
  20940. 'pageToken' => [
  20941. 'location' => 'query',
  20942. 'type' => 'string',
  20943. ],
  20944. 'returnPartialSuccess' => [
  20945. 'location' => 'query',
  20946. 'type' => 'boolean',
  20947. ],
  20948. ],
  20949. ],'removeHealthCheck' => [
  20950. 'path' => 'projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck',
  20951. 'httpMethod' => 'POST',
  20952. 'parameters' => [
  20953. 'project' => [
  20954. 'location' => 'path',
  20955. 'type' => 'string',
  20956. 'required' => true,
  20957. ],
  20958. 'region' => [
  20959. 'location' => 'path',
  20960. 'type' => 'string',
  20961. 'required' => true,
  20962. ],
  20963. 'targetPool' => [
  20964. 'location' => 'path',
  20965. 'type' => 'string',
  20966. 'required' => true,
  20967. ],
  20968. 'requestId' => [
  20969. 'location' => 'query',
  20970. 'type' => 'string',
  20971. ],
  20972. ],
  20973. ],'removeInstance' => [
  20974. 'path' => 'projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance',
  20975. 'httpMethod' => 'POST',
  20976. 'parameters' => [
  20977. 'project' => [
  20978. 'location' => 'path',
  20979. 'type' => 'string',
  20980. 'required' => true,
  20981. ],
  20982. 'region' => [
  20983. 'location' => 'path',
  20984. 'type' => 'string',
  20985. 'required' => true,
  20986. ],
  20987. 'targetPool' => [
  20988. 'location' => 'path',
  20989. 'type' => 'string',
  20990. 'required' => true,
  20991. ],
  20992. 'requestId' => [
  20993. 'location' => 'query',
  20994. 'type' => 'string',
  20995. ],
  20996. ],
  20997. ],'setBackup' => [
  20998. 'path' => 'projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup',
  20999. 'httpMethod' => 'POST',
  21000. 'parameters' => [
  21001. 'project' => [
  21002. 'location' => 'path',
  21003. 'type' => 'string',
  21004. 'required' => true,
  21005. ],
  21006. 'region' => [
  21007. 'location' => 'path',
  21008. 'type' => 'string',
  21009. 'required' => true,
  21010. ],
  21011. 'targetPool' => [
  21012. 'location' => 'path',
  21013. 'type' => 'string',
  21014. 'required' => true,
  21015. ],
  21016. 'failoverRatio' => [
  21017. 'location' => 'query',
  21018. 'type' => 'number',
  21019. ],
  21020. 'requestId' => [
  21021. 'location' => 'query',
  21022. 'type' => 'string',
  21023. ],
  21024. ],
  21025. ],'setSecurityPolicy' => [
  21026. 'path' => 'projects/{project}/regions/{region}/targetPools/{targetPool}/setSecurityPolicy',
  21027. 'httpMethod' => 'POST',
  21028. 'parameters' => [
  21029. 'project' => [
  21030. 'location' => 'path',
  21031. 'type' => 'string',
  21032. 'required' => true,
  21033. ],
  21034. 'region' => [
  21035. 'location' => 'path',
  21036. 'type' => 'string',
  21037. 'required' => true,
  21038. ],
  21039. 'targetPool' => [
  21040. 'location' => 'path',
  21041. 'type' => 'string',
  21042. 'required' => true,
  21043. ],
  21044. 'requestId' => [
  21045. 'location' => 'query',
  21046. 'type' => 'string',
  21047. ],
  21048. ],
  21049. ],'testIamPermissions' => [
  21050. 'path' => 'projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions',
  21051. 'httpMethod' => 'POST',
  21052. 'parameters' => [
  21053. 'project' => [
  21054. 'location' => 'path',
  21055. 'type' => 'string',
  21056. 'required' => true,
  21057. ],
  21058. 'region' => [
  21059. 'location' => 'path',
  21060. 'type' => 'string',
  21061. 'required' => true,
  21062. ],
  21063. 'resource' => [
  21064. 'location' => 'path',
  21065. 'type' => 'string',
  21066. 'required' => true,
  21067. ],
  21068. ],
  21069. ],
  21070. ]
  21071. ]
  21072. );
  21073. $this->targetSslProxies = new Compute\Resource\TargetSslProxies(
  21074. $this,
  21075. $this->serviceName,
  21076. 'targetSslProxies',
  21077. [
  21078. 'methods' => [
  21079. 'delete' => [
  21080. 'path' => 'projects/{project}/global/targetSslProxies/{targetSslProxy}',
  21081. 'httpMethod' => 'DELETE',
  21082. 'parameters' => [
  21083. 'project' => [
  21084. 'location' => 'path',
  21085. 'type' => 'string',
  21086. 'required' => true,
  21087. ],
  21088. 'targetSslProxy' => [
  21089. 'location' => 'path',
  21090. 'type' => 'string',
  21091. 'required' => true,
  21092. ],
  21093. 'requestId' => [
  21094. 'location' => 'query',
  21095. 'type' => 'string',
  21096. ],
  21097. ],
  21098. ],'get' => [
  21099. 'path' => 'projects/{project}/global/targetSslProxies/{targetSslProxy}',
  21100. 'httpMethod' => 'GET',
  21101. 'parameters' => [
  21102. 'project' => [
  21103. 'location' => 'path',
  21104. 'type' => 'string',
  21105. 'required' => true,
  21106. ],
  21107. 'targetSslProxy' => [
  21108. 'location' => 'path',
  21109. 'type' => 'string',
  21110. 'required' => true,
  21111. ],
  21112. ],
  21113. ],'insert' => [
  21114. 'path' => 'projects/{project}/global/targetSslProxies',
  21115. 'httpMethod' => 'POST',
  21116. 'parameters' => [
  21117. 'project' => [
  21118. 'location' => 'path',
  21119. 'type' => 'string',
  21120. 'required' => true,
  21121. ],
  21122. 'requestId' => [
  21123. 'location' => 'query',
  21124. 'type' => 'string',
  21125. ],
  21126. ],
  21127. ],'list' => [
  21128. 'path' => 'projects/{project}/global/targetSslProxies',
  21129. 'httpMethod' => 'GET',
  21130. 'parameters' => [
  21131. 'project' => [
  21132. 'location' => 'path',
  21133. 'type' => 'string',
  21134. 'required' => true,
  21135. ],
  21136. 'filter' => [
  21137. 'location' => 'query',
  21138. 'type' => 'string',
  21139. ],
  21140. 'maxResults' => [
  21141. 'location' => 'query',
  21142. 'type' => 'integer',
  21143. ],
  21144. 'orderBy' => [
  21145. 'location' => 'query',
  21146. 'type' => 'string',
  21147. ],
  21148. 'pageToken' => [
  21149. 'location' => 'query',
  21150. 'type' => 'string',
  21151. ],
  21152. 'returnPartialSuccess' => [
  21153. 'location' => 'query',
  21154. 'type' => 'boolean',
  21155. ],
  21156. ],
  21157. ],'setBackendService' => [
  21158. 'path' => 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService',
  21159. 'httpMethod' => 'POST',
  21160. 'parameters' => [
  21161. 'project' => [
  21162. 'location' => 'path',
  21163. 'type' => 'string',
  21164. 'required' => true,
  21165. ],
  21166. 'targetSslProxy' => [
  21167. 'location' => 'path',
  21168. 'type' => 'string',
  21169. 'required' => true,
  21170. ],
  21171. 'requestId' => [
  21172. 'location' => 'query',
  21173. 'type' => 'string',
  21174. ],
  21175. ],
  21176. ],'setCertificateMap' => [
  21177. 'path' => 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap',
  21178. 'httpMethod' => 'POST',
  21179. 'parameters' => [
  21180. 'project' => [
  21181. 'location' => 'path',
  21182. 'type' => 'string',
  21183. 'required' => true,
  21184. ],
  21185. 'targetSslProxy' => [
  21186. 'location' => 'path',
  21187. 'type' => 'string',
  21188. 'required' => true,
  21189. ],
  21190. 'requestId' => [
  21191. 'location' => 'query',
  21192. 'type' => 'string',
  21193. ],
  21194. ],
  21195. ],'setProxyHeader' => [
  21196. 'path' => 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader',
  21197. 'httpMethod' => 'POST',
  21198. 'parameters' => [
  21199. 'project' => [
  21200. 'location' => 'path',
  21201. 'type' => 'string',
  21202. 'required' => true,
  21203. ],
  21204. 'targetSslProxy' => [
  21205. 'location' => 'path',
  21206. 'type' => 'string',
  21207. 'required' => true,
  21208. ],
  21209. 'requestId' => [
  21210. 'location' => 'query',
  21211. 'type' => 'string',
  21212. ],
  21213. ],
  21214. ],'setSslCertificates' => [
  21215. 'path' => 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates',
  21216. 'httpMethod' => 'POST',
  21217. 'parameters' => [
  21218. 'project' => [
  21219. 'location' => 'path',
  21220. 'type' => 'string',
  21221. 'required' => true,
  21222. ],
  21223. 'targetSslProxy' => [
  21224. 'location' => 'path',
  21225. 'type' => 'string',
  21226. 'required' => true,
  21227. ],
  21228. 'requestId' => [
  21229. 'location' => 'query',
  21230. 'type' => 'string',
  21231. ],
  21232. ],
  21233. ],'setSslPolicy' => [
  21234. 'path' => 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy',
  21235. 'httpMethod' => 'POST',
  21236. 'parameters' => [
  21237. 'project' => [
  21238. 'location' => 'path',
  21239. 'type' => 'string',
  21240. 'required' => true,
  21241. ],
  21242. 'targetSslProxy' => [
  21243. 'location' => 'path',
  21244. 'type' => 'string',
  21245. 'required' => true,
  21246. ],
  21247. 'requestId' => [
  21248. 'location' => 'query',
  21249. 'type' => 'string',
  21250. ],
  21251. ],
  21252. ],'testIamPermissions' => [
  21253. 'path' => 'projects/{project}/global/targetSslProxies/{resource}/testIamPermissions',
  21254. 'httpMethod' => 'POST',
  21255. 'parameters' => [
  21256. 'project' => [
  21257. 'location' => 'path',
  21258. 'type' => 'string',
  21259. 'required' => true,
  21260. ],
  21261. 'resource' => [
  21262. 'location' => 'path',
  21263. 'type' => 'string',
  21264. 'required' => true,
  21265. ],
  21266. ],
  21267. ],
  21268. ]
  21269. ]
  21270. );
  21271. $this->targetTcpProxies = new Compute\Resource\TargetTcpProxies(
  21272. $this,
  21273. $this->serviceName,
  21274. 'targetTcpProxies',
  21275. [
  21276. 'methods' => [
  21277. 'aggregatedList' => [
  21278. 'path' => 'projects/{project}/aggregated/targetTcpProxies',
  21279. 'httpMethod' => 'GET',
  21280. 'parameters' => [
  21281. 'project' => [
  21282. 'location' => 'path',
  21283. 'type' => 'string',
  21284. 'required' => true,
  21285. ],
  21286. 'filter' => [
  21287. 'location' => 'query',
  21288. 'type' => 'string',
  21289. ],
  21290. 'includeAllScopes' => [
  21291. 'location' => 'query',
  21292. 'type' => 'boolean',
  21293. ],
  21294. 'maxResults' => [
  21295. 'location' => 'query',
  21296. 'type' => 'integer',
  21297. ],
  21298. 'orderBy' => [
  21299. 'location' => 'query',
  21300. 'type' => 'string',
  21301. ],
  21302. 'pageToken' => [
  21303. 'location' => 'query',
  21304. 'type' => 'string',
  21305. ],
  21306. 'returnPartialSuccess' => [
  21307. 'location' => 'query',
  21308. 'type' => 'boolean',
  21309. ],
  21310. 'serviceProjectNumber' => [
  21311. 'location' => 'query',
  21312. 'type' => 'string',
  21313. ],
  21314. ],
  21315. ],'delete' => [
  21316. 'path' => 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}',
  21317. 'httpMethod' => 'DELETE',
  21318. 'parameters' => [
  21319. 'project' => [
  21320. 'location' => 'path',
  21321. 'type' => 'string',
  21322. 'required' => true,
  21323. ],
  21324. 'targetTcpProxy' => [
  21325. 'location' => 'path',
  21326. 'type' => 'string',
  21327. 'required' => true,
  21328. ],
  21329. 'requestId' => [
  21330. 'location' => 'query',
  21331. 'type' => 'string',
  21332. ],
  21333. ],
  21334. ],'get' => [
  21335. 'path' => 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}',
  21336. 'httpMethod' => 'GET',
  21337. 'parameters' => [
  21338. 'project' => [
  21339. 'location' => 'path',
  21340. 'type' => 'string',
  21341. 'required' => true,
  21342. ],
  21343. 'targetTcpProxy' => [
  21344. 'location' => 'path',
  21345. 'type' => 'string',
  21346. 'required' => true,
  21347. ],
  21348. ],
  21349. ],'insert' => [
  21350. 'path' => 'projects/{project}/global/targetTcpProxies',
  21351. 'httpMethod' => 'POST',
  21352. 'parameters' => [
  21353. 'project' => [
  21354. 'location' => 'path',
  21355. 'type' => 'string',
  21356. 'required' => true,
  21357. ],
  21358. 'requestId' => [
  21359. 'location' => 'query',
  21360. 'type' => 'string',
  21361. ],
  21362. ],
  21363. ],'list' => [
  21364. 'path' => 'projects/{project}/global/targetTcpProxies',
  21365. 'httpMethod' => 'GET',
  21366. 'parameters' => [
  21367. 'project' => [
  21368. 'location' => 'path',
  21369. 'type' => 'string',
  21370. 'required' => true,
  21371. ],
  21372. 'filter' => [
  21373. 'location' => 'query',
  21374. 'type' => 'string',
  21375. ],
  21376. 'maxResults' => [
  21377. 'location' => 'query',
  21378. 'type' => 'integer',
  21379. ],
  21380. 'orderBy' => [
  21381. 'location' => 'query',
  21382. 'type' => 'string',
  21383. ],
  21384. 'pageToken' => [
  21385. 'location' => 'query',
  21386. 'type' => 'string',
  21387. ],
  21388. 'returnPartialSuccess' => [
  21389. 'location' => 'query',
  21390. 'type' => 'boolean',
  21391. ],
  21392. ],
  21393. ],'setBackendService' => [
  21394. 'path' => 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService',
  21395. 'httpMethod' => 'POST',
  21396. 'parameters' => [
  21397. 'project' => [
  21398. 'location' => 'path',
  21399. 'type' => 'string',
  21400. 'required' => true,
  21401. ],
  21402. 'targetTcpProxy' => [
  21403. 'location' => 'path',
  21404. 'type' => 'string',
  21405. 'required' => true,
  21406. ],
  21407. 'requestId' => [
  21408. 'location' => 'query',
  21409. 'type' => 'string',
  21410. ],
  21411. ],
  21412. ],'setProxyHeader' => [
  21413. 'path' => 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader',
  21414. 'httpMethod' => 'POST',
  21415. 'parameters' => [
  21416. 'project' => [
  21417. 'location' => 'path',
  21418. 'type' => 'string',
  21419. 'required' => true,
  21420. ],
  21421. 'targetTcpProxy' => [
  21422. 'location' => 'path',
  21423. 'type' => 'string',
  21424. 'required' => true,
  21425. ],
  21426. 'requestId' => [
  21427. 'location' => 'query',
  21428. 'type' => 'string',
  21429. ],
  21430. ],
  21431. ],'testIamPermissions' => [
  21432. 'path' => 'projects/{project}/global/targetTcpProxies/{resource}/testIamPermissions',
  21433. 'httpMethod' => 'POST',
  21434. 'parameters' => [
  21435. 'project' => [
  21436. 'location' => 'path',
  21437. 'type' => 'string',
  21438. 'required' => true,
  21439. ],
  21440. 'resource' => [
  21441. 'location' => 'path',
  21442. 'type' => 'string',
  21443. 'required' => true,
  21444. ],
  21445. ],
  21446. ],
  21447. ]
  21448. ]
  21449. );
  21450. $this->targetVpnGateways = new Compute\Resource\TargetVpnGateways(
  21451. $this,
  21452. $this->serviceName,
  21453. 'targetVpnGateways',
  21454. [
  21455. 'methods' => [
  21456. 'aggregatedList' => [
  21457. 'path' => 'projects/{project}/aggregated/targetVpnGateways',
  21458. 'httpMethod' => 'GET',
  21459. 'parameters' => [
  21460. 'project' => [
  21461. 'location' => 'path',
  21462. 'type' => 'string',
  21463. 'required' => true,
  21464. ],
  21465. 'filter' => [
  21466. 'location' => 'query',
  21467. 'type' => 'string',
  21468. ],
  21469. 'includeAllScopes' => [
  21470. 'location' => 'query',
  21471. 'type' => 'boolean',
  21472. ],
  21473. 'maxResults' => [
  21474. 'location' => 'query',
  21475. 'type' => 'integer',
  21476. ],
  21477. 'orderBy' => [
  21478. 'location' => 'query',
  21479. 'type' => 'string',
  21480. ],
  21481. 'pageToken' => [
  21482. 'location' => 'query',
  21483. 'type' => 'string',
  21484. ],
  21485. 'returnPartialSuccess' => [
  21486. 'location' => 'query',
  21487. 'type' => 'boolean',
  21488. ],
  21489. 'serviceProjectNumber' => [
  21490. 'location' => 'query',
  21491. 'type' => 'string',
  21492. ],
  21493. ],
  21494. ],'delete' => [
  21495. 'path' => 'projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}',
  21496. 'httpMethod' => 'DELETE',
  21497. 'parameters' => [
  21498. 'project' => [
  21499. 'location' => 'path',
  21500. 'type' => 'string',
  21501. 'required' => true,
  21502. ],
  21503. 'region' => [
  21504. 'location' => 'path',
  21505. 'type' => 'string',
  21506. 'required' => true,
  21507. ],
  21508. 'targetVpnGateway' => [
  21509. 'location' => 'path',
  21510. 'type' => 'string',
  21511. 'required' => true,
  21512. ],
  21513. 'requestId' => [
  21514. 'location' => 'query',
  21515. 'type' => 'string',
  21516. ],
  21517. ],
  21518. ],'get' => [
  21519. 'path' => 'projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}',
  21520. 'httpMethod' => 'GET',
  21521. 'parameters' => [
  21522. 'project' => [
  21523. 'location' => 'path',
  21524. 'type' => 'string',
  21525. 'required' => true,
  21526. ],
  21527. 'region' => [
  21528. 'location' => 'path',
  21529. 'type' => 'string',
  21530. 'required' => true,
  21531. ],
  21532. 'targetVpnGateway' => [
  21533. 'location' => 'path',
  21534. 'type' => 'string',
  21535. 'required' => true,
  21536. ],
  21537. ],
  21538. ],'insert' => [
  21539. 'path' => 'projects/{project}/regions/{region}/targetVpnGateways',
  21540. 'httpMethod' => 'POST',
  21541. 'parameters' => [
  21542. 'project' => [
  21543. 'location' => 'path',
  21544. 'type' => 'string',
  21545. 'required' => true,
  21546. ],
  21547. 'region' => [
  21548. 'location' => 'path',
  21549. 'type' => 'string',
  21550. 'required' => true,
  21551. ],
  21552. 'requestId' => [
  21553. 'location' => 'query',
  21554. 'type' => 'string',
  21555. ],
  21556. ],
  21557. ],'list' => [
  21558. 'path' => 'projects/{project}/regions/{region}/targetVpnGateways',
  21559. 'httpMethod' => 'GET',
  21560. 'parameters' => [
  21561. 'project' => [
  21562. 'location' => 'path',
  21563. 'type' => 'string',
  21564. 'required' => true,
  21565. ],
  21566. 'region' => [
  21567. 'location' => 'path',
  21568. 'type' => 'string',
  21569. 'required' => true,
  21570. ],
  21571. 'filter' => [
  21572. 'location' => 'query',
  21573. 'type' => 'string',
  21574. ],
  21575. 'maxResults' => [
  21576. 'location' => 'query',
  21577. 'type' => 'integer',
  21578. ],
  21579. 'orderBy' => [
  21580. 'location' => 'query',
  21581. 'type' => 'string',
  21582. ],
  21583. 'pageToken' => [
  21584. 'location' => 'query',
  21585. 'type' => 'string',
  21586. ],
  21587. 'returnPartialSuccess' => [
  21588. 'location' => 'query',
  21589. 'type' => 'boolean',
  21590. ],
  21591. ],
  21592. ],'setLabels' => [
  21593. 'path' => 'projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels',
  21594. 'httpMethod' => 'POST',
  21595. 'parameters' => [
  21596. 'project' => [
  21597. 'location' => 'path',
  21598. 'type' => 'string',
  21599. 'required' => true,
  21600. ],
  21601. 'region' => [
  21602. 'location' => 'path',
  21603. 'type' => 'string',
  21604. 'required' => true,
  21605. ],
  21606. 'resource' => [
  21607. 'location' => 'path',
  21608. 'type' => 'string',
  21609. 'required' => true,
  21610. ],
  21611. 'requestId' => [
  21612. 'location' => 'query',
  21613. 'type' => 'string',
  21614. ],
  21615. ],
  21616. ],
  21617. ]
  21618. ]
  21619. );
  21620. $this->urlMaps = new Compute\Resource\UrlMaps(
  21621. $this,
  21622. $this->serviceName,
  21623. 'urlMaps',
  21624. [
  21625. 'methods' => [
  21626. 'aggregatedList' => [
  21627. 'path' => 'projects/{project}/aggregated/urlMaps',
  21628. 'httpMethod' => 'GET',
  21629. 'parameters' => [
  21630. 'project' => [
  21631. 'location' => 'path',
  21632. 'type' => 'string',
  21633. 'required' => true,
  21634. ],
  21635. 'filter' => [
  21636. 'location' => 'query',
  21637. 'type' => 'string',
  21638. ],
  21639. 'includeAllScopes' => [
  21640. 'location' => 'query',
  21641. 'type' => 'boolean',
  21642. ],
  21643. 'maxResults' => [
  21644. 'location' => 'query',
  21645. 'type' => 'integer',
  21646. ],
  21647. 'orderBy' => [
  21648. 'location' => 'query',
  21649. 'type' => 'string',
  21650. ],
  21651. 'pageToken' => [
  21652. 'location' => 'query',
  21653. 'type' => 'string',
  21654. ],
  21655. 'returnPartialSuccess' => [
  21656. 'location' => 'query',
  21657. 'type' => 'boolean',
  21658. ],
  21659. 'serviceProjectNumber' => [
  21660. 'location' => 'query',
  21661. 'type' => 'string',
  21662. ],
  21663. ],
  21664. ],'delete' => [
  21665. 'path' => 'projects/{project}/global/urlMaps/{urlMap}',
  21666. 'httpMethod' => 'DELETE',
  21667. 'parameters' => [
  21668. 'project' => [
  21669. 'location' => 'path',
  21670. 'type' => 'string',
  21671. 'required' => true,
  21672. ],
  21673. 'urlMap' => [
  21674. 'location' => 'path',
  21675. 'type' => 'string',
  21676. 'required' => true,
  21677. ],
  21678. 'requestId' => [
  21679. 'location' => 'query',
  21680. 'type' => 'string',
  21681. ],
  21682. ],
  21683. ],'get' => [
  21684. 'path' => 'projects/{project}/global/urlMaps/{urlMap}',
  21685. 'httpMethod' => 'GET',
  21686. 'parameters' => [
  21687. 'project' => [
  21688. 'location' => 'path',
  21689. 'type' => 'string',
  21690. 'required' => true,
  21691. ],
  21692. 'urlMap' => [
  21693. 'location' => 'path',
  21694. 'type' => 'string',
  21695. 'required' => true,
  21696. ],
  21697. ],
  21698. ],'insert' => [
  21699. 'path' => 'projects/{project}/global/urlMaps',
  21700. 'httpMethod' => 'POST',
  21701. 'parameters' => [
  21702. 'project' => [
  21703. 'location' => 'path',
  21704. 'type' => 'string',
  21705. 'required' => true,
  21706. ],
  21707. 'requestId' => [
  21708. 'location' => 'query',
  21709. 'type' => 'string',
  21710. ],
  21711. ],
  21712. ],'invalidateCache' => [
  21713. 'path' => 'projects/{project}/global/urlMaps/{urlMap}/invalidateCache',
  21714. 'httpMethod' => 'POST',
  21715. 'parameters' => [
  21716. 'project' => [
  21717. 'location' => 'path',
  21718. 'type' => 'string',
  21719. 'required' => true,
  21720. ],
  21721. 'urlMap' => [
  21722. 'location' => 'path',
  21723. 'type' => 'string',
  21724. 'required' => true,
  21725. ],
  21726. 'requestId' => [
  21727. 'location' => 'query',
  21728. 'type' => 'string',
  21729. ],
  21730. ],
  21731. ],'list' => [
  21732. 'path' => 'projects/{project}/global/urlMaps',
  21733. 'httpMethod' => 'GET',
  21734. 'parameters' => [
  21735. 'project' => [
  21736. 'location' => 'path',
  21737. 'type' => 'string',
  21738. 'required' => true,
  21739. ],
  21740. 'filter' => [
  21741. 'location' => 'query',
  21742. 'type' => 'string',
  21743. ],
  21744. 'maxResults' => [
  21745. 'location' => 'query',
  21746. 'type' => 'integer',
  21747. ],
  21748. 'orderBy' => [
  21749. 'location' => 'query',
  21750. 'type' => 'string',
  21751. ],
  21752. 'pageToken' => [
  21753. 'location' => 'query',
  21754. 'type' => 'string',
  21755. ],
  21756. 'returnPartialSuccess' => [
  21757. 'location' => 'query',
  21758. 'type' => 'boolean',
  21759. ],
  21760. ],
  21761. ],'patch' => [
  21762. 'path' => 'projects/{project}/global/urlMaps/{urlMap}',
  21763. 'httpMethod' => 'PATCH',
  21764. 'parameters' => [
  21765. 'project' => [
  21766. 'location' => 'path',
  21767. 'type' => 'string',
  21768. 'required' => true,
  21769. ],
  21770. 'urlMap' => [
  21771. 'location' => 'path',
  21772. 'type' => 'string',
  21773. 'required' => true,
  21774. ],
  21775. 'requestId' => [
  21776. 'location' => 'query',
  21777. 'type' => 'string',
  21778. ],
  21779. ],
  21780. ],'testIamPermissions' => [
  21781. 'path' => 'projects/{project}/global/urlMaps/{resource}/testIamPermissions',
  21782. 'httpMethod' => 'POST',
  21783. 'parameters' => [
  21784. 'project' => [
  21785. 'location' => 'path',
  21786. 'type' => 'string',
  21787. 'required' => true,
  21788. ],
  21789. 'resource' => [
  21790. 'location' => 'path',
  21791. 'type' => 'string',
  21792. 'required' => true,
  21793. ],
  21794. ],
  21795. ],'update' => [
  21796. 'path' => 'projects/{project}/global/urlMaps/{urlMap}',
  21797. 'httpMethod' => 'PUT',
  21798. 'parameters' => [
  21799. 'project' => [
  21800. 'location' => 'path',
  21801. 'type' => 'string',
  21802. 'required' => true,
  21803. ],
  21804. 'urlMap' => [
  21805. 'location' => 'path',
  21806. 'type' => 'string',
  21807. 'required' => true,
  21808. ],
  21809. 'requestId' => [
  21810. 'location' => 'query',
  21811. 'type' => 'string',
  21812. ],
  21813. ],
  21814. ],'validate' => [
  21815. 'path' => 'projects/{project}/global/urlMaps/{urlMap}/validate',
  21816. 'httpMethod' => 'POST',
  21817. 'parameters' => [
  21818. 'project' => [
  21819. 'location' => 'path',
  21820. 'type' => 'string',
  21821. 'required' => true,
  21822. ],
  21823. 'urlMap' => [
  21824. 'location' => 'path',
  21825. 'type' => 'string',
  21826. 'required' => true,
  21827. ],
  21828. ],
  21829. ],
  21830. ]
  21831. ]
  21832. );
  21833. $this->vpnGateways = new Compute\Resource\VpnGateways(
  21834. $this,
  21835. $this->serviceName,
  21836. 'vpnGateways',
  21837. [
  21838. 'methods' => [
  21839. 'aggregatedList' => [
  21840. 'path' => 'projects/{project}/aggregated/vpnGateways',
  21841. 'httpMethod' => 'GET',
  21842. 'parameters' => [
  21843. 'project' => [
  21844. 'location' => 'path',
  21845. 'type' => 'string',
  21846. 'required' => true,
  21847. ],
  21848. 'filter' => [
  21849. 'location' => 'query',
  21850. 'type' => 'string',
  21851. ],
  21852. 'includeAllScopes' => [
  21853. 'location' => 'query',
  21854. 'type' => 'boolean',
  21855. ],
  21856. 'maxResults' => [
  21857. 'location' => 'query',
  21858. 'type' => 'integer',
  21859. ],
  21860. 'orderBy' => [
  21861. 'location' => 'query',
  21862. 'type' => 'string',
  21863. ],
  21864. 'pageToken' => [
  21865. 'location' => 'query',
  21866. 'type' => 'string',
  21867. ],
  21868. 'returnPartialSuccess' => [
  21869. 'location' => 'query',
  21870. 'type' => 'boolean',
  21871. ],
  21872. 'serviceProjectNumber' => [
  21873. 'location' => 'query',
  21874. 'type' => 'string',
  21875. ],
  21876. ],
  21877. ],'delete' => [
  21878. 'path' => 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}',
  21879. 'httpMethod' => 'DELETE',
  21880. 'parameters' => [
  21881. 'project' => [
  21882. 'location' => 'path',
  21883. 'type' => 'string',
  21884. 'required' => true,
  21885. ],
  21886. 'region' => [
  21887. 'location' => 'path',
  21888. 'type' => 'string',
  21889. 'required' => true,
  21890. ],
  21891. 'vpnGateway' => [
  21892. 'location' => 'path',
  21893. 'type' => 'string',
  21894. 'required' => true,
  21895. ],
  21896. 'requestId' => [
  21897. 'location' => 'query',
  21898. 'type' => 'string',
  21899. ],
  21900. ],
  21901. ],'get' => [
  21902. 'path' => 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}',
  21903. 'httpMethod' => 'GET',
  21904. 'parameters' => [
  21905. 'project' => [
  21906. 'location' => 'path',
  21907. 'type' => 'string',
  21908. 'required' => true,
  21909. ],
  21910. 'region' => [
  21911. 'location' => 'path',
  21912. 'type' => 'string',
  21913. 'required' => true,
  21914. ],
  21915. 'vpnGateway' => [
  21916. 'location' => 'path',
  21917. 'type' => 'string',
  21918. 'required' => true,
  21919. ],
  21920. ],
  21921. ],'getStatus' => [
  21922. 'path' => 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus',
  21923. 'httpMethod' => 'GET',
  21924. 'parameters' => [
  21925. 'project' => [
  21926. 'location' => 'path',
  21927. 'type' => 'string',
  21928. 'required' => true,
  21929. ],
  21930. 'region' => [
  21931. 'location' => 'path',
  21932. 'type' => 'string',
  21933. 'required' => true,
  21934. ],
  21935. 'vpnGateway' => [
  21936. 'location' => 'path',
  21937. 'type' => 'string',
  21938. 'required' => true,
  21939. ],
  21940. ],
  21941. ],'insert' => [
  21942. 'path' => 'projects/{project}/regions/{region}/vpnGateways',
  21943. 'httpMethod' => 'POST',
  21944. 'parameters' => [
  21945. 'project' => [
  21946. 'location' => 'path',
  21947. 'type' => 'string',
  21948. 'required' => true,
  21949. ],
  21950. 'region' => [
  21951. 'location' => 'path',
  21952. 'type' => 'string',
  21953. 'required' => true,
  21954. ],
  21955. 'requestId' => [
  21956. 'location' => 'query',
  21957. 'type' => 'string',
  21958. ],
  21959. ],
  21960. ],'list' => [
  21961. 'path' => 'projects/{project}/regions/{region}/vpnGateways',
  21962. 'httpMethod' => 'GET',
  21963. 'parameters' => [
  21964. 'project' => [
  21965. 'location' => 'path',
  21966. 'type' => 'string',
  21967. 'required' => true,
  21968. ],
  21969. 'region' => [
  21970. 'location' => 'path',
  21971. 'type' => 'string',
  21972. 'required' => true,
  21973. ],
  21974. 'filter' => [
  21975. 'location' => 'query',
  21976. 'type' => 'string',
  21977. ],
  21978. 'maxResults' => [
  21979. 'location' => 'query',
  21980. 'type' => 'integer',
  21981. ],
  21982. 'orderBy' => [
  21983. 'location' => 'query',
  21984. 'type' => 'string',
  21985. ],
  21986. 'pageToken' => [
  21987. 'location' => 'query',
  21988. 'type' => 'string',
  21989. ],
  21990. 'returnPartialSuccess' => [
  21991. 'location' => 'query',
  21992. 'type' => 'boolean',
  21993. ],
  21994. ],
  21995. ],'setLabels' => [
  21996. 'path' => 'projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels',
  21997. 'httpMethod' => 'POST',
  21998. 'parameters' => [
  21999. 'project' => [
  22000. 'location' => 'path',
  22001. 'type' => 'string',
  22002. 'required' => true,
  22003. ],
  22004. 'region' => [
  22005. 'location' => 'path',
  22006. 'type' => 'string',
  22007. 'required' => true,
  22008. ],
  22009. 'resource' => [
  22010. 'location' => 'path',
  22011. 'type' => 'string',
  22012. 'required' => true,
  22013. ],
  22014. 'requestId' => [
  22015. 'location' => 'query',
  22016. 'type' => 'string',
  22017. ],
  22018. ],
  22019. ],'testIamPermissions' => [
  22020. 'path' => 'projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions',
  22021. 'httpMethod' => 'POST',
  22022. 'parameters' => [
  22023. 'project' => [
  22024. 'location' => 'path',
  22025. 'type' => 'string',
  22026. 'required' => true,
  22027. ],
  22028. 'region' => [
  22029. 'location' => 'path',
  22030. 'type' => 'string',
  22031. 'required' => true,
  22032. ],
  22033. 'resource' => [
  22034. 'location' => 'path',
  22035. 'type' => 'string',
  22036. 'required' => true,
  22037. ],
  22038. ],
  22039. ],
  22040. ]
  22041. ]
  22042. );
  22043. $this->vpnTunnels = new Compute\Resource\VpnTunnels(
  22044. $this,
  22045. $this->serviceName,
  22046. 'vpnTunnels',
  22047. [
  22048. 'methods' => [
  22049. 'aggregatedList' => [
  22050. 'path' => 'projects/{project}/aggregated/vpnTunnels',
  22051. 'httpMethod' => 'GET',
  22052. 'parameters' => [
  22053. 'project' => [
  22054. 'location' => 'path',
  22055. 'type' => 'string',
  22056. 'required' => true,
  22057. ],
  22058. 'filter' => [
  22059. 'location' => 'query',
  22060. 'type' => 'string',
  22061. ],
  22062. 'includeAllScopes' => [
  22063. 'location' => 'query',
  22064. 'type' => 'boolean',
  22065. ],
  22066. 'maxResults' => [
  22067. 'location' => 'query',
  22068. 'type' => 'integer',
  22069. ],
  22070. 'orderBy' => [
  22071. 'location' => 'query',
  22072. 'type' => 'string',
  22073. ],
  22074. 'pageToken' => [
  22075. 'location' => 'query',
  22076. 'type' => 'string',
  22077. ],
  22078. 'returnPartialSuccess' => [
  22079. 'location' => 'query',
  22080. 'type' => 'boolean',
  22081. ],
  22082. 'serviceProjectNumber' => [
  22083. 'location' => 'query',
  22084. 'type' => 'string',
  22085. ],
  22086. ],
  22087. ],'delete' => [
  22088. 'path' => 'projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}',
  22089. 'httpMethod' => 'DELETE',
  22090. 'parameters' => [
  22091. 'project' => [
  22092. 'location' => 'path',
  22093. 'type' => 'string',
  22094. 'required' => true,
  22095. ],
  22096. 'region' => [
  22097. 'location' => 'path',
  22098. 'type' => 'string',
  22099. 'required' => true,
  22100. ],
  22101. 'vpnTunnel' => [
  22102. 'location' => 'path',
  22103. 'type' => 'string',
  22104. 'required' => true,
  22105. ],
  22106. 'requestId' => [
  22107. 'location' => 'query',
  22108. 'type' => 'string',
  22109. ],
  22110. ],
  22111. ],'get' => [
  22112. 'path' => 'projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}',
  22113. 'httpMethod' => 'GET',
  22114. 'parameters' => [
  22115. 'project' => [
  22116. 'location' => 'path',
  22117. 'type' => 'string',
  22118. 'required' => true,
  22119. ],
  22120. 'region' => [
  22121. 'location' => 'path',
  22122. 'type' => 'string',
  22123. 'required' => true,
  22124. ],
  22125. 'vpnTunnel' => [
  22126. 'location' => 'path',
  22127. 'type' => 'string',
  22128. 'required' => true,
  22129. ],
  22130. ],
  22131. ],'insert' => [
  22132. 'path' => 'projects/{project}/regions/{region}/vpnTunnels',
  22133. 'httpMethod' => 'POST',
  22134. 'parameters' => [
  22135. 'project' => [
  22136. 'location' => 'path',
  22137. 'type' => 'string',
  22138. 'required' => true,
  22139. ],
  22140. 'region' => [
  22141. 'location' => 'path',
  22142. 'type' => 'string',
  22143. 'required' => true,
  22144. ],
  22145. 'requestId' => [
  22146. 'location' => 'query',
  22147. 'type' => 'string',
  22148. ],
  22149. ],
  22150. ],'list' => [
  22151. 'path' => 'projects/{project}/regions/{region}/vpnTunnels',
  22152. 'httpMethod' => 'GET',
  22153. 'parameters' => [
  22154. 'project' => [
  22155. 'location' => 'path',
  22156. 'type' => 'string',
  22157. 'required' => true,
  22158. ],
  22159. 'region' => [
  22160. 'location' => 'path',
  22161. 'type' => 'string',
  22162. 'required' => true,
  22163. ],
  22164. 'filter' => [
  22165. 'location' => 'query',
  22166. 'type' => 'string',
  22167. ],
  22168. 'maxResults' => [
  22169. 'location' => 'query',
  22170. 'type' => 'integer',
  22171. ],
  22172. 'orderBy' => [
  22173. 'location' => 'query',
  22174. 'type' => 'string',
  22175. ],
  22176. 'pageToken' => [
  22177. 'location' => 'query',
  22178. 'type' => 'string',
  22179. ],
  22180. 'returnPartialSuccess' => [
  22181. 'location' => 'query',
  22182. 'type' => 'boolean',
  22183. ],
  22184. ],
  22185. ],'setLabels' => [
  22186. 'path' => 'projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels',
  22187. 'httpMethod' => 'POST',
  22188. 'parameters' => [
  22189. 'project' => [
  22190. 'location' => 'path',
  22191. 'type' => 'string',
  22192. 'required' => true,
  22193. ],
  22194. 'region' => [
  22195. 'location' => 'path',
  22196. 'type' => 'string',
  22197. 'required' => true,
  22198. ],
  22199. 'resource' => [
  22200. 'location' => 'path',
  22201. 'type' => 'string',
  22202. 'required' => true,
  22203. ],
  22204. 'requestId' => [
  22205. 'location' => 'query',
  22206. 'type' => 'string',
  22207. ],
  22208. ],
  22209. ],
  22210. ]
  22211. ]
  22212. );
  22213. $this->wireGroups = new Compute\Resource\WireGroups(
  22214. $this,
  22215. $this->serviceName,
  22216. 'wireGroups',
  22217. [
  22218. 'methods' => [
  22219. 'delete' => [
  22220. 'path' => 'projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups/{wireGroup}',
  22221. 'httpMethod' => 'DELETE',
  22222. 'parameters' => [
  22223. 'project' => [
  22224. 'location' => 'path',
  22225. 'type' => 'string',
  22226. 'required' => true,
  22227. ],
  22228. 'crossSiteNetwork' => [
  22229. 'location' => 'path',
  22230. 'type' => 'string',
  22231. 'required' => true,
  22232. ],
  22233. 'wireGroup' => [
  22234. 'location' => 'path',
  22235. 'type' => 'string',
  22236. 'required' => true,
  22237. ],
  22238. 'requestId' => [
  22239. 'location' => 'query',
  22240. 'type' => 'string',
  22241. ],
  22242. ],
  22243. ],'get' => [
  22244. 'path' => 'projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups/{wireGroup}',
  22245. 'httpMethod' => 'GET',
  22246. 'parameters' => [
  22247. 'project' => [
  22248. 'location' => 'path',
  22249. 'type' => 'string',
  22250. 'required' => true,
  22251. ],
  22252. 'crossSiteNetwork' => [
  22253. 'location' => 'path',
  22254. 'type' => 'string',
  22255. 'required' => true,
  22256. ],
  22257. 'wireGroup' => [
  22258. 'location' => 'path',
  22259. 'type' => 'string',
  22260. 'required' => true,
  22261. ],
  22262. ],
  22263. ],'insert' => [
  22264. 'path' => 'projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups',
  22265. 'httpMethod' => 'POST',
  22266. 'parameters' => [
  22267. 'project' => [
  22268. 'location' => 'path',
  22269. 'type' => 'string',
  22270. 'required' => true,
  22271. ],
  22272. 'crossSiteNetwork' => [
  22273. 'location' => 'path',
  22274. 'type' => 'string',
  22275. 'required' => true,
  22276. ],
  22277. 'requestId' => [
  22278. 'location' => 'query',
  22279. 'type' => 'string',
  22280. ],
  22281. 'validateOnly' => [
  22282. 'location' => 'query',
  22283. 'type' => 'boolean',
  22284. ],
  22285. ],
  22286. ],'list' => [
  22287. 'path' => 'projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups',
  22288. 'httpMethod' => 'GET',
  22289. 'parameters' => [
  22290. 'project' => [
  22291. 'location' => 'path',
  22292. 'type' => 'string',
  22293. 'required' => true,
  22294. ],
  22295. 'crossSiteNetwork' => [
  22296. 'location' => 'path',
  22297. 'type' => 'string',
  22298. 'required' => true,
  22299. ],
  22300. 'filter' => [
  22301. 'location' => 'query',
  22302. 'type' => 'string',
  22303. ],
  22304. 'maxResults' => [
  22305. 'location' => 'query',
  22306. 'type' => 'integer',
  22307. ],
  22308. 'orderBy' => [
  22309. 'location' => 'query',
  22310. 'type' => 'string',
  22311. ],
  22312. 'pageToken' => [
  22313. 'location' => 'query',
  22314. 'type' => 'string',
  22315. ],
  22316. 'returnPartialSuccess' => [
  22317. 'location' => 'query',
  22318. 'type' => 'boolean',
  22319. ],
  22320. ],
  22321. ],'patch' => [
  22322. 'path' => 'projects/{project}/global/crossSiteNetworks/{crossSiteNetwork}/wireGroups/{wireGroup}',
  22323. 'httpMethod' => 'PATCH',
  22324. 'parameters' => [
  22325. 'project' => [
  22326. 'location' => 'path',
  22327. 'type' => 'string',
  22328. 'required' => true,
  22329. ],
  22330. 'crossSiteNetwork' => [
  22331. 'location' => 'path',
  22332. 'type' => 'string',
  22333. 'required' => true,
  22334. ],
  22335. 'wireGroup' => [
  22336. 'location' => 'path',
  22337. 'type' => 'string',
  22338. 'required' => true,
  22339. ],
  22340. 'requestId' => [
  22341. 'location' => 'query',
  22342. 'type' => 'string',
  22343. ],
  22344. 'updateMask' => [
  22345. 'location' => 'query',
  22346. 'type' => 'string',
  22347. ],
  22348. 'validateOnly' => [
  22349. 'location' => 'query',
  22350. 'type' => 'boolean',
  22351. ],
  22352. ],
  22353. ],
  22354. ]
  22355. ]
  22356. );
  22357. $this->zoneOperations = new Compute\Resource\ZoneOperations(
  22358. $this,
  22359. $this->serviceName,
  22360. 'zoneOperations',
  22361. [
  22362. 'methods' => [
  22363. 'delete' => [
  22364. 'path' => 'projects/{project}/zones/{zone}/operations/{operation}',
  22365. 'httpMethod' => 'DELETE',
  22366. 'parameters' => [
  22367. 'project' => [
  22368. 'location' => 'path',
  22369. 'type' => 'string',
  22370. 'required' => true,
  22371. ],
  22372. 'zone' => [
  22373. 'location' => 'path',
  22374. 'type' => 'string',
  22375. 'required' => true,
  22376. ],
  22377. 'operation' => [
  22378. 'location' => 'path',
  22379. 'type' => 'string',
  22380. 'required' => true,
  22381. ],
  22382. ],
  22383. ],'get' => [
  22384. 'path' => 'projects/{project}/zones/{zone}/operations/{operation}',
  22385. 'httpMethod' => 'GET',
  22386. 'parameters' => [
  22387. 'project' => [
  22388. 'location' => 'path',
  22389. 'type' => 'string',
  22390. 'required' => true,
  22391. ],
  22392. 'zone' => [
  22393. 'location' => 'path',
  22394. 'type' => 'string',
  22395. 'required' => true,
  22396. ],
  22397. 'operation' => [
  22398. 'location' => 'path',
  22399. 'type' => 'string',
  22400. 'required' => true,
  22401. ],
  22402. ],
  22403. ],'list' => [
  22404. 'path' => 'projects/{project}/zones/{zone}/operations',
  22405. 'httpMethod' => 'GET',
  22406. 'parameters' => [
  22407. 'project' => [
  22408. 'location' => 'path',
  22409. 'type' => 'string',
  22410. 'required' => true,
  22411. ],
  22412. 'zone' => [
  22413. 'location' => 'path',
  22414. 'type' => 'string',
  22415. 'required' => true,
  22416. ],
  22417. 'filter' => [
  22418. 'location' => 'query',
  22419. 'type' => 'string',
  22420. ],
  22421. 'maxResults' => [
  22422. 'location' => 'query',
  22423. 'type' => 'integer',
  22424. ],
  22425. 'orderBy' => [
  22426. 'location' => 'query',
  22427. 'type' => 'string',
  22428. ],
  22429. 'pageToken' => [
  22430. 'location' => 'query',
  22431. 'type' => 'string',
  22432. ],
  22433. 'returnPartialSuccess' => [
  22434. 'location' => 'query',
  22435. 'type' => 'boolean',
  22436. ],
  22437. ],
  22438. ],'wait' => [
  22439. 'path' => 'projects/{project}/zones/{zone}/operations/{operation}/wait',
  22440. 'httpMethod' => 'POST',
  22441. 'parameters' => [
  22442. 'project' => [
  22443. 'location' => 'path',
  22444. 'type' => 'string',
  22445. 'required' => true,
  22446. ],
  22447. 'zone' => [
  22448. 'location' => 'path',
  22449. 'type' => 'string',
  22450. 'required' => true,
  22451. ],
  22452. 'operation' => [
  22453. 'location' => 'path',
  22454. 'type' => 'string',
  22455. 'required' => true,
  22456. ],
  22457. ],
  22458. ],
  22459. ]
  22460. ]
  22461. );
  22462. $this->zones = new Compute\Resource\Zones(
  22463. $this,
  22464. $this->serviceName,
  22465. 'zones',
  22466. [
  22467. 'methods' => [
  22468. 'get' => [
  22469. 'path' => 'projects/{project}/zones/{zone}',
  22470. 'httpMethod' => 'GET',
  22471. 'parameters' => [
  22472. 'project' => [
  22473. 'location' => 'path',
  22474. 'type' => 'string',
  22475. 'required' => true,
  22476. ],
  22477. 'zone' => [
  22478. 'location' => 'path',
  22479. 'type' => 'string',
  22480. 'required' => true,
  22481. ],
  22482. ],
  22483. ],'list' => [
  22484. 'path' => 'projects/{project}/zones',
  22485. 'httpMethod' => 'GET',
  22486. 'parameters' => [
  22487. 'project' => [
  22488. 'location' => 'path',
  22489. 'type' => 'string',
  22490. 'required' => true,
  22491. ],
  22492. 'filter' => [
  22493. 'location' => 'query',
  22494. 'type' => 'string',
  22495. ],
  22496. 'maxResults' => [
  22497. 'location' => 'query',
  22498. 'type' => 'integer',
  22499. ],
  22500. 'orderBy' => [
  22501. 'location' => 'query',
  22502. 'type' => 'string',
  22503. ],
  22504. 'pageToken' => [
  22505. 'location' => 'query',
  22506. 'type' => 'string',
  22507. ],
  22508. 'returnPartialSuccess' => [
  22509. 'location' => 'query',
  22510. 'type' => 'boolean',
  22511. ],
  22512. ],
  22513. ],
  22514. ]
  22515. ]
  22516. );
  22517. }
  22518. }
  22519. // Adding a class alias for backwards compatibility with the previous class name.
  22520. class_alias(Compute::class, 'Google_Service_Compute');