Без опису

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935
  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. /**
  18. * Service definition for Compute (v1).
  19. *
  20. * <p>
  21. * Creates and runs virtual machines on Google Cloud Platform.</p>
  22. *
  23. * <p>
  24. * For more information about this service, see the API
  25. * <a href="https://developers.google.com/compute/docs/reference/latest/" target="_blank">Documentation</a>
  26. * </p>
  27. *
  28. * @author Google, Inc.
  29. */
  30. class Google_Service_Compute extends Google_Service
  31. {
  32. /** View and manage your data across Google Cloud Platform services. */
  33. const CLOUD_PLATFORM =
  34. "https://www.googleapis.com/auth/cloud-platform";
  35. /** View and manage your Google Compute Engine resources. */
  36. const COMPUTE =
  37. "https://www.googleapis.com/auth/compute";
  38. /** View your Google Compute Engine resources. */
  39. const COMPUTE_READONLY =
  40. "https://www.googleapis.com/auth/compute.readonly";
  41. /** Manage your data and permissions in Google Cloud Storage. */
  42. const DEVSTORAGE_FULL_CONTROL =
  43. "https://www.googleapis.com/auth/devstorage.full_control";
  44. /** View your data in Google Cloud Storage. */
  45. const DEVSTORAGE_READ_ONLY =
  46. "https://www.googleapis.com/auth/devstorage.read_only";
  47. /** Manage your data in Google Cloud Storage. */
  48. const DEVSTORAGE_READ_WRITE =
  49. "https://www.googleapis.com/auth/devstorage.read_write";
  50. public $acceleratorTypes;
  51. public $addresses;
  52. public $autoscalers;
  53. public $backendBuckets;
  54. public $backendServices;
  55. public $diskTypes;
  56. public $disks;
  57. public $firewalls;
  58. public $forwardingRules;
  59. public $globalAddresses;
  60. public $globalForwardingRules;
  61. public $globalOperations;
  62. public $healthChecks;
  63. public $httpHealthChecks;
  64. public $httpsHealthChecks;
  65. public $images;
  66. public $instanceGroupManagers;
  67. public $instanceGroups;
  68. public $instanceTemplates;
  69. public $instances;
  70. public $interconnectAttachments;
  71. public $interconnectLocations;
  72. public $interconnects;
  73. public $licenseCodes;
  74. public $licenses;
  75. public $machineTypes;
  76. public $networks;
  77. public $projects;
  78. public $regionAutoscalers;
  79. public $regionBackendServices;
  80. public $regionCommitments;
  81. public $regionDiskTypes;
  82. public $regionDisks;
  83. public $regionInstanceGroupManagers;
  84. public $regionInstanceGroups;
  85. public $regionOperations;
  86. public $regions;
  87. public $routers;
  88. public $routes;
  89. public $snapshots;
  90. public $sslCertificates;
  91. public $sslPolicies;
  92. public $subnetworks;
  93. public $targetHttpProxies;
  94. public $targetHttpsProxies;
  95. public $targetInstances;
  96. public $targetPools;
  97. public $targetSslProxies;
  98. public $targetTcpProxies;
  99. public $targetVpnGateways;
  100. public $urlMaps;
  101. public $vpnTunnels;
  102. public $zoneOperations;
  103. public $zones;
  104. /**
  105. * Constructs the internal representation of the Compute service.
  106. *
  107. * @param Google_Client $client
  108. */
  109. public function __construct(Google_Client $client)
  110. {
  111. parent::__construct($client);
  112. $this->rootUrl = 'https://www.googleapis.com/';
  113. $this->servicePath = 'compute/v1/projects/';
  114. $this->version = 'v1';
  115. $this->serviceName = 'compute';
  116. $this->acceleratorTypes = new Google_Service_Compute_Resource_AcceleratorTypes(
  117. $this,
  118. $this->serviceName,
  119. 'acceleratorTypes',
  120. array(
  121. 'methods' => array(
  122. 'aggregatedList' => array(
  123. 'path' => '{project}/aggregated/acceleratorTypes',
  124. 'httpMethod' => 'GET',
  125. 'parameters' => array(
  126. 'project' => array(
  127. 'location' => 'path',
  128. 'type' => 'string',
  129. 'required' => true,
  130. ),
  131. 'filter' => array(
  132. 'location' => 'query',
  133. 'type' => 'string',
  134. ),
  135. 'maxResults' => array(
  136. 'location' => 'query',
  137. 'type' => 'integer',
  138. ),
  139. 'orderBy' => array(
  140. 'location' => 'query',
  141. 'type' => 'string',
  142. ),
  143. 'pageToken' => array(
  144. 'location' => 'query',
  145. 'type' => 'string',
  146. ),
  147. ),
  148. ),'get' => array(
  149. 'path' => '{project}/zones/{zone}/acceleratorTypes/{acceleratorType}',
  150. 'httpMethod' => 'GET',
  151. 'parameters' => array(
  152. 'project' => array(
  153. 'location' => 'path',
  154. 'type' => 'string',
  155. 'required' => true,
  156. ),
  157. 'zone' => array(
  158. 'location' => 'path',
  159. 'type' => 'string',
  160. 'required' => true,
  161. ),
  162. 'acceleratorType' => array(
  163. 'location' => 'path',
  164. 'type' => 'string',
  165. 'required' => true,
  166. ),
  167. ),
  168. ),'list' => array(
  169. 'path' => '{project}/zones/{zone}/acceleratorTypes',
  170. 'httpMethod' => 'GET',
  171. 'parameters' => array(
  172. 'project' => array(
  173. 'location' => 'path',
  174. 'type' => 'string',
  175. 'required' => true,
  176. ),
  177. 'zone' => array(
  178. 'location' => 'path',
  179. 'type' => 'string',
  180. 'required' => true,
  181. ),
  182. 'filter' => array(
  183. 'location' => 'query',
  184. 'type' => 'string',
  185. ),
  186. 'maxResults' => array(
  187. 'location' => 'query',
  188. 'type' => 'integer',
  189. ),
  190. 'orderBy' => array(
  191. 'location' => 'query',
  192. 'type' => 'string',
  193. ),
  194. 'pageToken' => array(
  195. 'location' => 'query',
  196. 'type' => 'string',
  197. ),
  198. ),
  199. ),
  200. )
  201. )
  202. );
  203. $this->addresses = new Google_Service_Compute_Resource_Addresses(
  204. $this,
  205. $this->serviceName,
  206. 'addresses',
  207. array(
  208. 'methods' => array(
  209. 'aggregatedList' => array(
  210. 'path' => '{project}/aggregated/addresses',
  211. 'httpMethod' => 'GET',
  212. 'parameters' => array(
  213. 'project' => array(
  214. 'location' => 'path',
  215. 'type' => 'string',
  216. 'required' => true,
  217. ),
  218. 'filter' => array(
  219. 'location' => 'query',
  220. 'type' => 'string',
  221. ),
  222. 'maxResults' => array(
  223. 'location' => 'query',
  224. 'type' => 'integer',
  225. ),
  226. 'orderBy' => array(
  227. 'location' => 'query',
  228. 'type' => 'string',
  229. ),
  230. 'pageToken' => array(
  231. 'location' => 'query',
  232. 'type' => 'string',
  233. ),
  234. ),
  235. ),'delete' => array(
  236. 'path' => '{project}/regions/{region}/addresses/{address}',
  237. 'httpMethod' => 'DELETE',
  238. 'parameters' => array(
  239. 'project' => array(
  240. 'location' => 'path',
  241. 'type' => 'string',
  242. 'required' => true,
  243. ),
  244. 'region' => array(
  245. 'location' => 'path',
  246. 'type' => 'string',
  247. 'required' => true,
  248. ),
  249. 'address' => array(
  250. 'location' => 'path',
  251. 'type' => 'string',
  252. 'required' => true,
  253. ),
  254. 'requestId' => array(
  255. 'location' => 'query',
  256. 'type' => 'string',
  257. ),
  258. ),
  259. ),'get' => array(
  260. 'path' => '{project}/regions/{region}/addresses/{address}',
  261. 'httpMethod' => 'GET',
  262. 'parameters' => array(
  263. 'project' => array(
  264. 'location' => 'path',
  265. 'type' => 'string',
  266. 'required' => true,
  267. ),
  268. 'region' => array(
  269. 'location' => 'path',
  270. 'type' => 'string',
  271. 'required' => true,
  272. ),
  273. 'address' => array(
  274. 'location' => 'path',
  275. 'type' => 'string',
  276. 'required' => true,
  277. ),
  278. ),
  279. ),'insert' => array(
  280. 'path' => '{project}/regions/{region}/addresses',
  281. 'httpMethod' => 'POST',
  282. 'parameters' => array(
  283. 'project' => array(
  284. 'location' => 'path',
  285. 'type' => 'string',
  286. 'required' => true,
  287. ),
  288. 'region' => array(
  289. 'location' => 'path',
  290. 'type' => 'string',
  291. 'required' => true,
  292. ),
  293. 'requestId' => array(
  294. 'location' => 'query',
  295. 'type' => 'string',
  296. ),
  297. ),
  298. ),'list' => array(
  299. 'path' => '{project}/regions/{region}/addresses',
  300. 'httpMethod' => 'GET',
  301. 'parameters' => array(
  302. 'project' => array(
  303. 'location' => 'path',
  304. 'type' => 'string',
  305. 'required' => true,
  306. ),
  307. 'region' => array(
  308. 'location' => 'path',
  309. 'type' => 'string',
  310. 'required' => true,
  311. ),
  312. 'filter' => array(
  313. 'location' => 'query',
  314. 'type' => 'string',
  315. ),
  316. 'maxResults' => array(
  317. 'location' => 'query',
  318. 'type' => 'integer',
  319. ),
  320. 'orderBy' => array(
  321. 'location' => 'query',
  322. 'type' => 'string',
  323. ),
  324. 'pageToken' => array(
  325. 'location' => 'query',
  326. 'type' => 'string',
  327. ),
  328. ),
  329. ),
  330. )
  331. )
  332. );
  333. $this->autoscalers = new Google_Service_Compute_Resource_Autoscalers(
  334. $this,
  335. $this->serviceName,
  336. 'autoscalers',
  337. array(
  338. 'methods' => array(
  339. 'aggregatedList' => array(
  340. 'path' => '{project}/aggregated/autoscalers',
  341. 'httpMethod' => 'GET',
  342. 'parameters' => array(
  343. 'project' => array(
  344. 'location' => 'path',
  345. 'type' => 'string',
  346. 'required' => true,
  347. ),
  348. 'filter' => array(
  349. 'location' => 'query',
  350. 'type' => 'string',
  351. ),
  352. 'maxResults' => array(
  353. 'location' => 'query',
  354. 'type' => 'integer',
  355. ),
  356. 'orderBy' => array(
  357. 'location' => 'query',
  358. 'type' => 'string',
  359. ),
  360. 'pageToken' => array(
  361. 'location' => 'query',
  362. 'type' => 'string',
  363. ),
  364. ),
  365. ),'delete' => array(
  366. 'path' => '{project}/zones/{zone}/autoscalers/{autoscaler}',
  367. 'httpMethod' => 'DELETE',
  368. 'parameters' => array(
  369. 'project' => array(
  370. 'location' => 'path',
  371. 'type' => 'string',
  372. 'required' => true,
  373. ),
  374. 'zone' => array(
  375. 'location' => 'path',
  376. 'type' => 'string',
  377. 'required' => true,
  378. ),
  379. 'autoscaler' => array(
  380. 'location' => 'path',
  381. 'type' => 'string',
  382. 'required' => true,
  383. ),
  384. 'requestId' => array(
  385. 'location' => 'query',
  386. 'type' => 'string',
  387. ),
  388. ),
  389. ),'get' => array(
  390. 'path' => '{project}/zones/{zone}/autoscalers/{autoscaler}',
  391. 'httpMethod' => 'GET',
  392. 'parameters' => array(
  393. 'project' => array(
  394. 'location' => 'path',
  395. 'type' => 'string',
  396. 'required' => true,
  397. ),
  398. 'zone' => array(
  399. 'location' => 'path',
  400. 'type' => 'string',
  401. 'required' => true,
  402. ),
  403. 'autoscaler' => array(
  404. 'location' => 'path',
  405. 'type' => 'string',
  406. 'required' => true,
  407. ),
  408. ),
  409. ),'insert' => array(
  410. 'path' => '{project}/zones/{zone}/autoscalers',
  411. 'httpMethod' => 'POST',
  412. 'parameters' => array(
  413. 'project' => array(
  414. 'location' => 'path',
  415. 'type' => 'string',
  416. 'required' => true,
  417. ),
  418. 'zone' => array(
  419. 'location' => 'path',
  420. 'type' => 'string',
  421. 'required' => true,
  422. ),
  423. 'requestId' => array(
  424. 'location' => 'query',
  425. 'type' => 'string',
  426. ),
  427. ),
  428. ),'list' => array(
  429. 'path' => '{project}/zones/{zone}/autoscalers',
  430. 'httpMethod' => 'GET',
  431. 'parameters' => array(
  432. 'project' => array(
  433. 'location' => 'path',
  434. 'type' => 'string',
  435. 'required' => true,
  436. ),
  437. 'zone' => array(
  438. 'location' => 'path',
  439. 'type' => 'string',
  440. 'required' => true,
  441. ),
  442. 'filter' => array(
  443. 'location' => 'query',
  444. 'type' => 'string',
  445. ),
  446. 'maxResults' => array(
  447. 'location' => 'query',
  448. 'type' => 'integer',
  449. ),
  450. 'orderBy' => array(
  451. 'location' => 'query',
  452. 'type' => 'string',
  453. ),
  454. 'pageToken' => array(
  455. 'location' => 'query',
  456. 'type' => 'string',
  457. ),
  458. ),
  459. ),'patch' => array(
  460. 'path' => '{project}/zones/{zone}/autoscalers',
  461. 'httpMethod' => 'PATCH',
  462. 'parameters' => array(
  463. 'project' => array(
  464. 'location' => 'path',
  465. 'type' => 'string',
  466. 'required' => true,
  467. ),
  468. 'zone' => array(
  469. 'location' => 'path',
  470. 'type' => 'string',
  471. 'required' => true,
  472. ),
  473. 'autoscaler' => array(
  474. 'location' => 'query',
  475. 'type' => 'string',
  476. ),
  477. 'requestId' => array(
  478. 'location' => 'query',
  479. 'type' => 'string',
  480. ),
  481. ),
  482. ),'update' => array(
  483. 'path' => '{project}/zones/{zone}/autoscalers',
  484. 'httpMethod' => 'PUT',
  485. 'parameters' => array(
  486. 'project' => array(
  487. 'location' => 'path',
  488. 'type' => 'string',
  489. 'required' => true,
  490. ),
  491. 'zone' => array(
  492. 'location' => 'path',
  493. 'type' => 'string',
  494. 'required' => true,
  495. ),
  496. 'autoscaler' => array(
  497. 'location' => 'query',
  498. 'type' => 'string',
  499. ),
  500. 'requestId' => array(
  501. 'location' => 'query',
  502. 'type' => 'string',
  503. ),
  504. ),
  505. ),
  506. )
  507. )
  508. );
  509. $this->backendBuckets = new Google_Service_Compute_Resource_BackendBuckets(
  510. $this,
  511. $this->serviceName,
  512. 'backendBuckets',
  513. array(
  514. 'methods' => array(
  515. 'delete' => array(
  516. 'path' => '{project}/global/backendBuckets/{backendBucket}',
  517. 'httpMethod' => 'DELETE',
  518. 'parameters' => array(
  519. 'project' => array(
  520. 'location' => 'path',
  521. 'type' => 'string',
  522. 'required' => true,
  523. ),
  524. 'backendBucket' => array(
  525. 'location' => 'path',
  526. 'type' => 'string',
  527. 'required' => true,
  528. ),
  529. 'requestId' => array(
  530. 'location' => 'query',
  531. 'type' => 'string',
  532. ),
  533. ),
  534. ),'get' => array(
  535. 'path' => '{project}/global/backendBuckets/{backendBucket}',
  536. 'httpMethod' => 'GET',
  537. 'parameters' => array(
  538. 'project' => array(
  539. 'location' => 'path',
  540. 'type' => 'string',
  541. 'required' => true,
  542. ),
  543. 'backendBucket' => array(
  544. 'location' => 'path',
  545. 'type' => 'string',
  546. 'required' => true,
  547. ),
  548. ),
  549. ),'insert' => array(
  550. 'path' => '{project}/global/backendBuckets',
  551. 'httpMethod' => 'POST',
  552. 'parameters' => array(
  553. 'project' => array(
  554. 'location' => 'path',
  555. 'type' => 'string',
  556. 'required' => true,
  557. ),
  558. 'requestId' => array(
  559. 'location' => 'query',
  560. 'type' => 'string',
  561. ),
  562. ),
  563. ),'list' => array(
  564. 'path' => '{project}/global/backendBuckets',
  565. 'httpMethod' => 'GET',
  566. 'parameters' => array(
  567. 'project' => array(
  568. 'location' => 'path',
  569. 'type' => 'string',
  570. 'required' => true,
  571. ),
  572. 'filter' => array(
  573. 'location' => 'query',
  574. 'type' => 'string',
  575. ),
  576. 'maxResults' => array(
  577. 'location' => 'query',
  578. 'type' => 'integer',
  579. ),
  580. 'orderBy' => array(
  581. 'location' => 'query',
  582. 'type' => 'string',
  583. ),
  584. 'pageToken' => array(
  585. 'location' => 'query',
  586. 'type' => 'string',
  587. ),
  588. ),
  589. ),'patch' => array(
  590. 'path' => '{project}/global/backendBuckets/{backendBucket}',
  591. 'httpMethod' => 'PATCH',
  592. 'parameters' => array(
  593. 'project' => array(
  594. 'location' => 'path',
  595. 'type' => 'string',
  596. 'required' => true,
  597. ),
  598. 'backendBucket' => array(
  599. 'location' => 'path',
  600. 'type' => 'string',
  601. 'required' => true,
  602. ),
  603. 'requestId' => array(
  604. 'location' => 'query',
  605. 'type' => 'string',
  606. ),
  607. ),
  608. ),'update' => array(
  609. 'path' => '{project}/global/backendBuckets/{backendBucket}',
  610. 'httpMethod' => 'PUT',
  611. 'parameters' => array(
  612. 'project' => array(
  613. 'location' => 'path',
  614. 'type' => 'string',
  615. 'required' => true,
  616. ),
  617. 'backendBucket' => array(
  618. 'location' => 'path',
  619. 'type' => 'string',
  620. 'required' => true,
  621. ),
  622. 'requestId' => array(
  623. 'location' => 'query',
  624. 'type' => 'string',
  625. ),
  626. ),
  627. ),
  628. )
  629. )
  630. );
  631. $this->backendServices = new Google_Service_Compute_Resource_BackendServices(
  632. $this,
  633. $this->serviceName,
  634. 'backendServices',
  635. array(
  636. 'methods' => array(
  637. 'aggregatedList' => array(
  638. 'path' => '{project}/aggregated/backendServices',
  639. 'httpMethod' => 'GET',
  640. 'parameters' => array(
  641. 'project' => array(
  642. 'location' => 'path',
  643. 'type' => 'string',
  644. 'required' => true,
  645. ),
  646. 'filter' => array(
  647. 'location' => 'query',
  648. 'type' => 'string',
  649. ),
  650. 'maxResults' => array(
  651. 'location' => 'query',
  652. 'type' => 'integer',
  653. ),
  654. 'orderBy' => array(
  655. 'location' => 'query',
  656. 'type' => 'string',
  657. ),
  658. 'pageToken' => array(
  659. 'location' => 'query',
  660. 'type' => 'string',
  661. ),
  662. ),
  663. ),'delete' => array(
  664. 'path' => '{project}/global/backendServices/{backendService}',
  665. 'httpMethod' => 'DELETE',
  666. 'parameters' => array(
  667. 'project' => array(
  668. 'location' => 'path',
  669. 'type' => 'string',
  670. 'required' => true,
  671. ),
  672. 'backendService' => array(
  673. 'location' => 'path',
  674. 'type' => 'string',
  675. 'required' => true,
  676. ),
  677. 'requestId' => array(
  678. 'location' => 'query',
  679. 'type' => 'string',
  680. ),
  681. ),
  682. ),'get' => array(
  683. 'path' => '{project}/global/backendServices/{backendService}',
  684. 'httpMethod' => 'GET',
  685. 'parameters' => array(
  686. 'project' => array(
  687. 'location' => 'path',
  688. 'type' => 'string',
  689. 'required' => true,
  690. ),
  691. 'backendService' => array(
  692. 'location' => 'path',
  693. 'type' => 'string',
  694. 'required' => true,
  695. ),
  696. ),
  697. ),'getHealth' => array(
  698. 'path' => '{project}/global/backendServices/{backendService}/getHealth',
  699. 'httpMethod' => 'POST',
  700. 'parameters' => array(
  701. 'project' => array(
  702. 'location' => 'path',
  703. 'type' => 'string',
  704. 'required' => true,
  705. ),
  706. 'backendService' => array(
  707. 'location' => 'path',
  708. 'type' => 'string',
  709. 'required' => true,
  710. ),
  711. ),
  712. ),'insert' => array(
  713. 'path' => '{project}/global/backendServices',
  714. 'httpMethod' => 'POST',
  715. 'parameters' => array(
  716. 'project' => array(
  717. 'location' => 'path',
  718. 'type' => 'string',
  719. 'required' => true,
  720. ),
  721. 'requestId' => array(
  722. 'location' => 'query',
  723. 'type' => 'string',
  724. ),
  725. ),
  726. ),'list' => array(
  727. 'path' => '{project}/global/backendServices',
  728. 'httpMethod' => 'GET',
  729. 'parameters' => array(
  730. 'project' => array(
  731. 'location' => 'path',
  732. 'type' => 'string',
  733. 'required' => true,
  734. ),
  735. 'filter' => array(
  736. 'location' => 'query',
  737. 'type' => 'string',
  738. ),
  739. 'maxResults' => array(
  740. 'location' => 'query',
  741. 'type' => 'integer',
  742. ),
  743. 'orderBy' => array(
  744. 'location' => 'query',
  745. 'type' => 'string',
  746. ),
  747. 'pageToken' => array(
  748. 'location' => 'query',
  749. 'type' => 'string',
  750. ),
  751. ),
  752. ),'patch' => array(
  753. 'path' => '{project}/global/backendServices/{backendService}',
  754. 'httpMethod' => 'PATCH',
  755. 'parameters' => array(
  756. 'project' => array(
  757. 'location' => 'path',
  758. 'type' => 'string',
  759. 'required' => true,
  760. ),
  761. 'backendService' => array(
  762. 'location' => 'path',
  763. 'type' => 'string',
  764. 'required' => true,
  765. ),
  766. 'requestId' => array(
  767. 'location' => 'query',
  768. 'type' => 'string',
  769. ),
  770. ),
  771. ),'update' => array(
  772. 'path' => '{project}/global/backendServices/{backendService}',
  773. 'httpMethod' => 'PUT',
  774. 'parameters' => array(
  775. 'project' => array(
  776. 'location' => 'path',
  777. 'type' => 'string',
  778. 'required' => true,
  779. ),
  780. 'backendService' => array(
  781. 'location' => 'path',
  782. 'type' => 'string',
  783. 'required' => true,
  784. ),
  785. 'requestId' => array(
  786. 'location' => 'query',
  787. 'type' => 'string',
  788. ),
  789. ),
  790. ),
  791. )
  792. )
  793. );
  794. $this->diskTypes = new Google_Service_Compute_Resource_DiskTypes(
  795. $this,
  796. $this->serviceName,
  797. 'diskTypes',
  798. array(
  799. 'methods' => array(
  800. 'aggregatedList' => array(
  801. 'path' => '{project}/aggregated/diskTypes',
  802. 'httpMethod' => 'GET',
  803. 'parameters' => array(
  804. 'project' => array(
  805. 'location' => 'path',
  806. 'type' => 'string',
  807. 'required' => true,
  808. ),
  809. 'filter' => array(
  810. 'location' => 'query',
  811. 'type' => 'string',
  812. ),
  813. 'maxResults' => array(
  814. 'location' => 'query',
  815. 'type' => 'integer',
  816. ),
  817. 'orderBy' => array(
  818. 'location' => 'query',
  819. 'type' => 'string',
  820. ),
  821. 'pageToken' => array(
  822. 'location' => 'query',
  823. 'type' => 'string',
  824. ),
  825. ),
  826. ),'get' => array(
  827. 'path' => '{project}/zones/{zone}/diskTypes/{diskType}',
  828. 'httpMethod' => 'GET',
  829. 'parameters' => array(
  830. 'project' => array(
  831. 'location' => 'path',
  832. 'type' => 'string',
  833. 'required' => true,
  834. ),
  835. 'zone' => array(
  836. 'location' => 'path',
  837. 'type' => 'string',
  838. 'required' => true,
  839. ),
  840. 'diskType' => array(
  841. 'location' => 'path',
  842. 'type' => 'string',
  843. 'required' => true,
  844. ),
  845. ),
  846. ),'list' => array(
  847. 'path' => '{project}/zones/{zone}/diskTypes',
  848. 'httpMethod' => 'GET',
  849. 'parameters' => array(
  850. 'project' => array(
  851. 'location' => 'path',
  852. 'type' => 'string',
  853. 'required' => true,
  854. ),
  855. 'zone' => array(
  856. 'location' => 'path',
  857. 'type' => 'string',
  858. 'required' => true,
  859. ),
  860. 'filter' => array(
  861. 'location' => 'query',
  862. 'type' => 'string',
  863. ),
  864. 'maxResults' => array(
  865. 'location' => 'query',
  866. 'type' => 'integer',
  867. ),
  868. 'orderBy' => array(
  869. 'location' => 'query',
  870. 'type' => 'string',
  871. ),
  872. 'pageToken' => array(
  873. 'location' => 'query',
  874. 'type' => 'string',
  875. ),
  876. ),
  877. ),
  878. )
  879. )
  880. );
  881. $this->disks = new Google_Service_Compute_Resource_Disks(
  882. $this,
  883. $this->serviceName,
  884. 'disks',
  885. array(
  886. 'methods' => array(
  887. 'aggregatedList' => array(
  888. 'path' => '{project}/aggregated/disks',
  889. 'httpMethod' => 'GET',
  890. 'parameters' => array(
  891. 'project' => array(
  892. 'location' => 'path',
  893. 'type' => 'string',
  894. 'required' => true,
  895. ),
  896. 'filter' => array(
  897. 'location' => 'query',
  898. 'type' => 'string',
  899. ),
  900. 'maxResults' => array(
  901. 'location' => 'query',
  902. 'type' => 'integer',
  903. ),
  904. 'orderBy' => array(
  905. 'location' => 'query',
  906. 'type' => 'string',
  907. ),
  908. 'pageToken' => array(
  909. 'location' => 'query',
  910. 'type' => 'string',
  911. ),
  912. ),
  913. ),'createSnapshot' => array(
  914. 'path' => '{project}/zones/{zone}/disks/{disk}/createSnapshot',
  915. 'httpMethod' => 'POST',
  916. 'parameters' => array(
  917. 'project' => array(
  918. 'location' => 'path',
  919. 'type' => 'string',
  920. 'required' => true,
  921. ),
  922. 'zone' => array(
  923. 'location' => 'path',
  924. 'type' => 'string',
  925. 'required' => true,
  926. ),
  927. 'disk' => array(
  928. 'location' => 'path',
  929. 'type' => 'string',
  930. 'required' => true,
  931. ),
  932. 'guestFlush' => array(
  933. 'location' => 'query',
  934. 'type' => 'boolean',
  935. ),
  936. 'requestId' => array(
  937. 'location' => 'query',
  938. 'type' => 'string',
  939. ),
  940. ),
  941. ),'delete' => array(
  942. 'path' => '{project}/zones/{zone}/disks/{disk}',
  943. 'httpMethod' => 'DELETE',
  944. 'parameters' => array(
  945. 'project' => array(
  946. 'location' => 'path',
  947. 'type' => 'string',
  948. 'required' => true,
  949. ),
  950. 'zone' => array(
  951. 'location' => 'path',
  952. 'type' => 'string',
  953. 'required' => true,
  954. ),
  955. 'disk' => array(
  956. 'location' => 'path',
  957. 'type' => 'string',
  958. 'required' => true,
  959. ),
  960. 'requestId' => array(
  961. 'location' => 'query',
  962. 'type' => 'string',
  963. ),
  964. ),
  965. ),'get' => array(
  966. 'path' => '{project}/zones/{zone}/disks/{disk}',
  967. 'httpMethod' => 'GET',
  968. 'parameters' => array(
  969. 'project' => array(
  970. 'location' => 'path',
  971. 'type' => 'string',
  972. 'required' => true,
  973. ),
  974. 'zone' => array(
  975. 'location' => 'path',
  976. 'type' => 'string',
  977. 'required' => true,
  978. ),
  979. 'disk' => array(
  980. 'location' => 'path',
  981. 'type' => 'string',
  982. 'required' => true,
  983. ),
  984. ),
  985. ),'insert' => array(
  986. 'path' => '{project}/zones/{zone}/disks',
  987. 'httpMethod' => 'POST',
  988. 'parameters' => array(
  989. 'project' => array(
  990. 'location' => 'path',
  991. 'type' => 'string',
  992. 'required' => true,
  993. ),
  994. 'zone' => array(
  995. 'location' => 'path',
  996. 'type' => 'string',
  997. 'required' => true,
  998. ),
  999. 'requestId' => array(
  1000. 'location' => 'query',
  1001. 'type' => 'string',
  1002. ),
  1003. 'sourceImage' => array(
  1004. 'location' => 'query',
  1005. 'type' => 'string',
  1006. ),
  1007. ),
  1008. ),'list' => array(
  1009. 'path' => '{project}/zones/{zone}/disks',
  1010. 'httpMethod' => 'GET',
  1011. 'parameters' => array(
  1012. 'project' => array(
  1013. 'location' => 'path',
  1014. 'type' => 'string',
  1015. 'required' => true,
  1016. ),
  1017. 'zone' => array(
  1018. 'location' => 'path',
  1019. 'type' => 'string',
  1020. 'required' => true,
  1021. ),
  1022. 'filter' => array(
  1023. 'location' => 'query',
  1024. 'type' => 'string',
  1025. ),
  1026. 'maxResults' => array(
  1027. 'location' => 'query',
  1028. 'type' => 'integer',
  1029. ),
  1030. 'orderBy' => array(
  1031. 'location' => 'query',
  1032. 'type' => 'string',
  1033. ),
  1034. 'pageToken' => array(
  1035. 'location' => 'query',
  1036. 'type' => 'string',
  1037. ),
  1038. ),
  1039. ),'resize' => array(
  1040. 'path' => '{project}/zones/{zone}/disks/{disk}/resize',
  1041. 'httpMethod' => 'POST',
  1042. 'parameters' => array(
  1043. 'project' => array(
  1044. 'location' => 'path',
  1045. 'type' => 'string',
  1046. 'required' => true,
  1047. ),
  1048. 'zone' => array(
  1049. 'location' => 'path',
  1050. 'type' => 'string',
  1051. 'required' => true,
  1052. ),
  1053. 'disk' => array(
  1054. 'location' => 'path',
  1055. 'type' => 'string',
  1056. 'required' => true,
  1057. ),
  1058. 'requestId' => array(
  1059. 'location' => 'query',
  1060. 'type' => 'string',
  1061. ),
  1062. ),
  1063. ),'setLabels' => array(
  1064. 'path' => '{project}/zones/{zone}/disks/{resource}/setLabels',
  1065. 'httpMethod' => 'POST',
  1066. 'parameters' => array(
  1067. 'project' => array(
  1068. 'location' => 'path',
  1069. 'type' => 'string',
  1070. 'required' => true,
  1071. ),
  1072. 'zone' => array(
  1073. 'location' => 'path',
  1074. 'type' => 'string',
  1075. 'required' => true,
  1076. ),
  1077. 'resource' => array(
  1078. 'location' => 'path',
  1079. 'type' => 'string',
  1080. 'required' => true,
  1081. ),
  1082. 'requestId' => array(
  1083. 'location' => 'query',
  1084. 'type' => 'string',
  1085. ),
  1086. ),
  1087. ),
  1088. )
  1089. )
  1090. );
  1091. $this->firewalls = new Google_Service_Compute_Resource_Firewalls(
  1092. $this,
  1093. $this->serviceName,
  1094. 'firewalls',
  1095. array(
  1096. 'methods' => array(
  1097. 'delete' => array(
  1098. 'path' => '{project}/global/firewalls/{firewall}',
  1099. 'httpMethod' => 'DELETE',
  1100. 'parameters' => array(
  1101. 'project' => array(
  1102. 'location' => 'path',
  1103. 'type' => 'string',
  1104. 'required' => true,
  1105. ),
  1106. 'firewall' => array(
  1107. 'location' => 'path',
  1108. 'type' => 'string',
  1109. 'required' => true,
  1110. ),
  1111. 'requestId' => array(
  1112. 'location' => 'query',
  1113. 'type' => 'string',
  1114. ),
  1115. ),
  1116. ),'get' => array(
  1117. 'path' => '{project}/global/firewalls/{firewall}',
  1118. 'httpMethod' => 'GET',
  1119. 'parameters' => array(
  1120. 'project' => array(
  1121. 'location' => 'path',
  1122. 'type' => 'string',
  1123. 'required' => true,
  1124. ),
  1125. 'firewall' => array(
  1126. 'location' => 'path',
  1127. 'type' => 'string',
  1128. 'required' => true,
  1129. ),
  1130. ),
  1131. ),'insert' => array(
  1132. 'path' => '{project}/global/firewalls',
  1133. 'httpMethod' => 'POST',
  1134. 'parameters' => array(
  1135. 'project' => array(
  1136. 'location' => 'path',
  1137. 'type' => 'string',
  1138. 'required' => true,
  1139. ),
  1140. 'requestId' => array(
  1141. 'location' => 'query',
  1142. 'type' => 'string',
  1143. ),
  1144. ),
  1145. ),'list' => array(
  1146. 'path' => '{project}/global/firewalls',
  1147. 'httpMethod' => 'GET',
  1148. 'parameters' => array(
  1149. 'project' => array(
  1150. 'location' => 'path',
  1151. 'type' => 'string',
  1152. 'required' => true,
  1153. ),
  1154. 'filter' => array(
  1155. 'location' => 'query',
  1156. 'type' => 'string',
  1157. ),
  1158. 'maxResults' => array(
  1159. 'location' => 'query',
  1160. 'type' => 'integer',
  1161. ),
  1162. 'orderBy' => array(
  1163. 'location' => 'query',
  1164. 'type' => 'string',
  1165. ),
  1166. 'pageToken' => array(
  1167. 'location' => 'query',
  1168. 'type' => 'string',
  1169. ),
  1170. ),
  1171. ),'patch' => array(
  1172. 'path' => '{project}/global/firewalls/{firewall}',
  1173. 'httpMethod' => 'PATCH',
  1174. 'parameters' => array(
  1175. 'project' => array(
  1176. 'location' => 'path',
  1177. 'type' => 'string',
  1178. 'required' => true,
  1179. ),
  1180. 'firewall' => array(
  1181. 'location' => 'path',
  1182. 'type' => 'string',
  1183. 'required' => true,
  1184. ),
  1185. 'requestId' => array(
  1186. 'location' => 'query',
  1187. 'type' => 'string',
  1188. ),
  1189. ),
  1190. ),'update' => array(
  1191. 'path' => '{project}/global/firewalls/{firewall}',
  1192. 'httpMethod' => 'PUT',
  1193. 'parameters' => array(
  1194. 'project' => array(
  1195. 'location' => 'path',
  1196. 'type' => 'string',
  1197. 'required' => true,
  1198. ),
  1199. 'firewall' => array(
  1200. 'location' => 'path',
  1201. 'type' => 'string',
  1202. 'required' => true,
  1203. ),
  1204. 'requestId' => array(
  1205. 'location' => 'query',
  1206. 'type' => 'string',
  1207. ),
  1208. ),
  1209. ),
  1210. )
  1211. )
  1212. );
  1213. $this->forwardingRules = new Google_Service_Compute_Resource_ForwardingRules(
  1214. $this,
  1215. $this->serviceName,
  1216. 'forwardingRules',
  1217. array(
  1218. 'methods' => array(
  1219. 'aggregatedList' => array(
  1220. 'path' => '{project}/aggregated/forwardingRules',
  1221. 'httpMethod' => 'GET',
  1222. 'parameters' => array(
  1223. 'project' => array(
  1224. 'location' => 'path',
  1225. 'type' => 'string',
  1226. 'required' => true,
  1227. ),
  1228. 'filter' => array(
  1229. 'location' => 'query',
  1230. 'type' => 'string',
  1231. ),
  1232. 'maxResults' => array(
  1233. 'location' => 'query',
  1234. 'type' => 'integer',
  1235. ),
  1236. 'orderBy' => array(
  1237. 'location' => 'query',
  1238. 'type' => 'string',
  1239. ),
  1240. 'pageToken' => array(
  1241. 'location' => 'query',
  1242. 'type' => 'string',
  1243. ),
  1244. ),
  1245. ),'delete' => array(
  1246. 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}',
  1247. 'httpMethod' => 'DELETE',
  1248. 'parameters' => array(
  1249. 'project' => array(
  1250. 'location' => 'path',
  1251. 'type' => 'string',
  1252. 'required' => true,
  1253. ),
  1254. 'region' => array(
  1255. 'location' => 'path',
  1256. 'type' => 'string',
  1257. 'required' => true,
  1258. ),
  1259. 'forwardingRule' => array(
  1260. 'location' => 'path',
  1261. 'type' => 'string',
  1262. 'required' => true,
  1263. ),
  1264. 'requestId' => array(
  1265. 'location' => 'query',
  1266. 'type' => 'string',
  1267. ),
  1268. ),
  1269. ),'get' => array(
  1270. 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}',
  1271. 'httpMethod' => 'GET',
  1272. 'parameters' => array(
  1273. 'project' => array(
  1274. 'location' => 'path',
  1275. 'type' => 'string',
  1276. 'required' => true,
  1277. ),
  1278. 'region' => array(
  1279. 'location' => 'path',
  1280. 'type' => 'string',
  1281. 'required' => true,
  1282. ),
  1283. 'forwardingRule' => array(
  1284. 'location' => 'path',
  1285. 'type' => 'string',
  1286. 'required' => true,
  1287. ),
  1288. ),
  1289. ),'insert' => array(
  1290. 'path' => '{project}/regions/{region}/forwardingRules',
  1291. 'httpMethod' => 'POST',
  1292. 'parameters' => array(
  1293. 'project' => array(
  1294. 'location' => 'path',
  1295. 'type' => 'string',
  1296. 'required' => true,
  1297. ),
  1298. 'region' => array(
  1299. 'location' => 'path',
  1300. 'type' => 'string',
  1301. 'required' => true,
  1302. ),
  1303. 'requestId' => array(
  1304. 'location' => 'query',
  1305. 'type' => 'string',
  1306. ),
  1307. ),
  1308. ),'list' => array(
  1309. 'path' => '{project}/regions/{region}/forwardingRules',
  1310. 'httpMethod' => 'GET',
  1311. 'parameters' => array(
  1312. 'project' => array(
  1313. 'location' => 'path',
  1314. 'type' => 'string',
  1315. 'required' => true,
  1316. ),
  1317. 'region' => array(
  1318. 'location' => 'path',
  1319. 'type' => 'string',
  1320. 'required' => true,
  1321. ),
  1322. 'filter' => array(
  1323. 'location' => 'query',
  1324. 'type' => 'string',
  1325. ),
  1326. 'maxResults' => array(
  1327. 'location' => 'query',
  1328. 'type' => 'integer',
  1329. ),
  1330. 'orderBy' => array(
  1331. 'location' => 'query',
  1332. 'type' => 'string',
  1333. ),
  1334. 'pageToken' => array(
  1335. 'location' => 'query',
  1336. 'type' => 'string',
  1337. ),
  1338. ),
  1339. ),'setTarget' => array(
  1340. 'path' => '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget',
  1341. 'httpMethod' => 'POST',
  1342. 'parameters' => array(
  1343. 'project' => array(
  1344. 'location' => 'path',
  1345. 'type' => 'string',
  1346. 'required' => true,
  1347. ),
  1348. 'region' => array(
  1349. 'location' => 'path',
  1350. 'type' => 'string',
  1351. 'required' => true,
  1352. ),
  1353. 'forwardingRule' => array(
  1354. 'location' => 'path',
  1355. 'type' => 'string',
  1356. 'required' => true,
  1357. ),
  1358. 'requestId' => array(
  1359. 'location' => 'query',
  1360. 'type' => 'string',
  1361. ),
  1362. ),
  1363. ),
  1364. )
  1365. )
  1366. );
  1367. $this->globalAddresses = new Google_Service_Compute_Resource_GlobalAddresses(
  1368. $this,
  1369. $this->serviceName,
  1370. 'globalAddresses',
  1371. array(
  1372. 'methods' => array(
  1373. 'delete' => array(
  1374. 'path' => '{project}/global/addresses/{address}',
  1375. 'httpMethod' => 'DELETE',
  1376. 'parameters' => array(
  1377. 'project' => array(
  1378. 'location' => 'path',
  1379. 'type' => 'string',
  1380. 'required' => true,
  1381. ),
  1382. 'address' => array(
  1383. 'location' => 'path',
  1384. 'type' => 'string',
  1385. 'required' => true,
  1386. ),
  1387. 'requestId' => array(
  1388. 'location' => 'query',
  1389. 'type' => 'string',
  1390. ),
  1391. ),
  1392. ),'get' => array(
  1393. 'path' => '{project}/global/addresses/{address}',
  1394. 'httpMethod' => 'GET',
  1395. 'parameters' => array(
  1396. 'project' => array(
  1397. 'location' => 'path',
  1398. 'type' => 'string',
  1399. 'required' => true,
  1400. ),
  1401. 'address' => array(
  1402. 'location' => 'path',
  1403. 'type' => 'string',
  1404. 'required' => true,
  1405. ),
  1406. ),
  1407. ),'insert' => array(
  1408. 'path' => '{project}/global/addresses',
  1409. 'httpMethod' => 'POST',
  1410. 'parameters' => array(
  1411. 'project' => array(
  1412. 'location' => 'path',
  1413. 'type' => 'string',
  1414. 'required' => true,
  1415. ),
  1416. 'requestId' => array(
  1417. 'location' => 'query',
  1418. 'type' => 'string',
  1419. ),
  1420. ),
  1421. ),'list' => array(
  1422. 'path' => '{project}/global/addresses',
  1423. 'httpMethod' => 'GET',
  1424. 'parameters' => array(
  1425. 'project' => array(
  1426. 'location' => 'path',
  1427. 'type' => 'string',
  1428. 'required' => true,
  1429. ),
  1430. 'filter' => array(
  1431. 'location' => 'query',
  1432. 'type' => 'string',
  1433. ),
  1434. 'maxResults' => array(
  1435. 'location' => 'query',
  1436. 'type' => 'integer',
  1437. ),
  1438. 'orderBy' => array(
  1439. 'location' => 'query',
  1440. 'type' => 'string',
  1441. ),
  1442. 'pageToken' => array(
  1443. 'location' => 'query',
  1444. 'type' => 'string',
  1445. ),
  1446. ),
  1447. ),
  1448. )
  1449. )
  1450. );
  1451. $this->globalForwardingRules = new Google_Service_Compute_Resource_GlobalForwardingRules(
  1452. $this,
  1453. $this->serviceName,
  1454. 'globalForwardingRules',
  1455. array(
  1456. 'methods' => array(
  1457. 'delete' => array(
  1458. 'path' => '{project}/global/forwardingRules/{forwardingRule}',
  1459. 'httpMethod' => 'DELETE',
  1460. 'parameters' => array(
  1461. 'project' => array(
  1462. 'location' => 'path',
  1463. 'type' => 'string',
  1464. 'required' => true,
  1465. ),
  1466. 'forwardingRule' => array(
  1467. 'location' => 'path',
  1468. 'type' => 'string',
  1469. 'required' => true,
  1470. ),
  1471. 'requestId' => array(
  1472. 'location' => 'query',
  1473. 'type' => 'string',
  1474. ),
  1475. ),
  1476. ),'get' => array(
  1477. 'path' => '{project}/global/forwardingRules/{forwardingRule}',
  1478. 'httpMethod' => 'GET',
  1479. 'parameters' => array(
  1480. 'project' => array(
  1481. 'location' => 'path',
  1482. 'type' => 'string',
  1483. 'required' => true,
  1484. ),
  1485. 'forwardingRule' => array(
  1486. 'location' => 'path',
  1487. 'type' => 'string',
  1488. 'required' => true,
  1489. ),
  1490. ),
  1491. ),'insert' => array(
  1492. 'path' => '{project}/global/forwardingRules',
  1493. 'httpMethod' => 'POST',
  1494. 'parameters' => array(
  1495. 'project' => array(
  1496. 'location' => 'path',
  1497. 'type' => 'string',
  1498. 'required' => true,
  1499. ),
  1500. 'requestId' => array(
  1501. 'location' => 'query',
  1502. 'type' => 'string',
  1503. ),
  1504. ),
  1505. ),'list' => array(
  1506. 'path' => '{project}/global/forwardingRules',
  1507. 'httpMethod' => 'GET',
  1508. 'parameters' => array(
  1509. 'project' => array(
  1510. 'location' => 'path',
  1511. 'type' => 'string',
  1512. 'required' => true,
  1513. ),
  1514. 'filter' => array(
  1515. 'location' => 'query',
  1516. 'type' => 'string',
  1517. ),
  1518. 'maxResults' => array(
  1519. 'location' => 'query',
  1520. 'type' => 'integer',
  1521. ),
  1522. 'orderBy' => array(
  1523. 'location' => 'query',
  1524. 'type' => 'string',
  1525. ),
  1526. 'pageToken' => array(
  1527. 'location' => 'query',
  1528. 'type' => 'string',
  1529. ),
  1530. ),
  1531. ),'setTarget' => array(
  1532. 'path' => '{project}/global/forwardingRules/{forwardingRule}/setTarget',
  1533. 'httpMethod' => 'POST',
  1534. 'parameters' => array(
  1535. 'project' => array(
  1536. 'location' => 'path',
  1537. 'type' => 'string',
  1538. 'required' => true,
  1539. ),
  1540. 'forwardingRule' => array(
  1541. 'location' => 'path',
  1542. 'type' => 'string',
  1543. 'required' => true,
  1544. ),
  1545. 'requestId' => array(
  1546. 'location' => 'query',
  1547. 'type' => 'string',
  1548. ),
  1549. ),
  1550. ),
  1551. )
  1552. )
  1553. );
  1554. $this->globalOperations = new Google_Service_Compute_Resource_GlobalOperations(
  1555. $this,
  1556. $this->serviceName,
  1557. 'globalOperations',
  1558. array(
  1559. 'methods' => array(
  1560. 'aggregatedList' => array(
  1561. 'path' => '{project}/aggregated/operations',
  1562. 'httpMethod' => 'GET',
  1563. 'parameters' => array(
  1564. 'project' => array(
  1565. 'location' => 'path',
  1566. 'type' => 'string',
  1567. 'required' => true,
  1568. ),
  1569. 'filter' => array(
  1570. 'location' => 'query',
  1571. 'type' => 'string',
  1572. ),
  1573. 'maxResults' => array(
  1574. 'location' => 'query',
  1575. 'type' => 'integer',
  1576. ),
  1577. 'orderBy' => array(
  1578. 'location' => 'query',
  1579. 'type' => 'string',
  1580. ),
  1581. 'pageToken' => array(
  1582. 'location' => 'query',
  1583. 'type' => 'string',
  1584. ),
  1585. ),
  1586. ),'delete' => array(
  1587. 'path' => '{project}/global/operations/{operation}',
  1588. 'httpMethod' => 'DELETE',
  1589. 'parameters' => array(
  1590. 'project' => array(
  1591. 'location' => 'path',
  1592. 'type' => 'string',
  1593. 'required' => true,
  1594. ),
  1595. 'operation' => array(
  1596. 'location' => 'path',
  1597. 'type' => 'string',
  1598. 'required' => true,
  1599. ),
  1600. ),
  1601. ),'get' => array(
  1602. 'path' => '{project}/global/operations/{operation}',
  1603. 'httpMethod' => 'GET',
  1604. 'parameters' => array(
  1605. 'project' => array(
  1606. 'location' => 'path',
  1607. 'type' => 'string',
  1608. 'required' => true,
  1609. ),
  1610. 'operation' => array(
  1611. 'location' => 'path',
  1612. 'type' => 'string',
  1613. 'required' => true,
  1614. ),
  1615. ),
  1616. ),'list' => array(
  1617. 'path' => '{project}/global/operations',
  1618. 'httpMethod' => 'GET',
  1619. 'parameters' => array(
  1620. 'project' => array(
  1621. 'location' => 'path',
  1622. 'type' => 'string',
  1623. 'required' => true,
  1624. ),
  1625. 'filter' => array(
  1626. 'location' => 'query',
  1627. 'type' => 'string',
  1628. ),
  1629. 'maxResults' => array(
  1630. 'location' => 'query',
  1631. 'type' => 'integer',
  1632. ),
  1633. 'orderBy' => array(
  1634. 'location' => 'query',
  1635. 'type' => 'string',
  1636. ),
  1637. 'pageToken' => array(
  1638. 'location' => 'query',
  1639. 'type' => 'string',
  1640. ),
  1641. ),
  1642. ),
  1643. )
  1644. )
  1645. );
  1646. $this->healthChecks = new Google_Service_Compute_Resource_HealthChecks(
  1647. $this,
  1648. $this->serviceName,
  1649. 'healthChecks',
  1650. array(
  1651. 'methods' => array(
  1652. 'delete' => array(
  1653. 'path' => '{project}/global/healthChecks/{healthCheck}',
  1654. 'httpMethod' => 'DELETE',
  1655. 'parameters' => array(
  1656. 'project' => array(
  1657. 'location' => 'path',
  1658. 'type' => 'string',
  1659. 'required' => true,
  1660. ),
  1661. 'healthCheck' => array(
  1662. 'location' => 'path',
  1663. 'type' => 'string',
  1664. 'required' => true,
  1665. ),
  1666. 'requestId' => array(
  1667. 'location' => 'query',
  1668. 'type' => 'string',
  1669. ),
  1670. ),
  1671. ),'get' => array(
  1672. 'path' => '{project}/global/healthChecks/{healthCheck}',
  1673. 'httpMethod' => 'GET',
  1674. 'parameters' => array(
  1675. 'project' => array(
  1676. 'location' => 'path',
  1677. 'type' => 'string',
  1678. 'required' => true,
  1679. ),
  1680. 'healthCheck' => array(
  1681. 'location' => 'path',
  1682. 'type' => 'string',
  1683. 'required' => true,
  1684. ),
  1685. ),
  1686. ),'insert' => array(
  1687. 'path' => '{project}/global/healthChecks',
  1688. 'httpMethod' => 'POST',
  1689. 'parameters' => array(
  1690. 'project' => array(
  1691. 'location' => 'path',
  1692. 'type' => 'string',
  1693. 'required' => true,
  1694. ),
  1695. 'requestId' => array(
  1696. 'location' => 'query',
  1697. 'type' => 'string',
  1698. ),
  1699. ),
  1700. ),'list' => array(
  1701. 'path' => '{project}/global/healthChecks',
  1702. 'httpMethod' => 'GET',
  1703. 'parameters' => array(
  1704. 'project' => array(
  1705. 'location' => 'path',
  1706. 'type' => 'string',
  1707. 'required' => true,
  1708. ),
  1709. 'filter' => array(
  1710. 'location' => 'query',
  1711. 'type' => 'string',
  1712. ),
  1713. 'maxResults' => array(
  1714. 'location' => 'query',
  1715. 'type' => 'integer',
  1716. ),
  1717. 'orderBy' => array(
  1718. 'location' => 'query',
  1719. 'type' => 'string',
  1720. ),
  1721. 'pageToken' => array(
  1722. 'location' => 'query',
  1723. 'type' => 'string',
  1724. ),
  1725. ),
  1726. ),'patch' => array(
  1727. 'path' => '{project}/global/healthChecks/{healthCheck}',
  1728. 'httpMethod' => 'PATCH',
  1729. 'parameters' => array(
  1730. 'project' => array(
  1731. 'location' => 'path',
  1732. 'type' => 'string',
  1733. 'required' => true,
  1734. ),
  1735. 'healthCheck' => array(
  1736. 'location' => 'path',
  1737. 'type' => 'string',
  1738. 'required' => true,
  1739. ),
  1740. 'requestId' => array(
  1741. 'location' => 'query',
  1742. 'type' => 'string',
  1743. ),
  1744. ),
  1745. ),'update' => array(
  1746. 'path' => '{project}/global/healthChecks/{healthCheck}',
  1747. 'httpMethod' => 'PUT',
  1748. 'parameters' => array(
  1749. 'project' => array(
  1750. 'location' => 'path',
  1751. 'type' => 'string',
  1752. 'required' => true,
  1753. ),
  1754. 'healthCheck' => array(
  1755. 'location' => 'path',
  1756. 'type' => 'string',
  1757. 'required' => true,
  1758. ),
  1759. 'requestId' => array(
  1760. 'location' => 'query',
  1761. 'type' => 'string',
  1762. ),
  1763. ),
  1764. ),
  1765. )
  1766. )
  1767. );
  1768. $this->httpHealthChecks = new Google_Service_Compute_Resource_HttpHealthChecks(
  1769. $this,
  1770. $this->serviceName,
  1771. 'httpHealthChecks',
  1772. array(
  1773. 'methods' => array(
  1774. 'delete' => array(
  1775. 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
  1776. 'httpMethod' => 'DELETE',
  1777. 'parameters' => array(
  1778. 'project' => array(
  1779. 'location' => 'path',
  1780. 'type' => 'string',
  1781. 'required' => true,
  1782. ),
  1783. 'httpHealthCheck' => array(
  1784. 'location' => 'path',
  1785. 'type' => 'string',
  1786. 'required' => true,
  1787. ),
  1788. 'requestId' => array(
  1789. 'location' => 'query',
  1790. 'type' => 'string',
  1791. ),
  1792. ),
  1793. ),'get' => array(
  1794. 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
  1795. 'httpMethod' => 'GET',
  1796. 'parameters' => array(
  1797. 'project' => array(
  1798. 'location' => 'path',
  1799. 'type' => 'string',
  1800. 'required' => true,
  1801. ),
  1802. 'httpHealthCheck' => array(
  1803. 'location' => 'path',
  1804. 'type' => 'string',
  1805. 'required' => true,
  1806. ),
  1807. ),
  1808. ),'insert' => array(
  1809. 'path' => '{project}/global/httpHealthChecks',
  1810. 'httpMethod' => 'POST',
  1811. 'parameters' => array(
  1812. 'project' => array(
  1813. 'location' => 'path',
  1814. 'type' => 'string',
  1815. 'required' => true,
  1816. ),
  1817. 'requestId' => array(
  1818. 'location' => 'query',
  1819. 'type' => 'string',
  1820. ),
  1821. ),
  1822. ),'list' => array(
  1823. 'path' => '{project}/global/httpHealthChecks',
  1824. 'httpMethod' => 'GET',
  1825. 'parameters' => array(
  1826. 'project' => array(
  1827. 'location' => 'path',
  1828. 'type' => 'string',
  1829. 'required' => true,
  1830. ),
  1831. 'filter' => array(
  1832. 'location' => 'query',
  1833. 'type' => 'string',
  1834. ),
  1835. 'maxResults' => array(
  1836. 'location' => 'query',
  1837. 'type' => 'integer',
  1838. ),
  1839. 'orderBy' => array(
  1840. 'location' => 'query',
  1841. 'type' => 'string',
  1842. ),
  1843. 'pageToken' => array(
  1844. 'location' => 'query',
  1845. 'type' => 'string',
  1846. ),
  1847. ),
  1848. ),'patch' => array(
  1849. 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
  1850. 'httpMethod' => 'PATCH',
  1851. 'parameters' => array(
  1852. 'project' => array(
  1853. 'location' => 'path',
  1854. 'type' => 'string',
  1855. 'required' => true,
  1856. ),
  1857. 'httpHealthCheck' => array(
  1858. 'location' => 'path',
  1859. 'type' => 'string',
  1860. 'required' => true,
  1861. ),
  1862. 'requestId' => array(
  1863. 'location' => 'query',
  1864. 'type' => 'string',
  1865. ),
  1866. ),
  1867. ),'update' => array(
  1868. 'path' => '{project}/global/httpHealthChecks/{httpHealthCheck}',
  1869. 'httpMethod' => 'PUT',
  1870. 'parameters' => array(
  1871. 'project' => array(
  1872. 'location' => 'path',
  1873. 'type' => 'string',
  1874. 'required' => true,
  1875. ),
  1876. 'httpHealthCheck' => array(
  1877. 'location' => 'path',
  1878. 'type' => 'string',
  1879. 'required' => true,
  1880. ),
  1881. 'requestId' => array(
  1882. 'location' => 'query',
  1883. 'type' => 'string',
  1884. ),
  1885. ),
  1886. ),
  1887. )
  1888. )
  1889. );
  1890. $this->httpsHealthChecks = new Google_Service_Compute_Resource_HttpsHealthChecks(
  1891. $this,
  1892. $this->serviceName,
  1893. 'httpsHealthChecks',
  1894. array(
  1895. 'methods' => array(
  1896. 'delete' => array(
  1897. 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
  1898. 'httpMethod' => 'DELETE',
  1899. 'parameters' => array(
  1900. 'project' => array(
  1901. 'location' => 'path',
  1902. 'type' => 'string',
  1903. 'required' => true,
  1904. ),
  1905. 'httpsHealthCheck' => array(
  1906. 'location' => 'path',
  1907. 'type' => 'string',
  1908. 'required' => true,
  1909. ),
  1910. 'requestId' => array(
  1911. 'location' => 'query',
  1912. 'type' => 'string',
  1913. ),
  1914. ),
  1915. ),'get' => array(
  1916. 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
  1917. 'httpMethod' => 'GET',
  1918. 'parameters' => array(
  1919. 'project' => array(
  1920. 'location' => 'path',
  1921. 'type' => 'string',
  1922. 'required' => true,
  1923. ),
  1924. 'httpsHealthCheck' => array(
  1925. 'location' => 'path',
  1926. 'type' => 'string',
  1927. 'required' => true,
  1928. ),
  1929. ),
  1930. ),'insert' => array(
  1931. 'path' => '{project}/global/httpsHealthChecks',
  1932. 'httpMethod' => 'POST',
  1933. 'parameters' => array(
  1934. 'project' => array(
  1935. 'location' => 'path',
  1936. 'type' => 'string',
  1937. 'required' => true,
  1938. ),
  1939. 'requestId' => array(
  1940. 'location' => 'query',
  1941. 'type' => 'string',
  1942. ),
  1943. ),
  1944. ),'list' => array(
  1945. 'path' => '{project}/global/httpsHealthChecks',
  1946. 'httpMethod' => 'GET',
  1947. 'parameters' => array(
  1948. 'project' => array(
  1949. 'location' => 'path',
  1950. 'type' => 'string',
  1951. 'required' => true,
  1952. ),
  1953. 'filter' => array(
  1954. 'location' => 'query',
  1955. 'type' => 'string',
  1956. ),
  1957. 'maxResults' => array(
  1958. 'location' => 'query',
  1959. 'type' => 'integer',
  1960. ),
  1961. 'orderBy' => array(
  1962. 'location' => 'query',
  1963. 'type' => 'string',
  1964. ),
  1965. 'pageToken' => array(
  1966. 'location' => 'query',
  1967. 'type' => 'string',
  1968. ),
  1969. ),
  1970. ),'patch' => array(
  1971. 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
  1972. 'httpMethod' => 'PATCH',
  1973. 'parameters' => array(
  1974. 'project' => array(
  1975. 'location' => 'path',
  1976. 'type' => 'string',
  1977. 'required' => true,
  1978. ),
  1979. 'httpsHealthCheck' => array(
  1980. 'location' => 'path',
  1981. 'type' => 'string',
  1982. 'required' => true,
  1983. ),
  1984. 'requestId' => array(
  1985. 'location' => 'query',
  1986. 'type' => 'string',
  1987. ),
  1988. ),
  1989. ),'update' => array(
  1990. 'path' => '{project}/global/httpsHealthChecks/{httpsHealthCheck}',
  1991. 'httpMethod' => 'PUT',
  1992. 'parameters' => array(
  1993. 'project' => array(
  1994. 'location' => 'path',
  1995. 'type' => 'string',
  1996. 'required' => true,
  1997. ),
  1998. 'httpsHealthCheck' => array(
  1999. 'location' => 'path',
  2000. 'type' => 'string',
  2001. 'required' => true,
  2002. ),
  2003. 'requestId' => array(
  2004. 'location' => 'query',
  2005. 'type' => 'string',
  2006. ),
  2007. ),
  2008. ),
  2009. )
  2010. )
  2011. );
  2012. $this->images = new Google_Service_Compute_Resource_Images(
  2013. $this,
  2014. $this->serviceName,
  2015. 'images',
  2016. array(
  2017. 'methods' => array(
  2018. 'delete' => array(
  2019. 'path' => '{project}/global/images/{image}',
  2020. 'httpMethod' => 'DELETE',
  2021. 'parameters' => array(
  2022. 'project' => array(
  2023. 'location' => 'path',
  2024. 'type' => 'string',
  2025. 'required' => true,
  2026. ),
  2027. 'image' => array(
  2028. 'location' => 'path',
  2029. 'type' => 'string',
  2030. 'required' => true,
  2031. ),
  2032. 'requestId' => array(
  2033. 'location' => 'query',
  2034. 'type' => 'string',
  2035. ),
  2036. ),
  2037. ),'deprecate' => array(
  2038. 'path' => '{project}/global/images/{image}/deprecate',
  2039. 'httpMethod' => 'POST',
  2040. 'parameters' => array(
  2041. 'project' => array(
  2042. 'location' => 'path',
  2043. 'type' => 'string',
  2044. 'required' => true,
  2045. ),
  2046. 'image' => array(
  2047. 'location' => 'path',
  2048. 'type' => 'string',
  2049. 'required' => true,
  2050. ),
  2051. 'requestId' => array(
  2052. 'location' => 'query',
  2053. 'type' => 'string',
  2054. ),
  2055. ),
  2056. ),'get' => array(
  2057. 'path' => '{project}/global/images/{image}',
  2058. 'httpMethod' => 'GET',
  2059. 'parameters' => array(
  2060. 'project' => array(
  2061. 'location' => 'path',
  2062. 'type' => 'string',
  2063. 'required' => true,
  2064. ),
  2065. 'image' => array(
  2066. 'location' => 'path',
  2067. 'type' => 'string',
  2068. 'required' => true,
  2069. ),
  2070. ),
  2071. ),'getFromFamily' => array(
  2072. 'path' => '{project}/global/images/family/{family}',
  2073. 'httpMethod' => 'GET',
  2074. 'parameters' => array(
  2075. 'project' => array(
  2076. 'location' => 'path',
  2077. 'type' => 'string',
  2078. 'required' => true,
  2079. ),
  2080. 'family' => array(
  2081. 'location' => 'path',
  2082. 'type' => 'string',
  2083. 'required' => true,
  2084. ),
  2085. ),
  2086. ),'insert' => array(
  2087. 'path' => '{project}/global/images',
  2088. 'httpMethod' => 'POST',
  2089. 'parameters' => array(
  2090. 'project' => array(
  2091. 'location' => 'path',
  2092. 'type' => 'string',
  2093. 'required' => true,
  2094. ),
  2095. 'forceCreate' => array(
  2096. 'location' => 'query',
  2097. 'type' => 'boolean',
  2098. ),
  2099. 'requestId' => array(
  2100. 'location' => 'query',
  2101. 'type' => 'string',
  2102. ),
  2103. ),
  2104. ),'list' => array(
  2105. 'path' => '{project}/global/images',
  2106. 'httpMethod' => 'GET',
  2107. 'parameters' => array(
  2108. 'project' => array(
  2109. 'location' => 'path',
  2110. 'type' => 'string',
  2111. 'required' => true,
  2112. ),
  2113. 'filter' => array(
  2114. 'location' => 'query',
  2115. 'type' => 'string',
  2116. ),
  2117. 'maxResults' => array(
  2118. 'location' => 'query',
  2119. 'type' => 'integer',
  2120. ),
  2121. 'orderBy' => array(
  2122. 'location' => 'query',
  2123. 'type' => 'string',
  2124. ),
  2125. 'pageToken' => array(
  2126. 'location' => 'query',
  2127. 'type' => 'string',
  2128. ),
  2129. ),
  2130. ),'setLabels' => array(
  2131. 'path' => '{project}/global/images/{resource}/setLabels',
  2132. 'httpMethod' => 'POST',
  2133. 'parameters' => array(
  2134. 'project' => array(
  2135. 'location' => 'path',
  2136. 'type' => 'string',
  2137. 'required' => true,
  2138. ),
  2139. 'resource' => array(
  2140. 'location' => 'path',
  2141. 'type' => 'string',
  2142. 'required' => true,
  2143. ),
  2144. ),
  2145. ),
  2146. )
  2147. )
  2148. );
  2149. $this->instanceGroupManagers = new Google_Service_Compute_Resource_InstanceGroupManagers(
  2150. $this,
  2151. $this->serviceName,
  2152. 'instanceGroupManagers',
  2153. array(
  2154. 'methods' => array(
  2155. 'abandonInstances' => array(
  2156. 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances',
  2157. 'httpMethod' => 'POST',
  2158. 'parameters' => array(
  2159. 'project' => array(
  2160. 'location' => 'path',
  2161. 'type' => 'string',
  2162. 'required' => true,
  2163. ),
  2164. 'zone' => array(
  2165. 'location' => 'path',
  2166. 'type' => 'string',
  2167. 'required' => true,
  2168. ),
  2169. 'instanceGroupManager' => array(
  2170. 'location' => 'path',
  2171. 'type' => 'string',
  2172. 'required' => true,
  2173. ),
  2174. 'requestId' => array(
  2175. 'location' => 'query',
  2176. 'type' => 'string',
  2177. ),
  2178. ),
  2179. ),'aggregatedList' => array(
  2180. 'path' => '{project}/aggregated/instanceGroupManagers',
  2181. 'httpMethod' => 'GET',
  2182. 'parameters' => array(
  2183. 'project' => array(
  2184. 'location' => 'path',
  2185. 'type' => 'string',
  2186. 'required' => true,
  2187. ),
  2188. 'filter' => array(
  2189. 'location' => 'query',
  2190. 'type' => 'string',
  2191. ),
  2192. 'maxResults' => array(
  2193. 'location' => 'query',
  2194. 'type' => 'integer',
  2195. ),
  2196. 'orderBy' => array(
  2197. 'location' => 'query',
  2198. 'type' => 'string',
  2199. ),
  2200. 'pageToken' => array(
  2201. 'location' => 'query',
  2202. 'type' => 'string',
  2203. ),
  2204. ),
  2205. ),'delete' => array(
  2206. 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
  2207. 'httpMethod' => 'DELETE',
  2208. 'parameters' => array(
  2209. 'project' => array(
  2210. 'location' => 'path',
  2211. 'type' => 'string',
  2212. 'required' => true,
  2213. ),
  2214. 'zone' => array(
  2215. 'location' => 'path',
  2216. 'type' => 'string',
  2217. 'required' => true,
  2218. ),
  2219. 'instanceGroupManager' => array(
  2220. 'location' => 'path',
  2221. 'type' => 'string',
  2222. 'required' => true,
  2223. ),
  2224. 'requestId' => array(
  2225. 'location' => 'query',
  2226. 'type' => 'string',
  2227. ),
  2228. ),
  2229. ),'deleteInstances' => array(
  2230. 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances',
  2231. 'httpMethod' => 'POST',
  2232. 'parameters' => array(
  2233. 'project' => array(
  2234. 'location' => 'path',
  2235. 'type' => 'string',
  2236. 'required' => true,
  2237. ),
  2238. 'zone' => array(
  2239. 'location' => 'path',
  2240. 'type' => 'string',
  2241. 'required' => true,
  2242. ),
  2243. 'instanceGroupManager' => array(
  2244. 'location' => 'path',
  2245. 'type' => 'string',
  2246. 'required' => true,
  2247. ),
  2248. 'requestId' => array(
  2249. 'location' => 'query',
  2250. 'type' => 'string',
  2251. ),
  2252. ),
  2253. ),'get' => array(
  2254. 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}',
  2255. 'httpMethod' => 'GET',
  2256. 'parameters' => array(
  2257. 'project' => array(
  2258. 'location' => 'path',
  2259. 'type' => 'string',
  2260. 'required' => true,
  2261. ),
  2262. 'zone' => array(
  2263. 'location' => 'path',
  2264. 'type' => 'string',
  2265. 'required' => true,
  2266. ),
  2267. 'instanceGroupManager' => array(
  2268. 'location' => 'path',
  2269. 'type' => 'string',
  2270. 'required' => true,
  2271. ),
  2272. ),
  2273. ),'insert' => array(
  2274. 'path' => '{project}/zones/{zone}/instanceGroupManagers',
  2275. 'httpMethod' => 'POST',
  2276. 'parameters' => array(
  2277. 'project' => array(
  2278. 'location' => 'path',
  2279. 'type' => 'string',
  2280. 'required' => true,
  2281. ),
  2282. 'zone' => array(
  2283. 'location' => 'path',
  2284. 'type' => 'string',
  2285. 'required' => true,
  2286. ),
  2287. 'requestId' => array(
  2288. 'location' => 'query',
  2289. 'type' => 'string',
  2290. ),
  2291. ),
  2292. ),'list' => array(
  2293. 'path' => '{project}/zones/{zone}/instanceGroupManagers',
  2294. 'httpMethod' => 'GET',
  2295. 'parameters' => array(
  2296. 'project' => array(
  2297. 'location' => 'path',
  2298. 'type' => 'string',
  2299. 'required' => true,
  2300. ),
  2301. 'zone' => array(
  2302. 'location' => 'path',
  2303. 'type' => 'string',
  2304. 'required' => true,
  2305. ),
  2306. 'filter' => array(
  2307. 'location' => 'query',
  2308. 'type' => 'string',
  2309. ),
  2310. 'maxResults' => array(
  2311. 'location' => 'query',
  2312. 'type' => 'integer',
  2313. ),
  2314. 'orderBy' => array(
  2315. 'location' => 'query',
  2316. 'type' => 'string',
  2317. ),
  2318. 'pageToken' => array(
  2319. 'location' => 'query',
  2320. 'type' => 'string',
  2321. ),
  2322. ),
  2323. ),'listManagedInstances' => array(
  2324. 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances',
  2325. 'httpMethod' => 'POST',
  2326. 'parameters' => array(
  2327. 'project' => array(
  2328. 'location' => 'path',
  2329. 'type' => 'string',
  2330. 'required' => true,
  2331. ),
  2332. 'zone' => array(
  2333. 'location' => 'path',
  2334. 'type' => 'string',
  2335. 'required' => true,
  2336. ),
  2337. 'instanceGroupManager' => array(
  2338. 'location' => 'path',
  2339. 'type' => 'string',
  2340. 'required' => true,
  2341. ),
  2342. 'filter' => array(
  2343. 'location' => 'query',
  2344. 'type' => 'string',
  2345. ),
  2346. 'maxResults' => array(
  2347. 'location' => 'query',
  2348. 'type' => 'integer',
  2349. ),
  2350. 'order_by' => array(
  2351. 'location' => 'query',
  2352. 'type' => 'string',
  2353. ),
  2354. 'pageToken' => array(
  2355. 'location' => 'query',
  2356. 'type' => 'string',
  2357. ),
  2358. ),
  2359. ),'recreateInstances' => array(
  2360. 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances',
  2361. 'httpMethod' => 'POST',
  2362. 'parameters' => array(
  2363. 'project' => array(
  2364. 'location' => 'path',
  2365. 'type' => 'string',
  2366. 'required' => true,
  2367. ),
  2368. 'zone' => array(
  2369. 'location' => 'path',
  2370. 'type' => 'string',
  2371. 'required' => true,
  2372. ),
  2373. 'instanceGroupManager' => array(
  2374. 'location' => 'path',
  2375. 'type' => 'string',
  2376. 'required' => true,
  2377. ),
  2378. 'requestId' => array(
  2379. 'location' => 'query',
  2380. 'type' => 'string',
  2381. ),
  2382. ),
  2383. ),'resize' => array(
  2384. 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize',
  2385. 'httpMethod' => 'POST',
  2386. 'parameters' => array(
  2387. 'project' => array(
  2388. 'location' => 'path',
  2389. 'type' => 'string',
  2390. 'required' => true,
  2391. ),
  2392. 'zone' => array(
  2393. 'location' => 'path',
  2394. 'type' => 'string',
  2395. 'required' => true,
  2396. ),
  2397. 'instanceGroupManager' => array(
  2398. 'location' => 'path',
  2399. 'type' => 'string',
  2400. 'required' => true,
  2401. ),
  2402. 'size' => array(
  2403. 'location' => 'query',
  2404. 'type' => 'integer',
  2405. 'required' => true,
  2406. ),
  2407. 'requestId' => array(
  2408. 'location' => 'query',
  2409. 'type' => 'string',
  2410. ),
  2411. ),
  2412. ),'setInstanceTemplate' => array(
  2413. 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate',
  2414. 'httpMethod' => 'POST',
  2415. 'parameters' => array(
  2416. 'project' => array(
  2417. 'location' => 'path',
  2418. 'type' => 'string',
  2419. 'required' => true,
  2420. ),
  2421. 'zone' => array(
  2422. 'location' => 'path',
  2423. 'type' => 'string',
  2424. 'required' => true,
  2425. ),
  2426. 'instanceGroupManager' => array(
  2427. 'location' => 'path',
  2428. 'type' => 'string',
  2429. 'required' => true,
  2430. ),
  2431. 'requestId' => array(
  2432. 'location' => 'query',
  2433. 'type' => 'string',
  2434. ),
  2435. ),
  2436. ),'setTargetPools' => array(
  2437. 'path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools',
  2438. 'httpMethod' => 'POST',
  2439. 'parameters' => array(
  2440. 'project' => array(
  2441. 'location' => 'path',
  2442. 'type' => 'string',
  2443. 'required' => true,
  2444. ),
  2445. 'zone' => array(
  2446. 'location' => 'path',
  2447. 'type' => 'string',
  2448. 'required' => true,
  2449. ),
  2450. 'instanceGroupManager' => array(
  2451. 'location' => 'path',
  2452. 'type' => 'string',
  2453. 'required' => true,
  2454. ),
  2455. 'requestId' => array(
  2456. 'location' => 'query',
  2457. 'type' => 'string',
  2458. ),
  2459. ),
  2460. ),
  2461. )
  2462. )
  2463. );
  2464. $this->instanceGroups = new Google_Service_Compute_Resource_InstanceGroups(
  2465. $this,
  2466. $this->serviceName,
  2467. 'instanceGroups',
  2468. array(
  2469. 'methods' => array(
  2470. 'addInstances' => array(
  2471. 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances',
  2472. 'httpMethod' => 'POST',
  2473. 'parameters' => array(
  2474. 'project' => array(
  2475. 'location' => 'path',
  2476. 'type' => 'string',
  2477. 'required' => true,
  2478. ),
  2479. 'zone' => array(
  2480. 'location' => 'path',
  2481. 'type' => 'string',
  2482. 'required' => true,
  2483. ),
  2484. 'instanceGroup' => array(
  2485. 'location' => 'path',
  2486. 'type' => 'string',
  2487. 'required' => true,
  2488. ),
  2489. 'requestId' => array(
  2490. 'location' => 'query',
  2491. 'type' => 'string',
  2492. ),
  2493. ),
  2494. ),'aggregatedList' => array(
  2495. 'path' => '{project}/aggregated/instanceGroups',
  2496. 'httpMethod' => 'GET',
  2497. 'parameters' => array(
  2498. 'project' => array(
  2499. 'location' => 'path',
  2500. 'type' => 'string',
  2501. 'required' => true,
  2502. ),
  2503. 'filter' => array(
  2504. 'location' => 'query',
  2505. 'type' => 'string',
  2506. ),
  2507. 'maxResults' => array(
  2508. 'location' => 'query',
  2509. 'type' => 'integer',
  2510. ),
  2511. 'orderBy' => array(
  2512. 'location' => 'query',
  2513. 'type' => 'string',
  2514. ),
  2515. 'pageToken' => array(
  2516. 'location' => 'query',
  2517. 'type' => 'string',
  2518. ),
  2519. ),
  2520. ),'delete' => array(
  2521. 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}',
  2522. 'httpMethod' => 'DELETE',
  2523. 'parameters' => array(
  2524. 'project' => array(
  2525. 'location' => 'path',
  2526. 'type' => 'string',
  2527. 'required' => true,
  2528. ),
  2529. 'zone' => array(
  2530. 'location' => 'path',
  2531. 'type' => 'string',
  2532. 'required' => true,
  2533. ),
  2534. 'instanceGroup' => array(
  2535. 'location' => 'path',
  2536. 'type' => 'string',
  2537. 'required' => true,
  2538. ),
  2539. 'requestId' => array(
  2540. 'location' => 'query',
  2541. 'type' => 'string',
  2542. ),
  2543. ),
  2544. ),'get' => array(
  2545. 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}',
  2546. 'httpMethod' => 'GET',
  2547. 'parameters' => array(
  2548. 'project' => array(
  2549. 'location' => 'path',
  2550. 'type' => 'string',
  2551. 'required' => true,
  2552. ),
  2553. 'zone' => array(
  2554. 'location' => 'path',
  2555. 'type' => 'string',
  2556. 'required' => true,
  2557. ),
  2558. 'instanceGroup' => array(
  2559. 'location' => 'path',
  2560. 'type' => 'string',
  2561. 'required' => true,
  2562. ),
  2563. ),
  2564. ),'insert' => array(
  2565. 'path' => '{project}/zones/{zone}/instanceGroups',
  2566. 'httpMethod' => 'POST',
  2567. 'parameters' => array(
  2568. 'project' => array(
  2569. 'location' => 'path',
  2570. 'type' => 'string',
  2571. 'required' => true,
  2572. ),
  2573. 'zone' => array(
  2574. 'location' => 'path',
  2575. 'type' => 'string',
  2576. 'required' => true,
  2577. ),
  2578. 'requestId' => array(
  2579. 'location' => 'query',
  2580. 'type' => 'string',
  2581. ),
  2582. ),
  2583. ),'list' => array(
  2584. 'path' => '{project}/zones/{zone}/instanceGroups',
  2585. 'httpMethod' => 'GET',
  2586. 'parameters' => array(
  2587. 'project' => array(
  2588. 'location' => 'path',
  2589. 'type' => 'string',
  2590. 'required' => true,
  2591. ),
  2592. 'zone' => array(
  2593. 'location' => 'path',
  2594. 'type' => 'string',
  2595. 'required' => true,
  2596. ),
  2597. 'filter' => array(
  2598. 'location' => 'query',
  2599. 'type' => 'string',
  2600. ),
  2601. 'maxResults' => array(
  2602. 'location' => 'query',
  2603. 'type' => 'integer',
  2604. ),
  2605. 'orderBy' => array(
  2606. 'location' => 'query',
  2607. 'type' => 'string',
  2608. ),
  2609. 'pageToken' => array(
  2610. 'location' => 'query',
  2611. 'type' => 'string',
  2612. ),
  2613. ),
  2614. ),'listInstances' => array(
  2615. 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances',
  2616. 'httpMethod' => 'POST',
  2617. 'parameters' => array(
  2618. 'project' => array(
  2619. 'location' => 'path',
  2620. 'type' => 'string',
  2621. 'required' => true,
  2622. ),
  2623. 'zone' => array(
  2624. 'location' => 'path',
  2625. 'type' => 'string',
  2626. 'required' => true,
  2627. ),
  2628. 'instanceGroup' => array(
  2629. 'location' => 'path',
  2630. 'type' => 'string',
  2631. 'required' => true,
  2632. ),
  2633. 'filter' => array(
  2634. 'location' => 'query',
  2635. 'type' => 'string',
  2636. ),
  2637. 'maxResults' => array(
  2638. 'location' => 'query',
  2639. 'type' => 'integer',
  2640. ),
  2641. 'orderBy' => array(
  2642. 'location' => 'query',
  2643. 'type' => 'string',
  2644. ),
  2645. 'pageToken' => array(
  2646. 'location' => 'query',
  2647. 'type' => 'string',
  2648. ),
  2649. ),
  2650. ),'removeInstances' => array(
  2651. 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances',
  2652. 'httpMethod' => 'POST',
  2653. 'parameters' => array(
  2654. 'project' => array(
  2655. 'location' => 'path',
  2656. 'type' => 'string',
  2657. 'required' => true,
  2658. ),
  2659. 'zone' => array(
  2660. 'location' => 'path',
  2661. 'type' => 'string',
  2662. 'required' => true,
  2663. ),
  2664. 'instanceGroup' => array(
  2665. 'location' => 'path',
  2666. 'type' => 'string',
  2667. 'required' => true,
  2668. ),
  2669. 'requestId' => array(
  2670. 'location' => 'query',
  2671. 'type' => 'string',
  2672. ),
  2673. ),
  2674. ),'setNamedPorts' => array(
  2675. 'path' => '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts',
  2676. 'httpMethod' => 'POST',
  2677. 'parameters' => array(
  2678. 'project' => array(
  2679. 'location' => 'path',
  2680. 'type' => 'string',
  2681. 'required' => true,
  2682. ),
  2683. 'zone' => array(
  2684. 'location' => 'path',
  2685. 'type' => 'string',
  2686. 'required' => true,
  2687. ),
  2688. 'instanceGroup' => array(
  2689. 'location' => 'path',
  2690. 'type' => 'string',
  2691. 'required' => true,
  2692. ),
  2693. 'requestId' => array(
  2694. 'location' => 'query',
  2695. 'type' => 'string',
  2696. ),
  2697. ),
  2698. ),
  2699. )
  2700. )
  2701. );
  2702. $this->instanceTemplates = new Google_Service_Compute_Resource_InstanceTemplates(
  2703. $this,
  2704. $this->serviceName,
  2705. 'instanceTemplates',
  2706. array(
  2707. 'methods' => array(
  2708. 'delete' => array(
  2709. 'path' => '{project}/global/instanceTemplates/{instanceTemplate}',
  2710. 'httpMethod' => 'DELETE',
  2711. 'parameters' => array(
  2712. 'project' => array(
  2713. 'location' => 'path',
  2714. 'type' => 'string',
  2715. 'required' => true,
  2716. ),
  2717. 'instanceTemplate' => array(
  2718. 'location' => 'path',
  2719. 'type' => 'string',
  2720. 'required' => true,
  2721. ),
  2722. 'requestId' => array(
  2723. 'location' => 'query',
  2724. 'type' => 'string',
  2725. ),
  2726. ),
  2727. ),'get' => array(
  2728. 'path' => '{project}/global/instanceTemplates/{instanceTemplate}',
  2729. 'httpMethod' => 'GET',
  2730. 'parameters' => array(
  2731. 'project' => array(
  2732. 'location' => 'path',
  2733. 'type' => 'string',
  2734. 'required' => true,
  2735. ),
  2736. 'instanceTemplate' => array(
  2737. 'location' => 'path',
  2738. 'type' => 'string',
  2739. 'required' => true,
  2740. ),
  2741. ),
  2742. ),'insert' => array(
  2743. 'path' => '{project}/global/instanceTemplates',
  2744. 'httpMethod' => 'POST',
  2745. 'parameters' => array(
  2746. 'project' => array(
  2747. 'location' => 'path',
  2748. 'type' => 'string',
  2749. 'required' => true,
  2750. ),
  2751. 'requestId' => array(
  2752. 'location' => 'query',
  2753. 'type' => 'string',
  2754. ),
  2755. ),
  2756. ),'list' => array(
  2757. 'path' => '{project}/global/instanceTemplates',
  2758. 'httpMethod' => 'GET',
  2759. 'parameters' => array(
  2760. 'project' => array(
  2761. 'location' => 'path',
  2762. 'type' => 'string',
  2763. 'required' => true,
  2764. ),
  2765. 'filter' => array(
  2766. 'location' => 'query',
  2767. 'type' => 'string',
  2768. ),
  2769. 'maxResults' => array(
  2770. 'location' => 'query',
  2771. 'type' => 'integer',
  2772. ),
  2773. 'orderBy' => array(
  2774. 'location' => 'query',
  2775. 'type' => 'string',
  2776. ),
  2777. 'pageToken' => array(
  2778. 'location' => 'query',
  2779. 'type' => 'string',
  2780. ),
  2781. ),
  2782. ),
  2783. )
  2784. )
  2785. );
  2786. $this->instances = new Google_Service_Compute_Resource_Instances(
  2787. $this,
  2788. $this->serviceName,
  2789. 'instances',
  2790. array(
  2791. 'methods' => array(
  2792. 'addAccessConfig' => array(
  2793. 'path' => '{project}/zones/{zone}/instances/{instance}/addAccessConfig',
  2794. 'httpMethod' => 'POST',
  2795. 'parameters' => array(
  2796. 'project' => array(
  2797. 'location' => 'path',
  2798. 'type' => 'string',
  2799. 'required' => true,
  2800. ),
  2801. 'zone' => array(
  2802. 'location' => 'path',
  2803. 'type' => 'string',
  2804. 'required' => true,
  2805. ),
  2806. 'instance' => array(
  2807. 'location' => 'path',
  2808. 'type' => 'string',
  2809. 'required' => true,
  2810. ),
  2811. 'networkInterface' => array(
  2812. 'location' => 'query',
  2813. 'type' => 'string',
  2814. 'required' => true,
  2815. ),
  2816. 'requestId' => array(
  2817. 'location' => 'query',
  2818. 'type' => 'string',
  2819. ),
  2820. ),
  2821. ),'aggregatedList' => array(
  2822. 'path' => '{project}/aggregated/instances',
  2823. 'httpMethod' => 'GET',
  2824. 'parameters' => array(
  2825. 'project' => array(
  2826. 'location' => 'path',
  2827. 'type' => 'string',
  2828. 'required' => true,
  2829. ),
  2830. 'filter' => array(
  2831. 'location' => 'query',
  2832. 'type' => 'string',
  2833. ),
  2834. 'maxResults' => array(
  2835. 'location' => 'query',
  2836. 'type' => 'integer',
  2837. ),
  2838. 'orderBy' => array(
  2839. 'location' => 'query',
  2840. 'type' => 'string',
  2841. ),
  2842. 'pageToken' => array(
  2843. 'location' => 'query',
  2844. 'type' => 'string',
  2845. ),
  2846. ),
  2847. ),'attachDisk' => array(
  2848. 'path' => '{project}/zones/{zone}/instances/{instance}/attachDisk',
  2849. 'httpMethod' => 'POST',
  2850. 'parameters' => array(
  2851. 'project' => array(
  2852. 'location' => 'path',
  2853. 'type' => 'string',
  2854. 'required' => true,
  2855. ),
  2856. 'zone' => array(
  2857. 'location' => 'path',
  2858. 'type' => 'string',
  2859. 'required' => true,
  2860. ),
  2861. 'instance' => array(
  2862. 'location' => 'path',
  2863. 'type' => 'string',
  2864. 'required' => true,
  2865. ),
  2866. 'forceAttach' => array(
  2867. 'location' => 'query',
  2868. 'type' => 'boolean',
  2869. ),
  2870. 'requestId' => array(
  2871. 'location' => 'query',
  2872. 'type' => 'string',
  2873. ),
  2874. ),
  2875. ),'delete' => array(
  2876. 'path' => '{project}/zones/{zone}/instances/{instance}',
  2877. 'httpMethod' => 'DELETE',
  2878. 'parameters' => array(
  2879. 'project' => array(
  2880. 'location' => 'path',
  2881. 'type' => 'string',
  2882. 'required' => true,
  2883. ),
  2884. 'zone' => array(
  2885. 'location' => 'path',
  2886. 'type' => 'string',
  2887. 'required' => true,
  2888. ),
  2889. 'instance' => array(
  2890. 'location' => 'path',
  2891. 'type' => 'string',
  2892. 'required' => true,
  2893. ),
  2894. 'requestId' => array(
  2895. 'location' => 'query',
  2896. 'type' => 'string',
  2897. ),
  2898. ),
  2899. ),'deleteAccessConfig' => array(
  2900. 'path' => '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig',
  2901. 'httpMethod' => 'POST',
  2902. 'parameters' => array(
  2903. 'project' => array(
  2904. 'location' => 'path',
  2905. 'type' => 'string',
  2906. 'required' => true,
  2907. ),
  2908. 'zone' => array(
  2909. 'location' => 'path',
  2910. 'type' => 'string',
  2911. 'required' => true,
  2912. ),
  2913. 'instance' => array(
  2914. 'location' => 'path',
  2915. 'type' => 'string',
  2916. 'required' => true,
  2917. ),
  2918. 'accessConfig' => array(
  2919. 'location' => 'query',
  2920. 'type' => 'string',
  2921. 'required' => true,
  2922. ),
  2923. 'networkInterface' => array(
  2924. 'location' => 'query',
  2925. 'type' => 'string',
  2926. 'required' => true,
  2927. ),
  2928. 'requestId' => array(
  2929. 'location' => 'query',
  2930. 'type' => 'string',
  2931. ),
  2932. ),
  2933. ),'detachDisk' => array(
  2934. 'path' => '{project}/zones/{zone}/instances/{instance}/detachDisk',
  2935. 'httpMethod' => 'POST',
  2936. 'parameters' => array(
  2937. 'project' => array(
  2938. 'location' => 'path',
  2939. 'type' => 'string',
  2940. 'required' => true,
  2941. ),
  2942. 'zone' => array(
  2943. 'location' => 'path',
  2944. 'type' => 'string',
  2945. 'required' => true,
  2946. ),
  2947. 'instance' => array(
  2948. 'location' => 'path',
  2949. 'type' => 'string',
  2950. 'required' => true,
  2951. ),
  2952. 'deviceName' => array(
  2953. 'location' => 'query',
  2954. 'type' => 'string',
  2955. 'required' => true,
  2956. ),
  2957. 'requestId' => array(
  2958. 'location' => 'query',
  2959. 'type' => 'string',
  2960. ),
  2961. ),
  2962. ),'get' => array(
  2963. 'path' => '{project}/zones/{zone}/instances/{instance}',
  2964. 'httpMethod' => 'GET',
  2965. 'parameters' => array(
  2966. 'project' => array(
  2967. 'location' => 'path',
  2968. 'type' => 'string',
  2969. 'required' => true,
  2970. ),
  2971. 'zone' => array(
  2972. 'location' => 'path',
  2973. 'type' => 'string',
  2974. 'required' => true,
  2975. ),
  2976. 'instance' => array(
  2977. 'location' => 'path',
  2978. 'type' => 'string',
  2979. 'required' => true,
  2980. ),
  2981. ),
  2982. ),'getSerialPortOutput' => array(
  2983. 'path' => '{project}/zones/{zone}/instances/{instance}/serialPort',
  2984. 'httpMethod' => 'GET',
  2985. 'parameters' => array(
  2986. 'project' => array(
  2987. 'location' => 'path',
  2988. 'type' => 'string',
  2989. 'required' => true,
  2990. ),
  2991. 'zone' => array(
  2992. 'location' => 'path',
  2993. 'type' => 'string',
  2994. 'required' => true,
  2995. ),
  2996. 'instance' => array(
  2997. 'location' => 'path',
  2998. 'type' => 'string',
  2999. 'required' => true,
  3000. ),
  3001. 'port' => array(
  3002. 'location' => 'query',
  3003. 'type' => 'integer',
  3004. ),
  3005. 'start' => array(
  3006. 'location' => 'query',
  3007. 'type' => 'string',
  3008. ),
  3009. ),
  3010. ),'insert' => array(
  3011. 'path' => '{project}/zones/{zone}/instances',
  3012. 'httpMethod' => 'POST',
  3013. 'parameters' => array(
  3014. 'project' => array(
  3015. 'location' => 'path',
  3016. 'type' => 'string',
  3017. 'required' => true,
  3018. ),
  3019. 'zone' => array(
  3020. 'location' => 'path',
  3021. 'type' => 'string',
  3022. 'required' => true,
  3023. ),
  3024. 'requestId' => array(
  3025. 'location' => 'query',
  3026. 'type' => 'string',
  3027. ),
  3028. 'sourceInstanceTemplate' => array(
  3029. 'location' => 'query',
  3030. 'type' => 'string',
  3031. ),
  3032. ),
  3033. ),'list' => array(
  3034. 'path' => '{project}/zones/{zone}/instances',
  3035. 'httpMethod' => 'GET',
  3036. 'parameters' => array(
  3037. 'project' => array(
  3038. 'location' => 'path',
  3039. 'type' => 'string',
  3040. 'required' => true,
  3041. ),
  3042. 'zone' => array(
  3043. 'location' => 'path',
  3044. 'type' => 'string',
  3045. 'required' => true,
  3046. ),
  3047. 'filter' => array(
  3048. 'location' => 'query',
  3049. 'type' => 'string',
  3050. ),
  3051. 'maxResults' => array(
  3052. 'location' => 'query',
  3053. 'type' => 'integer',
  3054. ),
  3055. 'orderBy' => array(
  3056. 'location' => 'query',
  3057. 'type' => 'string',
  3058. ),
  3059. 'pageToken' => array(
  3060. 'location' => 'query',
  3061. 'type' => 'string',
  3062. ),
  3063. ),
  3064. ),'listReferrers' => array(
  3065. 'path' => '{project}/zones/{zone}/instances/{instance}/referrers',
  3066. 'httpMethod' => 'GET',
  3067. 'parameters' => array(
  3068. 'project' => array(
  3069. 'location' => 'path',
  3070. 'type' => 'string',
  3071. 'required' => true,
  3072. ),
  3073. 'zone' => array(
  3074. 'location' => 'path',
  3075. 'type' => 'string',
  3076. 'required' => true,
  3077. ),
  3078. 'instance' => array(
  3079. 'location' => 'path',
  3080. 'type' => 'string',
  3081. 'required' => true,
  3082. ),
  3083. 'filter' => array(
  3084. 'location' => 'query',
  3085. 'type' => 'string',
  3086. ),
  3087. 'maxResults' => array(
  3088. 'location' => 'query',
  3089. 'type' => 'integer',
  3090. ),
  3091. 'orderBy' => array(
  3092. 'location' => 'query',
  3093. 'type' => 'string',
  3094. ),
  3095. 'pageToken' => array(
  3096. 'location' => 'query',
  3097. 'type' => 'string',
  3098. ),
  3099. ),
  3100. ),'reset' => array(
  3101. 'path' => '{project}/zones/{zone}/instances/{instance}/reset',
  3102. 'httpMethod' => 'POST',
  3103. 'parameters' => array(
  3104. 'project' => array(
  3105. 'location' => 'path',
  3106. 'type' => 'string',
  3107. 'required' => true,
  3108. ),
  3109. 'zone' => array(
  3110. 'location' => 'path',
  3111. 'type' => 'string',
  3112. 'required' => true,
  3113. ),
  3114. 'instance' => array(
  3115. 'location' => 'path',
  3116. 'type' => 'string',
  3117. 'required' => true,
  3118. ),
  3119. 'requestId' => array(
  3120. 'location' => 'query',
  3121. 'type' => 'string',
  3122. ),
  3123. ),
  3124. ),'setDeletionProtection' => array(
  3125. 'path' => '{project}/zones/{zone}/instances/{resource}/setDeletionProtection',
  3126. 'httpMethod' => 'POST',
  3127. 'parameters' => array(
  3128. 'project' => array(
  3129. 'location' => 'path',
  3130. 'type' => 'string',
  3131. 'required' => true,
  3132. ),
  3133. 'zone' => array(
  3134. 'location' => 'path',
  3135. 'type' => 'string',
  3136. 'required' => true,
  3137. ),
  3138. 'resource' => array(
  3139. 'location' => 'path',
  3140. 'type' => 'string',
  3141. 'required' => true,
  3142. ),
  3143. 'deletionProtection' => array(
  3144. 'location' => 'query',
  3145. 'type' => 'boolean',
  3146. ),
  3147. 'requestId' => array(
  3148. 'location' => 'query',
  3149. 'type' => 'string',
  3150. ),
  3151. ),
  3152. ),'setDiskAutoDelete' => array(
  3153. 'path' => '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete',
  3154. 'httpMethod' => 'POST',
  3155. 'parameters' => array(
  3156. 'project' => array(
  3157. 'location' => 'path',
  3158. 'type' => 'string',
  3159. 'required' => true,
  3160. ),
  3161. 'zone' => array(
  3162. 'location' => 'path',
  3163. 'type' => 'string',
  3164. 'required' => true,
  3165. ),
  3166. 'instance' => array(
  3167. 'location' => 'path',
  3168. 'type' => 'string',
  3169. 'required' => true,
  3170. ),
  3171. 'autoDelete' => array(
  3172. 'location' => 'query',
  3173. 'type' => 'boolean',
  3174. 'required' => true,
  3175. ),
  3176. 'deviceName' => array(
  3177. 'location' => 'query',
  3178. 'type' => 'string',
  3179. 'required' => true,
  3180. ),
  3181. 'requestId' => array(
  3182. 'location' => 'query',
  3183. 'type' => 'string',
  3184. ),
  3185. ),
  3186. ),'setLabels' => array(
  3187. 'path' => '{project}/zones/{zone}/instances/{instance}/setLabels',
  3188. 'httpMethod' => 'POST',
  3189. 'parameters' => array(
  3190. 'project' => array(
  3191. 'location' => 'path',
  3192. 'type' => 'string',
  3193. 'required' => true,
  3194. ),
  3195. 'zone' => array(
  3196. 'location' => 'path',
  3197. 'type' => 'string',
  3198. 'required' => true,
  3199. ),
  3200. 'instance' => array(
  3201. 'location' => 'path',
  3202. 'type' => 'string',
  3203. 'required' => true,
  3204. ),
  3205. 'requestId' => array(
  3206. 'location' => 'query',
  3207. 'type' => 'string',
  3208. ),
  3209. ),
  3210. ),'setMachineResources' => array(
  3211. 'path' => '{project}/zones/{zone}/instances/{instance}/setMachineResources',
  3212. 'httpMethod' => 'POST',
  3213. 'parameters' => array(
  3214. 'project' => array(
  3215. 'location' => 'path',
  3216. 'type' => 'string',
  3217. 'required' => true,
  3218. ),
  3219. 'zone' => array(
  3220. 'location' => 'path',
  3221. 'type' => 'string',
  3222. 'required' => true,
  3223. ),
  3224. 'instance' => array(
  3225. 'location' => 'path',
  3226. 'type' => 'string',
  3227. 'required' => true,
  3228. ),
  3229. 'requestId' => array(
  3230. 'location' => 'query',
  3231. 'type' => 'string',
  3232. ),
  3233. ),
  3234. ),'setMachineType' => array(
  3235. 'path' => '{project}/zones/{zone}/instances/{instance}/setMachineType',
  3236. 'httpMethod' => 'POST',
  3237. 'parameters' => array(
  3238. 'project' => array(
  3239. 'location' => 'path',
  3240. 'type' => 'string',
  3241. 'required' => true,
  3242. ),
  3243. 'zone' => array(
  3244. 'location' => 'path',
  3245. 'type' => 'string',
  3246. 'required' => true,
  3247. ),
  3248. 'instance' => array(
  3249. 'location' => 'path',
  3250. 'type' => 'string',
  3251. 'required' => true,
  3252. ),
  3253. 'requestId' => array(
  3254. 'location' => 'query',
  3255. 'type' => 'string',
  3256. ),
  3257. ),
  3258. ),'setMetadata' => array(
  3259. 'path' => '{project}/zones/{zone}/instances/{instance}/setMetadata',
  3260. 'httpMethod' => 'POST',
  3261. 'parameters' => array(
  3262. 'project' => array(
  3263. 'location' => 'path',
  3264. 'type' => 'string',
  3265. 'required' => true,
  3266. ),
  3267. 'zone' => array(
  3268. 'location' => 'path',
  3269. 'type' => 'string',
  3270. 'required' => true,
  3271. ),
  3272. 'instance' => array(
  3273. 'location' => 'path',
  3274. 'type' => 'string',
  3275. 'required' => true,
  3276. ),
  3277. 'requestId' => array(
  3278. 'location' => 'query',
  3279. 'type' => 'string',
  3280. ),
  3281. ),
  3282. ),'setMinCpuPlatform' => array(
  3283. 'path' => '{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform',
  3284. 'httpMethod' => 'POST',
  3285. 'parameters' => array(
  3286. 'project' => array(
  3287. 'location' => 'path',
  3288. 'type' => 'string',
  3289. 'required' => true,
  3290. ),
  3291. 'zone' => array(
  3292. 'location' => 'path',
  3293. 'type' => 'string',
  3294. 'required' => true,
  3295. ),
  3296. 'instance' => array(
  3297. 'location' => 'path',
  3298. 'type' => 'string',
  3299. 'required' => true,
  3300. ),
  3301. 'requestId' => array(
  3302. 'location' => 'query',
  3303. 'type' => 'string',
  3304. ),
  3305. ),
  3306. ),'setScheduling' => array(
  3307. 'path' => '{project}/zones/{zone}/instances/{instance}/setScheduling',
  3308. 'httpMethod' => 'POST',
  3309. 'parameters' => array(
  3310. 'project' => array(
  3311. 'location' => 'path',
  3312. 'type' => 'string',
  3313. 'required' => true,
  3314. ),
  3315. 'zone' => array(
  3316. 'location' => 'path',
  3317. 'type' => 'string',
  3318. 'required' => true,
  3319. ),
  3320. 'instance' => array(
  3321. 'location' => 'path',
  3322. 'type' => 'string',
  3323. 'required' => true,
  3324. ),
  3325. 'requestId' => array(
  3326. 'location' => 'query',
  3327. 'type' => 'string',
  3328. ),
  3329. ),
  3330. ),'setServiceAccount' => array(
  3331. 'path' => '{project}/zones/{zone}/instances/{instance}/setServiceAccount',
  3332. 'httpMethod' => 'POST',
  3333. 'parameters' => array(
  3334. 'project' => array(
  3335. 'location' => 'path',
  3336. 'type' => 'string',
  3337. 'required' => true,
  3338. ),
  3339. 'zone' => array(
  3340. 'location' => 'path',
  3341. 'type' => 'string',
  3342. 'required' => true,
  3343. ),
  3344. 'instance' => array(
  3345. 'location' => 'path',
  3346. 'type' => 'string',
  3347. 'required' => true,
  3348. ),
  3349. 'requestId' => array(
  3350. 'location' => 'query',
  3351. 'type' => 'string',
  3352. ),
  3353. ),
  3354. ),'setTags' => array(
  3355. 'path' => '{project}/zones/{zone}/instances/{instance}/setTags',
  3356. 'httpMethod' => 'POST',
  3357. 'parameters' => array(
  3358. 'project' => array(
  3359. 'location' => 'path',
  3360. 'type' => 'string',
  3361. 'required' => true,
  3362. ),
  3363. 'zone' => array(
  3364. 'location' => 'path',
  3365. 'type' => 'string',
  3366. 'required' => true,
  3367. ),
  3368. 'instance' => array(
  3369. 'location' => 'path',
  3370. 'type' => 'string',
  3371. 'required' => true,
  3372. ),
  3373. 'requestId' => array(
  3374. 'location' => 'query',
  3375. 'type' => 'string',
  3376. ),
  3377. ),
  3378. ),'start' => array(
  3379. 'path' => '{project}/zones/{zone}/instances/{instance}/start',
  3380. 'httpMethod' => 'POST',
  3381. 'parameters' => array(
  3382. 'project' => array(
  3383. 'location' => 'path',
  3384. 'type' => 'string',
  3385. 'required' => true,
  3386. ),
  3387. 'zone' => array(
  3388. 'location' => 'path',
  3389. 'type' => 'string',
  3390. 'required' => true,
  3391. ),
  3392. 'instance' => array(
  3393. 'location' => 'path',
  3394. 'type' => 'string',
  3395. 'required' => true,
  3396. ),
  3397. 'requestId' => array(
  3398. 'location' => 'query',
  3399. 'type' => 'string',
  3400. ),
  3401. ),
  3402. ),'startWithEncryptionKey' => array(
  3403. 'path' => '{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey',
  3404. 'httpMethod' => 'POST',
  3405. 'parameters' => array(
  3406. 'project' => array(
  3407. 'location' => 'path',
  3408. 'type' => 'string',
  3409. 'required' => true,
  3410. ),
  3411. 'zone' => array(
  3412. 'location' => 'path',
  3413. 'type' => 'string',
  3414. 'required' => true,
  3415. ),
  3416. 'instance' => array(
  3417. 'location' => 'path',
  3418. 'type' => 'string',
  3419. 'required' => true,
  3420. ),
  3421. 'requestId' => array(
  3422. 'location' => 'query',
  3423. 'type' => 'string',
  3424. ),
  3425. ),
  3426. ),'stop' => array(
  3427. 'path' => '{project}/zones/{zone}/instances/{instance}/stop',
  3428. 'httpMethod' => 'POST',
  3429. 'parameters' => array(
  3430. 'project' => array(
  3431. 'location' => 'path',
  3432. 'type' => 'string',
  3433. 'required' => true,
  3434. ),
  3435. 'zone' => array(
  3436. 'location' => 'path',
  3437. 'type' => 'string',
  3438. 'required' => true,
  3439. ),
  3440. 'instance' => array(
  3441. 'location' => 'path',
  3442. 'type' => 'string',
  3443. 'required' => true,
  3444. ),
  3445. 'requestId' => array(
  3446. 'location' => 'query',
  3447. 'type' => 'string',
  3448. ),
  3449. ),
  3450. ),'updateAccessConfig' => array(
  3451. 'path' => '{project}/zones/{zone}/instances/{instance}/updateAccessConfig',
  3452. 'httpMethod' => 'POST',
  3453. 'parameters' => array(
  3454. 'project' => array(
  3455. 'location' => 'path',
  3456. 'type' => 'string',
  3457. 'required' => true,
  3458. ),
  3459. 'zone' => array(
  3460. 'location' => 'path',
  3461. 'type' => 'string',
  3462. 'required' => true,
  3463. ),
  3464. 'instance' => array(
  3465. 'location' => 'path',
  3466. 'type' => 'string',
  3467. 'required' => true,
  3468. ),
  3469. 'networkInterface' => array(
  3470. 'location' => 'query',
  3471. 'type' => 'string',
  3472. 'required' => true,
  3473. ),
  3474. 'requestId' => array(
  3475. 'location' => 'query',
  3476. 'type' => 'string',
  3477. ),
  3478. ),
  3479. ),'updateNetworkInterface' => array(
  3480. 'path' => '{project}/zones/{zone}/instances/{instance}/updateNetworkInterface',
  3481. 'httpMethod' => 'PATCH',
  3482. 'parameters' => array(
  3483. 'project' => array(
  3484. 'location' => 'path',
  3485. 'type' => 'string',
  3486. 'required' => true,
  3487. ),
  3488. 'zone' => array(
  3489. 'location' => 'path',
  3490. 'type' => 'string',
  3491. 'required' => true,
  3492. ),
  3493. 'instance' => array(
  3494. 'location' => 'path',
  3495. 'type' => 'string',
  3496. 'required' => true,
  3497. ),
  3498. 'networkInterface' => array(
  3499. 'location' => 'query',
  3500. 'type' => 'string',
  3501. 'required' => true,
  3502. ),
  3503. 'requestId' => array(
  3504. 'location' => 'query',
  3505. 'type' => 'string',
  3506. ),
  3507. ),
  3508. ),
  3509. )
  3510. )
  3511. );
  3512. $this->interconnectAttachments = new Google_Service_Compute_Resource_InterconnectAttachments(
  3513. $this,
  3514. $this->serviceName,
  3515. 'interconnectAttachments',
  3516. array(
  3517. 'methods' => array(
  3518. 'aggregatedList' => array(
  3519. 'path' => '{project}/aggregated/interconnectAttachments',
  3520. 'httpMethod' => 'GET',
  3521. 'parameters' => array(
  3522. 'project' => array(
  3523. 'location' => 'path',
  3524. 'type' => 'string',
  3525. 'required' => true,
  3526. ),
  3527. 'filter' => array(
  3528. 'location' => 'query',
  3529. 'type' => 'string',
  3530. ),
  3531. 'maxResults' => array(
  3532. 'location' => 'query',
  3533. 'type' => 'integer',
  3534. ),
  3535. 'orderBy' => array(
  3536. 'location' => 'query',
  3537. 'type' => 'string',
  3538. ),
  3539. 'pageToken' => array(
  3540. 'location' => 'query',
  3541. 'type' => 'string',
  3542. ),
  3543. ),
  3544. ),'delete' => array(
  3545. 'path' => '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}',
  3546. 'httpMethod' => 'DELETE',
  3547. 'parameters' => array(
  3548. 'project' => array(
  3549. 'location' => 'path',
  3550. 'type' => 'string',
  3551. 'required' => true,
  3552. ),
  3553. 'region' => array(
  3554. 'location' => 'path',
  3555. 'type' => 'string',
  3556. 'required' => true,
  3557. ),
  3558. 'interconnectAttachment' => array(
  3559. 'location' => 'path',
  3560. 'type' => 'string',
  3561. 'required' => true,
  3562. ),
  3563. 'requestId' => array(
  3564. 'location' => 'query',
  3565. 'type' => 'string',
  3566. ),
  3567. ),
  3568. ),'get' => array(
  3569. 'path' => '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}',
  3570. 'httpMethod' => 'GET',
  3571. 'parameters' => array(
  3572. 'project' => array(
  3573. 'location' => 'path',
  3574. 'type' => 'string',
  3575. 'required' => true,
  3576. ),
  3577. 'region' => array(
  3578. 'location' => 'path',
  3579. 'type' => 'string',
  3580. 'required' => true,
  3581. ),
  3582. 'interconnectAttachment' => array(
  3583. 'location' => 'path',
  3584. 'type' => 'string',
  3585. 'required' => true,
  3586. ),
  3587. ),
  3588. ),'insert' => array(
  3589. 'path' => '{project}/regions/{region}/interconnectAttachments',
  3590. 'httpMethod' => 'POST',
  3591. 'parameters' => array(
  3592. 'project' => array(
  3593. 'location' => 'path',
  3594. 'type' => 'string',
  3595. 'required' => true,
  3596. ),
  3597. 'region' => array(
  3598. 'location' => 'path',
  3599. 'type' => 'string',
  3600. 'required' => true,
  3601. ),
  3602. 'requestId' => array(
  3603. 'location' => 'query',
  3604. 'type' => 'string',
  3605. ),
  3606. ),
  3607. ),'list' => array(
  3608. 'path' => '{project}/regions/{region}/interconnectAttachments',
  3609. 'httpMethod' => 'GET',
  3610. 'parameters' => array(
  3611. 'project' => array(
  3612. 'location' => 'path',
  3613. 'type' => 'string',
  3614. 'required' => true,
  3615. ),
  3616. 'region' => array(
  3617. 'location' => 'path',
  3618. 'type' => 'string',
  3619. 'required' => true,
  3620. ),
  3621. 'filter' => array(
  3622. 'location' => 'query',
  3623. 'type' => 'string',
  3624. ),
  3625. 'maxResults' => array(
  3626. 'location' => 'query',
  3627. 'type' => 'integer',
  3628. ),
  3629. 'orderBy' => array(
  3630. 'location' => 'query',
  3631. 'type' => 'string',
  3632. ),
  3633. 'pageToken' => array(
  3634. 'location' => 'query',
  3635. 'type' => 'string',
  3636. ),
  3637. ),
  3638. ),'patch' => array(
  3639. 'path' => '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}',
  3640. 'httpMethod' => 'PATCH',
  3641. 'parameters' => array(
  3642. 'project' => array(
  3643. 'location' => 'path',
  3644. 'type' => 'string',
  3645. 'required' => true,
  3646. ),
  3647. 'region' => array(
  3648. 'location' => 'path',
  3649. 'type' => 'string',
  3650. 'required' => true,
  3651. ),
  3652. 'interconnectAttachment' => array(
  3653. 'location' => 'path',
  3654. 'type' => 'string',
  3655. 'required' => true,
  3656. ),
  3657. 'requestId' => array(
  3658. 'location' => 'query',
  3659. 'type' => 'string',
  3660. ),
  3661. ),
  3662. ),
  3663. )
  3664. )
  3665. );
  3666. $this->interconnectLocations = new Google_Service_Compute_Resource_InterconnectLocations(
  3667. $this,
  3668. $this->serviceName,
  3669. 'interconnectLocations',
  3670. array(
  3671. 'methods' => array(
  3672. 'get' => array(
  3673. 'path' => '{project}/global/interconnectLocations/{interconnectLocation}',
  3674. 'httpMethod' => 'GET',
  3675. 'parameters' => array(
  3676. 'project' => array(
  3677. 'location' => 'path',
  3678. 'type' => 'string',
  3679. 'required' => true,
  3680. ),
  3681. 'interconnectLocation' => array(
  3682. 'location' => 'path',
  3683. 'type' => 'string',
  3684. 'required' => true,
  3685. ),
  3686. ),
  3687. ),'list' => array(
  3688. 'path' => '{project}/global/interconnectLocations',
  3689. 'httpMethod' => 'GET',
  3690. 'parameters' => array(
  3691. 'project' => array(
  3692. 'location' => 'path',
  3693. 'type' => 'string',
  3694. 'required' => true,
  3695. ),
  3696. 'filter' => array(
  3697. 'location' => 'query',
  3698. 'type' => 'string',
  3699. ),
  3700. 'maxResults' => array(
  3701. 'location' => 'query',
  3702. 'type' => 'integer',
  3703. ),
  3704. 'orderBy' => array(
  3705. 'location' => 'query',
  3706. 'type' => 'string',
  3707. ),
  3708. 'pageToken' => array(
  3709. 'location' => 'query',
  3710. 'type' => 'string',
  3711. ),
  3712. ),
  3713. ),
  3714. )
  3715. )
  3716. );
  3717. $this->interconnects = new Google_Service_Compute_Resource_Interconnects(
  3718. $this,
  3719. $this->serviceName,
  3720. 'interconnects',
  3721. array(
  3722. 'methods' => array(
  3723. 'delete' => array(
  3724. 'path' => '{project}/global/interconnects/{interconnect}',
  3725. 'httpMethod' => 'DELETE',
  3726. 'parameters' => array(
  3727. 'project' => array(
  3728. 'location' => 'path',
  3729. 'type' => 'string',
  3730. 'required' => true,
  3731. ),
  3732. 'interconnect' => array(
  3733. 'location' => 'path',
  3734. 'type' => 'string',
  3735. 'required' => true,
  3736. ),
  3737. 'requestId' => array(
  3738. 'location' => 'query',
  3739. 'type' => 'string',
  3740. ),
  3741. ),
  3742. ),'get' => array(
  3743. 'path' => '{project}/global/interconnects/{interconnect}',
  3744. 'httpMethod' => 'GET',
  3745. 'parameters' => array(
  3746. 'project' => array(
  3747. 'location' => 'path',
  3748. 'type' => 'string',
  3749. 'required' => true,
  3750. ),
  3751. 'interconnect' => array(
  3752. 'location' => 'path',
  3753. 'type' => 'string',
  3754. 'required' => true,
  3755. ),
  3756. ),
  3757. ),'insert' => array(
  3758. 'path' => '{project}/global/interconnects',
  3759. 'httpMethod' => 'POST',
  3760. 'parameters' => array(
  3761. 'project' => array(
  3762. 'location' => 'path',
  3763. 'type' => 'string',
  3764. 'required' => true,
  3765. ),
  3766. 'requestId' => array(
  3767. 'location' => 'query',
  3768. 'type' => 'string',
  3769. ),
  3770. ),
  3771. ),'list' => array(
  3772. 'path' => '{project}/global/interconnects',
  3773. 'httpMethod' => 'GET',
  3774. 'parameters' => array(
  3775. 'project' => array(
  3776. 'location' => 'path',
  3777. 'type' => 'string',
  3778. 'required' => true,
  3779. ),
  3780. 'filter' => array(
  3781. 'location' => 'query',
  3782. 'type' => 'string',
  3783. ),
  3784. 'maxResults' => array(
  3785. 'location' => 'query',
  3786. 'type' => 'integer',
  3787. ),
  3788. 'orderBy' => array(
  3789. 'location' => 'query',
  3790. 'type' => 'string',
  3791. ),
  3792. 'pageToken' => array(
  3793. 'location' => 'query',
  3794. 'type' => 'string',
  3795. ),
  3796. ),
  3797. ),'patch' => array(
  3798. 'path' => '{project}/global/interconnects/{interconnect}',
  3799. 'httpMethod' => 'PATCH',
  3800. 'parameters' => array(
  3801. 'project' => array(
  3802. 'location' => 'path',
  3803. 'type' => 'string',
  3804. 'required' => true,
  3805. ),
  3806. 'interconnect' => array(
  3807. 'location' => 'path',
  3808. 'type' => 'string',
  3809. 'required' => true,
  3810. ),
  3811. 'requestId' => array(
  3812. 'location' => 'query',
  3813. 'type' => 'string',
  3814. ),
  3815. ),
  3816. ),
  3817. )
  3818. )
  3819. );
  3820. $this->licenseCodes = new Google_Service_Compute_Resource_LicenseCodes(
  3821. $this,
  3822. $this->serviceName,
  3823. 'licenseCodes',
  3824. array(
  3825. 'methods' => array(
  3826. 'get' => array(
  3827. 'path' => '{project}/global/licenseCodes/{licenseCode}',
  3828. 'httpMethod' => 'GET',
  3829. 'parameters' => array(
  3830. 'project' => array(
  3831. 'location' => 'path',
  3832. 'type' => 'string',
  3833. 'required' => true,
  3834. ),
  3835. 'licenseCode' => array(
  3836. 'location' => 'path',
  3837. 'type' => 'string',
  3838. 'required' => true,
  3839. ),
  3840. ),
  3841. ),'testIamPermissions' => array(
  3842. 'path' => '{project}/global/licenseCodes/{resource}/testIamPermissions',
  3843. 'httpMethod' => 'POST',
  3844. 'parameters' => array(
  3845. 'project' => array(
  3846. 'location' => 'path',
  3847. 'type' => 'string',
  3848. 'required' => true,
  3849. ),
  3850. 'resource' => array(
  3851. 'location' => 'path',
  3852. 'type' => 'string',
  3853. 'required' => true,
  3854. ),
  3855. ),
  3856. ),
  3857. )
  3858. )
  3859. );
  3860. $this->licenses = new Google_Service_Compute_Resource_Licenses(
  3861. $this,
  3862. $this->serviceName,
  3863. 'licenses',
  3864. array(
  3865. 'methods' => array(
  3866. 'delete' => array(
  3867. 'path' => '{project}/global/licenses/{license}',
  3868. 'httpMethod' => 'DELETE',
  3869. 'parameters' => array(
  3870. 'project' => array(
  3871. 'location' => 'path',
  3872. 'type' => 'string',
  3873. 'required' => true,
  3874. ),
  3875. 'license' => array(
  3876. 'location' => 'path',
  3877. 'type' => 'string',
  3878. 'required' => true,
  3879. ),
  3880. 'requestId' => array(
  3881. 'location' => 'query',
  3882. 'type' => 'string',
  3883. ),
  3884. ),
  3885. ),'get' => array(
  3886. 'path' => '{project}/global/licenses/{license}',
  3887. 'httpMethod' => 'GET',
  3888. 'parameters' => array(
  3889. 'project' => array(
  3890. 'location' => 'path',
  3891. 'type' => 'string',
  3892. 'required' => true,
  3893. ),
  3894. 'license' => array(
  3895. 'location' => 'path',
  3896. 'type' => 'string',
  3897. 'required' => true,
  3898. ),
  3899. ),
  3900. ),'insert' => array(
  3901. 'path' => '{project}/global/licenses',
  3902. 'httpMethod' => 'POST',
  3903. 'parameters' => array(
  3904. 'project' => array(
  3905. 'location' => 'path',
  3906. 'type' => 'string',
  3907. 'required' => true,
  3908. ),
  3909. 'requestId' => array(
  3910. 'location' => 'query',
  3911. 'type' => 'string',
  3912. ),
  3913. ),
  3914. ),'list' => array(
  3915. 'path' => '{project}/global/licenses',
  3916. 'httpMethod' => 'GET',
  3917. 'parameters' => array(
  3918. 'project' => array(
  3919. 'location' => 'path',
  3920. 'type' => 'string',
  3921. 'required' => true,
  3922. ),
  3923. 'filter' => array(
  3924. 'location' => 'query',
  3925. 'type' => 'string',
  3926. ),
  3927. 'maxResults' => array(
  3928. 'location' => 'query',
  3929. 'type' => 'integer',
  3930. ),
  3931. 'orderBy' => array(
  3932. 'location' => 'query',
  3933. 'type' => 'string',
  3934. ),
  3935. 'pageToken' => array(
  3936. 'location' => 'query',
  3937. 'type' => 'string',
  3938. ),
  3939. ),
  3940. ),'testIamPermissions' => array(
  3941. 'path' => '{project}/global/licenses/{resource}/testIamPermissions',
  3942. 'httpMethod' => 'POST',
  3943. 'parameters' => array(
  3944. 'project' => array(
  3945. 'location' => 'path',
  3946. 'type' => 'string',
  3947. 'required' => true,
  3948. ),
  3949. 'resource' => array(
  3950. 'location' => 'path',
  3951. 'type' => 'string',
  3952. 'required' => true,
  3953. ),
  3954. ),
  3955. ),
  3956. )
  3957. )
  3958. );
  3959. $this->machineTypes = new Google_Service_Compute_Resource_MachineTypes(
  3960. $this,
  3961. $this->serviceName,
  3962. 'machineTypes',
  3963. array(
  3964. 'methods' => array(
  3965. 'aggregatedList' => array(
  3966. 'path' => '{project}/aggregated/machineTypes',
  3967. 'httpMethod' => 'GET',
  3968. 'parameters' => array(
  3969. 'project' => array(
  3970. 'location' => 'path',
  3971. 'type' => 'string',
  3972. 'required' => true,
  3973. ),
  3974. 'filter' => array(
  3975. 'location' => 'query',
  3976. 'type' => 'string',
  3977. ),
  3978. 'maxResults' => array(
  3979. 'location' => 'query',
  3980. 'type' => 'integer',
  3981. ),
  3982. 'orderBy' => array(
  3983. 'location' => 'query',
  3984. 'type' => 'string',
  3985. ),
  3986. 'pageToken' => array(
  3987. 'location' => 'query',
  3988. 'type' => 'string',
  3989. ),
  3990. ),
  3991. ),'get' => array(
  3992. 'path' => '{project}/zones/{zone}/machineTypes/{machineType}',
  3993. 'httpMethod' => 'GET',
  3994. 'parameters' => array(
  3995. 'project' => array(
  3996. 'location' => 'path',
  3997. 'type' => 'string',
  3998. 'required' => true,
  3999. ),
  4000. 'zone' => array(
  4001. 'location' => 'path',
  4002. 'type' => 'string',
  4003. 'required' => true,
  4004. ),
  4005. 'machineType' => array(
  4006. 'location' => 'path',
  4007. 'type' => 'string',
  4008. 'required' => true,
  4009. ),
  4010. ),
  4011. ),'list' => array(
  4012. 'path' => '{project}/zones/{zone}/machineTypes',
  4013. 'httpMethod' => 'GET',
  4014. 'parameters' => array(
  4015. 'project' => array(
  4016. 'location' => 'path',
  4017. 'type' => 'string',
  4018. 'required' => true,
  4019. ),
  4020. 'zone' => array(
  4021. 'location' => 'path',
  4022. 'type' => 'string',
  4023. 'required' => true,
  4024. ),
  4025. 'filter' => array(
  4026. 'location' => 'query',
  4027. 'type' => 'string',
  4028. ),
  4029. 'maxResults' => array(
  4030. 'location' => 'query',
  4031. 'type' => 'integer',
  4032. ),
  4033. 'orderBy' => array(
  4034. 'location' => 'query',
  4035. 'type' => 'string',
  4036. ),
  4037. 'pageToken' => array(
  4038. 'location' => 'query',
  4039. 'type' => 'string',
  4040. ),
  4041. ),
  4042. ),
  4043. )
  4044. )
  4045. );
  4046. $this->networks = new Google_Service_Compute_Resource_Networks(
  4047. $this,
  4048. $this->serviceName,
  4049. 'networks',
  4050. array(
  4051. 'methods' => array(
  4052. 'addPeering' => array(
  4053. 'path' => '{project}/global/networks/{network}/addPeering',
  4054. 'httpMethod' => 'POST',
  4055. 'parameters' => array(
  4056. 'project' => array(
  4057. 'location' => 'path',
  4058. 'type' => 'string',
  4059. 'required' => true,
  4060. ),
  4061. 'network' => array(
  4062. 'location' => 'path',
  4063. 'type' => 'string',
  4064. 'required' => true,
  4065. ),
  4066. 'requestId' => array(
  4067. 'location' => 'query',
  4068. 'type' => 'string',
  4069. ),
  4070. ),
  4071. ),'delete' => array(
  4072. 'path' => '{project}/global/networks/{network}',
  4073. 'httpMethod' => 'DELETE',
  4074. 'parameters' => array(
  4075. 'project' => array(
  4076. 'location' => 'path',
  4077. 'type' => 'string',
  4078. 'required' => true,
  4079. ),
  4080. 'network' => array(
  4081. 'location' => 'path',
  4082. 'type' => 'string',
  4083. 'required' => true,
  4084. ),
  4085. 'requestId' => array(
  4086. 'location' => 'query',
  4087. 'type' => 'string',
  4088. ),
  4089. ),
  4090. ),'get' => array(
  4091. 'path' => '{project}/global/networks/{network}',
  4092. 'httpMethod' => 'GET',
  4093. 'parameters' => array(
  4094. 'project' => array(
  4095. 'location' => 'path',
  4096. 'type' => 'string',
  4097. 'required' => true,
  4098. ),
  4099. 'network' => array(
  4100. 'location' => 'path',
  4101. 'type' => 'string',
  4102. 'required' => true,
  4103. ),
  4104. ),
  4105. ),'insert' => array(
  4106. 'path' => '{project}/global/networks',
  4107. 'httpMethod' => 'POST',
  4108. 'parameters' => array(
  4109. 'project' => array(
  4110. 'location' => 'path',
  4111. 'type' => 'string',
  4112. 'required' => true,
  4113. ),
  4114. 'requestId' => array(
  4115. 'location' => 'query',
  4116. 'type' => 'string',
  4117. ),
  4118. ),
  4119. ),'list' => array(
  4120. 'path' => '{project}/global/networks',
  4121. 'httpMethod' => 'GET',
  4122. 'parameters' => array(
  4123. 'project' => array(
  4124. 'location' => 'path',
  4125. 'type' => 'string',
  4126. 'required' => true,
  4127. ),
  4128. 'filter' => array(
  4129. 'location' => 'query',
  4130. 'type' => 'string',
  4131. ),
  4132. 'maxResults' => array(
  4133. 'location' => 'query',
  4134. 'type' => 'integer',
  4135. ),
  4136. 'orderBy' => array(
  4137. 'location' => 'query',
  4138. 'type' => 'string',
  4139. ),
  4140. 'pageToken' => array(
  4141. 'location' => 'query',
  4142. 'type' => 'string',
  4143. ),
  4144. ),
  4145. ),'patch' => array(
  4146. 'path' => '{project}/global/networks/{network}',
  4147. 'httpMethod' => 'PATCH',
  4148. 'parameters' => array(
  4149. 'project' => array(
  4150. 'location' => 'path',
  4151. 'type' => 'string',
  4152. 'required' => true,
  4153. ),
  4154. 'network' => array(
  4155. 'location' => 'path',
  4156. 'type' => 'string',
  4157. 'required' => true,
  4158. ),
  4159. 'requestId' => array(
  4160. 'location' => 'query',
  4161. 'type' => 'string',
  4162. ),
  4163. ),
  4164. ),'removePeering' => array(
  4165. 'path' => '{project}/global/networks/{network}/removePeering',
  4166. 'httpMethod' => 'POST',
  4167. 'parameters' => array(
  4168. 'project' => array(
  4169. 'location' => 'path',
  4170. 'type' => 'string',
  4171. 'required' => true,
  4172. ),
  4173. 'network' => array(
  4174. 'location' => 'path',
  4175. 'type' => 'string',
  4176. 'required' => true,
  4177. ),
  4178. 'requestId' => array(
  4179. 'location' => 'query',
  4180. 'type' => 'string',
  4181. ),
  4182. ),
  4183. ),'switchToCustomMode' => array(
  4184. 'path' => '{project}/global/networks/{network}/switchToCustomMode',
  4185. 'httpMethod' => 'POST',
  4186. 'parameters' => array(
  4187. 'project' => array(
  4188. 'location' => 'path',
  4189. 'type' => 'string',
  4190. 'required' => true,
  4191. ),
  4192. 'network' => array(
  4193. 'location' => 'path',
  4194. 'type' => 'string',
  4195. 'required' => true,
  4196. ),
  4197. 'requestId' => array(
  4198. 'location' => 'query',
  4199. 'type' => 'string',
  4200. ),
  4201. ),
  4202. ),
  4203. )
  4204. )
  4205. );
  4206. $this->projects = new Google_Service_Compute_Resource_Projects(
  4207. $this,
  4208. $this->serviceName,
  4209. 'projects',
  4210. array(
  4211. 'methods' => array(
  4212. 'disableXpnHost' => array(
  4213. 'path' => '{project}/disableXpnHost',
  4214. 'httpMethod' => 'POST',
  4215. 'parameters' => array(
  4216. 'project' => array(
  4217. 'location' => 'path',
  4218. 'type' => 'string',
  4219. 'required' => true,
  4220. ),
  4221. 'requestId' => array(
  4222. 'location' => 'query',
  4223. 'type' => 'string',
  4224. ),
  4225. ),
  4226. ),'disableXpnResource' => array(
  4227. 'path' => '{project}/disableXpnResource',
  4228. 'httpMethod' => 'POST',
  4229. 'parameters' => array(
  4230. 'project' => array(
  4231. 'location' => 'path',
  4232. 'type' => 'string',
  4233. 'required' => true,
  4234. ),
  4235. 'requestId' => array(
  4236. 'location' => 'query',
  4237. 'type' => 'string',
  4238. ),
  4239. ),
  4240. ),'enableXpnHost' => array(
  4241. 'path' => '{project}/enableXpnHost',
  4242. 'httpMethod' => 'POST',
  4243. 'parameters' => array(
  4244. 'project' => array(
  4245. 'location' => 'path',
  4246. 'type' => 'string',
  4247. 'required' => true,
  4248. ),
  4249. 'requestId' => array(
  4250. 'location' => 'query',
  4251. 'type' => 'string',
  4252. ),
  4253. ),
  4254. ),'enableXpnResource' => array(
  4255. 'path' => '{project}/enableXpnResource',
  4256. 'httpMethod' => 'POST',
  4257. 'parameters' => array(
  4258. 'project' => array(
  4259. 'location' => 'path',
  4260. 'type' => 'string',
  4261. 'required' => true,
  4262. ),
  4263. 'requestId' => array(
  4264. 'location' => 'query',
  4265. 'type' => 'string',
  4266. ),
  4267. ),
  4268. ),'get' => array(
  4269. 'path' => '{project}',
  4270. 'httpMethod' => 'GET',
  4271. 'parameters' => array(
  4272. 'project' => array(
  4273. 'location' => 'path',
  4274. 'type' => 'string',
  4275. 'required' => true,
  4276. ),
  4277. ),
  4278. ),'getXpnHost' => array(
  4279. 'path' => '{project}/getXpnHost',
  4280. 'httpMethod' => 'GET',
  4281. 'parameters' => array(
  4282. 'project' => array(
  4283. 'location' => 'path',
  4284. 'type' => 'string',
  4285. 'required' => true,
  4286. ),
  4287. ),
  4288. ),'getXpnResources' => array(
  4289. 'path' => '{project}/getXpnResources',
  4290. 'httpMethod' => 'GET',
  4291. 'parameters' => array(
  4292. 'project' => array(
  4293. 'location' => 'path',
  4294. 'type' => 'string',
  4295. 'required' => true,
  4296. ),
  4297. 'filter' => array(
  4298. 'location' => 'query',
  4299. 'type' => 'string',
  4300. ),
  4301. 'maxResults' => array(
  4302. 'location' => 'query',
  4303. 'type' => 'integer',
  4304. ),
  4305. 'order_by' => array(
  4306. 'location' => 'query',
  4307. 'type' => 'string',
  4308. ),
  4309. 'pageToken' => array(
  4310. 'location' => 'query',
  4311. 'type' => 'string',
  4312. ),
  4313. ),
  4314. ),'listXpnHosts' => array(
  4315. 'path' => '{project}/listXpnHosts',
  4316. 'httpMethod' => 'POST',
  4317. 'parameters' => array(
  4318. 'project' => array(
  4319. 'location' => 'path',
  4320. 'type' => 'string',
  4321. 'required' => true,
  4322. ),
  4323. 'filter' => array(
  4324. 'location' => 'query',
  4325. 'type' => 'string',
  4326. ),
  4327. 'maxResults' => array(
  4328. 'location' => 'query',
  4329. 'type' => 'integer',
  4330. ),
  4331. 'order_by' => array(
  4332. 'location' => 'query',
  4333. 'type' => 'string',
  4334. ),
  4335. 'pageToken' => array(
  4336. 'location' => 'query',
  4337. 'type' => 'string',
  4338. ),
  4339. ),
  4340. ),'moveDisk' => array(
  4341. 'path' => '{project}/moveDisk',
  4342. 'httpMethod' => 'POST',
  4343. 'parameters' => array(
  4344. 'project' => array(
  4345. 'location' => 'path',
  4346. 'type' => 'string',
  4347. 'required' => true,
  4348. ),
  4349. 'requestId' => array(
  4350. 'location' => 'query',
  4351. 'type' => 'string',
  4352. ),
  4353. ),
  4354. ),'moveInstance' => array(
  4355. 'path' => '{project}/moveInstance',
  4356. 'httpMethod' => 'POST',
  4357. 'parameters' => array(
  4358. 'project' => array(
  4359. 'location' => 'path',
  4360. 'type' => 'string',
  4361. 'required' => true,
  4362. ),
  4363. 'requestId' => array(
  4364. 'location' => 'query',
  4365. 'type' => 'string',
  4366. ),
  4367. ),
  4368. ),'setCommonInstanceMetadata' => array(
  4369. 'path' => '{project}/setCommonInstanceMetadata',
  4370. 'httpMethod' => 'POST',
  4371. 'parameters' => array(
  4372. 'project' => array(
  4373. 'location' => 'path',
  4374. 'type' => 'string',
  4375. 'required' => true,
  4376. ),
  4377. 'requestId' => array(
  4378. 'location' => 'query',
  4379. 'type' => 'string',
  4380. ),
  4381. ),
  4382. ),'setUsageExportBucket' => array(
  4383. 'path' => '{project}/setUsageExportBucket',
  4384. 'httpMethod' => 'POST',
  4385. 'parameters' => array(
  4386. 'project' => array(
  4387. 'location' => 'path',
  4388. 'type' => 'string',
  4389. 'required' => true,
  4390. ),
  4391. 'requestId' => array(
  4392. 'location' => 'query',
  4393. 'type' => 'string',
  4394. ),
  4395. ),
  4396. ),
  4397. )
  4398. )
  4399. );
  4400. $this->regionAutoscalers = new Google_Service_Compute_Resource_RegionAutoscalers(
  4401. $this,
  4402. $this->serviceName,
  4403. 'regionAutoscalers',
  4404. array(
  4405. 'methods' => array(
  4406. 'delete' => array(
  4407. 'path' => '{project}/regions/{region}/autoscalers/{autoscaler}',
  4408. 'httpMethod' => 'DELETE',
  4409. 'parameters' => array(
  4410. 'project' => array(
  4411. 'location' => 'path',
  4412. 'type' => 'string',
  4413. 'required' => true,
  4414. ),
  4415. 'region' => array(
  4416. 'location' => 'path',
  4417. 'type' => 'string',
  4418. 'required' => true,
  4419. ),
  4420. 'autoscaler' => array(
  4421. 'location' => 'path',
  4422. 'type' => 'string',
  4423. 'required' => true,
  4424. ),
  4425. 'requestId' => array(
  4426. 'location' => 'query',
  4427. 'type' => 'string',
  4428. ),
  4429. ),
  4430. ),'get' => array(
  4431. 'path' => '{project}/regions/{region}/autoscalers/{autoscaler}',
  4432. 'httpMethod' => 'GET',
  4433. 'parameters' => array(
  4434. 'project' => array(
  4435. 'location' => 'path',
  4436. 'type' => 'string',
  4437. 'required' => true,
  4438. ),
  4439. 'region' => array(
  4440. 'location' => 'path',
  4441. 'type' => 'string',
  4442. 'required' => true,
  4443. ),
  4444. 'autoscaler' => array(
  4445. 'location' => 'path',
  4446. 'type' => 'string',
  4447. 'required' => true,
  4448. ),
  4449. ),
  4450. ),'insert' => array(
  4451. 'path' => '{project}/regions/{region}/autoscalers',
  4452. 'httpMethod' => 'POST',
  4453. 'parameters' => array(
  4454. 'project' => array(
  4455. 'location' => 'path',
  4456. 'type' => 'string',
  4457. 'required' => true,
  4458. ),
  4459. 'region' => array(
  4460. 'location' => 'path',
  4461. 'type' => 'string',
  4462. 'required' => true,
  4463. ),
  4464. 'requestId' => array(
  4465. 'location' => 'query',
  4466. 'type' => 'string',
  4467. ),
  4468. ),
  4469. ),'list' => array(
  4470. 'path' => '{project}/regions/{region}/autoscalers',
  4471. 'httpMethod' => 'GET',
  4472. 'parameters' => array(
  4473. 'project' => array(
  4474. 'location' => 'path',
  4475. 'type' => 'string',
  4476. 'required' => true,
  4477. ),
  4478. 'region' => array(
  4479. 'location' => 'path',
  4480. 'type' => 'string',
  4481. 'required' => true,
  4482. ),
  4483. 'filter' => array(
  4484. 'location' => 'query',
  4485. 'type' => 'string',
  4486. ),
  4487. 'maxResults' => array(
  4488. 'location' => 'query',
  4489. 'type' => 'integer',
  4490. ),
  4491. 'orderBy' => array(
  4492. 'location' => 'query',
  4493. 'type' => 'string',
  4494. ),
  4495. 'pageToken' => array(
  4496. 'location' => 'query',
  4497. 'type' => 'string',
  4498. ),
  4499. ),
  4500. ),'patch' => array(
  4501. 'path' => '{project}/regions/{region}/autoscalers',
  4502. 'httpMethod' => 'PATCH',
  4503. 'parameters' => array(
  4504. 'project' => array(
  4505. 'location' => 'path',
  4506. 'type' => 'string',
  4507. 'required' => true,
  4508. ),
  4509. 'region' => array(
  4510. 'location' => 'path',
  4511. 'type' => 'string',
  4512. 'required' => true,
  4513. ),
  4514. 'autoscaler' => array(
  4515. 'location' => 'query',
  4516. 'type' => 'string',
  4517. ),
  4518. 'requestId' => array(
  4519. 'location' => 'query',
  4520. 'type' => 'string',
  4521. ),
  4522. ),
  4523. ),'update' => array(
  4524. 'path' => '{project}/regions/{region}/autoscalers',
  4525. 'httpMethod' => 'PUT',
  4526. 'parameters' => array(
  4527. 'project' => array(
  4528. 'location' => 'path',
  4529. 'type' => 'string',
  4530. 'required' => true,
  4531. ),
  4532. 'region' => array(
  4533. 'location' => 'path',
  4534. 'type' => 'string',
  4535. 'required' => true,
  4536. ),
  4537. 'autoscaler' => array(
  4538. 'location' => 'query',
  4539. 'type' => 'string',
  4540. ),
  4541. 'requestId' => array(
  4542. 'location' => 'query',
  4543. 'type' => 'string',
  4544. ),
  4545. ),
  4546. ),
  4547. )
  4548. )
  4549. );
  4550. $this->regionBackendServices = new Google_Service_Compute_Resource_RegionBackendServices(
  4551. $this,
  4552. $this->serviceName,
  4553. 'regionBackendServices',
  4554. array(
  4555. 'methods' => array(
  4556. 'delete' => array(
  4557. 'path' => '{project}/regions/{region}/backendServices/{backendService}',
  4558. 'httpMethod' => 'DELETE',
  4559. 'parameters' => array(
  4560. 'project' => array(
  4561. 'location' => 'path',
  4562. 'type' => 'string',
  4563. 'required' => true,
  4564. ),
  4565. 'region' => array(
  4566. 'location' => 'path',
  4567. 'type' => 'string',
  4568. 'required' => true,
  4569. ),
  4570. 'backendService' => array(
  4571. 'location' => 'path',
  4572. 'type' => 'string',
  4573. 'required' => true,
  4574. ),
  4575. 'requestId' => array(
  4576. 'location' => 'query',
  4577. 'type' => 'string',
  4578. ),
  4579. ),
  4580. ),'get' => array(
  4581. 'path' => '{project}/regions/{region}/backendServices/{backendService}',
  4582. 'httpMethod' => 'GET',
  4583. 'parameters' => array(
  4584. 'project' => array(
  4585. 'location' => 'path',
  4586. 'type' => 'string',
  4587. 'required' => true,
  4588. ),
  4589. 'region' => array(
  4590. 'location' => 'path',
  4591. 'type' => 'string',
  4592. 'required' => true,
  4593. ),
  4594. 'backendService' => array(
  4595. 'location' => 'path',
  4596. 'type' => 'string',
  4597. 'required' => true,
  4598. ),
  4599. ),
  4600. ),'getHealth' => array(
  4601. 'path' => '{project}/regions/{region}/backendServices/{backendService}/getHealth',
  4602. 'httpMethod' => 'POST',
  4603. 'parameters' => array(
  4604. 'project' => array(
  4605. 'location' => 'path',
  4606. 'type' => 'string',
  4607. 'required' => true,
  4608. ),
  4609. 'region' => array(
  4610. 'location' => 'path',
  4611. 'type' => 'string',
  4612. 'required' => true,
  4613. ),
  4614. 'backendService' => array(
  4615. 'location' => 'path',
  4616. 'type' => 'string',
  4617. 'required' => true,
  4618. ),
  4619. ),
  4620. ),'insert' => array(
  4621. 'path' => '{project}/regions/{region}/backendServices',
  4622. 'httpMethod' => 'POST',
  4623. 'parameters' => array(
  4624. 'project' => array(
  4625. 'location' => 'path',
  4626. 'type' => 'string',
  4627. 'required' => true,
  4628. ),
  4629. 'region' => array(
  4630. 'location' => 'path',
  4631. 'type' => 'string',
  4632. 'required' => true,
  4633. ),
  4634. 'requestId' => array(
  4635. 'location' => 'query',
  4636. 'type' => 'string',
  4637. ),
  4638. ),
  4639. ),'list' => array(
  4640. 'path' => '{project}/regions/{region}/backendServices',
  4641. 'httpMethod' => 'GET',
  4642. 'parameters' => array(
  4643. 'project' => array(
  4644. 'location' => 'path',
  4645. 'type' => 'string',
  4646. 'required' => true,
  4647. ),
  4648. 'region' => array(
  4649. 'location' => 'path',
  4650. 'type' => 'string',
  4651. 'required' => true,
  4652. ),
  4653. 'filter' => array(
  4654. 'location' => 'query',
  4655. 'type' => 'string',
  4656. ),
  4657. 'maxResults' => array(
  4658. 'location' => 'query',
  4659. 'type' => 'integer',
  4660. ),
  4661. 'orderBy' => array(
  4662. 'location' => 'query',
  4663. 'type' => 'string',
  4664. ),
  4665. 'pageToken' => array(
  4666. 'location' => 'query',
  4667. 'type' => 'string',
  4668. ),
  4669. ),
  4670. ),'patch' => array(
  4671. 'path' => '{project}/regions/{region}/backendServices/{backendService}',
  4672. 'httpMethod' => 'PATCH',
  4673. 'parameters' => array(
  4674. 'project' => array(
  4675. 'location' => 'path',
  4676. 'type' => 'string',
  4677. 'required' => true,
  4678. ),
  4679. 'region' => array(
  4680. 'location' => 'path',
  4681. 'type' => 'string',
  4682. 'required' => true,
  4683. ),
  4684. 'backendService' => array(
  4685. 'location' => 'path',
  4686. 'type' => 'string',
  4687. 'required' => true,
  4688. ),
  4689. 'requestId' => array(
  4690. 'location' => 'query',
  4691. 'type' => 'string',
  4692. ),
  4693. ),
  4694. ),'update' => array(
  4695. 'path' => '{project}/regions/{region}/backendServices/{backendService}',
  4696. 'httpMethod' => 'PUT',
  4697. 'parameters' => array(
  4698. 'project' => array(
  4699. 'location' => 'path',
  4700. 'type' => 'string',
  4701. 'required' => true,
  4702. ),
  4703. 'region' => array(
  4704. 'location' => 'path',
  4705. 'type' => 'string',
  4706. 'required' => true,
  4707. ),
  4708. 'backendService' => array(
  4709. 'location' => 'path',
  4710. 'type' => 'string',
  4711. 'required' => true,
  4712. ),
  4713. 'requestId' => array(
  4714. 'location' => 'query',
  4715. 'type' => 'string',
  4716. ),
  4717. ),
  4718. ),
  4719. )
  4720. )
  4721. );
  4722. $this->regionCommitments = new Google_Service_Compute_Resource_RegionCommitments(
  4723. $this,
  4724. $this->serviceName,
  4725. 'regionCommitments',
  4726. array(
  4727. 'methods' => array(
  4728. 'aggregatedList' => array(
  4729. 'path' => '{project}/aggregated/commitments',
  4730. 'httpMethod' => 'GET',
  4731. 'parameters' => array(
  4732. 'project' => array(
  4733. 'location' => 'path',
  4734. 'type' => 'string',
  4735. 'required' => true,
  4736. ),
  4737. 'filter' => array(
  4738. 'location' => 'query',
  4739. 'type' => 'string',
  4740. ),
  4741. 'maxResults' => array(
  4742. 'location' => 'query',
  4743. 'type' => 'integer',
  4744. ),
  4745. 'orderBy' => array(
  4746. 'location' => 'query',
  4747. 'type' => 'string',
  4748. ),
  4749. 'pageToken' => array(
  4750. 'location' => 'query',
  4751. 'type' => 'string',
  4752. ),
  4753. ),
  4754. ),'get' => array(
  4755. 'path' => '{project}/regions/{region}/commitments/{commitment}',
  4756. 'httpMethod' => 'GET',
  4757. 'parameters' => array(
  4758. 'project' => array(
  4759. 'location' => 'path',
  4760. 'type' => 'string',
  4761. 'required' => true,
  4762. ),
  4763. 'region' => array(
  4764. 'location' => 'path',
  4765. 'type' => 'string',
  4766. 'required' => true,
  4767. ),
  4768. 'commitment' => array(
  4769. 'location' => 'path',
  4770. 'type' => 'string',
  4771. 'required' => true,
  4772. ),
  4773. ),
  4774. ),'insert' => array(
  4775. 'path' => '{project}/regions/{region}/commitments',
  4776. 'httpMethod' => 'POST',
  4777. 'parameters' => array(
  4778. 'project' => array(
  4779. 'location' => 'path',
  4780. 'type' => 'string',
  4781. 'required' => true,
  4782. ),
  4783. 'region' => array(
  4784. 'location' => 'path',
  4785. 'type' => 'string',
  4786. 'required' => true,
  4787. ),
  4788. 'requestId' => array(
  4789. 'location' => 'query',
  4790. 'type' => 'string',
  4791. ),
  4792. ),
  4793. ),'list' => array(
  4794. 'path' => '{project}/regions/{region}/commitments',
  4795. 'httpMethod' => 'GET',
  4796. 'parameters' => array(
  4797. 'project' => array(
  4798. 'location' => 'path',
  4799. 'type' => 'string',
  4800. 'required' => true,
  4801. ),
  4802. 'region' => array(
  4803. 'location' => 'path',
  4804. 'type' => 'string',
  4805. 'required' => true,
  4806. ),
  4807. 'filter' => array(
  4808. 'location' => 'query',
  4809. 'type' => 'string',
  4810. ),
  4811. 'maxResults' => array(
  4812. 'location' => 'query',
  4813. 'type' => 'integer',
  4814. ),
  4815. 'orderBy' => array(
  4816. 'location' => 'query',
  4817. 'type' => 'string',
  4818. ),
  4819. 'pageToken' => array(
  4820. 'location' => 'query',
  4821. 'type' => 'string',
  4822. ),
  4823. ),
  4824. ),
  4825. )
  4826. )
  4827. );
  4828. $this->regionDiskTypes = new Google_Service_Compute_Resource_RegionDiskTypes(
  4829. $this,
  4830. $this->serviceName,
  4831. 'regionDiskTypes',
  4832. array(
  4833. 'methods' => array(
  4834. 'get' => array(
  4835. 'path' => '{project}/regions/{region}/diskTypes/{diskType}',
  4836. 'httpMethod' => 'GET',
  4837. 'parameters' => array(
  4838. 'project' => array(
  4839. 'location' => 'path',
  4840. 'type' => 'string',
  4841. 'required' => true,
  4842. ),
  4843. 'region' => array(
  4844. 'location' => 'path',
  4845. 'type' => 'string',
  4846. 'required' => true,
  4847. ),
  4848. 'diskType' => array(
  4849. 'location' => 'path',
  4850. 'type' => 'string',
  4851. 'required' => true,
  4852. ),
  4853. ),
  4854. ),'list' => array(
  4855. 'path' => '{project}/regions/{region}/diskTypes',
  4856. 'httpMethod' => 'GET',
  4857. 'parameters' => array(
  4858. 'project' => array(
  4859. 'location' => 'path',
  4860. 'type' => 'string',
  4861. 'required' => true,
  4862. ),
  4863. 'region' => array(
  4864. 'location' => 'path',
  4865. 'type' => 'string',
  4866. 'required' => true,
  4867. ),
  4868. 'filter' => array(
  4869. 'location' => 'query',
  4870. 'type' => 'string',
  4871. ),
  4872. 'maxResults' => array(
  4873. 'location' => 'query',
  4874. 'type' => 'integer',
  4875. ),
  4876. 'orderBy' => array(
  4877. 'location' => 'query',
  4878. 'type' => 'string',
  4879. ),
  4880. 'pageToken' => array(
  4881. 'location' => 'query',
  4882. 'type' => 'string',
  4883. ),
  4884. ),
  4885. ),
  4886. )
  4887. )
  4888. );
  4889. $this->regionDisks = new Google_Service_Compute_Resource_RegionDisks(
  4890. $this,
  4891. $this->serviceName,
  4892. 'regionDisks',
  4893. array(
  4894. 'methods' => array(
  4895. 'createSnapshot' => array(
  4896. 'path' => '{project}/regions/{region}/disks/{disk}/createSnapshot',
  4897. 'httpMethod' => 'POST',
  4898. 'parameters' => array(
  4899. 'project' => array(
  4900. 'location' => 'path',
  4901. 'type' => 'string',
  4902. 'required' => true,
  4903. ),
  4904. 'region' => array(
  4905. 'location' => 'path',
  4906. 'type' => 'string',
  4907. 'required' => true,
  4908. ),
  4909. 'disk' => array(
  4910. 'location' => 'path',
  4911. 'type' => 'string',
  4912. 'required' => true,
  4913. ),
  4914. 'requestId' => array(
  4915. 'location' => 'query',
  4916. 'type' => 'string',
  4917. ),
  4918. ),
  4919. ),'delete' => array(
  4920. 'path' => '{project}/regions/{region}/disks/{disk}',
  4921. 'httpMethod' => 'DELETE',
  4922. 'parameters' => array(
  4923. 'project' => array(
  4924. 'location' => 'path',
  4925. 'type' => 'string',
  4926. 'required' => true,
  4927. ),
  4928. 'region' => array(
  4929. 'location' => 'path',
  4930. 'type' => 'string',
  4931. 'required' => true,
  4932. ),
  4933. 'disk' => array(
  4934. 'location' => 'path',
  4935. 'type' => 'string',
  4936. 'required' => true,
  4937. ),
  4938. 'requestId' => array(
  4939. 'location' => 'query',
  4940. 'type' => 'string',
  4941. ),
  4942. ),
  4943. ),'get' => array(
  4944. 'path' => '{project}/regions/{region}/disks/{disk}',
  4945. 'httpMethod' => 'GET',
  4946. 'parameters' => array(
  4947. 'project' => array(
  4948. 'location' => 'path',
  4949. 'type' => 'string',
  4950. 'required' => true,
  4951. ),
  4952. 'region' => array(
  4953. 'location' => 'path',
  4954. 'type' => 'string',
  4955. 'required' => true,
  4956. ),
  4957. 'disk' => array(
  4958. 'location' => 'path',
  4959. 'type' => 'string',
  4960. 'required' => true,
  4961. ),
  4962. ),
  4963. ),'insert' => array(
  4964. 'path' => '{project}/regions/{region}/disks',
  4965. 'httpMethod' => 'POST',
  4966. 'parameters' => array(
  4967. 'project' => array(
  4968. 'location' => 'path',
  4969. 'type' => 'string',
  4970. 'required' => true,
  4971. ),
  4972. 'region' => array(
  4973. 'location' => 'path',
  4974. 'type' => 'string',
  4975. 'required' => true,
  4976. ),
  4977. 'requestId' => array(
  4978. 'location' => 'query',
  4979. 'type' => 'string',
  4980. ),
  4981. 'sourceImage' => array(
  4982. 'location' => 'query',
  4983. 'type' => 'string',
  4984. ),
  4985. ),
  4986. ),'list' => array(
  4987. 'path' => '{project}/regions/{region}/disks',
  4988. 'httpMethod' => 'GET',
  4989. 'parameters' => array(
  4990. 'project' => array(
  4991. 'location' => 'path',
  4992. 'type' => 'string',
  4993. 'required' => true,
  4994. ),
  4995. 'region' => array(
  4996. 'location' => 'path',
  4997. 'type' => 'string',
  4998. 'required' => true,
  4999. ),
  5000. 'filter' => array(
  5001. 'location' => 'query',
  5002. 'type' => 'string',
  5003. ),
  5004. 'maxResults' => array(
  5005. 'location' => 'query',
  5006. 'type' => 'integer',
  5007. ),
  5008. 'orderBy' => array(
  5009. 'location' => 'query',
  5010. 'type' => 'string',
  5011. ),
  5012. 'pageToken' => array(
  5013. 'location' => 'query',
  5014. 'type' => 'string',
  5015. ),
  5016. ),
  5017. ),'resize' => array(
  5018. 'path' => '{project}/regions/{region}/disks/{disk}/resize',
  5019. 'httpMethod' => 'POST',
  5020. 'parameters' => array(
  5021. 'project' => array(
  5022. 'location' => 'path',
  5023. 'type' => 'string',
  5024. 'required' => true,
  5025. ),
  5026. 'region' => array(
  5027. 'location' => 'path',
  5028. 'type' => 'string',
  5029. 'required' => true,
  5030. ),
  5031. 'disk' => array(
  5032. 'location' => 'path',
  5033. 'type' => 'string',
  5034. 'required' => true,
  5035. ),
  5036. 'requestId' => array(
  5037. 'location' => 'query',
  5038. 'type' => 'string',
  5039. ),
  5040. ),
  5041. ),'setLabels' => array(
  5042. 'path' => '{project}/regions/{region}/disks/{resource}/setLabels',
  5043. 'httpMethod' => 'POST',
  5044. 'parameters' => array(
  5045. 'project' => array(
  5046. 'location' => 'path',
  5047. 'type' => 'string',
  5048. 'required' => true,
  5049. ),
  5050. 'region' => array(
  5051. 'location' => 'path',
  5052. 'type' => 'string',
  5053. 'required' => true,
  5054. ),
  5055. 'resource' => array(
  5056. 'location' => 'path',
  5057. 'type' => 'string',
  5058. 'required' => true,
  5059. ),
  5060. 'requestId' => array(
  5061. 'location' => 'query',
  5062. 'type' => 'string',
  5063. ),
  5064. ),
  5065. ),'testIamPermissions' => array(
  5066. 'path' => '{project}/regions/{region}/disks/{resource}/testIamPermissions',
  5067. 'httpMethod' => 'POST',
  5068. 'parameters' => array(
  5069. 'project' => array(
  5070. 'location' => 'path',
  5071. 'type' => 'string',
  5072. 'required' => true,
  5073. ),
  5074. 'region' => array(
  5075. 'location' => 'path',
  5076. 'type' => 'string',
  5077. 'required' => true,
  5078. ),
  5079. 'resource' => array(
  5080. 'location' => 'path',
  5081. 'type' => 'string',
  5082. 'required' => true,
  5083. ),
  5084. ),
  5085. ),
  5086. )
  5087. )
  5088. );
  5089. $this->regionInstanceGroupManagers = new Google_Service_Compute_Resource_RegionInstanceGroupManagers(
  5090. $this,
  5091. $this->serviceName,
  5092. 'regionInstanceGroupManagers',
  5093. array(
  5094. 'methods' => array(
  5095. 'abandonInstances' => array(
  5096. 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances',
  5097. 'httpMethod' => 'POST',
  5098. 'parameters' => array(
  5099. 'project' => array(
  5100. 'location' => 'path',
  5101. 'type' => 'string',
  5102. 'required' => true,
  5103. ),
  5104. 'region' => array(
  5105. 'location' => 'path',
  5106. 'type' => 'string',
  5107. 'required' => true,
  5108. ),
  5109. 'instanceGroupManager' => array(
  5110. 'location' => 'path',
  5111. 'type' => 'string',
  5112. 'required' => true,
  5113. ),
  5114. 'requestId' => array(
  5115. 'location' => 'query',
  5116. 'type' => 'string',
  5117. ),
  5118. ),
  5119. ),'delete' => array(
  5120. 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}',
  5121. 'httpMethod' => 'DELETE',
  5122. 'parameters' => array(
  5123. 'project' => array(
  5124. 'location' => 'path',
  5125. 'type' => 'string',
  5126. 'required' => true,
  5127. ),
  5128. 'region' => array(
  5129. 'location' => 'path',
  5130. 'type' => 'string',
  5131. 'required' => true,
  5132. ),
  5133. 'instanceGroupManager' => array(
  5134. 'location' => 'path',
  5135. 'type' => 'string',
  5136. 'required' => true,
  5137. ),
  5138. 'requestId' => array(
  5139. 'location' => 'query',
  5140. 'type' => 'string',
  5141. ),
  5142. ),
  5143. ),'deleteInstances' => array(
  5144. 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances',
  5145. 'httpMethod' => 'POST',
  5146. 'parameters' => array(
  5147. 'project' => array(
  5148. 'location' => 'path',
  5149. 'type' => 'string',
  5150. 'required' => true,
  5151. ),
  5152. 'region' => array(
  5153. 'location' => 'path',
  5154. 'type' => 'string',
  5155. 'required' => true,
  5156. ),
  5157. 'instanceGroupManager' => array(
  5158. 'location' => 'path',
  5159. 'type' => 'string',
  5160. 'required' => true,
  5161. ),
  5162. 'requestId' => array(
  5163. 'location' => 'query',
  5164. 'type' => 'string',
  5165. ),
  5166. ),
  5167. ),'get' => array(
  5168. 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}',
  5169. 'httpMethod' => 'GET',
  5170. 'parameters' => array(
  5171. 'project' => array(
  5172. 'location' => 'path',
  5173. 'type' => 'string',
  5174. 'required' => true,
  5175. ),
  5176. 'region' => array(
  5177. 'location' => 'path',
  5178. 'type' => 'string',
  5179. 'required' => true,
  5180. ),
  5181. 'instanceGroupManager' => array(
  5182. 'location' => 'path',
  5183. 'type' => 'string',
  5184. 'required' => true,
  5185. ),
  5186. ),
  5187. ),'insert' => array(
  5188. 'path' => '{project}/regions/{region}/instanceGroupManagers',
  5189. 'httpMethod' => 'POST',
  5190. 'parameters' => array(
  5191. 'project' => array(
  5192. 'location' => 'path',
  5193. 'type' => 'string',
  5194. 'required' => true,
  5195. ),
  5196. 'region' => array(
  5197. 'location' => 'path',
  5198. 'type' => 'string',
  5199. 'required' => true,
  5200. ),
  5201. 'requestId' => array(
  5202. 'location' => 'query',
  5203. 'type' => 'string',
  5204. ),
  5205. ),
  5206. ),'list' => array(
  5207. 'path' => '{project}/regions/{region}/instanceGroupManagers',
  5208. 'httpMethod' => 'GET',
  5209. 'parameters' => array(
  5210. 'project' => array(
  5211. 'location' => 'path',
  5212. 'type' => 'string',
  5213. 'required' => true,
  5214. ),
  5215. 'region' => array(
  5216. 'location' => 'path',
  5217. 'type' => 'string',
  5218. 'required' => true,
  5219. ),
  5220. 'filter' => array(
  5221. 'location' => 'query',
  5222. 'type' => 'string',
  5223. ),
  5224. 'maxResults' => array(
  5225. 'location' => 'query',
  5226. 'type' => 'integer',
  5227. ),
  5228. 'orderBy' => array(
  5229. 'location' => 'query',
  5230. 'type' => 'string',
  5231. ),
  5232. 'pageToken' => array(
  5233. 'location' => 'query',
  5234. 'type' => 'string',
  5235. ),
  5236. ),
  5237. ),'listManagedInstances' => array(
  5238. 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances',
  5239. 'httpMethod' => 'POST',
  5240. 'parameters' => array(
  5241. 'project' => array(
  5242. 'location' => 'path',
  5243. 'type' => 'string',
  5244. 'required' => true,
  5245. ),
  5246. 'region' => array(
  5247. 'location' => 'path',
  5248. 'type' => 'string',
  5249. 'required' => true,
  5250. ),
  5251. 'instanceGroupManager' => array(
  5252. 'location' => 'path',
  5253. 'type' => 'string',
  5254. 'required' => true,
  5255. ),
  5256. 'filter' => array(
  5257. 'location' => 'query',
  5258. 'type' => 'string',
  5259. ),
  5260. 'maxResults' => array(
  5261. 'location' => 'query',
  5262. 'type' => 'integer',
  5263. ),
  5264. 'order_by' => array(
  5265. 'location' => 'query',
  5266. 'type' => 'string',
  5267. ),
  5268. 'pageToken' => array(
  5269. 'location' => 'query',
  5270. 'type' => 'string',
  5271. ),
  5272. ),
  5273. ),'recreateInstances' => array(
  5274. 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances',
  5275. 'httpMethod' => 'POST',
  5276. 'parameters' => array(
  5277. 'project' => array(
  5278. 'location' => 'path',
  5279. 'type' => 'string',
  5280. 'required' => true,
  5281. ),
  5282. 'region' => array(
  5283. 'location' => 'path',
  5284. 'type' => 'string',
  5285. 'required' => true,
  5286. ),
  5287. 'instanceGroupManager' => array(
  5288. 'location' => 'path',
  5289. 'type' => 'string',
  5290. 'required' => true,
  5291. ),
  5292. 'requestId' => array(
  5293. 'location' => 'query',
  5294. 'type' => 'string',
  5295. ),
  5296. ),
  5297. ),'resize' => array(
  5298. 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize',
  5299. 'httpMethod' => 'POST',
  5300. 'parameters' => array(
  5301. 'project' => array(
  5302. 'location' => 'path',
  5303. 'type' => 'string',
  5304. 'required' => true,
  5305. ),
  5306. 'region' => array(
  5307. 'location' => 'path',
  5308. 'type' => 'string',
  5309. 'required' => true,
  5310. ),
  5311. 'instanceGroupManager' => array(
  5312. 'location' => 'path',
  5313. 'type' => 'string',
  5314. 'required' => true,
  5315. ),
  5316. 'size' => array(
  5317. 'location' => 'query',
  5318. 'type' => 'integer',
  5319. 'required' => true,
  5320. ),
  5321. 'requestId' => array(
  5322. 'location' => 'query',
  5323. 'type' => 'string',
  5324. ),
  5325. ),
  5326. ),'setInstanceTemplate' => array(
  5327. 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate',
  5328. 'httpMethod' => 'POST',
  5329. 'parameters' => array(
  5330. 'project' => array(
  5331. 'location' => 'path',
  5332. 'type' => 'string',
  5333. 'required' => true,
  5334. ),
  5335. 'region' => array(
  5336. 'location' => 'path',
  5337. 'type' => 'string',
  5338. 'required' => true,
  5339. ),
  5340. 'instanceGroupManager' => array(
  5341. 'location' => 'path',
  5342. 'type' => 'string',
  5343. 'required' => true,
  5344. ),
  5345. 'requestId' => array(
  5346. 'location' => 'query',
  5347. 'type' => 'string',
  5348. ),
  5349. ),
  5350. ),'setTargetPools' => array(
  5351. 'path' => '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools',
  5352. 'httpMethod' => 'POST',
  5353. 'parameters' => array(
  5354. 'project' => array(
  5355. 'location' => 'path',
  5356. 'type' => 'string',
  5357. 'required' => true,
  5358. ),
  5359. 'region' => array(
  5360. 'location' => 'path',
  5361. 'type' => 'string',
  5362. 'required' => true,
  5363. ),
  5364. 'instanceGroupManager' => array(
  5365. 'location' => 'path',
  5366. 'type' => 'string',
  5367. 'required' => true,
  5368. ),
  5369. 'requestId' => array(
  5370. 'location' => 'query',
  5371. 'type' => 'string',
  5372. ),
  5373. ),
  5374. ),
  5375. )
  5376. )
  5377. );
  5378. $this->regionInstanceGroups = new Google_Service_Compute_Resource_RegionInstanceGroups(
  5379. $this,
  5380. $this->serviceName,
  5381. 'regionInstanceGroups',
  5382. array(
  5383. 'methods' => array(
  5384. 'get' => array(
  5385. 'path' => '{project}/regions/{region}/instanceGroups/{instanceGroup}',
  5386. 'httpMethod' => 'GET',
  5387. 'parameters' => array(
  5388. 'project' => array(
  5389. 'location' => 'path',
  5390. 'type' => 'string',
  5391. 'required' => true,
  5392. ),
  5393. 'region' => array(
  5394. 'location' => 'path',
  5395. 'type' => 'string',
  5396. 'required' => true,
  5397. ),
  5398. 'instanceGroup' => array(
  5399. 'location' => 'path',
  5400. 'type' => 'string',
  5401. 'required' => true,
  5402. ),
  5403. ),
  5404. ),'list' => array(
  5405. 'path' => '{project}/regions/{region}/instanceGroups',
  5406. 'httpMethod' => 'GET',
  5407. 'parameters' => array(
  5408. 'project' => array(
  5409. 'location' => 'path',
  5410. 'type' => 'string',
  5411. 'required' => true,
  5412. ),
  5413. 'region' => array(
  5414. 'location' => 'path',
  5415. 'type' => 'string',
  5416. 'required' => true,
  5417. ),
  5418. 'filter' => array(
  5419. 'location' => 'query',
  5420. 'type' => 'string',
  5421. ),
  5422. 'maxResults' => array(
  5423. 'location' => 'query',
  5424. 'type' => 'integer',
  5425. ),
  5426. 'orderBy' => array(
  5427. 'location' => 'query',
  5428. 'type' => 'string',
  5429. ),
  5430. 'pageToken' => array(
  5431. 'location' => 'query',
  5432. 'type' => 'string',
  5433. ),
  5434. ),
  5435. ),'listInstances' => array(
  5436. 'path' => '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances',
  5437. 'httpMethod' => 'POST',
  5438. 'parameters' => array(
  5439. 'project' => array(
  5440. 'location' => 'path',
  5441. 'type' => 'string',
  5442. 'required' => true,
  5443. ),
  5444. 'region' => array(
  5445. 'location' => 'path',
  5446. 'type' => 'string',
  5447. 'required' => true,
  5448. ),
  5449. 'instanceGroup' => array(
  5450. 'location' => 'path',
  5451. 'type' => 'string',
  5452. 'required' => true,
  5453. ),
  5454. 'filter' => array(
  5455. 'location' => 'query',
  5456. 'type' => 'string',
  5457. ),
  5458. 'maxResults' => array(
  5459. 'location' => 'query',
  5460. 'type' => 'integer',
  5461. ),
  5462. 'orderBy' => array(
  5463. 'location' => 'query',
  5464. 'type' => 'string',
  5465. ),
  5466. 'pageToken' => array(
  5467. 'location' => 'query',
  5468. 'type' => 'string',
  5469. ),
  5470. ),
  5471. ),'setNamedPorts' => array(
  5472. 'path' => '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts',
  5473. 'httpMethod' => 'POST',
  5474. 'parameters' => array(
  5475. 'project' => array(
  5476. 'location' => 'path',
  5477. 'type' => 'string',
  5478. 'required' => true,
  5479. ),
  5480. 'region' => array(
  5481. 'location' => 'path',
  5482. 'type' => 'string',
  5483. 'required' => true,
  5484. ),
  5485. 'instanceGroup' => array(
  5486. 'location' => 'path',
  5487. 'type' => 'string',
  5488. 'required' => true,
  5489. ),
  5490. 'requestId' => array(
  5491. 'location' => 'query',
  5492. 'type' => 'string',
  5493. ),
  5494. ),
  5495. ),
  5496. )
  5497. )
  5498. );
  5499. $this->regionOperations = new Google_Service_Compute_Resource_RegionOperations(
  5500. $this,
  5501. $this->serviceName,
  5502. 'regionOperations',
  5503. array(
  5504. 'methods' => array(
  5505. 'delete' => array(
  5506. 'path' => '{project}/regions/{region}/operations/{operation}',
  5507. 'httpMethod' => 'DELETE',
  5508. 'parameters' => array(
  5509. 'project' => array(
  5510. 'location' => 'path',
  5511. 'type' => 'string',
  5512. 'required' => true,
  5513. ),
  5514. 'region' => array(
  5515. 'location' => 'path',
  5516. 'type' => 'string',
  5517. 'required' => true,
  5518. ),
  5519. 'operation' => array(
  5520. 'location' => 'path',
  5521. 'type' => 'string',
  5522. 'required' => true,
  5523. ),
  5524. ),
  5525. ),'get' => array(
  5526. 'path' => '{project}/regions/{region}/operations/{operation}',
  5527. 'httpMethod' => 'GET',
  5528. 'parameters' => array(
  5529. 'project' => array(
  5530. 'location' => 'path',
  5531. 'type' => 'string',
  5532. 'required' => true,
  5533. ),
  5534. 'region' => array(
  5535. 'location' => 'path',
  5536. 'type' => 'string',
  5537. 'required' => true,
  5538. ),
  5539. 'operation' => array(
  5540. 'location' => 'path',
  5541. 'type' => 'string',
  5542. 'required' => true,
  5543. ),
  5544. ),
  5545. ),'list' => array(
  5546. 'path' => '{project}/regions/{region}/operations',
  5547. 'httpMethod' => 'GET',
  5548. 'parameters' => array(
  5549. 'project' => array(
  5550. 'location' => 'path',
  5551. 'type' => 'string',
  5552. 'required' => true,
  5553. ),
  5554. 'region' => array(
  5555. 'location' => 'path',
  5556. 'type' => 'string',
  5557. 'required' => true,
  5558. ),
  5559. 'filter' => array(
  5560. 'location' => 'query',
  5561. 'type' => 'string',
  5562. ),
  5563. 'maxResults' => array(
  5564. 'location' => 'query',
  5565. 'type' => 'integer',
  5566. ),
  5567. 'orderBy' => array(
  5568. 'location' => 'query',
  5569. 'type' => 'string',
  5570. ),
  5571. 'pageToken' => array(
  5572. 'location' => 'query',
  5573. 'type' => 'string',
  5574. ),
  5575. ),
  5576. ),
  5577. )
  5578. )
  5579. );
  5580. $this->regions = new Google_Service_Compute_Resource_Regions(
  5581. $this,
  5582. $this->serviceName,
  5583. 'regions',
  5584. array(
  5585. 'methods' => array(
  5586. 'get' => array(
  5587. 'path' => '{project}/regions/{region}',
  5588. 'httpMethod' => 'GET',
  5589. 'parameters' => array(
  5590. 'project' => array(
  5591. 'location' => 'path',
  5592. 'type' => 'string',
  5593. 'required' => true,
  5594. ),
  5595. 'region' => array(
  5596. 'location' => 'path',
  5597. 'type' => 'string',
  5598. 'required' => true,
  5599. ),
  5600. ),
  5601. ),'list' => array(
  5602. 'path' => '{project}/regions',
  5603. 'httpMethod' => 'GET',
  5604. 'parameters' => array(
  5605. 'project' => array(
  5606. 'location' => 'path',
  5607. 'type' => 'string',
  5608. 'required' => true,
  5609. ),
  5610. 'filter' => array(
  5611. 'location' => 'query',
  5612. 'type' => 'string',
  5613. ),
  5614. 'maxResults' => array(
  5615. 'location' => 'query',
  5616. 'type' => 'integer',
  5617. ),
  5618. 'orderBy' => array(
  5619. 'location' => 'query',
  5620. 'type' => 'string',
  5621. ),
  5622. 'pageToken' => array(
  5623. 'location' => 'query',
  5624. 'type' => 'string',
  5625. ),
  5626. ),
  5627. ),
  5628. )
  5629. )
  5630. );
  5631. $this->routers = new Google_Service_Compute_Resource_Routers(
  5632. $this,
  5633. $this->serviceName,
  5634. 'routers',
  5635. array(
  5636. 'methods' => array(
  5637. 'aggregatedList' => array(
  5638. 'path' => '{project}/aggregated/routers',
  5639. 'httpMethod' => 'GET',
  5640. 'parameters' => array(
  5641. 'project' => array(
  5642. 'location' => 'path',
  5643. 'type' => 'string',
  5644. 'required' => true,
  5645. ),
  5646. 'filter' => array(
  5647. 'location' => 'query',
  5648. 'type' => 'string',
  5649. ),
  5650. 'maxResults' => array(
  5651. 'location' => 'query',
  5652. 'type' => 'integer',
  5653. ),
  5654. 'orderBy' => array(
  5655. 'location' => 'query',
  5656. 'type' => 'string',
  5657. ),
  5658. 'pageToken' => array(
  5659. 'location' => 'query',
  5660. 'type' => 'string',
  5661. ),
  5662. ),
  5663. ),'delete' => array(
  5664. 'path' => '{project}/regions/{region}/routers/{router}',
  5665. 'httpMethod' => 'DELETE',
  5666. 'parameters' => array(
  5667. 'project' => array(
  5668. 'location' => 'path',
  5669. 'type' => 'string',
  5670. 'required' => true,
  5671. ),
  5672. 'region' => array(
  5673. 'location' => 'path',
  5674. 'type' => 'string',
  5675. 'required' => true,
  5676. ),
  5677. 'router' => array(
  5678. 'location' => 'path',
  5679. 'type' => 'string',
  5680. 'required' => true,
  5681. ),
  5682. 'requestId' => array(
  5683. 'location' => 'query',
  5684. 'type' => 'string',
  5685. ),
  5686. ),
  5687. ),'get' => array(
  5688. 'path' => '{project}/regions/{region}/routers/{router}',
  5689. 'httpMethod' => 'GET',
  5690. 'parameters' => array(
  5691. 'project' => array(
  5692. 'location' => 'path',
  5693. 'type' => 'string',
  5694. 'required' => true,
  5695. ),
  5696. 'region' => array(
  5697. 'location' => 'path',
  5698. 'type' => 'string',
  5699. 'required' => true,
  5700. ),
  5701. 'router' => array(
  5702. 'location' => 'path',
  5703. 'type' => 'string',
  5704. 'required' => true,
  5705. ),
  5706. ),
  5707. ),'getRouterStatus' => array(
  5708. 'path' => '{project}/regions/{region}/routers/{router}/getRouterStatus',
  5709. 'httpMethod' => 'GET',
  5710. 'parameters' => array(
  5711. 'project' => array(
  5712. 'location' => 'path',
  5713. 'type' => 'string',
  5714. 'required' => true,
  5715. ),
  5716. 'region' => array(
  5717. 'location' => 'path',
  5718. 'type' => 'string',
  5719. 'required' => true,
  5720. ),
  5721. 'router' => array(
  5722. 'location' => 'path',
  5723. 'type' => 'string',
  5724. 'required' => true,
  5725. ),
  5726. ),
  5727. ),'insert' => array(
  5728. 'path' => '{project}/regions/{region}/routers',
  5729. 'httpMethod' => 'POST',
  5730. 'parameters' => array(
  5731. 'project' => array(
  5732. 'location' => 'path',
  5733. 'type' => 'string',
  5734. 'required' => true,
  5735. ),
  5736. 'region' => array(
  5737. 'location' => 'path',
  5738. 'type' => 'string',
  5739. 'required' => true,
  5740. ),
  5741. 'requestId' => array(
  5742. 'location' => 'query',
  5743. 'type' => 'string',
  5744. ),
  5745. ),
  5746. ),'list' => array(
  5747. 'path' => '{project}/regions/{region}/routers',
  5748. 'httpMethod' => 'GET',
  5749. 'parameters' => array(
  5750. 'project' => array(
  5751. 'location' => 'path',
  5752. 'type' => 'string',
  5753. 'required' => true,
  5754. ),
  5755. 'region' => array(
  5756. 'location' => 'path',
  5757. 'type' => 'string',
  5758. 'required' => true,
  5759. ),
  5760. 'filter' => array(
  5761. 'location' => 'query',
  5762. 'type' => 'string',
  5763. ),
  5764. 'maxResults' => array(
  5765. 'location' => 'query',
  5766. 'type' => 'integer',
  5767. ),
  5768. 'orderBy' => array(
  5769. 'location' => 'query',
  5770. 'type' => 'string',
  5771. ),
  5772. 'pageToken' => array(
  5773. 'location' => 'query',
  5774. 'type' => 'string',
  5775. ),
  5776. ),
  5777. ),'patch' => array(
  5778. 'path' => '{project}/regions/{region}/routers/{router}',
  5779. 'httpMethod' => 'PATCH',
  5780. 'parameters' => array(
  5781. 'project' => array(
  5782. 'location' => 'path',
  5783. 'type' => 'string',
  5784. 'required' => true,
  5785. ),
  5786. 'region' => array(
  5787. 'location' => 'path',
  5788. 'type' => 'string',
  5789. 'required' => true,
  5790. ),
  5791. 'router' => array(
  5792. 'location' => 'path',
  5793. 'type' => 'string',
  5794. 'required' => true,
  5795. ),
  5796. 'requestId' => array(
  5797. 'location' => 'query',
  5798. 'type' => 'string',
  5799. ),
  5800. ),
  5801. ),'preview' => array(
  5802. 'path' => '{project}/regions/{region}/routers/{router}/preview',
  5803. 'httpMethod' => 'POST',
  5804. 'parameters' => array(
  5805. 'project' => array(
  5806. 'location' => 'path',
  5807. 'type' => 'string',
  5808. 'required' => true,
  5809. ),
  5810. 'region' => array(
  5811. 'location' => 'path',
  5812. 'type' => 'string',
  5813. 'required' => true,
  5814. ),
  5815. 'router' => array(
  5816. 'location' => 'path',
  5817. 'type' => 'string',
  5818. 'required' => true,
  5819. ),
  5820. ),
  5821. ),'update' => array(
  5822. 'path' => '{project}/regions/{region}/routers/{router}',
  5823. 'httpMethod' => 'PUT',
  5824. 'parameters' => array(
  5825. 'project' => array(
  5826. 'location' => 'path',
  5827. 'type' => 'string',
  5828. 'required' => true,
  5829. ),
  5830. 'region' => array(
  5831. 'location' => 'path',
  5832. 'type' => 'string',
  5833. 'required' => true,
  5834. ),
  5835. 'router' => array(
  5836. 'location' => 'path',
  5837. 'type' => 'string',
  5838. 'required' => true,
  5839. ),
  5840. 'requestId' => array(
  5841. 'location' => 'query',
  5842. 'type' => 'string',
  5843. ),
  5844. ),
  5845. ),
  5846. )
  5847. )
  5848. );
  5849. $this->routes = new Google_Service_Compute_Resource_Routes(
  5850. $this,
  5851. $this->serviceName,
  5852. 'routes',
  5853. array(
  5854. 'methods' => array(
  5855. 'delete' => array(
  5856. 'path' => '{project}/global/routes/{route}',
  5857. 'httpMethod' => 'DELETE',
  5858. 'parameters' => array(
  5859. 'project' => array(
  5860. 'location' => 'path',
  5861. 'type' => 'string',
  5862. 'required' => true,
  5863. ),
  5864. 'route' => array(
  5865. 'location' => 'path',
  5866. 'type' => 'string',
  5867. 'required' => true,
  5868. ),
  5869. 'requestId' => array(
  5870. 'location' => 'query',
  5871. 'type' => 'string',
  5872. ),
  5873. ),
  5874. ),'get' => array(
  5875. 'path' => '{project}/global/routes/{route}',
  5876. 'httpMethod' => 'GET',
  5877. 'parameters' => array(
  5878. 'project' => array(
  5879. 'location' => 'path',
  5880. 'type' => 'string',
  5881. 'required' => true,
  5882. ),
  5883. 'route' => array(
  5884. 'location' => 'path',
  5885. 'type' => 'string',
  5886. 'required' => true,
  5887. ),
  5888. ),
  5889. ),'insert' => array(
  5890. 'path' => '{project}/global/routes',
  5891. 'httpMethod' => 'POST',
  5892. 'parameters' => array(
  5893. 'project' => array(
  5894. 'location' => 'path',
  5895. 'type' => 'string',
  5896. 'required' => true,
  5897. ),
  5898. 'requestId' => array(
  5899. 'location' => 'query',
  5900. 'type' => 'string',
  5901. ),
  5902. ),
  5903. ),'list' => array(
  5904. 'path' => '{project}/global/routes',
  5905. 'httpMethod' => 'GET',
  5906. 'parameters' => array(
  5907. 'project' => array(
  5908. 'location' => 'path',
  5909. 'type' => 'string',
  5910. 'required' => true,
  5911. ),
  5912. 'filter' => array(
  5913. 'location' => 'query',
  5914. 'type' => 'string',
  5915. ),
  5916. 'maxResults' => array(
  5917. 'location' => 'query',
  5918. 'type' => 'integer',
  5919. ),
  5920. 'orderBy' => array(
  5921. 'location' => 'query',
  5922. 'type' => 'string',
  5923. ),
  5924. 'pageToken' => array(
  5925. 'location' => 'query',
  5926. 'type' => 'string',
  5927. ),
  5928. ),
  5929. ),
  5930. )
  5931. )
  5932. );
  5933. $this->snapshots = new Google_Service_Compute_Resource_Snapshots(
  5934. $this,
  5935. $this->serviceName,
  5936. 'snapshots',
  5937. array(
  5938. 'methods' => array(
  5939. 'delete' => array(
  5940. 'path' => '{project}/global/snapshots/{snapshot}',
  5941. 'httpMethod' => 'DELETE',
  5942. 'parameters' => array(
  5943. 'project' => array(
  5944. 'location' => 'path',
  5945. 'type' => 'string',
  5946. 'required' => true,
  5947. ),
  5948. 'snapshot' => array(
  5949. 'location' => 'path',
  5950. 'type' => 'string',
  5951. 'required' => true,
  5952. ),
  5953. 'requestId' => array(
  5954. 'location' => 'query',
  5955. 'type' => 'string',
  5956. ),
  5957. ),
  5958. ),'get' => array(
  5959. 'path' => '{project}/global/snapshots/{snapshot}',
  5960. 'httpMethod' => 'GET',
  5961. 'parameters' => array(
  5962. 'project' => array(
  5963. 'location' => 'path',
  5964. 'type' => 'string',
  5965. 'required' => true,
  5966. ),
  5967. 'snapshot' => array(
  5968. 'location' => 'path',
  5969. 'type' => 'string',
  5970. 'required' => true,
  5971. ),
  5972. ),
  5973. ),'list' => array(
  5974. 'path' => '{project}/global/snapshots',
  5975. 'httpMethod' => 'GET',
  5976. 'parameters' => array(
  5977. 'project' => array(
  5978. 'location' => 'path',
  5979. 'type' => 'string',
  5980. 'required' => true,
  5981. ),
  5982. 'filter' => array(
  5983. 'location' => 'query',
  5984. 'type' => 'string',
  5985. ),
  5986. 'maxResults' => array(
  5987. 'location' => 'query',
  5988. 'type' => 'integer',
  5989. ),
  5990. 'orderBy' => array(
  5991. 'location' => 'query',
  5992. 'type' => 'string',
  5993. ),
  5994. 'pageToken' => array(
  5995. 'location' => 'query',
  5996. 'type' => 'string',
  5997. ),
  5998. ),
  5999. ),'setLabels' => array(
  6000. 'path' => '{project}/global/snapshots/{resource}/setLabels',
  6001. 'httpMethod' => 'POST',
  6002. 'parameters' => array(
  6003. 'project' => array(
  6004. 'location' => 'path',
  6005. 'type' => 'string',
  6006. 'required' => true,
  6007. ),
  6008. 'resource' => array(
  6009. 'location' => 'path',
  6010. 'type' => 'string',
  6011. 'required' => true,
  6012. ),
  6013. ),
  6014. ),
  6015. )
  6016. )
  6017. );
  6018. $this->sslCertificates = new Google_Service_Compute_Resource_SslCertificates(
  6019. $this,
  6020. $this->serviceName,
  6021. 'sslCertificates',
  6022. array(
  6023. 'methods' => array(
  6024. 'delete' => array(
  6025. 'path' => '{project}/global/sslCertificates/{sslCertificate}',
  6026. 'httpMethod' => 'DELETE',
  6027. 'parameters' => array(
  6028. 'project' => array(
  6029. 'location' => 'path',
  6030. 'type' => 'string',
  6031. 'required' => true,
  6032. ),
  6033. 'sslCertificate' => array(
  6034. 'location' => 'path',
  6035. 'type' => 'string',
  6036. 'required' => true,
  6037. ),
  6038. 'requestId' => array(
  6039. 'location' => 'query',
  6040. 'type' => 'string',
  6041. ),
  6042. ),
  6043. ),'get' => array(
  6044. 'path' => '{project}/global/sslCertificates/{sslCertificate}',
  6045. 'httpMethod' => 'GET',
  6046. 'parameters' => array(
  6047. 'project' => array(
  6048. 'location' => 'path',
  6049. 'type' => 'string',
  6050. 'required' => true,
  6051. ),
  6052. 'sslCertificate' => array(
  6053. 'location' => 'path',
  6054. 'type' => 'string',
  6055. 'required' => true,
  6056. ),
  6057. ),
  6058. ),'insert' => array(
  6059. 'path' => '{project}/global/sslCertificates',
  6060. 'httpMethod' => 'POST',
  6061. 'parameters' => array(
  6062. 'project' => array(
  6063. 'location' => 'path',
  6064. 'type' => 'string',
  6065. 'required' => true,
  6066. ),
  6067. 'requestId' => array(
  6068. 'location' => 'query',
  6069. 'type' => 'string',
  6070. ),
  6071. ),
  6072. ),'list' => array(
  6073. 'path' => '{project}/global/sslCertificates',
  6074. 'httpMethod' => 'GET',
  6075. 'parameters' => array(
  6076. 'project' => array(
  6077. 'location' => 'path',
  6078. 'type' => 'string',
  6079. 'required' => true,
  6080. ),
  6081. 'filter' => array(
  6082. 'location' => 'query',
  6083. 'type' => 'string',
  6084. ),
  6085. 'maxResults' => array(
  6086. 'location' => 'query',
  6087. 'type' => 'integer',
  6088. ),
  6089. 'orderBy' => array(
  6090. 'location' => 'query',
  6091. 'type' => 'string',
  6092. ),
  6093. 'pageToken' => array(
  6094. 'location' => 'query',
  6095. 'type' => 'string',
  6096. ),
  6097. ),
  6098. ),
  6099. )
  6100. )
  6101. );
  6102. $this->sslPolicies = new Google_Service_Compute_Resource_SslPolicies(
  6103. $this,
  6104. $this->serviceName,
  6105. 'sslPolicies',
  6106. array(
  6107. 'methods' => array(
  6108. 'delete' => array(
  6109. 'path' => '{project}/global/sslPolicies/{sslPolicy}',
  6110. 'httpMethod' => 'DELETE',
  6111. 'parameters' => array(
  6112. 'project' => array(
  6113. 'location' => 'path',
  6114. 'type' => 'string',
  6115. 'required' => true,
  6116. ),
  6117. 'sslPolicy' => array(
  6118. 'location' => 'path',
  6119. 'type' => 'string',
  6120. 'required' => true,
  6121. ),
  6122. 'requestId' => array(
  6123. 'location' => 'query',
  6124. 'type' => 'string',
  6125. ),
  6126. ),
  6127. ),'get' => array(
  6128. 'path' => '{project}/global/sslPolicies/{sslPolicy}',
  6129. 'httpMethod' => 'GET',
  6130. 'parameters' => array(
  6131. 'project' => array(
  6132. 'location' => 'path',
  6133. 'type' => 'string',
  6134. 'required' => true,
  6135. ),
  6136. 'sslPolicy' => array(
  6137. 'location' => 'path',
  6138. 'type' => 'string',
  6139. 'required' => true,
  6140. ),
  6141. ),
  6142. ),'insert' => array(
  6143. 'path' => '{project}/global/sslPolicies',
  6144. 'httpMethod' => 'POST',
  6145. 'parameters' => array(
  6146. 'project' => array(
  6147. 'location' => 'path',
  6148. 'type' => 'string',
  6149. 'required' => true,
  6150. ),
  6151. 'requestId' => array(
  6152. 'location' => 'query',
  6153. 'type' => 'string',
  6154. ),
  6155. ),
  6156. ),'list' => array(
  6157. 'path' => '{project}/global/sslPolicies',
  6158. 'httpMethod' => 'GET',
  6159. 'parameters' => array(
  6160. 'project' => array(
  6161. 'location' => 'path',
  6162. 'type' => 'string',
  6163. 'required' => true,
  6164. ),
  6165. 'filter' => array(
  6166. 'location' => 'query',
  6167. 'type' => 'string',
  6168. ),
  6169. 'maxResults' => array(
  6170. 'location' => 'query',
  6171. 'type' => 'integer',
  6172. ),
  6173. 'orderBy' => array(
  6174. 'location' => 'query',
  6175. 'type' => 'string',
  6176. ),
  6177. 'pageToken' => array(
  6178. 'location' => 'query',
  6179. 'type' => 'string',
  6180. ),
  6181. ),
  6182. ),'listAvailableFeatures' => array(
  6183. 'path' => '{project}/global/sslPolicies/listAvailableFeatures',
  6184. 'httpMethod' => 'GET',
  6185. 'parameters' => array(
  6186. 'project' => array(
  6187. 'location' => 'path',
  6188. 'type' => 'string',
  6189. 'required' => true,
  6190. ),
  6191. 'filter' => array(
  6192. 'location' => 'query',
  6193. 'type' => 'string',
  6194. ),
  6195. 'maxResults' => array(
  6196. 'location' => 'query',
  6197. 'type' => 'integer',
  6198. ),
  6199. 'orderBy' => array(
  6200. 'location' => 'query',
  6201. 'type' => 'string',
  6202. ),
  6203. 'pageToken' => array(
  6204. 'location' => 'query',
  6205. 'type' => 'string',
  6206. ),
  6207. ),
  6208. ),'patch' => array(
  6209. 'path' => '{project}/global/sslPolicies/{sslPolicy}',
  6210. 'httpMethod' => 'PATCH',
  6211. 'parameters' => array(
  6212. 'project' => array(
  6213. 'location' => 'path',
  6214. 'type' => 'string',
  6215. 'required' => true,
  6216. ),
  6217. 'sslPolicy' => array(
  6218. 'location' => 'path',
  6219. 'type' => 'string',
  6220. 'required' => true,
  6221. ),
  6222. 'requestId' => array(
  6223. 'location' => 'query',
  6224. 'type' => 'string',
  6225. ),
  6226. ),
  6227. ),
  6228. )
  6229. )
  6230. );
  6231. $this->subnetworks = new Google_Service_Compute_Resource_Subnetworks(
  6232. $this,
  6233. $this->serviceName,
  6234. 'subnetworks',
  6235. array(
  6236. 'methods' => array(
  6237. 'aggregatedList' => array(
  6238. 'path' => '{project}/aggregated/subnetworks',
  6239. 'httpMethod' => 'GET',
  6240. 'parameters' => array(
  6241. 'project' => array(
  6242. 'location' => 'path',
  6243. 'type' => 'string',
  6244. 'required' => true,
  6245. ),
  6246. 'filter' => array(
  6247. 'location' => 'query',
  6248. 'type' => 'string',
  6249. ),
  6250. 'maxResults' => array(
  6251. 'location' => 'query',
  6252. 'type' => 'integer',
  6253. ),
  6254. 'orderBy' => array(
  6255. 'location' => 'query',
  6256. 'type' => 'string',
  6257. ),
  6258. 'pageToken' => array(
  6259. 'location' => 'query',
  6260. 'type' => 'string',
  6261. ),
  6262. ),
  6263. ),'delete' => array(
  6264. 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}',
  6265. 'httpMethod' => 'DELETE',
  6266. 'parameters' => array(
  6267. 'project' => array(
  6268. 'location' => 'path',
  6269. 'type' => 'string',
  6270. 'required' => true,
  6271. ),
  6272. 'region' => array(
  6273. 'location' => 'path',
  6274. 'type' => 'string',
  6275. 'required' => true,
  6276. ),
  6277. 'subnetwork' => array(
  6278. 'location' => 'path',
  6279. 'type' => 'string',
  6280. 'required' => true,
  6281. ),
  6282. 'requestId' => array(
  6283. 'location' => 'query',
  6284. 'type' => 'string',
  6285. ),
  6286. ),
  6287. ),'expandIpCidrRange' => array(
  6288. 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange',
  6289. 'httpMethod' => 'POST',
  6290. 'parameters' => array(
  6291. 'project' => array(
  6292. 'location' => 'path',
  6293. 'type' => 'string',
  6294. 'required' => true,
  6295. ),
  6296. 'region' => array(
  6297. 'location' => 'path',
  6298. 'type' => 'string',
  6299. 'required' => true,
  6300. ),
  6301. 'subnetwork' => array(
  6302. 'location' => 'path',
  6303. 'type' => 'string',
  6304. 'required' => true,
  6305. ),
  6306. 'requestId' => array(
  6307. 'location' => 'query',
  6308. 'type' => 'string',
  6309. ),
  6310. ),
  6311. ),'get' => array(
  6312. 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}',
  6313. 'httpMethod' => 'GET',
  6314. 'parameters' => array(
  6315. 'project' => array(
  6316. 'location' => 'path',
  6317. 'type' => 'string',
  6318. 'required' => true,
  6319. ),
  6320. 'region' => array(
  6321. 'location' => 'path',
  6322. 'type' => 'string',
  6323. 'required' => true,
  6324. ),
  6325. 'subnetwork' => array(
  6326. 'location' => 'path',
  6327. 'type' => 'string',
  6328. 'required' => true,
  6329. ),
  6330. ),
  6331. ),'insert' => array(
  6332. 'path' => '{project}/regions/{region}/subnetworks',
  6333. 'httpMethod' => 'POST',
  6334. 'parameters' => array(
  6335. 'project' => array(
  6336. 'location' => 'path',
  6337. 'type' => 'string',
  6338. 'required' => true,
  6339. ),
  6340. 'region' => array(
  6341. 'location' => 'path',
  6342. 'type' => 'string',
  6343. 'required' => true,
  6344. ),
  6345. 'requestId' => array(
  6346. 'location' => 'query',
  6347. 'type' => 'string',
  6348. ),
  6349. ),
  6350. ),'list' => array(
  6351. 'path' => '{project}/regions/{region}/subnetworks',
  6352. 'httpMethod' => 'GET',
  6353. 'parameters' => array(
  6354. 'project' => array(
  6355. 'location' => 'path',
  6356. 'type' => 'string',
  6357. 'required' => true,
  6358. ),
  6359. 'region' => array(
  6360. 'location' => 'path',
  6361. 'type' => 'string',
  6362. 'required' => true,
  6363. ),
  6364. 'filter' => array(
  6365. 'location' => 'query',
  6366. 'type' => 'string',
  6367. ),
  6368. 'maxResults' => array(
  6369. 'location' => 'query',
  6370. 'type' => 'integer',
  6371. ),
  6372. 'orderBy' => array(
  6373. 'location' => 'query',
  6374. 'type' => 'string',
  6375. ),
  6376. 'pageToken' => array(
  6377. 'location' => 'query',
  6378. 'type' => 'string',
  6379. ),
  6380. ),
  6381. ),'patch' => array(
  6382. 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}',
  6383. 'httpMethod' => 'PATCH',
  6384. 'parameters' => array(
  6385. 'project' => array(
  6386. 'location' => 'path',
  6387. 'type' => 'string',
  6388. 'required' => true,
  6389. ),
  6390. 'region' => array(
  6391. 'location' => 'path',
  6392. 'type' => 'string',
  6393. 'required' => true,
  6394. ),
  6395. 'subnetwork' => array(
  6396. 'location' => 'path',
  6397. 'type' => 'string',
  6398. 'required' => true,
  6399. ),
  6400. 'requestId' => array(
  6401. 'location' => 'query',
  6402. 'type' => 'string',
  6403. ),
  6404. ),
  6405. ),'setPrivateIpGoogleAccess' => array(
  6406. 'path' => '{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess',
  6407. 'httpMethod' => 'POST',
  6408. 'parameters' => array(
  6409. 'project' => array(
  6410. 'location' => 'path',
  6411. 'type' => 'string',
  6412. 'required' => true,
  6413. ),
  6414. 'region' => array(
  6415. 'location' => 'path',
  6416. 'type' => 'string',
  6417. 'required' => true,
  6418. ),
  6419. 'subnetwork' => array(
  6420. 'location' => 'path',
  6421. 'type' => 'string',
  6422. 'required' => true,
  6423. ),
  6424. 'requestId' => array(
  6425. 'location' => 'query',
  6426. 'type' => 'string',
  6427. ),
  6428. ),
  6429. ),
  6430. )
  6431. )
  6432. );
  6433. $this->targetHttpProxies = new Google_Service_Compute_Resource_TargetHttpProxies(
  6434. $this,
  6435. $this->serviceName,
  6436. 'targetHttpProxies',
  6437. array(
  6438. 'methods' => array(
  6439. 'delete' => array(
  6440. 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}',
  6441. 'httpMethod' => 'DELETE',
  6442. 'parameters' => array(
  6443. 'project' => array(
  6444. 'location' => 'path',
  6445. 'type' => 'string',
  6446. 'required' => true,
  6447. ),
  6448. 'targetHttpProxy' => array(
  6449. 'location' => 'path',
  6450. 'type' => 'string',
  6451. 'required' => true,
  6452. ),
  6453. 'requestId' => array(
  6454. 'location' => 'query',
  6455. 'type' => 'string',
  6456. ),
  6457. ),
  6458. ),'get' => array(
  6459. 'path' => '{project}/global/targetHttpProxies/{targetHttpProxy}',
  6460. 'httpMethod' => 'GET',
  6461. 'parameters' => array(
  6462. 'project' => array(
  6463. 'location' => 'path',
  6464. 'type' => 'string',
  6465. 'required' => true,
  6466. ),
  6467. 'targetHttpProxy' => array(
  6468. 'location' => 'path',
  6469. 'type' => 'string',
  6470. 'required' => true,
  6471. ),
  6472. ),
  6473. ),'insert' => array(
  6474. 'path' => '{project}/global/targetHttpProxies',
  6475. 'httpMethod' => 'POST',
  6476. 'parameters' => array(
  6477. 'project' => array(
  6478. 'location' => 'path',
  6479. 'type' => 'string',
  6480. 'required' => true,
  6481. ),
  6482. 'requestId' => array(
  6483. 'location' => 'query',
  6484. 'type' => 'string',
  6485. ),
  6486. ),
  6487. ),'list' => array(
  6488. 'path' => '{project}/global/targetHttpProxies',
  6489. 'httpMethod' => 'GET',
  6490. 'parameters' => array(
  6491. 'project' => array(
  6492. 'location' => 'path',
  6493. 'type' => 'string',
  6494. 'required' => true,
  6495. ),
  6496. 'filter' => array(
  6497. 'location' => 'query',
  6498. 'type' => 'string',
  6499. ),
  6500. 'maxResults' => array(
  6501. 'location' => 'query',
  6502. 'type' => 'integer',
  6503. ),
  6504. 'orderBy' => array(
  6505. 'location' => 'query',
  6506. 'type' => 'string',
  6507. ),
  6508. 'pageToken' => array(
  6509. 'location' => 'query',
  6510. 'type' => 'string',
  6511. ),
  6512. ),
  6513. ),'setUrlMap' => array(
  6514. 'path' => '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap',
  6515. 'httpMethod' => 'POST',
  6516. 'parameters' => array(
  6517. 'project' => array(
  6518. 'location' => 'path',
  6519. 'type' => 'string',
  6520. 'required' => true,
  6521. ),
  6522. 'targetHttpProxy' => array(
  6523. 'location' => 'path',
  6524. 'type' => 'string',
  6525. 'required' => true,
  6526. ),
  6527. 'requestId' => array(
  6528. 'location' => 'query',
  6529. 'type' => 'string',
  6530. ),
  6531. ),
  6532. ),
  6533. )
  6534. )
  6535. );
  6536. $this->targetHttpsProxies = new Google_Service_Compute_Resource_TargetHttpsProxies(
  6537. $this,
  6538. $this->serviceName,
  6539. 'targetHttpsProxies',
  6540. array(
  6541. 'methods' => array(
  6542. 'delete' => array(
  6543. 'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}',
  6544. 'httpMethod' => 'DELETE',
  6545. 'parameters' => array(
  6546. 'project' => array(
  6547. 'location' => 'path',
  6548. 'type' => 'string',
  6549. 'required' => true,
  6550. ),
  6551. 'targetHttpsProxy' => array(
  6552. 'location' => 'path',
  6553. 'type' => 'string',
  6554. 'required' => true,
  6555. ),
  6556. 'requestId' => array(
  6557. 'location' => 'query',
  6558. 'type' => 'string',
  6559. ),
  6560. ),
  6561. ),'get' => array(
  6562. 'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}',
  6563. 'httpMethod' => 'GET',
  6564. 'parameters' => array(
  6565. 'project' => array(
  6566. 'location' => 'path',
  6567. 'type' => 'string',
  6568. 'required' => true,
  6569. ),
  6570. 'targetHttpsProxy' => array(
  6571. 'location' => 'path',
  6572. 'type' => 'string',
  6573. 'required' => true,
  6574. ),
  6575. ),
  6576. ),'insert' => array(
  6577. 'path' => '{project}/global/targetHttpsProxies',
  6578. 'httpMethod' => 'POST',
  6579. 'parameters' => array(
  6580. 'project' => array(
  6581. 'location' => 'path',
  6582. 'type' => 'string',
  6583. 'required' => true,
  6584. ),
  6585. 'requestId' => array(
  6586. 'location' => 'query',
  6587. 'type' => 'string',
  6588. ),
  6589. ),
  6590. ),'list' => array(
  6591. 'path' => '{project}/global/targetHttpsProxies',
  6592. 'httpMethod' => 'GET',
  6593. 'parameters' => array(
  6594. 'project' => array(
  6595. 'location' => 'path',
  6596. 'type' => 'string',
  6597. 'required' => true,
  6598. ),
  6599. 'filter' => array(
  6600. 'location' => 'query',
  6601. 'type' => 'string',
  6602. ),
  6603. 'maxResults' => array(
  6604. 'location' => 'query',
  6605. 'type' => 'integer',
  6606. ),
  6607. 'orderBy' => array(
  6608. 'location' => 'query',
  6609. 'type' => 'string',
  6610. ),
  6611. 'pageToken' => array(
  6612. 'location' => 'query',
  6613. 'type' => 'string',
  6614. ),
  6615. ),
  6616. ),'setQuicOverride' => array(
  6617. 'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride',
  6618. 'httpMethod' => 'POST',
  6619. 'parameters' => array(
  6620. 'project' => array(
  6621. 'location' => 'path',
  6622. 'type' => 'string',
  6623. 'required' => true,
  6624. ),
  6625. 'targetHttpsProxy' => array(
  6626. 'location' => 'path',
  6627. 'type' => 'string',
  6628. 'required' => true,
  6629. ),
  6630. 'requestId' => array(
  6631. 'location' => 'query',
  6632. 'type' => 'string',
  6633. ),
  6634. ),
  6635. ),'setSslCertificates' => array(
  6636. 'path' => '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates',
  6637. 'httpMethod' => 'POST',
  6638. 'parameters' => array(
  6639. 'project' => array(
  6640. 'location' => 'path',
  6641. 'type' => 'string',
  6642. 'required' => true,
  6643. ),
  6644. 'targetHttpsProxy' => array(
  6645. 'location' => 'path',
  6646. 'type' => 'string',
  6647. 'required' => true,
  6648. ),
  6649. 'requestId' => array(
  6650. 'location' => 'query',
  6651. 'type' => 'string',
  6652. ),
  6653. ),
  6654. ),'setSslPolicy' => array(
  6655. 'path' => '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy',
  6656. 'httpMethod' => 'POST',
  6657. 'parameters' => array(
  6658. 'project' => array(
  6659. 'location' => 'path',
  6660. 'type' => 'string',
  6661. 'required' => true,
  6662. ),
  6663. 'targetHttpsProxy' => array(
  6664. 'location' => 'path',
  6665. 'type' => 'string',
  6666. 'required' => true,
  6667. ),
  6668. 'requestId' => array(
  6669. 'location' => 'query',
  6670. 'type' => 'string',
  6671. ),
  6672. ),
  6673. ),'setUrlMap' => array(
  6674. 'path' => '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap',
  6675. 'httpMethod' => 'POST',
  6676. 'parameters' => array(
  6677. 'project' => array(
  6678. 'location' => 'path',
  6679. 'type' => 'string',
  6680. 'required' => true,
  6681. ),
  6682. 'targetHttpsProxy' => array(
  6683. 'location' => 'path',
  6684. 'type' => 'string',
  6685. 'required' => true,
  6686. ),
  6687. 'requestId' => array(
  6688. 'location' => 'query',
  6689. 'type' => 'string',
  6690. ),
  6691. ),
  6692. ),
  6693. )
  6694. )
  6695. );
  6696. $this->targetInstances = new Google_Service_Compute_Resource_TargetInstances(
  6697. $this,
  6698. $this->serviceName,
  6699. 'targetInstances',
  6700. array(
  6701. 'methods' => array(
  6702. 'aggregatedList' => array(
  6703. 'path' => '{project}/aggregated/targetInstances',
  6704. 'httpMethod' => 'GET',
  6705. 'parameters' => array(
  6706. 'project' => array(
  6707. 'location' => 'path',
  6708. 'type' => 'string',
  6709. 'required' => true,
  6710. ),
  6711. 'filter' => array(
  6712. 'location' => 'query',
  6713. 'type' => 'string',
  6714. ),
  6715. 'maxResults' => array(
  6716. 'location' => 'query',
  6717. 'type' => 'integer',
  6718. ),
  6719. 'orderBy' => array(
  6720. 'location' => 'query',
  6721. 'type' => 'string',
  6722. ),
  6723. 'pageToken' => array(
  6724. 'location' => 'query',
  6725. 'type' => 'string',
  6726. ),
  6727. ),
  6728. ),'delete' => array(
  6729. 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}',
  6730. 'httpMethod' => 'DELETE',
  6731. 'parameters' => array(
  6732. 'project' => array(
  6733. 'location' => 'path',
  6734. 'type' => 'string',
  6735. 'required' => true,
  6736. ),
  6737. 'zone' => array(
  6738. 'location' => 'path',
  6739. 'type' => 'string',
  6740. 'required' => true,
  6741. ),
  6742. 'targetInstance' => array(
  6743. 'location' => 'path',
  6744. 'type' => 'string',
  6745. 'required' => true,
  6746. ),
  6747. 'requestId' => array(
  6748. 'location' => 'query',
  6749. 'type' => 'string',
  6750. ),
  6751. ),
  6752. ),'get' => array(
  6753. 'path' => '{project}/zones/{zone}/targetInstances/{targetInstance}',
  6754. 'httpMethod' => 'GET',
  6755. 'parameters' => array(
  6756. 'project' => array(
  6757. 'location' => 'path',
  6758. 'type' => 'string',
  6759. 'required' => true,
  6760. ),
  6761. 'zone' => array(
  6762. 'location' => 'path',
  6763. 'type' => 'string',
  6764. 'required' => true,
  6765. ),
  6766. 'targetInstance' => array(
  6767. 'location' => 'path',
  6768. 'type' => 'string',
  6769. 'required' => true,
  6770. ),
  6771. ),
  6772. ),'insert' => array(
  6773. 'path' => '{project}/zones/{zone}/targetInstances',
  6774. 'httpMethod' => 'POST',
  6775. 'parameters' => array(
  6776. 'project' => array(
  6777. 'location' => 'path',
  6778. 'type' => 'string',
  6779. 'required' => true,
  6780. ),
  6781. 'zone' => array(
  6782. 'location' => 'path',
  6783. 'type' => 'string',
  6784. 'required' => true,
  6785. ),
  6786. 'requestId' => array(
  6787. 'location' => 'query',
  6788. 'type' => 'string',
  6789. ),
  6790. ),
  6791. ),'list' => array(
  6792. 'path' => '{project}/zones/{zone}/targetInstances',
  6793. 'httpMethod' => 'GET',
  6794. 'parameters' => array(
  6795. 'project' => array(
  6796. 'location' => 'path',
  6797. 'type' => 'string',
  6798. 'required' => true,
  6799. ),
  6800. 'zone' => array(
  6801. 'location' => 'path',
  6802. 'type' => 'string',
  6803. 'required' => true,
  6804. ),
  6805. 'filter' => array(
  6806. 'location' => 'query',
  6807. 'type' => 'string',
  6808. ),
  6809. 'maxResults' => array(
  6810. 'location' => 'query',
  6811. 'type' => 'integer',
  6812. ),
  6813. 'orderBy' => array(
  6814. 'location' => 'query',
  6815. 'type' => 'string',
  6816. ),
  6817. 'pageToken' => array(
  6818. 'location' => 'query',
  6819. 'type' => 'string',
  6820. ),
  6821. ),
  6822. ),
  6823. )
  6824. )
  6825. );
  6826. $this->targetPools = new Google_Service_Compute_Resource_TargetPools(
  6827. $this,
  6828. $this->serviceName,
  6829. 'targetPools',
  6830. array(
  6831. 'methods' => array(
  6832. 'addHealthCheck' => array(
  6833. 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck',
  6834. 'httpMethod' => 'POST',
  6835. 'parameters' => array(
  6836. 'project' => array(
  6837. 'location' => 'path',
  6838. 'type' => 'string',
  6839. 'required' => true,
  6840. ),
  6841. 'region' => array(
  6842. 'location' => 'path',
  6843. 'type' => 'string',
  6844. 'required' => true,
  6845. ),
  6846. 'targetPool' => array(
  6847. 'location' => 'path',
  6848. 'type' => 'string',
  6849. 'required' => true,
  6850. ),
  6851. 'requestId' => array(
  6852. 'location' => 'query',
  6853. 'type' => 'string',
  6854. ),
  6855. ),
  6856. ),'addInstance' => array(
  6857. 'path' => '{project}/regions/{region}/targetPools/{targetPool}/addInstance',
  6858. 'httpMethod' => 'POST',
  6859. 'parameters' => array(
  6860. 'project' => array(
  6861. 'location' => 'path',
  6862. 'type' => 'string',
  6863. 'required' => true,
  6864. ),
  6865. 'region' => array(
  6866. 'location' => 'path',
  6867. 'type' => 'string',
  6868. 'required' => true,
  6869. ),
  6870. 'targetPool' => array(
  6871. 'location' => 'path',
  6872. 'type' => 'string',
  6873. 'required' => true,
  6874. ),
  6875. 'requestId' => array(
  6876. 'location' => 'query',
  6877. 'type' => 'string',
  6878. ),
  6879. ),
  6880. ),'aggregatedList' => array(
  6881. 'path' => '{project}/aggregated/targetPools',
  6882. 'httpMethod' => 'GET',
  6883. 'parameters' => array(
  6884. 'project' => array(
  6885. 'location' => 'path',
  6886. 'type' => 'string',
  6887. 'required' => true,
  6888. ),
  6889. 'filter' => array(
  6890. 'location' => 'query',
  6891. 'type' => 'string',
  6892. ),
  6893. 'maxResults' => array(
  6894. 'location' => 'query',
  6895. 'type' => 'integer',
  6896. ),
  6897. 'orderBy' => array(
  6898. 'location' => 'query',
  6899. 'type' => 'string',
  6900. ),
  6901. 'pageToken' => array(
  6902. 'location' => 'query',
  6903. 'type' => 'string',
  6904. ),
  6905. ),
  6906. ),'delete' => array(
  6907. 'path' => '{project}/regions/{region}/targetPools/{targetPool}',
  6908. 'httpMethod' => 'DELETE',
  6909. 'parameters' => array(
  6910. 'project' => array(
  6911. 'location' => 'path',
  6912. 'type' => 'string',
  6913. 'required' => true,
  6914. ),
  6915. 'region' => array(
  6916. 'location' => 'path',
  6917. 'type' => 'string',
  6918. 'required' => true,
  6919. ),
  6920. 'targetPool' => array(
  6921. 'location' => 'path',
  6922. 'type' => 'string',
  6923. 'required' => true,
  6924. ),
  6925. 'requestId' => array(
  6926. 'location' => 'query',
  6927. 'type' => 'string',
  6928. ),
  6929. ),
  6930. ),'get' => array(
  6931. 'path' => '{project}/regions/{region}/targetPools/{targetPool}',
  6932. 'httpMethod' => 'GET',
  6933. 'parameters' => array(
  6934. 'project' => array(
  6935. 'location' => 'path',
  6936. 'type' => 'string',
  6937. 'required' => true,
  6938. ),
  6939. 'region' => array(
  6940. 'location' => 'path',
  6941. 'type' => 'string',
  6942. 'required' => true,
  6943. ),
  6944. 'targetPool' => array(
  6945. 'location' => 'path',
  6946. 'type' => 'string',
  6947. 'required' => true,
  6948. ),
  6949. ),
  6950. ),'getHealth' => array(
  6951. 'path' => '{project}/regions/{region}/targetPools/{targetPool}/getHealth',
  6952. 'httpMethod' => 'POST',
  6953. 'parameters' => array(
  6954. 'project' => array(
  6955. 'location' => 'path',
  6956. 'type' => 'string',
  6957. 'required' => true,
  6958. ),
  6959. 'region' => array(
  6960. 'location' => 'path',
  6961. 'type' => 'string',
  6962. 'required' => true,
  6963. ),
  6964. 'targetPool' => array(
  6965. 'location' => 'path',
  6966. 'type' => 'string',
  6967. 'required' => true,
  6968. ),
  6969. ),
  6970. ),'insert' => array(
  6971. 'path' => '{project}/regions/{region}/targetPools',
  6972. 'httpMethod' => 'POST',
  6973. 'parameters' => array(
  6974. 'project' => array(
  6975. 'location' => 'path',
  6976. 'type' => 'string',
  6977. 'required' => true,
  6978. ),
  6979. 'region' => array(
  6980. 'location' => 'path',
  6981. 'type' => 'string',
  6982. 'required' => true,
  6983. ),
  6984. 'requestId' => array(
  6985. 'location' => 'query',
  6986. 'type' => 'string',
  6987. ),
  6988. ),
  6989. ),'list' => array(
  6990. 'path' => '{project}/regions/{region}/targetPools',
  6991. 'httpMethod' => 'GET',
  6992. 'parameters' => array(
  6993. 'project' => array(
  6994. 'location' => 'path',
  6995. 'type' => 'string',
  6996. 'required' => true,
  6997. ),
  6998. 'region' => array(
  6999. 'location' => 'path',
  7000. 'type' => 'string',
  7001. 'required' => true,
  7002. ),
  7003. 'filter' => array(
  7004. 'location' => 'query',
  7005. 'type' => 'string',
  7006. ),
  7007. 'maxResults' => array(
  7008. 'location' => 'query',
  7009. 'type' => 'integer',
  7010. ),
  7011. 'orderBy' => array(
  7012. 'location' => 'query',
  7013. 'type' => 'string',
  7014. ),
  7015. 'pageToken' => array(
  7016. 'location' => 'query',
  7017. 'type' => 'string',
  7018. ),
  7019. ),
  7020. ),'removeHealthCheck' => array(
  7021. 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck',
  7022. 'httpMethod' => 'POST',
  7023. 'parameters' => array(
  7024. 'project' => array(
  7025. 'location' => 'path',
  7026. 'type' => 'string',
  7027. 'required' => true,
  7028. ),
  7029. 'region' => array(
  7030. 'location' => 'path',
  7031. 'type' => 'string',
  7032. 'required' => true,
  7033. ),
  7034. 'targetPool' => array(
  7035. 'location' => 'path',
  7036. 'type' => 'string',
  7037. 'required' => true,
  7038. ),
  7039. 'requestId' => array(
  7040. 'location' => 'query',
  7041. 'type' => 'string',
  7042. ),
  7043. ),
  7044. ),'removeInstance' => array(
  7045. 'path' => '{project}/regions/{region}/targetPools/{targetPool}/removeInstance',
  7046. 'httpMethod' => 'POST',
  7047. 'parameters' => array(
  7048. 'project' => array(
  7049. 'location' => 'path',
  7050. 'type' => 'string',
  7051. 'required' => true,
  7052. ),
  7053. 'region' => array(
  7054. 'location' => 'path',
  7055. 'type' => 'string',
  7056. 'required' => true,
  7057. ),
  7058. 'targetPool' => array(
  7059. 'location' => 'path',
  7060. 'type' => 'string',
  7061. 'required' => true,
  7062. ),
  7063. 'requestId' => array(
  7064. 'location' => 'query',
  7065. 'type' => 'string',
  7066. ),
  7067. ),
  7068. ),'setBackup' => array(
  7069. 'path' => '{project}/regions/{region}/targetPools/{targetPool}/setBackup',
  7070. 'httpMethod' => 'POST',
  7071. 'parameters' => array(
  7072. 'project' => array(
  7073. 'location' => 'path',
  7074. 'type' => 'string',
  7075. 'required' => true,
  7076. ),
  7077. 'region' => array(
  7078. 'location' => 'path',
  7079. 'type' => 'string',
  7080. 'required' => true,
  7081. ),
  7082. 'targetPool' => array(
  7083. 'location' => 'path',
  7084. 'type' => 'string',
  7085. 'required' => true,
  7086. ),
  7087. 'failoverRatio' => array(
  7088. 'location' => 'query',
  7089. 'type' => 'number',
  7090. ),
  7091. 'requestId' => array(
  7092. 'location' => 'query',
  7093. 'type' => 'string',
  7094. ),
  7095. ),
  7096. ),
  7097. )
  7098. )
  7099. );
  7100. $this->targetSslProxies = new Google_Service_Compute_Resource_TargetSslProxies(
  7101. $this,
  7102. $this->serviceName,
  7103. 'targetSslProxies',
  7104. array(
  7105. 'methods' => array(
  7106. 'delete' => array(
  7107. 'path' => '{project}/global/targetSslProxies/{targetSslProxy}',
  7108. 'httpMethod' => 'DELETE',
  7109. 'parameters' => array(
  7110. 'project' => array(
  7111. 'location' => 'path',
  7112. 'type' => 'string',
  7113. 'required' => true,
  7114. ),
  7115. 'targetSslProxy' => array(
  7116. 'location' => 'path',
  7117. 'type' => 'string',
  7118. 'required' => true,
  7119. ),
  7120. 'requestId' => array(
  7121. 'location' => 'query',
  7122. 'type' => 'string',
  7123. ),
  7124. ),
  7125. ),'get' => array(
  7126. 'path' => '{project}/global/targetSslProxies/{targetSslProxy}',
  7127. 'httpMethod' => 'GET',
  7128. 'parameters' => array(
  7129. 'project' => array(
  7130. 'location' => 'path',
  7131. 'type' => 'string',
  7132. 'required' => true,
  7133. ),
  7134. 'targetSslProxy' => array(
  7135. 'location' => 'path',
  7136. 'type' => 'string',
  7137. 'required' => true,
  7138. ),
  7139. ),
  7140. ),'insert' => array(
  7141. 'path' => '{project}/global/targetSslProxies',
  7142. 'httpMethod' => 'POST',
  7143. 'parameters' => array(
  7144. 'project' => array(
  7145. 'location' => 'path',
  7146. 'type' => 'string',
  7147. 'required' => true,
  7148. ),
  7149. 'requestId' => array(
  7150. 'location' => 'query',
  7151. 'type' => 'string',
  7152. ),
  7153. ),
  7154. ),'list' => array(
  7155. 'path' => '{project}/global/targetSslProxies',
  7156. 'httpMethod' => 'GET',
  7157. 'parameters' => array(
  7158. 'project' => array(
  7159. 'location' => 'path',
  7160. 'type' => 'string',
  7161. 'required' => true,
  7162. ),
  7163. 'filter' => array(
  7164. 'location' => 'query',
  7165. 'type' => 'string',
  7166. ),
  7167. 'maxResults' => array(
  7168. 'location' => 'query',
  7169. 'type' => 'integer',
  7170. ),
  7171. 'orderBy' => array(
  7172. 'location' => 'query',
  7173. 'type' => 'string',
  7174. ),
  7175. 'pageToken' => array(
  7176. 'location' => 'query',
  7177. 'type' => 'string',
  7178. ),
  7179. ),
  7180. ),'setBackendService' => array(
  7181. 'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService',
  7182. 'httpMethod' => 'POST',
  7183. 'parameters' => array(
  7184. 'project' => array(
  7185. 'location' => 'path',
  7186. 'type' => 'string',
  7187. 'required' => true,
  7188. ),
  7189. 'targetSslProxy' => array(
  7190. 'location' => 'path',
  7191. 'type' => 'string',
  7192. 'required' => true,
  7193. ),
  7194. 'requestId' => array(
  7195. 'location' => 'query',
  7196. 'type' => 'string',
  7197. ),
  7198. ),
  7199. ),'setProxyHeader' => array(
  7200. 'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader',
  7201. 'httpMethod' => 'POST',
  7202. 'parameters' => array(
  7203. 'project' => array(
  7204. 'location' => 'path',
  7205. 'type' => 'string',
  7206. 'required' => true,
  7207. ),
  7208. 'targetSslProxy' => array(
  7209. 'location' => 'path',
  7210. 'type' => 'string',
  7211. 'required' => true,
  7212. ),
  7213. 'requestId' => array(
  7214. 'location' => 'query',
  7215. 'type' => 'string',
  7216. ),
  7217. ),
  7218. ),'setSslCertificates' => array(
  7219. 'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates',
  7220. 'httpMethod' => 'POST',
  7221. 'parameters' => array(
  7222. 'project' => array(
  7223. 'location' => 'path',
  7224. 'type' => 'string',
  7225. 'required' => true,
  7226. ),
  7227. 'targetSslProxy' => array(
  7228. 'location' => 'path',
  7229. 'type' => 'string',
  7230. 'required' => true,
  7231. ),
  7232. 'requestId' => array(
  7233. 'location' => 'query',
  7234. 'type' => 'string',
  7235. ),
  7236. ),
  7237. ),'setSslPolicy' => array(
  7238. 'path' => '{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy',
  7239. 'httpMethod' => 'POST',
  7240. 'parameters' => array(
  7241. 'project' => array(
  7242. 'location' => 'path',
  7243. 'type' => 'string',
  7244. 'required' => true,
  7245. ),
  7246. 'targetSslProxy' => array(
  7247. 'location' => 'path',
  7248. 'type' => 'string',
  7249. 'required' => true,
  7250. ),
  7251. 'requestId' => array(
  7252. 'location' => 'query',
  7253. 'type' => 'string',
  7254. ),
  7255. ),
  7256. ),
  7257. )
  7258. )
  7259. );
  7260. $this->targetTcpProxies = new Google_Service_Compute_Resource_TargetTcpProxies(
  7261. $this,
  7262. $this->serviceName,
  7263. 'targetTcpProxies',
  7264. array(
  7265. 'methods' => array(
  7266. 'delete' => array(
  7267. 'path' => '{project}/global/targetTcpProxies/{targetTcpProxy}',
  7268. 'httpMethod' => 'DELETE',
  7269. 'parameters' => array(
  7270. 'project' => array(
  7271. 'location' => 'path',
  7272. 'type' => 'string',
  7273. 'required' => true,
  7274. ),
  7275. 'targetTcpProxy' => array(
  7276. 'location' => 'path',
  7277. 'type' => 'string',
  7278. 'required' => true,
  7279. ),
  7280. 'requestId' => array(
  7281. 'location' => 'query',
  7282. 'type' => 'string',
  7283. ),
  7284. ),
  7285. ),'get' => array(
  7286. 'path' => '{project}/global/targetTcpProxies/{targetTcpProxy}',
  7287. 'httpMethod' => 'GET',
  7288. 'parameters' => array(
  7289. 'project' => array(
  7290. 'location' => 'path',
  7291. 'type' => 'string',
  7292. 'required' => true,
  7293. ),
  7294. 'targetTcpProxy' => array(
  7295. 'location' => 'path',
  7296. 'type' => 'string',
  7297. 'required' => true,
  7298. ),
  7299. ),
  7300. ),'insert' => array(
  7301. 'path' => '{project}/global/targetTcpProxies',
  7302. 'httpMethod' => 'POST',
  7303. 'parameters' => array(
  7304. 'project' => array(
  7305. 'location' => 'path',
  7306. 'type' => 'string',
  7307. 'required' => true,
  7308. ),
  7309. 'requestId' => array(
  7310. 'location' => 'query',
  7311. 'type' => 'string',
  7312. ),
  7313. ),
  7314. ),'list' => array(
  7315. 'path' => '{project}/global/targetTcpProxies',
  7316. 'httpMethod' => 'GET',
  7317. 'parameters' => array(
  7318. 'project' => array(
  7319. 'location' => 'path',
  7320. 'type' => 'string',
  7321. 'required' => true,
  7322. ),
  7323. 'filter' => array(
  7324. 'location' => 'query',
  7325. 'type' => 'string',
  7326. ),
  7327. 'maxResults' => array(
  7328. 'location' => 'query',
  7329. 'type' => 'integer',
  7330. ),
  7331. 'orderBy' => array(
  7332. 'location' => 'query',
  7333. 'type' => 'string',
  7334. ),
  7335. 'pageToken' => array(
  7336. 'location' => 'query',
  7337. 'type' => 'string',
  7338. ),
  7339. ),
  7340. ),'setBackendService' => array(
  7341. 'path' => '{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService',
  7342. 'httpMethod' => 'POST',
  7343. 'parameters' => array(
  7344. 'project' => array(
  7345. 'location' => 'path',
  7346. 'type' => 'string',
  7347. 'required' => true,
  7348. ),
  7349. 'targetTcpProxy' => array(
  7350. 'location' => 'path',
  7351. 'type' => 'string',
  7352. 'required' => true,
  7353. ),
  7354. 'requestId' => array(
  7355. 'location' => 'query',
  7356. 'type' => 'string',
  7357. ),
  7358. ),
  7359. ),'setProxyHeader' => array(
  7360. 'path' => '{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader',
  7361. 'httpMethod' => 'POST',
  7362. 'parameters' => array(
  7363. 'project' => array(
  7364. 'location' => 'path',
  7365. 'type' => 'string',
  7366. 'required' => true,
  7367. ),
  7368. 'targetTcpProxy' => array(
  7369. 'location' => 'path',
  7370. 'type' => 'string',
  7371. 'required' => true,
  7372. ),
  7373. 'requestId' => array(
  7374. 'location' => 'query',
  7375. 'type' => 'string',
  7376. ),
  7377. ),
  7378. ),
  7379. )
  7380. )
  7381. );
  7382. $this->targetVpnGateways = new Google_Service_Compute_Resource_TargetVpnGateways(
  7383. $this,
  7384. $this->serviceName,
  7385. 'targetVpnGateways',
  7386. array(
  7387. 'methods' => array(
  7388. 'aggregatedList' => array(
  7389. 'path' => '{project}/aggregated/targetVpnGateways',
  7390. 'httpMethod' => 'GET',
  7391. 'parameters' => array(
  7392. 'project' => array(
  7393. 'location' => 'path',
  7394. 'type' => 'string',
  7395. 'required' => true,
  7396. ),
  7397. 'filter' => array(
  7398. 'location' => 'query',
  7399. 'type' => 'string',
  7400. ),
  7401. 'maxResults' => array(
  7402. 'location' => 'query',
  7403. 'type' => 'integer',
  7404. ),
  7405. 'orderBy' => array(
  7406. 'location' => 'query',
  7407. 'type' => 'string',
  7408. ),
  7409. 'pageToken' => array(
  7410. 'location' => 'query',
  7411. 'type' => 'string',
  7412. ),
  7413. ),
  7414. ),'delete' => array(
  7415. 'path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}',
  7416. 'httpMethod' => 'DELETE',
  7417. 'parameters' => array(
  7418. 'project' => array(
  7419. 'location' => 'path',
  7420. 'type' => 'string',
  7421. 'required' => true,
  7422. ),
  7423. 'region' => array(
  7424. 'location' => 'path',
  7425. 'type' => 'string',
  7426. 'required' => true,
  7427. ),
  7428. 'targetVpnGateway' => array(
  7429. 'location' => 'path',
  7430. 'type' => 'string',
  7431. 'required' => true,
  7432. ),
  7433. 'requestId' => array(
  7434. 'location' => 'query',
  7435. 'type' => 'string',
  7436. ),
  7437. ),
  7438. ),'get' => array(
  7439. 'path' => '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}',
  7440. 'httpMethod' => 'GET',
  7441. 'parameters' => array(
  7442. 'project' => array(
  7443. 'location' => 'path',
  7444. 'type' => 'string',
  7445. 'required' => true,
  7446. ),
  7447. 'region' => array(
  7448. 'location' => 'path',
  7449. 'type' => 'string',
  7450. 'required' => true,
  7451. ),
  7452. 'targetVpnGateway' => array(
  7453. 'location' => 'path',
  7454. 'type' => 'string',
  7455. 'required' => true,
  7456. ),
  7457. ),
  7458. ),'insert' => array(
  7459. 'path' => '{project}/regions/{region}/targetVpnGateways',
  7460. 'httpMethod' => 'POST',
  7461. 'parameters' => array(
  7462. 'project' => array(
  7463. 'location' => 'path',
  7464. 'type' => 'string',
  7465. 'required' => true,
  7466. ),
  7467. 'region' => array(
  7468. 'location' => 'path',
  7469. 'type' => 'string',
  7470. 'required' => true,
  7471. ),
  7472. 'requestId' => array(
  7473. 'location' => 'query',
  7474. 'type' => 'string',
  7475. ),
  7476. ),
  7477. ),'list' => array(
  7478. 'path' => '{project}/regions/{region}/targetVpnGateways',
  7479. 'httpMethod' => 'GET',
  7480. 'parameters' => array(
  7481. 'project' => array(
  7482. 'location' => 'path',
  7483. 'type' => 'string',
  7484. 'required' => true,
  7485. ),
  7486. 'region' => array(
  7487. 'location' => 'path',
  7488. 'type' => 'string',
  7489. 'required' => true,
  7490. ),
  7491. 'filter' => array(
  7492. 'location' => 'query',
  7493. 'type' => 'string',
  7494. ),
  7495. 'maxResults' => array(
  7496. 'location' => 'query',
  7497. 'type' => 'integer',
  7498. ),
  7499. 'orderBy' => array(
  7500. 'location' => 'query',
  7501. 'type' => 'string',
  7502. ),
  7503. 'pageToken' => array(
  7504. 'location' => 'query',
  7505. 'type' => 'string',
  7506. ),
  7507. ),
  7508. ),
  7509. )
  7510. )
  7511. );
  7512. $this->urlMaps = new Google_Service_Compute_Resource_UrlMaps(
  7513. $this,
  7514. $this->serviceName,
  7515. 'urlMaps',
  7516. array(
  7517. 'methods' => array(
  7518. 'delete' => array(
  7519. 'path' => '{project}/global/urlMaps/{urlMap}',
  7520. 'httpMethod' => 'DELETE',
  7521. 'parameters' => array(
  7522. 'project' => array(
  7523. 'location' => 'path',
  7524. 'type' => 'string',
  7525. 'required' => true,
  7526. ),
  7527. 'urlMap' => array(
  7528. 'location' => 'path',
  7529. 'type' => 'string',
  7530. 'required' => true,
  7531. ),
  7532. 'requestId' => array(
  7533. 'location' => 'query',
  7534. 'type' => 'string',
  7535. ),
  7536. ),
  7537. ),'get' => array(
  7538. 'path' => '{project}/global/urlMaps/{urlMap}',
  7539. 'httpMethod' => 'GET',
  7540. 'parameters' => array(
  7541. 'project' => array(
  7542. 'location' => 'path',
  7543. 'type' => 'string',
  7544. 'required' => true,
  7545. ),
  7546. 'urlMap' => array(
  7547. 'location' => 'path',
  7548. 'type' => 'string',
  7549. 'required' => true,
  7550. ),
  7551. ),
  7552. ),'insert' => array(
  7553. 'path' => '{project}/global/urlMaps',
  7554. 'httpMethod' => 'POST',
  7555. 'parameters' => array(
  7556. 'project' => array(
  7557. 'location' => 'path',
  7558. 'type' => 'string',
  7559. 'required' => true,
  7560. ),
  7561. 'requestId' => array(
  7562. 'location' => 'query',
  7563. 'type' => 'string',
  7564. ),
  7565. ),
  7566. ),'invalidateCache' => array(
  7567. 'path' => '{project}/global/urlMaps/{urlMap}/invalidateCache',
  7568. 'httpMethod' => 'POST',
  7569. 'parameters' => array(
  7570. 'project' => array(
  7571. 'location' => 'path',
  7572. 'type' => 'string',
  7573. 'required' => true,
  7574. ),
  7575. 'urlMap' => array(
  7576. 'location' => 'path',
  7577. 'type' => 'string',
  7578. 'required' => true,
  7579. ),
  7580. 'requestId' => array(
  7581. 'location' => 'query',
  7582. 'type' => 'string',
  7583. ),
  7584. ),
  7585. ),'list' => array(
  7586. 'path' => '{project}/global/urlMaps',
  7587. 'httpMethod' => 'GET',
  7588. 'parameters' => array(
  7589. 'project' => array(
  7590. 'location' => 'path',
  7591. 'type' => 'string',
  7592. 'required' => true,
  7593. ),
  7594. 'filter' => array(
  7595. 'location' => 'query',
  7596. 'type' => 'string',
  7597. ),
  7598. 'maxResults' => array(
  7599. 'location' => 'query',
  7600. 'type' => 'integer',
  7601. ),
  7602. 'orderBy' => array(
  7603. 'location' => 'query',
  7604. 'type' => 'string',
  7605. ),
  7606. 'pageToken' => array(
  7607. 'location' => 'query',
  7608. 'type' => 'string',
  7609. ),
  7610. ),
  7611. ),'patch' => array(
  7612. 'path' => '{project}/global/urlMaps/{urlMap}',
  7613. 'httpMethod' => 'PATCH',
  7614. 'parameters' => array(
  7615. 'project' => array(
  7616. 'location' => 'path',
  7617. 'type' => 'string',
  7618. 'required' => true,
  7619. ),
  7620. 'urlMap' => array(
  7621. 'location' => 'path',
  7622. 'type' => 'string',
  7623. 'required' => true,
  7624. ),
  7625. 'requestId' => array(
  7626. 'location' => 'query',
  7627. 'type' => 'string',
  7628. ),
  7629. ),
  7630. ),'update' => array(
  7631. 'path' => '{project}/global/urlMaps/{urlMap}',
  7632. 'httpMethod' => 'PUT',
  7633. 'parameters' => array(
  7634. 'project' => array(
  7635. 'location' => 'path',
  7636. 'type' => 'string',
  7637. 'required' => true,
  7638. ),
  7639. 'urlMap' => array(
  7640. 'location' => 'path',
  7641. 'type' => 'string',
  7642. 'required' => true,
  7643. ),
  7644. 'requestId' => array(
  7645. 'location' => 'query',
  7646. 'type' => 'string',
  7647. ),
  7648. ),
  7649. ),'validate' => array(
  7650. 'path' => '{project}/global/urlMaps/{urlMap}/validate',
  7651. 'httpMethod' => 'POST',
  7652. 'parameters' => array(
  7653. 'project' => array(
  7654. 'location' => 'path',
  7655. 'type' => 'string',
  7656. 'required' => true,
  7657. ),
  7658. 'urlMap' => array(
  7659. 'location' => 'path',
  7660. 'type' => 'string',
  7661. 'required' => true,
  7662. ),
  7663. ),
  7664. ),
  7665. )
  7666. )
  7667. );
  7668. $this->vpnTunnels = new Google_Service_Compute_Resource_VpnTunnels(
  7669. $this,
  7670. $this->serviceName,
  7671. 'vpnTunnels',
  7672. array(
  7673. 'methods' => array(
  7674. 'aggregatedList' => array(
  7675. 'path' => '{project}/aggregated/vpnTunnels',
  7676. 'httpMethod' => 'GET',
  7677. 'parameters' => array(
  7678. 'project' => array(
  7679. 'location' => 'path',
  7680. 'type' => 'string',
  7681. 'required' => true,
  7682. ),
  7683. 'filter' => array(
  7684. 'location' => 'query',
  7685. 'type' => 'string',
  7686. ),
  7687. 'maxResults' => array(
  7688. 'location' => 'query',
  7689. 'type' => 'integer',
  7690. ),
  7691. 'orderBy' => array(
  7692. 'location' => 'query',
  7693. 'type' => 'string',
  7694. ),
  7695. 'pageToken' => array(
  7696. 'location' => 'query',
  7697. 'type' => 'string',
  7698. ),
  7699. ),
  7700. ),'delete' => array(
  7701. 'path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}',
  7702. 'httpMethod' => 'DELETE',
  7703. 'parameters' => array(
  7704. 'project' => array(
  7705. 'location' => 'path',
  7706. 'type' => 'string',
  7707. 'required' => true,
  7708. ),
  7709. 'region' => array(
  7710. 'location' => 'path',
  7711. 'type' => 'string',
  7712. 'required' => true,
  7713. ),
  7714. 'vpnTunnel' => array(
  7715. 'location' => 'path',
  7716. 'type' => 'string',
  7717. 'required' => true,
  7718. ),
  7719. 'requestId' => array(
  7720. 'location' => 'query',
  7721. 'type' => 'string',
  7722. ),
  7723. ),
  7724. ),'get' => array(
  7725. 'path' => '{project}/regions/{region}/vpnTunnels/{vpnTunnel}',
  7726. 'httpMethod' => 'GET',
  7727. 'parameters' => array(
  7728. 'project' => array(
  7729. 'location' => 'path',
  7730. 'type' => 'string',
  7731. 'required' => true,
  7732. ),
  7733. 'region' => array(
  7734. 'location' => 'path',
  7735. 'type' => 'string',
  7736. 'required' => true,
  7737. ),
  7738. 'vpnTunnel' => array(
  7739. 'location' => 'path',
  7740. 'type' => 'string',
  7741. 'required' => true,
  7742. ),
  7743. ),
  7744. ),'insert' => array(
  7745. 'path' => '{project}/regions/{region}/vpnTunnels',
  7746. 'httpMethod' => 'POST',
  7747. 'parameters' => array(
  7748. 'project' => array(
  7749. 'location' => 'path',
  7750. 'type' => 'string',
  7751. 'required' => true,
  7752. ),
  7753. 'region' => array(
  7754. 'location' => 'path',
  7755. 'type' => 'string',
  7756. 'required' => true,
  7757. ),
  7758. 'requestId' => array(
  7759. 'location' => 'query',
  7760. 'type' => 'string',
  7761. ),
  7762. ),
  7763. ),'list' => array(
  7764. 'path' => '{project}/regions/{region}/vpnTunnels',
  7765. 'httpMethod' => 'GET',
  7766. 'parameters' => array(
  7767. 'project' => array(
  7768. 'location' => 'path',
  7769. 'type' => 'string',
  7770. 'required' => true,
  7771. ),
  7772. 'region' => array(
  7773. 'location' => 'path',
  7774. 'type' => 'string',
  7775. 'required' => true,
  7776. ),
  7777. 'filter' => array(
  7778. 'location' => 'query',
  7779. 'type' => 'string',
  7780. ),
  7781. 'maxResults' => array(
  7782. 'location' => 'query',
  7783. 'type' => 'integer',
  7784. ),
  7785. 'orderBy' => array(
  7786. 'location' => 'query',
  7787. 'type' => 'string',
  7788. ),
  7789. 'pageToken' => array(
  7790. 'location' => 'query',
  7791. 'type' => 'string',
  7792. ),
  7793. ),
  7794. ),
  7795. )
  7796. )
  7797. );
  7798. $this->zoneOperations = new Google_Service_Compute_Resource_ZoneOperations(
  7799. $this,
  7800. $this->serviceName,
  7801. 'zoneOperations',
  7802. array(
  7803. 'methods' => array(
  7804. 'delete' => array(
  7805. 'path' => '{project}/zones/{zone}/operations/{operation}',
  7806. 'httpMethod' => 'DELETE',
  7807. 'parameters' => array(
  7808. 'project' => array(
  7809. 'location' => 'path',
  7810. 'type' => 'string',
  7811. 'required' => true,
  7812. ),
  7813. 'zone' => array(
  7814. 'location' => 'path',
  7815. 'type' => 'string',
  7816. 'required' => true,
  7817. ),
  7818. 'operation' => array(
  7819. 'location' => 'path',
  7820. 'type' => 'string',
  7821. 'required' => true,
  7822. ),
  7823. ),
  7824. ),'get' => array(
  7825. 'path' => '{project}/zones/{zone}/operations/{operation}',
  7826. 'httpMethod' => 'GET',
  7827. 'parameters' => array(
  7828. 'project' => array(
  7829. 'location' => 'path',
  7830. 'type' => 'string',
  7831. 'required' => true,
  7832. ),
  7833. 'zone' => array(
  7834. 'location' => 'path',
  7835. 'type' => 'string',
  7836. 'required' => true,
  7837. ),
  7838. 'operation' => array(
  7839. 'location' => 'path',
  7840. 'type' => 'string',
  7841. 'required' => true,
  7842. ),
  7843. ),
  7844. ),'list' => array(
  7845. 'path' => '{project}/zones/{zone}/operations',
  7846. 'httpMethod' => 'GET',
  7847. 'parameters' => array(
  7848. 'project' => array(
  7849. 'location' => 'path',
  7850. 'type' => 'string',
  7851. 'required' => true,
  7852. ),
  7853. 'zone' => array(
  7854. 'location' => 'path',
  7855. 'type' => 'string',
  7856. 'required' => true,
  7857. ),
  7858. 'filter' => array(
  7859. 'location' => 'query',
  7860. 'type' => 'string',
  7861. ),
  7862. 'maxResults' => array(
  7863. 'location' => 'query',
  7864. 'type' => 'integer',
  7865. ),
  7866. 'orderBy' => array(
  7867. 'location' => 'query',
  7868. 'type' => 'string',
  7869. ),
  7870. 'pageToken' => array(
  7871. 'location' => 'query',
  7872. 'type' => 'string',
  7873. ),
  7874. ),
  7875. ),
  7876. )
  7877. )
  7878. );
  7879. $this->zones = new Google_Service_Compute_Resource_Zones(
  7880. $this,
  7881. $this->serviceName,
  7882. 'zones',
  7883. array(
  7884. 'methods' => array(
  7885. 'get' => array(
  7886. 'path' => '{project}/zones/{zone}',
  7887. 'httpMethod' => 'GET',
  7888. 'parameters' => array(
  7889. 'project' => array(
  7890. 'location' => 'path',
  7891. 'type' => 'string',
  7892. 'required' => true,
  7893. ),
  7894. 'zone' => array(
  7895. 'location' => 'path',
  7896. 'type' => 'string',
  7897. 'required' => true,
  7898. ),
  7899. ),
  7900. ),'list' => array(
  7901. 'path' => '{project}/zones',
  7902. 'httpMethod' => 'GET',
  7903. 'parameters' => array(
  7904. 'project' => array(
  7905. 'location' => 'path',
  7906. 'type' => 'string',
  7907. 'required' => true,
  7908. ),
  7909. 'filter' => array(
  7910. 'location' => 'query',
  7911. 'type' => 'string',
  7912. ),
  7913. 'maxResults' => array(
  7914. 'location' => 'query',
  7915. 'type' => 'integer',
  7916. ),
  7917. 'orderBy' => array(
  7918. 'location' => 'query',
  7919. 'type' => 'string',
  7920. ),
  7921. 'pageToken' => array(
  7922. 'location' => 'query',
  7923. 'type' => 'string',
  7924. ),
  7925. ),
  7926. ),
  7927. )
  7928. )
  7929. );
  7930. }
  7931. }