googlecompute.pp 732 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361
  1. unit googlecompute;
  2. {$MODE objfpc}
  3. {$H+}
  4. interface
  5. uses sysutils, classes, googleservice, restbase, googlebase;
  6. type
  7. //Top-level schema types
  8. TAccessConfig = Class;
  9. TAddress = Class;
  10. TAddressAggregatedList = Class;
  11. TAddressList = Class;
  12. TAddressesScopedList = Class;
  13. TAttachedDisk = Class;
  14. TAttachedDiskInitializeParams = Class;
  15. TAutoscaler = Class;
  16. TAutoscalerAggregatedList = Class;
  17. TAutoscalerList = Class;
  18. TAutoscalersScopedList = Class;
  19. TAutoscalingPolicy = Class;
  20. TAutoscalingPolicyCpuUtilization = Class;
  21. TAutoscalingPolicyCustomMetricUtilization = Class;
  22. TAutoscalingPolicyLoadBalancingUtilization = Class;
  23. TBackend = Class;
  24. TBackendService = Class;
  25. TBackendServiceGroupHealth = Class;
  26. TBackendServiceList = Class;
  27. TDeprecationStatus = Class;
  28. TDisk = Class;
  29. TDiskAggregatedList = Class;
  30. TDiskList = Class;
  31. TDiskMoveRequest = Class;
  32. TDiskType = Class;
  33. TDiskTypeAggregatedList = Class;
  34. TDiskTypeList = Class;
  35. TDiskTypesScopedList = Class;
  36. TDisksResizeRequest = Class;
  37. TDisksScopedList = Class;
  38. TFirewall = Class;
  39. TFirewallList = Class;
  40. TForwardingRule = Class;
  41. TForwardingRuleAggregatedList = Class;
  42. TForwardingRuleList = Class;
  43. TForwardingRulesScopedList = Class;
  44. THealthCheckReference = Class;
  45. THealthStatus = Class;
  46. THostRule = Class;
  47. THttpHealthCheck = Class;
  48. THttpHealthCheckList = Class;
  49. THttpsHealthCheck = Class;
  50. THttpsHealthCheckList = Class;
  51. TImage = Class;
  52. TImageList = Class;
  53. TInstance = Class;
  54. TInstanceAggregatedList = Class;
  55. TInstanceGroup = Class;
  56. TInstanceGroupAggregatedList = Class;
  57. TInstanceGroupList = Class;
  58. TInstanceGroupManager = Class;
  59. TInstanceGroupManagerActionsSummary = Class;
  60. TInstanceGroupManagerAggregatedList = Class;
  61. TInstanceGroupManagerList = Class;
  62. TInstanceGroupManagersAbandonInstancesRequest = Class;
  63. TInstanceGroupManagersDeleteInstancesRequest = Class;
  64. TInstanceGroupManagersListManagedInstancesResponse = Class;
  65. TInstanceGroupManagersRecreateInstancesRequest = Class;
  66. TInstanceGroupManagersScopedList = Class;
  67. TInstanceGroupManagersSetInstanceTemplateRequest = Class;
  68. TInstanceGroupManagersSetTargetPoolsRequest = Class;
  69. TInstanceGroupsAddInstancesRequest = Class;
  70. TInstanceGroupsListInstances = Class;
  71. TInstanceGroupsListInstancesRequest = Class;
  72. TInstanceGroupsRemoveInstancesRequest = Class;
  73. TInstanceGroupsScopedList = Class;
  74. TInstanceGroupsSetNamedPortsRequest = Class;
  75. TInstanceList = Class;
  76. TInstanceMoveRequest = Class;
  77. TInstanceProperties = Class;
  78. TInstanceReference = Class;
  79. TInstanceTemplate = Class;
  80. TInstanceTemplateList = Class;
  81. TInstanceWithNamedPorts = Class;
  82. TInstancesScopedList = Class;
  83. TInstancesSetMachineTypeRequest = Class;
  84. TLicense = Class;
  85. TMachineType = Class;
  86. TMachineTypeAggregatedList = Class;
  87. TMachineTypeList = Class;
  88. TMachineTypesScopedList = Class;
  89. TManagedInstance = Class;
  90. TManagedInstanceLastAttempt = Class;
  91. TMetadata = Class;
  92. TNamedPort = Class;
  93. TNetwork = Class;
  94. TNetworkInterface = Class;
  95. TNetworkList = Class;
  96. TOperation = Class;
  97. TOperationAggregatedList = Class;
  98. TOperationList = Class;
  99. TOperationsScopedList = Class;
  100. TPathMatcher = Class;
  101. TPathRule = Class;
  102. TProject = Class;
  103. TQuota = Class;
  104. TRegion = Class;
  105. TRegionList = Class;
  106. TResourceGroupReference = Class;
  107. TRoute = Class;
  108. TRouteList = Class;
  109. TScheduling = Class;
  110. TSerialPortOutput = Class;
  111. TServiceAccount = Class;
  112. TSnapshot = Class;
  113. TSnapshotList = Class;
  114. TSslCertificate = Class;
  115. TSslCertificateList = Class;
  116. TSubnetwork = Class;
  117. TSubnetworkAggregatedList = Class;
  118. TSubnetworkList = Class;
  119. TSubnetworksScopedList = Class;
  120. TTags = Class;
  121. TTargetHttpProxy = Class;
  122. TTargetHttpProxyList = Class;
  123. TTargetHttpsProxiesSetSslCertificatesRequest = Class;
  124. TTargetHttpsProxy = Class;
  125. TTargetHttpsProxyList = Class;
  126. TTargetInstance = Class;
  127. TTargetInstanceAggregatedList = Class;
  128. TTargetInstanceList = Class;
  129. TTargetInstancesScopedList = Class;
  130. TTargetPool = Class;
  131. TTargetPoolAggregatedList = Class;
  132. TTargetPoolInstanceHealth = Class;
  133. TTargetPoolList = Class;
  134. TTargetPoolsAddHealthCheckRequest = Class;
  135. TTargetPoolsAddInstanceRequest = Class;
  136. TTargetPoolsRemoveHealthCheckRequest = Class;
  137. TTargetPoolsRemoveInstanceRequest = Class;
  138. TTargetPoolsScopedList = Class;
  139. TTargetReference = Class;
  140. TTargetVpnGateway = Class;
  141. TTargetVpnGatewayAggregatedList = Class;
  142. TTargetVpnGatewayList = Class;
  143. TTargetVpnGatewaysScopedList = Class;
  144. TTestFailure = Class;
  145. TUrlMap = Class;
  146. TUrlMapList = Class;
  147. TUrlMapReference = Class;
  148. TUrlMapTest = Class;
  149. TUrlMapValidationResult = Class;
  150. TUrlMapsValidateRequest = Class;
  151. TUrlMapsValidateResponse = Class;
  152. TUsageExportLocation = Class;
  153. TVpnTunnel = Class;
  154. TVpnTunnelAggregatedList = Class;
  155. TVpnTunnelList = Class;
  156. TVpnTunnelsScopedList = Class;
  157. TZone = Class;
  158. TZoneList = Class;
  159. TAccessConfigArray = Array of TAccessConfig;
  160. TAddressArray = Array of TAddress;
  161. TAddressAggregatedListArray = Array of TAddressAggregatedList;
  162. TAddressListArray = Array of TAddressList;
  163. TAddressesScopedListArray = Array of TAddressesScopedList;
  164. TAttachedDiskArray = Array of TAttachedDisk;
  165. TAttachedDiskInitializeParamsArray = Array of TAttachedDiskInitializeParams;
  166. TAutoscalerArray = Array of TAutoscaler;
  167. TAutoscalerAggregatedListArray = Array of TAutoscalerAggregatedList;
  168. TAutoscalerListArray = Array of TAutoscalerList;
  169. TAutoscalersScopedListArray = Array of TAutoscalersScopedList;
  170. TAutoscalingPolicyArray = Array of TAutoscalingPolicy;
  171. TAutoscalingPolicyCpuUtilizationArray = Array of TAutoscalingPolicyCpuUtilization;
  172. TAutoscalingPolicyCustomMetricUtilizationArray = Array of TAutoscalingPolicyCustomMetricUtilization;
  173. TAutoscalingPolicyLoadBalancingUtilizationArray = Array of TAutoscalingPolicyLoadBalancingUtilization;
  174. TBackendArray = Array of TBackend;
  175. TBackendServiceArray = Array of TBackendService;
  176. TBackendServiceGroupHealthArray = Array of TBackendServiceGroupHealth;
  177. TBackendServiceListArray = Array of TBackendServiceList;
  178. TDeprecationStatusArray = Array of TDeprecationStatus;
  179. TDiskArray = Array of TDisk;
  180. TDiskAggregatedListArray = Array of TDiskAggregatedList;
  181. TDiskListArray = Array of TDiskList;
  182. TDiskMoveRequestArray = Array of TDiskMoveRequest;
  183. TDiskTypeArray = Array of TDiskType;
  184. TDiskTypeAggregatedListArray = Array of TDiskTypeAggregatedList;
  185. TDiskTypeListArray = Array of TDiskTypeList;
  186. TDiskTypesScopedListArray = Array of TDiskTypesScopedList;
  187. TDisksResizeRequestArray = Array of TDisksResizeRequest;
  188. TDisksScopedListArray = Array of TDisksScopedList;
  189. TFirewallArray = Array of TFirewall;
  190. TFirewallListArray = Array of TFirewallList;
  191. TForwardingRuleArray = Array of TForwardingRule;
  192. TForwardingRuleAggregatedListArray = Array of TForwardingRuleAggregatedList;
  193. TForwardingRuleListArray = Array of TForwardingRuleList;
  194. TForwardingRulesScopedListArray = Array of TForwardingRulesScopedList;
  195. THealthCheckReferenceArray = Array of THealthCheckReference;
  196. THealthStatusArray = Array of THealthStatus;
  197. THostRuleArray = Array of THostRule;
  198. THttpHealthCheckArray = Array of THttpHealthCheck;
  199. THttpHealthCheckListArray = Array of THttpHealthCheckList;
  200. THttpsHealthCheckArray = Array of THttpsHealthCheck;
  201. THttpsHealthCheckListArray = Array of THttpsHealthCheckList;
  202. TImageArray = Array of TImage;
  203. TImageListArray = Array of TImageList;
  204. TInstanceArray = Array of TInstance;
  205. TInstanceAggregatedListArray = Array of TInstanceAggregatedList;
  206. TInstanceGroupArray = Array of TInstanceGroup;
  207. TInstanceGroupAggregatedListArray = Array of TInstanceGroupAggregatedList;
  208. TInstanceGroupListArray = Array of TInstanceGroupList;
  209. TInstanceGroupManagerArray = Array of TInstanceGroupManager;
  210. TInstanceGroupManagerActionsSummaryArray = Array of TInstanceGroupManagerActionsSummary;
  211. TInstanceGroupManagerAggregatedListArray = Array of TInstanceGroupManagerAggregatedList;
  212. TInstanceGroupManagerListArray = Array of TInstanceGroupManagerList;
  213. TInstanceGroupManagersAbandonInstancesRequestArray = Array of TInstanceGroupManagersAbandonInstancesRequest;
  214. TInstanceGroupManagersDeleteInstancesRequestArray = Array of TInstanceGroupManagersDeleteInstancesRequest;
  215. TInstanceGroupManagersListManagedInstancesResponseArray = Array of TInstanceGroupManagersListManagedInstancesResponse;
  216. TInstanceGroupManagersRecreateInstancesRequestArray = Array of TInstanceGroupManagersRecreateInstancesRequest;
  217. TInstanceGroupManagersScopedListArray = Array of TInstanceGroupManagersScopedList;
  218. TInstanceGroupManagersSetInstanceTemplateRequestArray = Array of TInstanceGroupManagersSetInstanceTemplateRequest;
  219. TInstanceGroupManagersSetTargetPoolsRequestArray = Array of TInstanceGroupManagersSetTargetPoolsRequest;
  220. TInstanceGroupsAddInstancesRequestArray = Array of TInstanceGroupsAddInstancesRequest;
  221. TInstanceGroupsListInstancesArray = Array of TInstanceGroupsListInstances;
  222. TInstanceGroupsListInstancesRequestArray = Array of TInstanceGroupsListInstancesRequest;
  223. TInstanceGroupsRemoveInstancesRequestArray = Array of TInstanceGroupsRemoveInstancesRequest;
  224. TInstanceGroupsScopedListArray = Array of TInstanceGroupsScopedList;
  225. TInstanceGroupsSetNamedPortsRequestArray = Array of TInstanceGroupsSetNamedPortsRequest;
  226. TInstanceListArray = Array of TInstanceList;
  227. TInstanceMoveRequestArray = Array of TInstanceMoveRequest;
  228. TInstancePropertiesArray = Array of TInstanceProperties;
  229. TInstanceReferenceArray = Array of TInstanceReference;
  230. TInstanceTemplateArray = Array of TInstanceTemplate;
  231. TInstanceTemplateListArray = Array of TInstanceTemplateList;
  232. TInstanceWithNamedPortsArray = Array of TInstanceWithNamedPorts;
  233. TInstancesScopedListArray = Array of TInstancesScopedList;
  234. TInstancesSetMachineTypeRequestArray = Array of TInstancesSetMachineTypeRequest;
  235. TLicenseArray = Array of TLicense;
  236. TMachineTypeArray = Array of TMachineType;
  237. TMachineTypeAggregatedListArray = Array of TMachineTypeAggregatedList;
  238. TMachineTypeListArray = Array of TMachineTypeList;
  239. TMachineTypesScopedListArray = Array of TMachineTypesScopedList;
  240. TManagedInstanceArray = Array of TManagedInstance;
  241. TManagedInstanceLastAttemptArray = Array of TManagedInstanceLastAttempt;
  242. TMetadataArray = Array of TMetadata;
  243. TNamedPortArray = Array of TNamedPort;
  244. TNetworkArray = Array of TNetwork;
  245. TNetworkInterfaceArray = Array of TNetworkInterface;
  246. TNetworkListArray = Array of TNetworkList;
  247. TOperationArray = Array of TOperation;
  248. TOperationAggregatedListArray = Array of TOperationAggregatedList;
  249. TOperationListArray = Array of TOperationList;
  250. TOperationsScopedListArray = Array of TOperationsScopedList;
  251. TPathMatcherArray = Array of TPathMatcher;
  252. TPathRuleArray = Array of TPathRule;
  253. TProjectArray = Array of TProject;
  254. TQuotaArray = Array of TQuota;
  255. TRegionArray = Array of TRegion;
  256. TRegionListArray = Array of TRegionList;
  257. TResourceGroupReferenceArray = Array of TResourceGroupReference;
  258. TRouteArray = Array of TRoute;
  259. TRouteListArray = Array of TRouteList;
  260. TSchedulingArray = Array of TScheduling;
  261. TSerialPortOutputArray = Array of TSerialPortOutput;
  262. TServiceAccountArray = Array of TServiceAccount;
  263. TSnapshotArray = Array of TSnapshot;
  264. TSnapshotListArray = Array of TSnapshotList;
  265. TSslCertificateArray = Array of TSslCertificate;
  266. TSslCertificateListArray = Array of TSslCertificateList;
  267. TSubnetworkArray = Array of TSubnetwork;
  268. TSubnetworkAggregatedListArray = Array of TSubnetworkAggregatedList;
  269. TSubnetworkListArray = Array of TSubnetworkList;
  270. TSubnetworksScopedListArray = Array of TSubnetworksScopedList;
  271. TTagsArray = Array of TTags;
  272. TTargetHttpProxyArray = Array of TTargetHttpProxy;
  273. TTargetHttpProxyListArray = Array of TTargetHttpProxyList;
  274. TTargetHttpsProxiesSetSslCertificatesRequestArray = Array of TTargetHttpsProxiesSetSslCertificatesRequest;
  275. TTargetHttpsProxyArray = Array of TTargetHttpsProxy;
  276. TTargetHttpsProxyListArray = Array of TTargetHttpsProxyList;
  277. TTargetInstanceArray = Array of TTargetInstance;
  278. TTargetInstanceAggregatedListArray = Array of TTargetInstanceAggregatedList;
  279. TTargetInstanceListArray = Array of TTargetInstanceList;
  280. TTargetInstancesScopedListArray = Array of TTargetInstancesScopedList;
  281. TTargetPoolArray = Array of TTargetPool;
  282. TTargetPoolAggregatedListArray = Array of TTargetPoolAggregatedList;
  283. TTargetPoolInstanceHealthArray = Array of TTargetPoolInstanceHealth;
  284. TTargetPoolListArray = Array of TTargetPoolList;
  285. TTargetPoolsAddHealthCheckRequestArray = Array of TTargetPoolsAddHealthCheckRequest;
  286. TTargetPoolsAddInstanceRequestArray = Array of TTargetPoolsAddInstanceRequest;
  287. TTargetPoolsRemoveHealthCheckRequestArray = Array of TTargetPoolsRemoveHealthCheckRequest;
  288. TTargetPoolsRemoveInstanceRequestArray = Array of TTargetPoolsRemoveInstanceRequest;
  289. TTargetPoolsScopedListArray = Array of TTargetPoolsScopedList;
  290. TTargetReferenceArray = Array of TTargetReference;
  291. TTargetVpnGatewayArray = Array of TTargetVpnGateway;
  292. TTargetVpnGatewayAggregatedListArray = Array of TTargetVpnGatewayAggregatedList;
  293. TTargetVpnGatewayListArray = Array of TTargetVpnGatewayList;
  294. TTargetVpnGatewaysScopedListArray = Array of TTargetVpnGatewaysScopedList;
  295. TTestFailureArray = Array of TTestFailure;
  296. TUrlMapArray = Array of TUrlMap;
  297. TUrlMapListArray = Array of TUrlMapList;
  298. TUrlMapReferenceArray = Array of TUrlMapReference;
  299. TUrlMapTestArray = Array of TUrlMapTest;
  300. TUrlMapValidationResultArray = Array of TUrlMapValidationResult;
  301. TUrlMapsValidateRequestArray = Array of TUrlMapsValidateRequest;
  302. TUrlMapsValidateResponseArray = Array of TUrlMapsValidateResponse;
  303. TUsageExportLocationArray = Array of TUsageExportLocation;
  304. TVpnTunnelArray = Array of TVpnTunnel;
  305. TVpnTunnelAggregatedListArray = Array of TVpnTunnelAggregatedList;
  306. TVpnTunnelListArray = Array of TVpnTunnelList;
  307. TVpnTunnelsScopedListArray = Array of TVpnTunnelsScopedList;
  308. TZoneArray = Array of TZone;
  309. TZoneListArray = Array of TZoneList;
  310. //Anonymous types, using auto-generated names
  311. TAddressAggregatedListTypeitems = Class;
  312. TAddressesScopedListTypewarningTypedataItem = Class;
  313. TAddressesScopedListTypewarning = Class;
  314. TAutoscalerAggregatedListTypeitems = Class;
  315. TAutoscalersScopedListTypewarningTypedataItem = Class;
  316. TAutoscalersScopedListTypewarning = Class;
  317. TDiskAggregatedListTypeitems = Class;
  318. TDiskTypeAggregatedListTypeitems = Class;
  319. TDiskTypesScopedListTypewarningTypedataItem = Class;
  320. TDiskTypesScopedListTypewarning = Class;
  321. TDisksScopedListTypewarningTypedataItem = Class;
  322. TDisksScopedListTypewarning = Class;
  323. TFirewallTypeallowedItem = Class;
  324. TForwardingRuleAggregatedListTypeitems = Class;
  325. TForwardingRulesScopedListTypewarningTypedataItem = Class;
  326. TForwardingRulesScopedListTypewarning = Class;
  327. TImageTyperawDisk = Class;
  328. TInstanceAggregatedListTypeitems = Class;
  329. TInstanceGroupAggregatedListTypeitems = Class;
  330. TInstanceGroupManagerAggregatedListTypeitems = Class;
  331. TInstanceGroupManagersScopedListTypewarningTypedataItem = Class;
  332. TInstanceGroupManagersScopedListTypewarning = Class;
  333. TInstanceGroupsScopedListTypewarningTypedataItem = Class;
  334. TInstanceGroupsScopedListTypewarning = Class;
  335. TInstancesScopedListTypewarningTypedataItem = Class;
  336. TInstancesScopedListTypewarning = Class;
  337. TMachineTypeTypescratchDisksItem = Class;
  338. TMachineTypeAggregatedListTypeitems = Class;
  339. TMachineTypesScopedListTypewarningTypedataItem = Class;
  340. TMachineTypesScopedListTypewarning = Class;
  341. TManagedInstanceLastAttemptTypeerrorsTypeerrorsItem = Class;
  342. TManagedInstanceLastAttemptTypeerrors = Class;
  343. TMetadataTypeitemsItem = Class;
  344. TOperationTypeerrorTypeerrorsItem = Class;
  345. TOperationTypeerror = Class;
  346. TOperationTypewarningsItemTypedataItem = Class;
  347. TOperationTypewarningsItem = Class;
  348. TOperationAggregatedListTypeitems = Class;
  349. TOperationsScopedListTypewarningTypedataItem = Class;
  350. TOperationsScopedListTypewarning = Class;
  351. TRouteTypewarningsItemTypedataItem = Class;
  352. TRouteTypewarningsItem = Class;
  353. TSubnetworkAggregatedListTypeitems = Class;
  354. TSubnetworksScopedListTypewarningTypedataItem = Class;
  355. TSubnetworksScopedListTypewarning = Class;
  356. TTargetInstanceAggregatedListTypeitems = Class;
  357. TTargetInstancesScopedListTypewarningTypedataItem = Class;
  358. TTargetInstancesScopedListTypewarning = Class;
  359. TTargetPoolAggregatedListTypeitems = Class;
  360. TTargetPoolsScopedListTypewarningTypedataItem = Class;
  361. TTargetPoolsScopedListTypewarning = Class;
  362. TTargetVpnGatewayAggregatedListTypeitems = Class;
  363. TTargetVpnGatewaysScopedListTypewarningTypedataItem = Class;
  364. TTargetVpnGatewaysScopedListTypewarning = Class;
  365. TVpnTunnelAggregatedListTypeitems = Class;
  366. TVpnTunnelsScopedListTypewarningTypedataItem = Class;
  367. TVpnTunnelsScopedListTypewarning = Class;
  368. TAddressListTypeitemsArray = Array of TAddress;
  369. TAddressesScopedListTypeaddressesArray = Array of TAddress;
  370. TAddressesScopedListTypewarningTypedataArray = Array of TAddressesScopedListTypewarningTypedataItem;
  371. TAutoscalerListTypeitemsArray = Array of TAutoscaler;
  372. TAutoscalersScopedListTypeautoscalersArray = Array of TAutoscaler;
  373. TAutoscalersScopedListTypewarningTypedataArray = Array of TAutoscalersScopedListTypewarningTypedataItem;
  374. TAutoscalingPolicyTypecustomMetricUtilizationsArray = Array of TAutoscalingPolicyCustomMetricUtilization;
  375. TBackendServiceTypebackendsArray = Array of TBackend;
  376. TBackendServiceGroupHealthTypehealthStatusArray = Array of THealthStatus;
  377. TBackendServiceListTypeitemsArray = Array of TBackendService;
  378. TDiskListTypeitemsArray = Array of TDisk;
  379. TDiskTypeListTypeitemsArray = Array of TDiskType;
  380. TDiskTypesScopedListTypediskTypesArray = Array of TDiskType;
  381. TDiskTypesScopedListTypewarningTypedataArray = Array of TDiskTypesScopedListTypewarningTypedataItem;
  382. TDisksScopedListTypedisksArray = Array of TDisk;
  383. TDisksScopedListTypewarningTypedataArray = Array of TDisksScopedListTypewarningTypedataItem;
  384. TFirewallTypeallowedArray = Array of TFirewallTypeallowedItem;
  385. TFirewallListTypeitemsArray = Array of TFirewall;
  386. TForwardingRuleListTypeitemsArray = Array of TForwardingRule;
  387. TForwardingRulesScopedListTypeforwardingRulesArray = Array of TForwardingRule;
  388. TForwardingRulesScopedListTypewarningTypedataArray = Array of TForwardingRulesScopedListTypewarningTypedataItem;
  389. THttpHealthCheckListTypeitemsArray = Array of THttpHealthCheck;
  390. THttpsHealthCheckListTypeitemsArray = Array of THttpsHealthCheck;
  391. TImageListTypeitemsArray = Array of TImage;
  392. TInstanceTypedisksArray = Array of TAttachedDisk;
  393. TInstanceTypenetworkInterfacesArray = Array of TNetworkInterface;
  394. TInstanceTypeserviceAccountsArray = Array of TServiceAccount;
  395. TInstanceGroupTypenamedPortsArray = Array of TNamedPort;
  396. TInstanceGroupListTypeitemsArray = Array of TInstanceGroup;
  397. TInstanceGroupManagerTypenamedPortsArray = Array of TNamedPort;
  398. TInstanceGroupManagerListTypeitemsArray = Array of TInstanceGroupManager;
  399. TInstanceGroupManagersListManagedInstancesResponseTypemanagedInstancesArray = Array of TManagedInstance;
  400. TInstanceGroupManagersScopedListTypeinstanceGroupManagersArray = Array of TInstanceGroupManager;
  401. TInstanceGroupManagersScopedListTypewarningTypedataArray = Array of TInstanceGroupManagersScopedListTypewarningTypedataItem;
  402. TInstanceGroupsAddInstancesRequestTypeinstancesArray = Array of TInstanceReference;
  403. TInstanceGroupsListInstancesTypeitemsArray = Array of TInstanceWithNamedPorts;
  404. TInstanceGroupsRemoveInstancesRequestTypeinstancesArray = Array of TInstanceReference;
  405. TInstanceGroupsScopedListTypeinstanceGroupsArray = Array of TInstanceGroup;
  406. TInstanceGroupsScopedListTypewarningTypedataArray = Array of TInstanceGroupsScopedListTypewarningTypedataItem;
  407. TInstanceGroupsSetNamedPortsRequestTypenamedPortsArray = Array of TNamedPort;
  408. TInstanceListTypeitemsArray = Array of TInstance;
  409. TInstancePropertiesTypedisksArray = Array of TAttachedDisk;
  410. TInstancePropertiesTypenetworkInterfacesArray = Array of TNetworkInterface;
  411. TInstancePropertiesTypeserviceAccountsArray = Array of TServiceAccount;
  412. TInstanceTemplateListTypeitemsArray = Array of TInstanceTemplate;
  413. TInstanceWithNamedPortsTypenamedPortsArray = Array of TNamedPort;
  414. TInstancesScopedListTypeinstancesArray = Array of TInstance;
  415. TInstancesScopedListTypewarningTypedataArray = Array of TInstancesScopedListTypewarningTypedataItem;
  416. TMachineTypeTypescratchDisksArray = Array of TMachineTypeTypescratchDisksItem;
  417. TMachineTypeListTypeitemsArray = Array of TMachineType;
  418. TMachineTypesScopedListTypemachineTypesArray = Array of TMachineType;
  419. TMachineTypesScopedListTypewarningTypedataArray = Array of TMachineTypesScopedListTypewarningTypedataItem;
  420. TManagedInstanceLastAttemptTypeerrorsTypeerrorsArray = Array of TManagedInstanceLastAttemptTypeerrorsTypeerrorsItem;
  421. TMetadataTypeitemsArray = Array of TMetadataTypeitemsItem;
  422. TNetworkInterfaceTypeaccessConfigsArray = Array of TAccessConfig;
  423. TNetworkListTypeitemsArray = Array of TNetwork;
  424. TOperationTypeerrorTypeerrorsArray = Array of TOperationTypeerrorTypeerrorsItem;
  425. TOperationTypewarningsItemTypedataArray = Array of TOperationTypewarningsItemTypedataItem;
  426. TOperationTypewarningsArray = Array of TOperationTypewarningsItem;
  427. TOperationListTypeitemsArray = Array of TOperation;
  428. TOperationsScopedListTypeoperationsArray = Array of TOperation;
  429. TOperationsScopedListTypewarningTypedataArray = Array of TOperationsScopedListTypewarningTypedataItem;
  430. TPathMatcherTypepathRulesArray = Array of TPathRule;
  431. TProjectTypequotasArray = Array of TQuota;
  432. TRegionTypequotasArray = Array of TQuota;
  433. TRegionListTypeitemsArray = Array of TRegion;
  434. TRouteTypewarningsItemTypedataArray = Array of TRouteTypewarningsItemTypedataItem;
  435. TRouteTypewarningsArray = Array of TRouteTypewarningsItem;
  436. TRouteListTypeitemsArray = Array of TRoute;
  437. TSnapshotListTypeitemsArray = Array of TSnapshot;
  438. TSslCertificateListTypeitemsArray = Array of TSslCertificate;
  439. TSubnetworkListTypeitemsArray = Array of TSubnetwork;
  440. TSubnetworksScopedListTypesubnetworksArray = Array of TSubnetwork;
  441. TSubnetworksScopedListTypewarningTypedataArray = Array of TSubnetworksScopedListTypewarningTypedataItem;
  442. TTargetHttpProxyListTypeitemsArray = Array of TTargetHttpProxy;
  443. TTargetHttpsProxyListTypeitemsArray = Array of TTargetHttpsProxy;
  444. TTargetInstanceListTypeitemsArray = Array of TTargetInstance;
  445. TTargetInstancesScopedListTypetargetInstancesArray = Array of TTargetInstance;
  446. TTargetInstancesScopedListTypewarningTypedataArray = Array of TTargetInstancesScopedListTypewarningTypedataItem;
  447. TTargetPoolInstanceHealthTypehealthStatusArray = Array of THealthStatus;
  448. TTargetPoolListTypeitemsArray = Array of TTargetPool;
  449. TTargetPoolsAddHealthCheckRequestTypehealthChecksArray = Array of THealthCheckReference;
  450. TTargetPoolsAddInstanceRequestTypeinstancesArray = Array of TInstanceReference;
  451. TTargetPoolsRemoveHealthCheckRequestTypehealthChecksArray = Array of THealthCheckReference;
  452. TTargetPoolsRemoveInstanceRequestTypeinstancesArray = Array of TInstanceReference;
  453. TTargetPoolsScopedListTypetargetPoolsArray = Array of TTargetPool;
  454. TTargetPoolsScopedListTypewarningTypedataArray = Array of TTargetPoolsScopedListTypewarningTypedataItem;
  455. TTargetVpnGatewayListTypeitemsArray = Array of TTargetVpnGateway;
  456. TTargetVpnGatewaysScopedListTypetargetVpnGatewaysArray = Array of TTargetVpnGateway;
  457. TTargetVpnGatewaysScopedListTypewarningTypedataArray = Array of TTargetVpnGatewaysScopedListTypewarningTypedataItem;
  458. TUrlMapTypehostRulesArray = Array of THostRule;
  459. TUrlMapTypepathMatchersArray = Array of TPathMatcher;
  460. TUrlMapTypetestsArray = Array of TUrlMapTest;
  461. TUrlMapListTypeitemsArray = Array of TUrlMap;
  462. TUrlMapValidationResultTypetestFailuresArray = Array of TTestFailure;
  463. TVpnTunnelListTypeitemsArray = Array of TVpnTunnel;
  464. TVpnTunnelsScopedListTypevpnTunnelsArray = Array of TVpnTunnel;
  465. TVpnTunnelsScopedListTypewarningTypedataArray = Array of TVpnTunnelsScopedListTypewarningTypedataItem;
  466. TZoneListTypeitemsArray = Array of TZone;
  467. { --------------------------------------------------------------------
  468. TAccessConfig
  469. --------------------------------------------------------------------}
  470. TAccessConfig = Class(TGoogleBaseObject)
  471. Private
  472. Fkind : String;
  473. Fname : String;
  474. FnatIP : String;
  475. F_type : String;
  476. Protected
  477. Class Function ExportPropertyName(Const AName : String) : string; override;
  478. //Property setters
  479. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  480. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  481. Procedure SetnatIP(AIndex : Integer; const AValue : String); virtual;
  482. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  483. Public
  484. Published
  485. Property kind : String Index 0 Read Fkind Write Setkind;
  486. Property name : String Index 8 Read Fname Write Setname;
  487. Property natIP : String Index 16 Read FnatIP Write SetnatIP;
  488. Property _type : String Index 24 Read F_type Write Set_type;
  489. end;
  490. TAccessConfigClass = Class of TAccessConfig;
  491. { --------------------------------------------------------------------
  492. TAddress
  493. --------------------------------------------------------------------}
  494. TAddress = Class(TGoogleBaseObject)
  495. Private
  496. Faddress : String;
  497. FcreationTimestamp : String;
  498. Fdescription : String;
  499. Fid : String;
  500. Fkind : String;
  501. Fname : String;
  502. Fregion : String;
  503. FselfLink : String;
  504. Fstatus : String;
  505. Fusers : TStringArray;
  506. Protected
  507. //Property setters
  508. Procedure Setaddress(AIndex : Integer; const AValue : String); virtual;
  509. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  510. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  511. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  512. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  513. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  514. Procedure Setregion(AIndex : Integer; const AValue : String); virtual;
  515. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  516. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  517. Procedure Setusers(AIndex : Integer; const AValue : TStringArray); virtual;
  518. //2.6.4. bug workaround
  519. {$IFDEF VER2_6}
  520. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  521. {$ENDIF VER2_6}
  522. Public
  523. Published
  524. Property address : String Index 0 Read Faddress Write Setaddress;
  525. Property creationTimestamp : String Index 8 Read FcreationTimestamp Write SetcreationTimestamp;
  526. Property description : String Index 16 Read Fdescription Write Setdescription;
  527. Property id : String Index 24 Read Fid Write Setid;
  528. Property kind : String Index 32 Read Fkind Write Setkind;
  529. Property name : String Index 40 Read Fname Write Setname;
  530. Property region : String Index 48 Read Fregion Write Setregion;
  531. Property selfLink : String Index 56 Read FselfLink Write SetselfLink;
  532. Property status : String Index 64 Read Fstatus Write Setstatus;
  533. Property users : TStringArray Index 72 Read Fusers Write Setusers;
  534. end;
  535. TAddressClass = Class of TAddress;
  536. { --------------------------------------------------------------------
  537. TAddressAggregatedListTypeitems
  538. --------------------------------------------------------------------}
  539. TAddressAggregatedListTypeitems = Class(TGoogleBaseObject)
  540. Private
  541. Protected
  542. //Property setters
  543. Public
  544. Class Function AllowAdditionalProperties : Boolean; override;
  545. Published
  546. end;
  547. TAddressAggregatedListTypeitemsClass = Class of TAddressAggregatedListTypeitems;
  548. { --------------------------------------------------------------------
  549. TAddressAggregatedList
  550. --------------------------------------------------------------------}
  551. TAddressAggregatedList = Class(TGoogleBaseObject)
  552. Private
  553. Fid : String;
  554. Fitems : TAddressAggregatedListTypeitems;
  555. Fkind : String;
  556. FnextPageToken : String;
  557. FselfLink : String;
  558. Protected
  559. //Property setters
  560. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  561. Procedure Setitems(AIndex : Integer; const AValue : TAddressAggregatedListTypeitems); virtual;
  562. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  563. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  564. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  565. Public
  566. Published
  567. Property id : String Index 0 Read Fid Write Setid;
  568. Property items : TAddressAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  569. Property kind : String Index 16 Read Fkind Write Setkind;
  570. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  571. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  572. end;
  573. TAddressAggregatedListClass = Class of TAddressAggregatedList;
  574. { --------------------------------------------------------------------
  575. TAddressList
  576. --------------------------------------------------------------------}
  577. TAddressList = Class(TGoogleBaseObject)
  578. Private
  579. Fid : String;
  580. Fitems : TAddressListTypeitemsArray;
  581. Fkind : String;
  582. FnextPageToken : String;
  583. FselfLink : String;
  584. Protected
  585. //Property setters
  586. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  587. Procedure Setitems(AIndex : Integer; const AValue : TAddressListTypeitemsArray); virtual;
  588. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  589. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  590. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  591. //2.6.4. bug workaround
  592. {$IFDEF VER2_6}
  593. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  594. {$ENDIF VER2_6}
  595. Public
  596. Published
  597. Property id : String Index 0 Read Fid Write Setid;
  598. Property items : TAddressListTypeitemsArray Index 8 Read Fitems Write Setitems;
  599. Property kind : String Index 16 Read Fkind Write Setkind;
  600. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  601. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  602. end;
  603. TAddressListClass = Class of TAddressList;
  604. { --------------------------------------------------------------------
  605. TAddressesScopedListTypewarningTypedataItem
  606. --------------------------------------------------------------------}
  607. TAddressesScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  608. Private
  609. Fkey : String;
  610. Fvalue : String;
  611. Protected
  612. //Property setters
  613. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  614. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  615. Public
  616. Published
  617. Property key : String Index 0 Read Fkey Write Setkey;
  618. Property value : String Index 8 Read Fvalue Write Setvalue;
  619. end;
  620. TAddressesScopedListTypewarningTypedataItemClass = Class of TAddressesScopedListTypewarningTypedataItem;
  621. { --------------------------------------------------------------------
  622. TAddressesScopedListTypewarning
  623. --------------------------------------------------------------------}
  624. TAddressesScopedListTypewarning = Class(TGoogleBaseObject)
  625. Private
  626. Fcode : String;
  627. Fdata : TAddressesScopedListTypewarningTypedataArray;
  628. Fmessage : String;
  629. Protected
  630. //Property setters
  631. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  632. Procedure Setdata(AIndex : Integer; const AValue : TAddressesScopedListTypewarningTypedataArray); virtual;
  633. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  634. //2.6.4. bug workaround
  635. {$IFDEF VER2_6}
  636. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  637. {$ENDIF VER2_6}
  638. Public
  639. Published
  640. Property code : String Index 0 Read Fcode Write Setcode;
  641. Property data : TAddressesScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  642. Property message : String Index 16 Read Fmessage Write Setmessage;
  643. end;
  644. TAddressesScopedListTypewarningClass = Class of TAddressesScopedListTypewarning;
  645. { --------------------------------------------------------------------
  646. TAddressesScopedList
  647. --------------------------------------------------------------------}
  648. TAddressesScopedList = Class(TGoogleBaseObject)
  649. Private
  650. Faddresses : TAddressesScopedListTypeaddressesArray;
  651. Fwarning : TAddressesScopedListTypewarning;
  652. Protected
  653. //Property setters
  654. Procedure Setaddresses(AIndex : Integer; const AValue : TAddressesScopedListTypeaddressesArray); virtual;
  655. Procedure Setwarning(AIndex : Integer; const AValue : TAddressesScopedListTypewarning); virtual;
  656. //2.6.4. bug workaround
  657. {$IFDEF VER2_6}
  658. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  659. {$ENDIF VER2_6}
  660. Public
  661. Published
  662. Property addresses : TAddressesScopedListTypeaddressesArray Index 0 Read Faddresses Write Setaddresses;
  663. Property warning : TAddressesScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  664. end;
  665. TAddressesScopedListClass = Class of TAddressesScopedList;
  666. { --------------------------------------------------------------------
  667. TAttachedDisk
  668. --------------------------------------------------------------------}
  669. TAttachedDisk = Class(TGoogleBaseObject)
  670. Private
  671. FautoDelete : boolean;
  672. Fboot : boolean;
  673. FdeviceName : String;
  674. Findex : integer;
  675. FinitializeParams : TAttachedDiskInitializeParams;
  676. F_interface : String;
  677. Fkind : String;
  678. Flicenses : TStringArray;
  679. Fmode : String;
  680. Fsource : String;
  681. F_type : String;
  682. Protected
  683. Class Function ExportPropertyName(Const AName : String) : string; override;
  684. //Property setters
  685. Procedure SetautoDelete(AIndex : Integer; const AValue : boolean); virtual;
  686. Procedure Setboot(AIndex : Integer; const AValue : boolean); virtual;
  687. Procedure SetdeviceName(AIndex : Integer; const AValue : String); virtual;
  688. Procedure Setindex(AIndex : Integer; const AValue : integer); virtual;
  689. Procedure SetinitializeParams(AIndex : Integer; const AValue : TAttachedDiskInitializeParams); virtual;
  690. Procedure Set_interface(AIndex : Integer; const AValue : String); virtual;
  691. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  692. Procedure Setlicenses(AIndex : Integer; const AValue : TStringArray); virtual;
  693. Procedure Setmode(AIndex : Integer; const AValue : String); virtual;
  694. Procedure Setsource(AIndex : Integer; const AValue : String); virtual;
  695. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  696. //2.6.4. bug workaround
  697. {$IFDEF VER2_6}
  698. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  699. {$ENDIF VER2_6}
  700. Public
  701. Published
  702. Property autoDelete : boolean Index 0 Read FautoDelete Write SetautoDelete;
  703. Property boot : boolean Index 8 Read Fboot Write Setboot;
  704. Property deviceName : String Index 16 Read FdeviceName Write SetdeviceName;
  705. Property index : integer Index 24 Read Findex Write Setindex;
  706. Property initializeParams : TAttachedDiskInitializeParams Index 32 Read FinitializeParams Write SetinitializeParams;
  707. Property _interface : String Index 40 Read F_interface Write Set_interface;
  708. Property kind : String Index 48 Read Fkind Write Setkind;
  709. Property licenses : TStringArray Index 56 Read Flicenses Write Setlicenses;
  710. Property mode : String Index 64 Read Fmode Write Setmode;
  711. Property source : String Index 72 Read Fsource Write Setsource;
  712. Property _type : String Index 80 Read F_type Write Set_type;
  713. end;
  714. TAttachedDiskClass = Class of TAttachedDisk;
  715. { --------------------------------------------------------------------
  716. TAttachedDiskInitializeParams
  717. --------------------------------------------------------------------}
  718. TAttachedDiskInitializeParams = Class(TGoogleBaseObject)
  719. Private
  720. FdiskName : String;
  721. FdiskSizeGb : String;
  722. FdiskType : String;
  723. FsourceImage : String;
  724. Protected
  725. //Property setters
  726. Procedure SetdiskName(AIndex : Integer; const AValue : String); virtual;
  727. Procedure SetdiskSizeGb(AIndex : Integer; const AValue : String); virtual;
  728. Procedure SetdiskType(AIndex : Integer; const AValue : String); virtual;
  729. Procedure SetsourceImage(AIndex : Integer; const AValue : String); virtual;
  730. Public
  731. Published
  732. Property diskName : String Index 0 Read FdiskName Write SetdiskName;
  733. Property diskSizeGb : String Index 8 Read FdiskSizeGb Write SetdiskSizeGb;
  734. Property diskType : String Index 16 Read FdiskType Write SetdiskType;
  735. Property sourceImage : String Index 24 Read FsourceImage Write SetsourceImage;
  736. end;
  737. TAttachedDiskInitializeParamsClass = Class of TAttachedDiskInitializeParams;
  738. { --------------------------------------------------------------------
  739. TAutoscaler
  740. --------------------------------------------------------------------}
  741. TAutoscaler = Class(TGoogleBaseObject)
  742. Private
  743. FautoscalingPolicy : TAutoscalingPolicy;
  744. FcreationTimestamp : String;
  745. Fdescription : String;
  746. Fid : String;
  747. Fkind : String;
  748. Fname : String;
  749. FselfLink : String;
  750. Ftarget : String;
  751. Fzone : String;
  752. Protected
  753. //Property setters
  754. Procedure SetautoscalingPolicy(AIndex : Integer; const AValue : TAutoscalingPolicy); virtual;
  755. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  756. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  757. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  758. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  759. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  760. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  761. Procedure Settarget(AIndex : Integer; const AValue : String); virtual;
  762. Procedure Setzone(AIndex : Integer; const AValue : String); virtual;
  763. Public
  764. Published
  765. Property autoscalingPolicy : TAutoscalingPolicy Index 0 Read FautoscalingPolicy Write SetautoscalingPolicy;
  766. Property creationTimestamp : String Index 8 Read FcreationTimestamp Write SetcreationTimestamp;
  767. Property description : String Index 16 Read Fdescription Write Setdescription;
  768. Property id : String Index 24 Read Fid Write Setid;
  769. Property kind : String Index 32 Read Fkind Write Setkind;
  770. Property name : String Index 40 Read Fname Write Setname;
  771. Property selfLink : String Index 48 Read FselfLink Write SetselfLink;
  772. Property target : String Index 56 Read Ftarget Write Settarget;
  773. Property zone : String Index 64 Read Fzone Write Setzone;
  774. end;
  775. TAutoscalerClass = Class of TAutoscaler;
  776. { --------------------------------------------------------------------
  777. TAutoscalerAggregatedListTypeitems
  778. --------------------------------------------------------------------}
  779. TAutoscalerAggregatedListTypeitems = Class(TGoogleBaseObject)
  780. Private
  781. Protected
  782. //Property setters
  783. Public
  784. Class Function AllowAdditionalProperties : Boolean; override;
  785. Published
  786. end;
  787. TAutoscalerAggregatedListTypeitemsClass = Class of TAutoscalerAggregatedListTypeitems;
  788. { --------------------------------------------------------------------
  789. TAutoscalerAggregatedList
  790. --------------------------------------------------------------------}
  791. TAutoscalerAggregatedList = Class(TGoogleBaseObject)
  792. Private
  793. Fid : String;
  794. Fitems : TAutoscalerAggregatedListTypeitems;
  795. Fkind : String;
  796. FnextPageToken : String;
  797. FselfLink : String;
  798. Protected
  799. //Property setters
  800. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  801. Procedure Setitems(AIndex : Integer; const AValue : TAutoscalerAggregatedListTypeitems); virtual;
  802. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  803. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  804. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  805. Public
  806. Published
  807. Property id : String Index 0 Read Fid Write Setid;
  808. Property items : TAutoscalerAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  809. Property kind : String Index 16 Read Fkind Write Setkind;
  810. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  811. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  812. end;
  813. TAutoscalerAggregatedListClass = Class of TAutoscalerAggregatedList;
  814. { --------------------------------------------------------------------
  815. TAutoscalerList
  816. --------------------------------------------------------------------}
  817. TAutoscalerList = Class(TGoogleBaseObject)
  818. Private
  819. Fid : String;
  820. Fitems : TAutoscalerListTypeitemsArray;
  821. Fkind : String;
  822. FnextPageToken : String;
  823. FselfLink : String;
  824. Protected
  825. //Property setters
  826. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  827. Procedure Setitems(AIndex : Integer; const AValue : TAutoscalerListTypeitemsArray); virtual;
  828. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  829. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  830. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  831. //2.6.4. bug workaround
  832. {$IFDEF VER2_6}
  833. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  834. {$ENDIF VER2_6}
  835. Public
  836. Published
  837. Property id : String Index 0 Read Fid Write Setid;
  838. Property items : TAutoscalerListTypeitemsArray Index 8 Read Fitems Write Setitems;
  839. Property kind : String Index 16 Read Fkind Write Setkind;
  840. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  841. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  842. end;
  843. TAutoscalerListClass = Class of TAutoscalerList;
  844. { --------------------------------------------------------------------
  845. TAutoscalersScopedListTypewarningTypedataItem
  846. --------------------------------------------------------------------}
  847. TAutoscalersScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  848. Private
  849. Fkey : String;
  850. Fvalue : String;
  851. Protected
  852. //Property setters
  853. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  854. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  855. Public
  856. Published
  857. Property key : String Index 0 Read Fkey Write Setkey;
  858. Property value : String Index 8 Read Fvalue Write Setvalue;
  859. end;
  860. TAutoscalersScopedListTypewarningTypedataItemClass = Class of TAutoscalersScopedListTypewarningTypedataItem;
  861. { --------------------------------------------------------------------
  862. TAutoscalersScopedListTypewarning
  863. --------------------------------------------------------------------}
  864. TAutoscalersScopedListTypewarning = Class(TGoogleBaseObject)
  865. Private
  866. Fcode : String;
  867. Fdata : TAutoscalersScopedListTypewarningTypedataArray;
  868. Fmessage : String;
  869. Protected
  870. //Property setters
  871. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  872. Procedure Setdata(AIndex : Integer; const AValue : TAutoscalersScopedListTypewarningTypedataArray); virtual;
  873. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  874. //2.6.4. bug workaround
  875. {$IFDEF VER2_6}
  876. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  877. {$ENDIF VER2_6}
  878. Public
  879. Published
  880. Property code : String Index 0 Read Fcode Write Setcode;
  881. Property data : TAutoscalersScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  882. Property message : String Index 16 Read Fmessage Write Setmessage;
  883. end;
  884. TAutoscalersScopedListTypewarningClass = Class of TAutoscalersScopedListTypewarning;
  885. { --------------------------------------------------------------------
  886. TAutoscalersScopedList
  887. --------------------------------------------------------------------}
  888. TAutoscalersScopedList = Class(TGoogleBaseObject)
  889. Private
  890. Fautoscalers : TAutoscalersScopedListTypeautoscalersArray;
  891. Fwarning : TAutoscalersScopedListTypewarning;
  892. Protected
  893. //Property setters
  894. Procedure Setautoscalers(AIndex : Integer; const AValue : TAutoscalersScopedListTypeautoscalersArray); virtual;
  895. Procedure Setwarning(AIndex : Integer; const AValue : TAutoscalersScopedListTypewarning); virtual;
  896. //2.6.4. bug workaround
  897. {$IFDEF VER2_6}
  898. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  899. {$ENDIF VER2_6}
  900. Public
  901. Published
  902. Property autoscalers : TAutoscalersScopedListTypeautoscalersArray Index 0 Read Fautoscalers Write Setautoscalers;
  903. Property warning : TAutoscalersScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  904. end;
  905. TAutoscalersScopedListClass = Class of TAutoscalersScopedList;
  906. { --------------------------------------------------------------------
  907. TAutoscalingPolicy
  908. --------------------------------------------------------------------}
  909. TAutoscalingPolicy = Class(TGoogleBaseObject)
  910. Private
  911. FcoolDownPeriodSec : integer;
  912. FcpuUtilization : TAutoscalingPolicyCpuUtilization;
  913. FcustomMetricUtilizations : TAutoscalingPolicyTypecustomMetricUtilizationsArray;
  914. FloadBalancingUtilization : TAutoscalingPolicyLoadBalancingUtilization;
  915. FmaxNumReplicas : integer;
  916. FminNumReplicas : integer;
  917. Protected
  918. //Property setters
  919. Procedure SetcoolDownPeriodSec(AIndex : Integer; const AValue : integer); virtual;
  920. Procedure SetcpuUtilization(AIndex : Integer; const AValue : TAutoscalingPolicyCpuUtilization); virtual;
  921. Procedure SetcustomMetricUtilizations(AIndex : Integer; const AValue : TAutoscalingPolicyTypecustomMetricUtilizationsArray); virtual;
  922. Procedure SetloadBalancingUtilization(AIndex : Integer; const AValue : TAutoscalingPolicyLoadBalancingUtilization); virtual;
  923. Procedure SetmaxNumReplicas(AIndex : Integer; const AValue : integer); virtual;
  924. Procedure SetminNumReplicas(AIndex : Integer; const AValue : integer); virtual;
  925. //2.6.4. bug workaround
  926. {$IFDEF VER2_6}
  927. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  928. {$ENDIF VER2_6}
  929. Public
  930. Published
  931. Property coolDownPeriodSec : integer Index 0 Read FcoolDownPeriodSec Write SetcoolDownPeriodSec;
  932. Property cpuUtilization : TAutoscalingPolicyCpuUtilization Index 8 Read FcpuUtilization Write SetcpuUtilization;
  933. Property customMetricUtilizations : TAutoscalingPolicyTypecustomMetricUtilizationsArray Index 16 Read FcustomMetricUtilizations Write SetcustomMetricUtilizations;
  934. Property loadBalancingUtilization : TAutoscalingPolicyLoadBalancingUtilization Index 24 Read FloadBalancingUtilization Write SetloadBalancingUtilization;
  935. Property maxNumReplicas : integer Index 32 Read FmaxNumReplicas Write SetmaxNumReplicas;
  936. Property minNumReplicas : integer Index 40 Read FminNumReplicas Write SetminNumReplicas;
  937. end;
  938. TAutoscalingPolicyClass = Class of TAutoscalingPolicy;
  939. { --------------------------------------------------------------------
  940. TAutoscalingPolicyCpuUtilization
  941. --------------------------------------------------------------------}
  942. TAutoscalingPolicyCpuUtilization = Class(TGoogleBaseObject)
  943. Private
  944. FutilizationTarget : double;
  945. Protected
  946. //Property setters
  947. Procedure SetutilizationTarget(AIndex : Integer; const AValue : double); virtual;
  948. Public
  949. Published
  950. Property utilizationTarget : double Index 0 Read FutilizationTarget Write SetutilizationTarget;
  951. end;
  952. TAutoscalingPolicyCpuUtilizationClass = Class of TAutoscalingPolicyCpuUtilization;
  953. { --------------------------------------------------------------------
  954. TAutoscalingPolicyCustomMetricUtilization
  955. --------------------------------------------------------------------}
  956. TAutoscalingPolicyCustomMetricUtilization = Class(TGoogleBaseObject)
  957. Private
  958. Fmetric : String;
  959. FutilizationTarget : double;
  960. FutilizationTargetType : String;
  961. Protected
  962. //Property setters
  963. Procedure Setmetric(AIndex : Integer; const AValue : String); virtual;
  964. Procedure SetutilizationTarget(AIndex : Integer; const AValue : double); virtual;
  965. Procedure SetutilizationTargetType(AIndex : Integer; const AValue : String); virtual;
  966. Public
  967. Published
  968. Property metric : String Index 0 Read Fmetric Write Setmetric;
  969. Property utilizationTarget : double Index 8 Read FutilizationTarget Write SetutilizationTarget;
  970. Property utilizationTargetType : String Index 16 Read FutilizationTargetType Write SetutilizationTargetType;
  971. end;
  972. TAutoscalingPolicyCustomMetricUtilizationClass = Class of TAutoscalingPolicyCustomMetricUtilization;
  973. { --------------------------------------------------------------------
  974. TAutoscalingPolicyLoadBalancingUtilization
  975. --------------------------------------------------------------------}
  976. TAutoscalingPolicyLoadBalancingUtilization = Class(TGoogleBaseObject)
  977. Private
  978. FutilizationTarget : double;
  979. Protected
  980. //Property setters
  981. Procedure SetutilizationTarget(AIndex : Integer; const AValue : double); virtual;
  982. Public
  983. Published
  984. Property utilizationTarget : double Index 0 Read FutilizationTarget Write SetutilizationTarget;
  985. end;
  986. TAutoscalingPolicyLoadBalancingUtilizationClass = Class of TAutoscalingPolicyLoadBalancingUtilization;
  987. { --------------------------------------------------------------------
  988. TBackend
  989. --------------------------------------------------------------------}
  990. TBackend = Class(TGoogleBaseObject)
  991. Private
  992. FbalancingMode : String;
  993. FcapacityScaler : integer;
  994. Fdescription : String;
  995. Fgroup : String;
  996. FmaxRate : integer;
  997. FmaxRatePerInstance : integer;
  998. FmaxUtilization : integer;
  999. Protected
  1000. //Property setters
  1001. Procedure SetbalancingMode(AIndex : Integer; const AValue : String); virtual;
  1002. Procedure SetcapacityScaler(AIndex : Integer; const AValue : integer); virtual;
  1003. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1004. Procedure Setgroup(AIndex : Integer; const AValue : String); virtual;
  1005. Procedure SetmaxRate(AIndex : Integer; const AValue : integer); virtual;
  1006. Procedure SetmaxRatePerInstance(AIndex : Integer; const AValue : integer); virtual;
  1007. Procedure SetmaxUtilization(AIndex : Integer; const AValue : integer); virtual;
  1008. Public
  1009. Published
  1010. Property balancingMode : String Index 0 Read FbalancingMode Write SetbalancingMode;
  1011. Property capacityScaler : integer Index 8 Read FcapacityScaler Write SetcapacityScaler;
  1012. Property description : String Index 16 Read Fdescription Write Setdescription;
  1013. Property group : String Index 24 Read Fgroup Write Setgroup;
  1014. Property maxRate : integer Index 32 Read FmaxRate Write SetmaxRate;
  1015. Property maxRatePerInstance : integer Index 40 Read FmaxRatePerInstance Write SetmaxRatePerInstance;
  1016. Property maxUtilization : integer Index 48 Read FmaxUtilization Write SetmaxUtilization;
  1017. end;
  1018. TBackendClass = Class of TBackend;
  1019. { --------------------------------------------------------------------
  1020. TBackendService
  1021. --------------------------------------------------------------------}
  1022. TBackendService = Class(TGoogleBaseObject)
  1023. Private
  1024. Fbackends : TBackendServiceTypebackendsArray;
  1025. FcreationTimestamp : String;
  1026. Fdescription : String;
  1027. Ffingerprint : String;
  1028. FhealthChecks : TStringArray;
  1029. Fid : String;
  1030. Fkind : String;
  1031. Fname : String;
  1032. Fport : integer;
  1033. FportName : String;
  1034. Fprotocol : String;
  1035. Fregion : String;
  1036. FselfLink : String;
  1037. FtimeoutSec : integer;
  1038. Protected
  1039. //Property setters
  1040. Procedure Setbackends(AIndex : Integer; const AValue : TBackendServiceTypebackendsArray); virtual;
  1041. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  1042. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1043. Procedure Setfingerprint(AIndex : Integer; const AValue : String); virtual;
  1044. Procedure SethealthChecks(AIndex : Integer; const AValue : TStringArray); virtual;
  1045. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1046. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1047. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1048. Procedure Setport(AIndex : Integer; const AValue : integer); virtual;
  1049. Procedure SetportName(AIndex : Integer; const AValue : String); virtual;
  1050. Procedure Setprotocol(AIndex : Integer; const AValue : String); virtual;
  1051. Procedure Setregion(AIndex : Integer; const AValue : String); virtual;
  1052. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1053. Procedure SettimeoutSec(AIndex : Integer; const AValue : integer); virtual;
  1054. //2.6.4. bug workaround
  1055. {$IFDEF VER2_6}
  1056. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1057. {$ENDIF VER2_6}
  1058. Public
  1059. Published
  1060. Property backends : TBackendServiceTypebackendsArray Index 0 Read Fbackends Write Setbackends;
  1061. Property creationTimestamp : String Index 8 Read FcreationTimestamp Write SetcreationTimestamp;
  1062. Property description : String Index 16 Read Fdescription Write Setdescription;
  1063. Property fingerprint : String Index 24 Read Ffingerprint Write Setfingerprint;
  1064. Property healthChecks : TStringArray Index 32 Read FhealthChecks Write SethealthChecks;
  1065. Property id : String Index 40 Read Fid Write Setid;
  1066. Property kind : String Index 48 Read Fkind Write Setkind;
  1067. Property name : String Index 56 Read Fname Write Setname;
  1068. Property port : integer Index 64 Read Fport Write Setport;
  1069. Property portName : String Index 72 Read FportName Write SetportName;
  1070. Property protocol : String Index 80 Read Fprotocol Write Setprotocol;
  1071. Property region : String Index 88 Read Fregion Write Setregion;
  1072. Property selfLink : String Index 96 Read FselfLink Write SetselfLink;
  1073. Property timeoutSec : integer Index 104 Read FtimeoutSec Write SettimeoutSec;
  1074. end;
  1075. TBackendServiceClass = Class of TBackendService;
  1076. { --------------------------------------------------------------------
  1077. TBackendServiceGroupHealth
  1078. --------------------------------------------------------------------}
  1079. TBackendServiceGroupHealth = Class(TGoogleBaseObject)
  1080. Private
  1081. FhealthStatus : TBackendServiceGroupHealthTypehealthStatusArray;
  1082. Fkind : String;
  1083. Protected
  1084. //Property setters
  1085. Procedure SethealthStatus(AIndex : Integer; const AValue : TBackendServiceGroupHealthTypehealthStatusArray); virtual;
  1086. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1087. //2.6.4. bug workaround
  1088. {$IFDEF VER2_6}
  1089. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1090. {$ENDIF VER2_6}
  1091. Public
  1092. Published
  1093. Property healthStatus : TBackendServiceGroupHealthTypehealthStatusArray Index 0 Read FhealthStatus Write SethealthStatus;
  1094. Property kind : String Index 8 Read Fkind Write Setkind;
  1095. end;
  1096. TBackendServiceGroupHealthClass = Class of TBackendServiceGroupHealth;
  1097. { --------------------------------------------------------------------
  1098. TBackendServiceList
  1099. --------------------------------------------------------------------}
  1100. TBackendServiceList = Class(TGoogleBaseObject)
  1101. Private
  1102. Fid : String;
  1103. Fitems : TBackendServiceListTypeitemsArray;
  1104. Fkind : String;
  1105. FnextPageToken : String;
  1106. FselfLink : String;
  1107. Protected
  1108. //Property setters
  1109. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1110. Procedure Setitems(AIndex : Integer; const AValue : TBackendServiceListTypeitemsArray); virtual;
  1111. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1112. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1113. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1114. //2.6.4. bug workaround
  1115. {$IFDEF VER2_6}
  1116. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1117. {$ENDIF VER2_6}
  1118. Public
  1119. Published
  1120. Property id : String Index 0 Read Fid Write Setid;
  1121. Property items : TBackendServiceListTypeitemsArray Index 8 Read Fitems Write Setitems;
  1122. Property kind : String Index 16 Read Fkind Write Setkind;
  1123. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  1124. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  1125. end;
  1126. TBackendServiceListClass = Class of TBackendServiceList;
  1127. { --------------------------------------------------------------------
  1128. TDeprecationStatus
  1129. --------------------------------------------------------------------}
  1130. TDeprecationStatus = Class(TGoogleBaseObject)
  1131. Private
  1132. Fdeleted : String;
  1133. Fdeprecated : String;
  1134. Fobsolete : String;
  1135. Freplacement : String;
  1136. Fstate : String;
  1137. Protected
  1138. //Property setters
  1139. Procedure Setdeleted(AIndex : Integer; const AValue : String); virtual;
  1140. Procedure Setdeprecated(AIndex : Integer; const AValue : String); virtual;
  1141. Procedure Setobsolete(AIndex : Integer; const AValue : String); virtual;
  1142. Procedure Setreplacement(AIndex : Integer; const AValue : String); virtual;
  1143. Procedure Setstate(AIndex : Integer; const AValue : String); virtual;
  1144. Public
  1145. Published
  1146. Property deleted : String Index 0 Read Fdeleted Write Setdeleted;
  1147. Property deprecated : String Index 8 Read Fdeprecated Write Setdeprecated;
  1148. Property obsolete : String Index 16 Read Fobsolete Write Setobsolete;
  1149. Property replacement : String Index 24 Read Freplacement Write Setreplacement;
  1150. Property state : String Index 32 Read Fstate Write Setstate;
  1151. end;
  1152. TDeprecationStatusClass = Class of TDeprecationStatus;
  1153. { --------------------------------------------------------------------
  1154. TDisk
  1155. --------------------------------------------------------------------}
  1156. TDisk = Class(TGoogleBaseObject)
  1157. Private
  1158. FcreationTimestamp : String;
  1159. Fdescription : String;
  1160. Fid : String;
  1161. Fkind : String;
  1162. FlastAttachTimestamp : String;
  1163. FlastDetachTimestamp : String;
  1164. Flicenses : TStringArray;
  1165. Fname : String;
  1166. Foptions : String;
  1167. FselfLink : String;
  1168. FsizeGb : String;
  1169. FsourceImage : String;
  1170. FsourceImageId : String;
  1171. FsourceSnapshot : String;
  1172. FsourceSnapshotId : String;
  1173. Fstatus : String;
  1174. F_type : String;
  1175. Fusers : TStringArray;
  1176. Fzone : String;
  1177. Protected
  1178. Class Function ExportPropertyName(Const AName : String) : string; override;
  1179. //Property setters
  1180. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  1181. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1182. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1183. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1184. Procedure SetlastAttachTimestamp(AIndex : Integer; const AValue : String); virtual;
  1185. Procedure SetlastDetachTimestamp(AIndex : Integer; const AValue : String); virtual;
  1186. Procedure Setlicenses(AIndex : Integer; const AValue : TStringArray); virtual;
  1187. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1188. Procedure Setoptions(AIndex : Integer; const AValue : String); virtual;
  1189. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1190. Procedure SetsizeGb(AIndex : Integer; const AValue : String); virtual;
  1191. Procedure SetsourceImage(AIndex : Integer; const AValue : String); virtual;
  1192. Procedure SetsourceImageId(AIndex : Integer; const AValue : String); virtual;
  1193. Procedure SetsourceSnapshot(AIndex : Integer; const AValue : String); virtual;
  1194. Procedure SetsourceSnapshotId(AIndex : Integer; const AValue : String); virtual;
  1195. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  1196. Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
  1197. Procedure Setusers(AIndex : Integer; const AValue : TStringArray); virtual;
  1198. Procedure Setzone(AIndex : Integer; const AValue : String); virtual;
  1199. //2.6.4. bug workaround
  1200. {$IFDEF VER2_6}
  1201. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1202. {$ENDIF VER2_6}
  1203. Public
  1204. Published
  1205. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  1206. Property description : String Index 8 Read Fdescription Write Setdescription;
  1207. Property id : String Index 16 Read Fid Write Setid;
  1208. Property kind : String Index 24 Read Fkind Write Setkind;
  1209. Property lastAttachTimestamp : String Index 32 Read FlastAttachTimestamp Write SetlastAttachTimestamp;
  1210. Property lastDetachTimestamp : String Index 40 Read FlastDetachTimestamp Write SetlastDetachTimestamp;
  1211. Property licenses : TStringArray Index 48 Read Flicenses Write Setlicenses;
  1212. Property name : String Index 56 Read Fname Write Setname;
  1213. Property options : String Index 64 Read Foptions Write Setoptions;
  1214. Property selfLink : String Index 72 Read FselfLink Write SetselfLink;
  1215. Property sizeGb : String Index 80 Read FsizeGb Write SetsizeGb;
  1216. Property sourceImage : String Index 88 Read FsourceImage Write SetsourceImage;
  1217. Property sourceImageId : String Index 96 Read FsourceImageId Write SetsourceImageId;
  1218. Property sourceSnapshot : String Index 104 Read FsourceSnapshot Write SetsourceSnapshot;
  1219. Property sourceSnapshotId : String Index 112 Read FsourceSnapshotId Write SetsourceSnapshotId;
  1220. Property status : String Index 120 Read Fstatus Write Setstatus;
  1221. Property _type : String Index 128 Read F_type Write Set_type;
  1222. Property users : TStringArray Index 136 Read Fusers Write Setusers;
  1223. Property zone : String Index 144 Read Fzone Write Setzone;
  1224. end;
  1225. TDiskClass = Class of TDisk;
  1226. { --------------------------------------------------------------------
  1227. TDiskAggregatedListTypeitems
  1228. --------------------------------------------------------------------}
  1229. TDiskAggregatedListTypeitems = Class(TGoogleBaseObject)
  1230. Private
  1231. Protected
  1232. //Property setters
  1233. Public
  1234. Class Function AllowAdditionalProperties : Boolean; override;
  1235. Published
  1236. end;
  1237. TDiskAggregatedListTypeitemsClass = Class of TDiskAggregatedListTypeitems;
  1238. { --------------------------------------------------------------------
  1239. TDiskAggregatedList
  1240. --------------------------------------------------------------------}
  1241. TDiskAggregatedList = Class(TGoogleBaseObject)
  1242. Private
  1243. Fid : String;
  1244. Fitems : TDiskAggregatedListTypeitems;
  1245. Fkind : String;
  1246. FnextPageToken : String;
  1247. FselfLink : String;
  1248. Protected
  1249. //Property setters
  1250. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1251. Procedure Setitems(AIndex : Integer; const AValue : TDiskAggregatedListTypeitems); virtual;
  1252. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1253. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1254. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1255. Public
  1256. Published
  1257. Property id : String Index 0 Read Fid Write Setid;
  1258. Property items : TDiskAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  1259. Property kind : String Index 16 Read Fkind Write Setkind;
  1260. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  1261. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  1262. end;
  1263. TDiskAggregatedListClass = Class of TDiskAggregatedList;
  1264. { --------------------------------------------------------------------
  1265. TDiskList
  1266. --------------------------------------------------------------------}
  1267. TDiskList = Class(TGoogleBaseObject)
  1268. Private
  1269. Fid : String;
  1270. Fitems : TDiskListTypeitemsArray;
  1271. Fkind : String;
  1272. FnextPageToken : String;
  1273. FselfLink : String;
  1274. Protected
  1275. //Property setters
  1276. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1277. Procedure Setitems(AIndex : Integer; const AValue : TDiskListTypeitemsArray); virtual;
  1278. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1279. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1280. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1281. //2.6.4. bug workaround
  1282. {$IFDEF VER2_6}
  1283. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1284. {$ENDIF VER2_6}
  1285. Public
  1286. Published
  1287. Property id : String Index 0 Read Fid Write Setid;
  1288. Property items : TDiskListTypeitemsArray Index 8 Read Fitems Write Setitems;
  1289. Property kind : String Index 16 Read Fkind Write Setkind;
  1290. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  1291. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  1292. end;
  1293. TDiskListClass = Class of TDiskList;
  1294. { --------------------------------------------------------------------
  1295. TDiskMoveRequest
  1296. --------------------------------------------------------------------}
  1297. TDiskMoveRequest = Class(TGoogleBaseObject)
  1298. Private
  1299. FdestinationZone : String;
  1300. FtargetDisk : String;
  1301. Protected
  1302. //Property setters
  1303. Procedure SetdestinationZone(AIndex : Integer; const AValue : String); virtual;
  1304. Procedure SettargetDisk(AIndex : Integer; const AValue : String); virtual;
  1305. Public
  1306. Published
  1307. Property destinationZone : String Index 0 Read FdestinationZone Write SetdestinationZone;
  1308. Property targetDisk : String Index 8 Read FtargetDisk Write SettargetDisk;
  1309. end;
  1310. TDiskMoveRequestClass = Class of TDiskMoveRequest;
  1311. { --------------------------------------------------------------------
  1312. TDiskType
  1313. --------------------------------------------------------------------}
  1314. TDiskType = Class(TGoogleBaseObject)
  1315. Private
  1316. FcreationTimestamp : String;
  1317. FdefaultDiskSizeGb : String;
  1318. Fdeprecated : TDeprecationStatus;
  1319. Fdescription : String;
  1320. Fid : String;
  1321. Fkind : String;
  1322. Fname : String;
  1323. FselfLink : String;
  1324. FvalidDiskSize : String;
  1325. Fzone : String;
  1326. Protected
  1327. //Property setters
  1328. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  1329. Procedure SetdefaultDiskSizeGb(AIndex : Integer; const AValue : String); virtual;
  1330. Procedure Setdeprecated(AIndex : Integer; const AValue : TDeprecationStatus); virtual;
  1331. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1332. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1333. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1334. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1335. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1336. Procedure SetvalidDiskSize(AIndex : Integer; const AValue : String); virtual;
  1337. Procedure Setzone(AIndex : Integer; const AValue : String); virtual;
  1338. Public
  1339. Published
  1340. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  1341. Property defaultDiskSizeGb : String Index 8 Read FdefaultDiskSizeGb Write SetdefaultDiskSizeGb;
  1342. Property deprecated : TDeprecationStatus Index 16 Read Fdeprecated Write Setdeprecated;
  1343. Property description : String Index 24 Read Fdescription Write Setdescription;
  1344. Property id : String Index 32 Read Fid Write Setid;
  1345. Property kind : String Index 40 Read Fkind Write Setkind;
  1346. Property name : String Index 48 Read Fname Write Setname;
  1347. Property selfLink : String Index 56 Read FselfLink Write SetselfLink;
  1348. Property validDiskSize : String Index 64 Read FvalidDiskSize Write SetvalidDiskSize;
  1349. Property zone : String Index 72 Read Fzone Write Setzone;
  1350. end;
  1351. TDiskTypeClass = Class of TDiskType;
  1352. { --------------------------------------------------------------------
  1353. TDiskTypeAggregatedListTypeitems
  1354. --------------------------------------------------------------------}
  1355. TDiskTypeAggregatedListTypeitems = Class(TGoogleBaseObject)
  1356. Private
  1357. Protected
  1358. //Property setters
  1359. Public
  1360. Class Function AllowAdditionalProperties : Boolean; override;
  1361. Published
  1362. end;
  1363. TDiskTypeAggregatedListTypeitemsClass = Class of TDiskTypeAggregatedListTypeitems;
  1364. { --------------------------------------------------------------------
  1365. TDiskTypeAggregatedList
  1366. --------------------------------------------------------------------}
  1367. TDiskTypeAggregatedList = Class(TGoogleBaseObject)
  1368. Private
  1369. Fid : String;
  1370. Fitems : TDiskTypeAggregatedListTypeitems;
  1371. Fkind : String;
  1372. FnextPageToken : String;
  1373. FselfLink : String;
  1374. Protected
  1375. //Property setters
  1376. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1377. Procedure Setitems(AIndex : Integer; const AValue : TDiskTypeAggregatedListTypeitems); virtual;
  1378. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1379. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1380. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1381. Public
  1382. Published
  1383. Property id : String Index 0 Read Fid Write Setid;
  1384. Property items : TDiskTypeAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  1385. Property kind : String Index 16 Read Fkind Write Setkind;
  1386. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  1387. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  1388. end;
  1389. TDiskTypeAggregatedListClass = Class of TDiskTypeAggregatedList;
  1390. { --------------------------------------------------------------------
  1391. TDiskTypeList
  1392. --------------------------------------------------------------------}
  1393. TDiskTypeList = Class(TGoogleBaseObject)
  1394. Private
  1395. Fid : String;
  1396. Fitems : TDiskTypeListTypeitemsArray;
  1397. Fkind : String;
  1398. FnextPageToken : String;
  1399. FselfLink : String;
  1400. Protected
  1401. //Property setters
  1402. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1403. Procedure Setitems(AIndex : Integer; const AValue : TDiskTypeListTypeitemsArray); virtual;
  1404. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1405. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1406. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1407. //2.6.4. bug workaround
  1408. {$IFDEF VER2_6}
  1409. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1410. {$ENDIF VER2_6}
  1411. Public
  1412. Published
  1413. Property id : String Index 0 Read Fid Write Setid;
  1414. Property items : TDiskTypeListTypeitemsArray Index 8 Read Fitems Write Setitems;
  1415. Property kind : String Index 16 Read Fkind Write Setkind;
  1416. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  1417. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  1418. end;
  1419. TDiskTypeListClass = Class of TDiskTypeList;
  1420. { --------------------------------------------------------------------
  1421. TDiskTypesScopedListTypewarningTypedataItem
  1422. --------------------------------------------------------------------}
  1423. TDiskTypesScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  1424. Private
  1425. Fkey : String;
  1426. Fvalue : String;
  1427. Protected
  1428. //Property setters
  1429. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  1430. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  1431. Public
  1432. Published
  1433. Property key : String Index 0 Read Fkey Write Setkey;
  1434. Property value : String Index 8 Read Fvalue Write Setvalue;
  1435. end;
  1436. TDiskTypesScopedListTypewarningTypedataItemClass = Class of TDiskTypesScopedListTypewarningTypedataItem;
  1437. { --------------------------------------------------------------------
  1438. TDiskTypesScopedListTypewarning
  1439. --------------------------------------------------------------------}
  1440. TDiskTypesScopedListTypewarning = Class(TGoogleBaseObject)
  1441. Private
  1442. Fcode : String;
  1443. Fdata : TDiskTypesScopedListTypewarningTypedataArray;
  1444. Fmessage : String;
  1445. Protected
  1446. //Property setters
  1447. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  1448. Procedure Setdata(AIndex : Integer; const AValue : TDiskTypesScopedListTypewarningTypedataArray); virtual;
  1449. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  1450. //2.6.4. bug workaround
  1451. {$IFDEF VER2_6}
  1452. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1453. {$ENDIF VER2_6}
  1454. Public
  1455. Published
  1456. Property code : String Index 0 Read Fcode Write Setcode;
  1457. Property data : TDiskTypesScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  1458. Property message : String Index 16 Read Fmessage Write Setmessage;
  1459. end;
  1460. TDiskTypesScopedListTypewarningClass = Class of TDiskTypesScopedListTypewarning;
  1461. { --------------------------------------------------------------------
  1462. TDiskTypesScopedList
  1463. --------------------------------------------------------------------}
  1464. TDiskTypesScopedList = Class(TGoogleBaseObject)
  1465. Private
  1466. FdiskTypes : TDiskTypesScopedListTypediskTypesArray;
  1467. Fwarning : TDiskTypesScopedListTypewarning;
  1468. Protected
  1469. //Property setters
  1470. Procedure SetdiskTypes(AIndex : Integer; const AValue : TDiskTypesScopedListTypediskTypesArray); virtual;
  1471. Procedure Setwarning(AIndex : Integer; const AValue : TDiskTypesScopedListTypewarning); virtual;
  1472. //2.6.4. bug workaround
  1473. {$IFDEF VER2_6}
  1474. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1475. {$ENDIF VER2_6}
  1476. Public
  1477. Published
  1478. Property diskTypes : TDiskTypesScopedListTypediskTypesArray Index 0 Read FdiskTypes Write SetdiskTypes;
  1479. Property warning : TDiskTypesScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  1480. end;
  1481. TDiskTypesScopedListClass = Class of TDiskTypesScopedList;
  1482. { --------------------------------------------------------------------
  1483. TDisksResizeRequest
  1484. --------------------------------------------------------------------}
  1485. TDisksResizeRequest = Class(TGoogleBaseObject)
  1486. Private
  1487. FsizeGb : String;
  1488. Protected
  1489. //Property setters
  1490. Procedure SetsizeGb(AIndex : Integer; const AValue : String); virtual;
  1491. Public
  1492. Published
  1493. Property sizeGb : String Index 0 Read FsizeGb Write SetsizeGb;
  1494. end;
  1495. TDisksResizeRequestClass = Class of TDisksResizeRequest;
  1496. { --------------------------------------------------------------------
  1497. TDisksScopedListTypewarningTypedataItem
  1498. --------------------------------------------------------------------}
  1499. TDisksScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  1500. Private
  1501. Fkey : String;
  1502. Fvalue : String;
  1503. Protected
  1504. //Property setters
  1505. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  1506. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  1507. Public
  1508. Published
  1509. Property key : String Index 0 Read Fkey Write Setkey;
  1510. Property value : String Index 8 Read Fvalue Write Setvalue;
  1511. end;
  1512. TDisksScopedListTypewarningTypedataItemClass = Class of TDisksScopedListTypewarningTypedataItem;
  1513. { --------------------------------------------------------------------
  1514. TDisksScopedListTypewarning
  1515. --------------------------------------------------------------------}
  1516. TDisksScopedListTypewarning = Class(TGoogleBaseObject)
  1517. Private
  1518. Fcode : String;
  1519. Fdata : TDisksScopedListTypewarningTypedataArray;
  1520. Fmessage : String;
  1521. Protected
  1522. //Property setters
  1523. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  1524. Procedure Setdata(AIndex : Integer; const AValue : TDisksScopedListTypewarningTypedataArray); virtual;
  1525. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  1526. //2.6.4. bug workaround
  1527. {$IFDEF VER2_6}
  1528. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1529. {$ENDIF VER2_6}
  1530. Public
  1531. Published
  1532. Property code : String Index 0 Read Fcode Write Setcode;
  1533. Property data : TDisksScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  1534. Property message : String Index 16 Read Fmessage Write Setmessage;
  1535. end;
  1536. TDisksScopedListTypewarningClass = Class of TDisksScopedListTypewarning;
  1537. { --------------------------------------------------------------------
  1538. TDisksScopedList
  1539. --------------------------------------------------------------------}
  1540. TDisksScopedList = Class(TGoogleBaseObject)
  1541. Private
  1542. Fdisks : TDisksScopedListTypedisksArray;
  1543. Fwarning : TDisksScopedListTypewarning;
  1544. Protected
  1545. //Property setters
  1546. Procedure Setdisks(AIndex : Integer; const AValue : TDisksScopedListTypedisksArray); virtual;
  1547. Procedure Setwarning(AIndex : Integer; const AValue : TDisksScopedListTypewarning); virtual;
  1548. //2.6.4. bug workaround
  1549. {$IFDEF VER2_6}
  1550. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1551. {$ENDIF VER2_6}
  1552. Public
  1553. Published
  1554. Property disks : TDisksScopedListTypedisksArray Index 0 Read Fdisks Write Setdisks;
  1555. Property warning : TDisksScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  1556. end;
  1557. TDisksScopedListClass = Class of TDisksScopedList;
  1558. { --------------------------------------------------------------------
  1559. TFirewallTypeallowedItem
  1560. --------------------------------------------------------------------}
  1561. TFirewallTypeallowedItem = Class(TGoogleBaseObject)
  1562. Private
  1563. FIPProtocol : String;
  1564. Fports : TStringArray;
  1565. Protected
  1566. //Property setters
  1567. Procedure SetIPProtocol(AIndex : Integer; const AValue : String); virtual;
  1568. Procedure Setports(AIndex : Integer; const AValue : TStringArray); virtual;
  1569. //2.6.4. bug workaround
  1570. {$IFDEF VER2_6}
  1571. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1572. {$ENDIF VER2_6}
  1573. Public
  1574. Published
  1575. Property IPProtocol : String Index 0 Read FIPProtocol Write SetIPProtocol;
  1576. Property ports : TStringArray Index 8 Read Fports Write Setports;
  1577. end;
  1578. TFirewallTypeallowedItemClass = Class of TFirewallTypeallowedItem;
  1579. { --------------------------------------------------------------------
  1580. TFirewall
  1581. --------------------------------------------------------------------}
  1582. TFirewall = Class(TGoogleBaseObject)
  1583. Private
  1584. Fallowed : TFirewallTypeallowedArray;
  1585. FcreationTimestamp : String;
  1586. Fdescription : String;
  1587. Fid : String;
  1588. Fkind : String;
  1589. Fname : String;
  1590. Fnetwork : String;
  1591. FselfLink : String;
  1592. FsourceRanges : TStringArray;
  1593. FsourceTags : TStringArray;
  1594. FtargetTags : TStringArray;
  1595. Protected
  1596. //Property setters
  1597. Procedure Setallowed(AIndex : Integer; const AValue : TFirewallTypeallowedArray); virtual;
  1598. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  1599. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1600. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1601. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1602. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1603. Procedure Setnetwork(AIndex : Integer; const AValue : String); virtual;
  1604. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1605. Procedure SetsourceRanges(AIndex : Integer; const AValue : TStringArray); virtual;
  1606. Procedure SetsourceTags(AIndex : Integer; const AValue : TStringArray); virtual;
  1607. Procedure SettargetTags(AIndex : Integer; const AValue : TStringArray); virtual;
  1608. //2.6.4. bug workaround
  1609. {$IFDEF VER2_6}
  1610. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1611. {$ENDIF VER2_6}
  1612. Public
  1613. Published
  1614. Property allowed : TFirewallTypeallowedArray Index 0 Read Fallowed Write Setallowed;
  1615. Property creationTimestamp : String Index 8 Read FcreationTimestamp Write SetcreationTimestamp;
  1616. Property description : String Index 16 Read Fdescription Write Setdescription;
  1617. Property id : String Index 24 Read Fid Write Setid;
  1618. Property kind : String Index 32 Read Fkind Write Setkind;
  1619. Property name : String Index 40 Read Fname Write Setname;
  1620. Property network : String Index 48 Read Fnetwork Write Setnetwork;
  1621. Property selfLink : String Index 56 Read FselfLink Write SetselfLink;
  1622. Property sourceRanges : TStringArray Index 64 Read FsourceRanges Write SetsourceRanges;
  1623. Property sourceTags : TStringArray Index 72 Read FsourceTags Write SetsourceTags;
  1624. Property targetTags : TStringArray Index 80 Read FtargetTags Write SettargetTags;
  1625. end;
  1626. TFirewallClass = Class of TFirewall;
  1627. { --------------------------------------------------------------------
  1628. TFirewallList
  1629. --------------------------------------------------------------------}
  1630. TFirewallList = Class(TGoogleBaseObject)
  1631. Private
  1632. Fid : String;
  1633. Fitems : TFirewallListTypeitemsArray;
  1634. Fkind : String;
  1635. FnextPageToken : String;
  1636. FselfLink : String;
  1637. Protected
  1638. //Property setters
  1639. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1640. Procedure Setitems(AIndex : Integer; const AValue : TFirewallListTypeitemsArray); virtual;
  1641. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1642. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1643. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1644. //2.6.4. bug workaround
  1645. {$IFDEF VER2_6}
  1646. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1647. {$ENDIF VER2_6}
  1648. Public
  1649. Published
  1650. Property id : String Index 0 Read Fid Write Setid;
  1651. Property items : TFirewallListTypeitemsArray Index 8 Read Fitems Write Setitems;
  1652. Property kind : String Index 16 Read Fkind Write Setkind;
  1653. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  1654. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  1655. end;
  1656. TFirewallListClass = Class of TFirewallList;
  1657. { --------------------------------------------------------------------
  1658. TForwardingRule
  1659. --------------------------------------------------------------------}
  1660. TForwardingRule = Class(TGoogleBaseObject)
  1661. Private
  1662. FIPAddress : String;
  1663. FIPProtocol : String;
  1664. FcreationTimestamp : String;
  1665. Fdescription : String;
  1666. Fid : String;
  1667. Fkind : String;
  1668. Fname : String;
  1669. FportRange : String;
  1670. Fregion : String;
  1671. FselfLink : String;
  1672. Ftarget : String;
  1673. Protected
  1674. //Property setters
  1675. Procedure SetIPAddress(AIndex : Integer; const AValue : String); virtual;
  1676. Procedure SetIPProtocol(AIndex : Integer; const AValue : String); virtual;
  1677. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  1678. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1679. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1680. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1681. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1682. Procedure SetportRange(AIndex : Integer; const AValue : String); virtual;
  1683. Procedure Setregion(AIndex : Integer; const AValue : String); virtual;
  1684. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1685. Procedure Settarget(AIndex : Integer; const AValue : String); virtual;
  1686. Public
  1687. Published
  1688. Property IPAddress : String Index 0 Read FIPAddress Write SetIPAddress;
  1689. Property IPProtocol : String Index 8 Read FIPProtocol Write SetIPProtocol;
  1690. Property creationTimestamp : String Index 16 Read FcreationTimestamp Write SetcreationTimestamp;
  1691. Property description : String Index 24 Read Fdescription Write Setdescription;
  1692. Property id : String Index 32 Read Fid Write Setid;
  1693. Property kind : String Index 40 Read Fkind Write Setkind;
  1694. Property name : String Index 48 Read Fname Write Setname;
  1695. Property portRange : String Index 56 Read FportRange Write SetportRange;
  1696. Property region : String Index 64 Read Fregion Write Setregion;
  1697. Property selfLink : String Index 72 Read FselfLink Write SetselfLink;
  1698. Property target : String Index 80 Read Ftarget Write Settarget;
  1699. end;
  1700. TForwardingRuleClass = Class of TForwardingRule;
  1701. { --------------------------------------------------------------------
  1702. TForwardingRuleAggregatedListTypeitems
  1703. --------------------------------------------------------------------}
  1704. TForwardingRuleAggregatedListTypeitems = Class(TGoogleBaseObject)
  1705. Private
  1706. Protected
  1707. //Property setters
  1708. Public
  1709. Class Function AllowAdditionalProperties : Boolean; override;
  1710. Published
  1711. end;
  1712. TForwardingRuleAggregatedListTypeitemsClass = Class of TForwardingRuleAggregatedListTypeitems;
  1713. { --------------------------------------------------------------------
  1714. TForwardingRuleAggregatedList
  1715. --------------------------------------------------------------------}
  1716. TForwardingRuleAggregatedList = Class(TGoogleBaseObject)
  1717. Private
  1718. Fid : String;
  1719. Fitems : TForwardingRuleAggregatedListTypeitems;
  1720. Fkind : String;
  1721. FnextPageToken : String;
  1722. FselfLink : String;
  1723. Protected
  1724. //Property setters
  1725. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1726. Procedure Setitems(AIndex : Integer; const AValue : TForwardingRuleAggregatedListTypeitems); virtual;
  1727. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1728. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1729. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1730. Public
  1731. Published
  1732. Property id : String Index 0 Read Fid Write Setid;
  1733. Property items : TForwardingRuleAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  1734. Property kind : String Index 16 Read Fkind Write Setkind;
  1735. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  1736. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  1737. end;
  1738. TForwardingRuleAggregatedListClass = Class of TForwardingRuleAggregatedList;
  1739. { --------------------------------------------------------------------
  1740. TForwardingRuleList
  1741. --------------------------------------------------------------------}
  1742. TForwardingRuleList = Class(TGoogleBaseObject)
  1743. Private
  1744. Fid : String;
  1745. Fitems : TForwardingRuleListTypeitemsArray;
  1746. Fkind : String;
  1747. FnextPageToken : String;
  1748. FselfLink : String;
  1749. Protected
  1750. //Property setters
  1751. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1752. Procedure Setitems(AIndex : Integer; const AValue : TForwardingRuleListTypeitemsArray); virtual;
  1753. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1754. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1755. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1756. //2.6.4. bug workaround
  1757. {$IFDEF VER2_6}
  1758. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1759. {$ENDIF VER2_6}
  1760. Public
  1761. Published
  1762. Property id : String Index 0 Read Fid Write Setid;
  1763. Property items : TForwardingRuleListTypeitemsArray Index 8 Read Fitems Write Setitems;
  1764. Property kind : String Index 16 Read Fkind Write Setkind;
  1765. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  1766. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  1767. end;
  1768. TForwardingRuleListClass = Class of TForwardingRuleList;
  1769. { --------------------------------------------------------------------
  1770. TForwardingRulesScopedListTypewarningTypedataItem
  1771. --------------------------------------------------------------------}
  1772. TForwardingRulesScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  1773. Private
  1774. Fkey : String;
  1775. Fvalue : String;
  1776. Protected
  1777. //Property setters
  1778. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  1779. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  1780. Public
  1781. Published
  1782. Property key : String Index 0 Read Fkey Write Setkey;
  1783. Property value : String Index 8 Read Fvalue Write Setvalue;
  1784. end;
  1785. TForwardingRulesScopedListTypewarningTypedataItemClass = Class of TForwardingRulesScopedListTypewarningTypedataItem;
  1786. { --------------------------------------------------------------------
  1787. TForwardingRulesScopedListTypewarning
  1788. --------------------------------------------------------------------}
  1789. TForwardingRulesScopedListTypewarning = Class(TGoogleBaseObject)
  1790. Private
  1791. Fcode : String;
  1792. Fdata : TForwardingRulesScopedListTypewarningTypedataArray;
  1793. Fmessage : String;
  1794. Protected
  1795. //Property setters
  1796. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  1797. Procedure Setdata(AIndex : Integer; const AValue : TForwardingRulesScopedListTypewarningTypedataArray); virtual;
  1798. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  1799. //2.6.4. bug workaround
  1800. {$IFDEF VER2_6}
  1801. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1802. {$ENDIF VER2_6}
  1803. Public
  1804. Published
  1805. Property code : String Index 0 Read Fcode Write Setcode;
  1806. Property data : TForwardingRulesScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  1807. Property message : String Index 16 Read Fmessage Write Setmessage;
  1808. end;
  1809. TForwardingRulesScopedListTypewarningClass = Class of TForwardingRulesScopedListTypewarning;
  1810. { --------------------------------------------------------------------
  1811. TForwardingRulesScopedList
  1812. --------------------------------------------------------------------}
  1813. TForwardingRulesScopedList = Class(TGoogleBaseObject)
  1814. Private
  1815. FforwardingRules : TForwardingRulesScopedListTypeforwardingRulesArray;
  1816. Fwarning : TForwardingRulesScopedListTypewarning;
  1817. Protected
  1818. //Property setters
  1819. Procedure SetforwardingRules(AIndex : Integer; const AValue : TForwardingRulesScopedListTypeforwardingRulesArray); virtual;
  1820. Procedure Setwarning(AIndex : Integer; const AValue : TForwardingRulesScopedListTypewarning); virtual;
  1821. //2.6.4. bug workaround
  1822. {$IFDEF VER2_6}
  1823. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1824. {$ENDIF VER2_6}
  1825. Public
  1826. Published
  1827. Property forwardingRules : TForwardingRulesScopedListTypeforwardingRulesArray Index 0 Read FforwardingRules Write SetforwardingRules;
  1828. Property warning : TForwardingRulesScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  1829. end;
  1830. TForwardingRulesScopedListClass = Class of TForwardingRulesScopedList;
  1831. { --------------------------------------------------------------------
  1832. THealthCheckReference
  1833. --------------------------------------------------------------------}
  1834. THealthCheckReference = Class(TGoogleBaseObject)
  1835. Private
  1836. FhealthCheck : String;
  1837. Protected
  1838. //Property setters
  1839. Procedure SethealthCheck(AIndex : Integer; const AValue : String); virtual;
  1840. Public
  1841. Published
  1842. Property healthCheck : String Index 0 Read FhealthCheck Write SethealthCheck;
  1843. end;
  1844. THealthCheckReferenceClass = Class of THealthCheckReference;
  1845. { --------------------------------------------------------------------
  1846. THealthStatus
  1847. --------------------------------------------------------------------}
  1848. THealthStatus = Class(TGoogleBaseObject)
  1849. Private
  1850. FhealthState : String;
  1851. Finstance : String;
  1852. FipAddress : String;
  1853. Fport : integer;
  1854. Protected
  1855. //Property setters
  1856. Procedure SethealthState(AIndex : Integer; const AValue : String); virtual;
  1857. Procedure Setinstance(AIndex : Integer; const AValue : String); virtual;
  1858. Procedure SetipAddress(AIndex : Integer; const AValue : String); virtual;
  1859. Procedure Setport(AIndex : Integer; const AValue : integer); virtual;
  1860. Public
  1861. Published
  1862. Property healthState : String Index 0 Read FhealthState Write SethealthState;
  1863. Property instance : String Index 8 Read Finstance Write Setinstance;
  1864. Property ipAddress : String Index 16 Read FipAddress Write SetipAddress;
  1865. Property port : integer Index 24 Read Fport Write Setport;
  1866. end;
  1867. THealthStatusClass = Class of THealthStatus;
  1868. { --------------------------------------------------------------------
  1869. THostRule
  1870. --------------------------------------------------------------------}
  1871. THostRule = Class(TGoogleBaseObject)
  1872. Private
  1873. Fdescription : String;
  1874. Fhosts : TStringArray;
  1875. FpathMatcher : String;
  1876. Protected
  1877. //Property setters
  1878. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1879. Procedure Sethosts(AIndex : Integer; const AValue : TStringArray); virtual;
  1880. Procedure SetpathMatcher(AIndex : Integer; const AValue : String); virtual;
  1881. //2.6.4. bug workaround
  1882. {$IFDEF VER2_6}
  1883. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1884. {$ENDIF VER2_6}
  1885. Public
  1886. Published
  1887. Property description : String Index 0 Read Fdescription Write Setdescription;
  1888. Property hosts : TStringArray Index 8 Read Fhosts Write Sethosts;
  1889. Property pathMatcher : String Index 16 Read FpathMatcher Write SetpathMatcher;
  1890. end;
  1891. THostRuleClass = Class of THostRule;
  1892. { --------------------------------------------------------------------
  1893. THttpHealthCheck
  1894. --------------------------------------------------------------------}
  1895. THttpHealthCheck = Class(TGoogleBaseObject)
  1896. Private
  1897. FcheckIntervalSec : integer;
  1898. FcreationTimestamp : String;
  1899. Fdescription : String;
  1900. FhealthyThreshold : integer;
  1901. Fhost : String;
  1902. Fid : String;
  1903. Fkind : String;
  1904. Fname : String;
  1905. Fport : integer;
  1906. FrequestPath : String;
  1907. FselfLink : String;
  1908. FtimeoutSec : integer;
  1909. FunhealthyThreshold : integer;
  1910. Protected
  1911. //Property setters
  1912. Procedure SetcheckIntervalSec(AIndex : Integer; const AValue : integer); virtual;
  1913. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  1914. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1915. Procedure SethealthyThreshold(AIndex : Integer; const AValue : integer); virtual;
  1916. Procedure Sethost(AIndex : Integer; const AValue : String); virtual;
  1917. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1918. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1919. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  1920. Procedure Setport(AIndex : Integer; const AValue : integer); virtual;
  1921. Procedure SetrequestPath(AIndex : Integer; const AValue : String); virtual;
  1922. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1923. Procedure SettimeoutSec(AIndex : Integer; const AValue : integer); virtual;
  1924. Procedure SetunhealthyThreshold(AIndex : Integer; const AValue : integer); virtual;
  1925. Public
  1926. Published
  1927. Property checkIntervalSec : integer Index 0 Read FcheckIntervalSec Write SetcheckIntervalSec;
  1928. Property creationTimestamp : String Index 8 Read FcreationTimestamp Write SetcreationTimestamp;
  1929. Property description : String Index 16 Read Fdescription Write Setdescription;
  1930. Property healthyThreshold : integer Index 24 Read FhealthyThreshold Write SethealthyThreshold;
  1931. Property host : String Index 32 Read Fhost Write Sethost;
  1932. Property id : String Index 40 Read Fid Write Setid;
  1933. Property kind : String Index 48 Read Fkind Write Setkind;
  1934. Property name : String Index 56 Read Fname Write Setname;
  1935. Property port : integer Index 64 Read Fport Write Setport;
  1936. Property requestPath : String Index 72 Read FrequestPath Write SetrequestPath;
  1937. Property selfLink : String Index 80 Read FselfLink Write SetselfLink;
  1938. Property timeoutSec : integer Index 88 Read FtimeoutSec Write SettimeoutSec;
  1939. Property unhealthyThreshold : integer Index 96 Read FunhealthyThreshold Write SetunhealthyThreshold;
  1940. end;
  1941. THttpHealthCheckClass = Class of THttpHealthCheck;
  1942. { --------------------------------------------------------------------
  1943. THttpHealthCheckList
  1944. --------------------------------------------------------------------}
  1945. THttpHealthCheckList = Class(TGoogleBaseObject)
  1946. Private
  1947. Fid : String;
  1948. Fitems : THttpHealthCheckListTypeitemsArray;
  1949. Fkind : String;
  1950. FnextPageToken : String;
  1951. FselfLink : String;
  1952. Protected
  1953. //Property setters
  1954. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1955. Procedure Setitems(AIndex : Integer; const AValue : THttpHealthCheckListTypeitemsArray); virtual;
  1956. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1957. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  1958. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  1959. //2.6.4. bug workaround
  1960. {$IFDEF VER2_6}
  1961. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  1962. {$ENDIF VER2_6}
  1963. Public
  1964. Published
  1965. Property id : String Index 0 Read Fid Write Setid;
  1966. Property items : THttpHealthCheckListTypeitemsArray Index 8 Read Fitems Write Setitems;
  1967. Property kind : String Index 16 Read Fkind Write Setkind;
  1968. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  1969. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  1970. end;
  1971. THttpHealthCheckListClass = Class of THttpHealthCheckList;
  1972. { --------------------------------------------------------------------
  1973. THttpsHealthCheck
  1974. --------------------------------------------------------------------}
  1975. THttpsHealthCheck = Class(TGoogleBaseObject)
  1976. Private
  1977. FcheckIntervalSec : integer;
  1978. FcreationTimestamp : String;
  1979. Fdescription : String;
  1980. FhealthyThreshold : integer;
  1981. Fhost : String;
  1982. Fid : String;
  1983. Fkind : String;
  1984. Fname : String;
  1985. Fport : integer;
  1986. FrequestPath : String;
  1987. FselfLink : String;
  1988. FtimeoutSec : integer;
  1989. FunhealthyThreshold : integer;
  1990. Protected
  1991. //Property setters
  1992. Procedure SetcheckIntervalSec(AIndex : Integer; const AValue : integer); virtual;
  1993. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  1994. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  1995. Procedure SethealthyThreshold(AIndex : Integer; const AValue : integer); virtual;
  1996. Procedure Sethost(AIndex : Integer; const AValue : String); virtual;
  1997. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  1998. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  1999. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2000. Procedure Setport(AIndex : Integer; const AValue : integer); virtual;
  2001. Procedure SetrequestPath(AIndex : Integer; const AValue : String); virtual;
  2002. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2003. Procedure SettimeoutSec(AIndex : Integer; const AValue : integer); virtual;
  2004. Procedure SetunhealthyThreshold(AIndex : Integer; const AValue : integer); virtual;
  2005. Public
  2006. Published
  2007. Property checkIntervalSec : integer Index 0 Read FcheckIntervalSec Write SetcheckIntervalSec;
  2008. Property creationTimestamp : String Index 8 Read FcreationTimestamp Write SetcreationTimestamp;
  2009. Property description : String Index 16 Read Fdescription Write Setdescription;
  2010. Property healthyThreshold : integer Index 24 Read FhealthyThreshold Write SethealthyThreshold;
  2011. Property host : String Index 32 Read Fhost Write Sethost;
  2012. Property id : String Index 40 Read Fid Write Setid;
  2013. Property kind : String Index 48 Read Fkind Write Setkind;
  2014. Property name : String Index 56 Read Fname Write Setname;
  2015. Property port : integer Index 64 Read Fport Write Setport;
  2016. Property requestPath : String Index 72 Read FrequestPath Write SetrequestPath;
  2017. Property selfLink : String Index 80 Read FselfLink Write SetselfLink;
  2018. Property timeoutSec : integer Index 88 Read FtimeoutSec Write SettimeoutSec;
  2019. Property unhealthyThreshold : integer Index 96 Read FunhealthyThreshold Write SetunhealthyThreshold;
  2020. end;
  2021. THttpsHealthCheckClass = Class of THttpsHealthCheck;
  2022. { --------------------------------------------------------------------
  2023. THttpsHealthCheckList
  2024. --------------------------------------------------------------------}
  2025. THttpsHealthCheckList = Class(TGoogleBaseObject)
  2026. Private
  2027. Fid : String;
  2028. Fitems : THttpsHealthCheckListTypeitemsArray;
  2029. Fkind : String;
  2030. FnextPageToken : String;
  2031. FselfLink : String;
  2032. Protected
  2033. //Property setters
  2034. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2035. Procedure Setitems(AIndex : Integer; const AValue : THttpsHealthCheckListTypeitemsArray); virtual;
  2036. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2037. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2038. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2039. //2.6.4. bug workaround
  2040. {$IFDEF VER2_6}
  2041. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2042. {$ENDIF VER2_6}
  2043. Public
  2044. Published
  2045. Property id : String Index 0 Read Fid Write Setid;
  2046. Property items : THttpsHealthCheckListTypeitemsArray Index 8 Read Fitems Write Setitems;
  2047. Property kind : String Index 16 Read Fkind Write Setkind;
  2048. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  2049. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  2050. end;
  2051. THttpsHealthCheckListClass = Class of THttpsHealthCheckList;
  2052. { --------------------------------------------------------------------
  2053. TImageTyperawDisk
  2054. --------------------------------------------------------------------}
  2055. TImageTyperawDisk = Class(TGoogleBaseObject)
  2056. Private
  2057. FcontainerType : String;
  2058. Fsha1Checksum : String;
  2059. Fsource : String;
  2060. Protected
  2061. //Property setters
  2062. Procedure SetcontainerType(AIndex : Integer; const AValue : String); virtual;
  2063. Procedure Setsha1Checksum(AIndex : Integer; const AValue : String); virtual;
  2064. Procedure Setsource(AIndex : Integer; const AValue : String); virtual;
  2065. Public
  2066. Published
  2067. Property containerType : String Index 0 Read FcontainerType Write SetcontainerType;
  2068. Property sha1Checksum : String Index 8 Read Fsha1Checksum Write Setsha1Checksum;
  2069. Property source : String Index 16 Read Fsource Write Setsource;
  2070. end;
  2071. TImageTyperawDiskClass = Class of TImageTyperawDisk;
  2072. { --------------------------------------------------------------------
  2073. TImage
  2074. --------------------------------------------------------------------}
  2075. TImage = Class(TGoogleBaseObject)
  2076. Private
  2077. FarchiveSizeBytes : String;
  2078. FcreationTimestamp : String;
  2079. Fdeprecated : TDeprecationStatus;
  2080. Fdescription : String;
  2081. FdiskSizeGb : String;
  2082. Ffamily : String;
  2083. Fid : String;
  2084. Fkind : String;
  2085. Flicenses : TStringArray;
  2086. Fname : String;
  2087. FrawDisk : TImageTyperawDisk;
  2088. FselfLink : String;
  2089. FsourceDisk : String;
  2090. FsourceDiskId : String;
  2091. FsourceType : String;
  2092. Fstatus : String;
  2093. Protected
  2094. //Property setters
  2095. Procedure SetarchiveSizeBytes(AIndex : Integer; const AValue : String); virtual;
  2096. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  2097. Procedure Setdeprecated(AIndex : Integer; const AValue : TDeprecationStatus); virtual;
  2098. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  2099. Procedure SetdiskSizeGb(AIndex : Integer; const AValue : String); virtual;
  2100. Procedure Setfamily(AIndex : Integer; const AValue : String); virtual;
  2101. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2102. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2103. Procedure Setlicenses(AIndex : Integer; const AValue : TStringArray); virtual;
  2104. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2105. Procedure SetrawDisk(AIndex : Integer; const AValue : TImageTyperawDisk); virtual;
  2106. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2107. Procedure SetsourceDisk(AIndex : Integer; const AValue : String); virtual;
  2108. Procedure SetsourceDiskId(AIndex : Integer; const AValue : String); virtual;
  2109. Procedure SetsourceType(AIndex : Integer; const AValue : String); virtual;
  2110. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  2111. //2.6.4. bug workaround
  2112. {$IFDEF VER2_6}
  2113. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2114. {$ENDIF VER2_6}
  2115. Public
  2116. Published
  2117. Property archiveSizeBytes : String Index 0 Read FarchiveSizeBytes Write SetarchiveSizeBytes;
  2118. Property creationTimestamp : String Index 8 Read FcreationTimestamp Write SetcreationTimestamp;
  2119. Property deprecated : TDeprecationStatus Index 16 Read Fdeprecated Write Setdeprecated;
  2120. Property description : String Index 24 Read Fdescription Write Setdescription;
  2121. Property diskSizeGb : String Index 32 Read FdiskSizeGb Write SetdiskSizeGb;
  2122. Property family : String Index 40 Read Ffamily Write Setfamily;
  2123. Property id : String Index 48 Read Fid Write Setid;
  2124. Property kind : String Index 56 Read Fkind Write Setkind;
  2125. Property licenses : TStringArray Index 64 Read Flicenses Write Setlicenses;
  2126. Property name : String Index 72 Read Fname Write Setname;
  2127. Property rawDisk : TImageTyperawDisk Index 80 Read FrawDisk Write SetrawDisk;
  2128. Property selfLink : String Index 88 Read FselfLink Write SetselfLink;
  2129. Property sourceDisk : String Index 96 Read FsourceDisk Write SetsourceDisk;
  2130. Property sourceDiskId : String Index 104 Read FsourceDiskId Write SetsourceDiskId;
  2131. Property sourceType : String Index 112 Read FsourceType Write SetsourceType;
  2132. Property status : String Index 120 Read Fstatus Write Setstatus;
  2133. end;
  2134. TImageClass = Class of TImage;
  2135. { --------------------------------------------------------------------
  2136. TImageList
  2137. --------------------------------------------------------------------}
  2138. TImageList = Class(TGoogleBaseObject)
  2139. Private
  2140. Fid : String;
  2141. Fitems : TImageListTypeitemsArray;
  2142. Fkind : String;
  2143. FnextPageToken : String;
  2144. FselfLink : String;
  2145. Protected
  2146. //Property setters
  2147. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2148. Procedure Setitems(AIndex : Integer; const AValue : TImageListTypeitemsArray); virtual;
  2149. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2150. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2151. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2152. //2.6.4. bug workaround
  2153. {$IFDEF VER2_6}
  2154. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2155. {$ENDIF VER2_6}
  2156. Public
  2157. Published
  2158. Property id : String Index 0 Read Fid Write Setid;
  2159. Property items : TImageListTypeitemsArray Index 8 Read Fitems Write Setitems;
  2160. Property kind : String Index 16 Read Fkind Write Setkind;
  2161. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  2162. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  2163. end;
  2164. TImageListClass = Class of TImageList;
  2165. { --------------------------------------------------------------------
  2166. TInstance
  2167. --------------------------------------------------------------------}
  2168. TInstance = Class(TGoogleBaseObject)
  2169. Private
  2170. FcanIpForward : boolean;
  2171. FcpuPlatform : String;
  2172. FcreationTimestamp : String;
  2173. Fdescription : String;
  2174. Fdisks : TInstanceTypedisksArray;
  2175. Fid : String;
  2176. Fkind : String;
  2177. FmachineType : String;
  2178. Fmetadata : TMetadata;
  2179. Fname : String;
  2180. FnetworkInterfaces : TInstanceTypenetworkInterfacesArray;
  2181. Fscheduling : TScheduling;
  2182. FselfLink : String;
  2183. FserviceAccounts : TInstanceTypeserviceAccountsArray;
  2184. Fstatus : String;
  2185. FstatusMessage : String;
  2186. Ftags : TTags;
  2187. Fzone : String;
  2188. Protected
  2189. //Property setters
  2190. Procedure SetcanIpForward(AIndex : Integer; const AValue : boolean); virtual;
  2191. Procedure SetcpuPlatform(AIndex : Integer; const AValue : String); virtual;
  2192. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  2193. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  2194. Procedure Setdisks(AIndex : Integer; const AValue : TInstanceTypedisksArray); virtual;
  2195. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2196. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2197. Procedure SetmachineType(AIndex : Integer; const AValue : String); virtual;
  2198. Procedure Setmetadata(AIndex : Integer; const AValue : TMetadata); virtual;
  2199. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2200. Procedure SetnetworkInterfaces(AIndex : Integer; const AValue : TInstanceTypenetworkInterfacesArray); virtual;
  2201. Procedure Setscheduling(AIndex : Integer; const AValue : TScheduling); virtual;
  2202. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2203. Procedure SetserviceAccounts(AIndex : Integer; const AValue : TInstanceTypeserviceAccountsArray); virtual;
  2204. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  2205. Procedure SetstatusMessage(AIndex : Integer; const AValue : String); virtual;
  2206. Procedure Settags(AIndex : Integer; const AValue : TTags); virtual;
  2207. Procedure Setzone(AIndex : Integer; const AValue : String); virtual;
  2208. //2.6.4. bug workaround
  2209. {$IFDEF VER2_6}
  2210. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2211. {$ENDIF VER2_6}
  2212. Public
  2213. Published
  2214. Property canIpForward : boolean Index 0 Read FcanIpForward Write SetcanIpForward;
  2215. Property cpuPlatform : String Index 8 Read FcpuPlatform Write SetcpuPlatform;
  2216. Property creationTimestamp : String Index 16 Read FcreationTimestamp Write SetcreationTimestamp;
  2217. Property description : String Index 24 Read Fdescription Write Setdescription;
  2218. Property disks : TInstanceTypedisksArray Index 32 Read Fdisks Write Setdisks;
  2219. Property id : String Index 40 Read Fid Write Setid;
  2220. Property kind : String Index 48 Read Fkind Write Setkind;
  2221. Property machineType : String Index 56 Read FmachineType Write SetmachineType;
  2222. Property metadata : TMetadata Index 64 Read Fmetadata Write Setmetadata;
  2223. Property name : String Index 72 Read Fname Write Setname;
  2224. Property networkInterfaces : TInstanceTypenetworkInterfacesArray Index 80 Read FnetworkInterfaces Write SetnetworkInterfaces;
  2225. Property scheduling : TScheduling Index 88 Read Fscheduling Write Setscheduling;
  2226. Property selfLink : String Index 96 Read FselfLink Write SetselfLink;
  2227. Property serviceAccounts : TInstanceTypeserviceAccountsArray Index 104 Read FserviceAccounts Write SetserviceAccounts;
  2228. Property status : String Index 112 Read Fstatus Write Setstatus;
  2229. Property statusMessage : String Index 120 Read FstatusMessage Write SetstatusMessage;
  2230. Property tags : TTags Index 128 Read Ftags Write Settags;
  2231. Property zone : String Index 136 Read Fzone Write Setzone;
  2232. end;
  2233. TInstanceClass = Class of TInstance;
  2234. { --------------------------------------------------------------------
  2235. TInstanceAggregatedListTypeitems
  2236. --------------------------------------------------------------------}
  2237. TInstanceAggregatedListTypeitems = Class(TGoogleBaseObject)
  2238. Private
  2239. Protected
  2240. //Property setters
  2241. Public
  2242. Class Function AllowAdditionalProperties : Boolean; override;
  2243. Published
  2244. end;
  2245. TInstanceAggregatedListTypeitemsClass = Class of TInstanceAggregatedListTypeitems;
  2246. { --------------------------------------------------------------------
  2247. TInstanceAggregatedList
  2248. --------------------------------------------------------------------}
  2249. TInstanceAggregatedList = Class(TGoogleBaseObject)
  2250. Private
  2251. Fid : String;
  2252. Fitems : TInstanceAggregatedListTypeitems;
  2253. Fkind : String;
  2254. FnextPageToken : String;
  2255. FselfLink : String;
  2256. Protected
  2257. //Property setters
  2258. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2259. Procedure Setitems(AIndex : Integer; const AValue : TInstanceAggregatedListTypeitems); virtual;
  2260. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2261. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2262. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2263. Public
  2264. Published
  2265. Property id : String Index 0 Read Fid Write Setid;
  2266. Property items : TInstanceAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  2267. Property kind : String Index 16 Read Fkind Write Setkind;
  2268. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  2269. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  2270. end;
  2271. TInstanceAggregatedListClass = Class of TInstanceAggregatedList;
  2272. { --------------------------------------------------------------------
  2273. TInstanceGroup
  2274. --------------------------------------------------------------------}
  2275. TInstanceGroup = Class(TGoogleBaseObject)
  2276. Private
  2277. FcreationTimestamp : String;
  2278. Fdescription : String;
  2279. Ffingerprint : String;
  2280. Fid : String;
  2281. Fkind : String;
  2282. Fname : String;
  2283. FnamedPorts : TInstanceGroupTypenamedPortsArray;
  2284. Fnetwork : String;
  2285. FselfLink : String;
  2286. Fsize : integer;
  2287. Fsubnetwork : String;
  2288. Fzone : String;
  2289. Protected
  2290. //Property setters
  2291. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  2292. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  2293. Procedure Setfingerprint(AIndex : Integer; const AValue : String); virtual;
  2294. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2295. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2296. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2297. Procedure SetnamedPorts(AIndex : Integer; const AValue : TInstanceGroupTypenamedPortsArray); virtual;
  2298. Procedure Setnetwork(AIndex : Integer; const AValue : String); virtual;
  2299. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2300. Procedure Setsize(AIndex : Integer; const AValue : integer); virtual;
  2301. Procedure Setsubnetwork(AIndex : Integer; const AValue : String); virtual;
  2302. Procedure Setzone(AIndex : Integer; const AValue : String); virtual;
  2303. //2.6.4. bug workaround
  2304. {$IFDEF VER2_6}
  2305. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2306. {$ENDIF VER2_6}
  2307. Public
  2308. Published
  2309. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  2310. Property description : String Index 8 Read Fdescription Write Setdescription;
  2311. Property fingerprint : String Index 16 Read Ffingerprint Write Setfingerprint;
  2312. Property id : String Index 24 Read Fid Write Setid;
  2313. Property kind : String Index 32 Read Fkind Write Setkind;
  2314. Property name : String Index 40 Read Fname Write Setname;
  2315. Property namedPorts : TInstanceGroupTypenamedPortsArray Index 48 Read FnamedPorts Write SetnamedPorts;
  2316. Property network : String Index 56 Read Fnetwork Write Setnetwork;
  2317. Property selfLink : String Index 64 Read FselfLink Write SetselfLink;
  2318. Property size : integer Index 72 Read Fsize Write Setsize;
  2319. Property subnetwork : String Index 80 Read Fsubnetwork Write Setsubnetwork;
  2320. Property zone : String Index 88 Read Fzone Write Setzone;
  2321. end;
  2322. TInstanceGroupClass = Class of TInstanceGroup;
  2323. { --------------------------------------------------------------------
  2324. TInstanceGroupAggregatedListTypeitems
  2325. --------------------------------------------------------------------}
  2326. TInstanceGroupAggregatedListTypeitems = Class(TGoogleBaseObject)
  2327. Private
  2328. Protected
  2329. //Property setters
  2330. Public
  2331. Class Function AllowAdditionalProperties : Boolean; override;
  2332. Published
  2333. end;
  2334. TInstanceGroupAggregatedListTypeitemsClass = Class of TInstanceGroupAggregatedListTypeitems;
  2335. { --------------------------------------------------------------------
  2336. TInstanceGroupAggregatedList
  2337. --------------------------------------------------------------------}
  2338. TInstanceGroupAggregatedList = Class(TGoogleBaseObject)
  2339. Private
  2340. Fid : String;
  2341. Fitems : TInstanceGroupAggregatedListTypeitems;
  2342. Fkind : String;
  2343. FnextPageToken : String;
  2344. FselfLink : String;
  2345. Protected
  2346. //Property setters
  2347. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2348. Procedure Setitems(AIndex : Integer; const AValue : TInstanceGroupAggregatedListTypeitems); virtual;
  2349. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2350. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2351. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2352. Public
  2353. Published
  2354. Property id : String Index 0 Read Fid Write Setid;
  2355. Property items : TInstanceGroupAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  2356. Property kind : String Index 16 Read Fkind Write Setkind;
  2357. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  2358. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  2359. end;
  2360. TInstanceGroupAggregatedListClass = Class of TInstanceGroupAggregatedList;
  2361. { --------------------------------------------------------------------
  2362. TInstanceGroupList
  2363. --------------------------------------------------------------------}
  2364. TInstanceGroupList = Class(TGoogleBaseObject)
  2365. Private
  2366. Fid : String;
  2367. Fitems : TInstanceGroupListTypeitemsArray;
  2368. Fkind : String;
  2369. FnextPageToken : String;
  2370. FselfLink : String;
  2371. Protected
  2372. //Property setters
  2373. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2374. Procedure Setitems(AIndex : Integer; const AValue : TInstanceGroupListTypeitemsArray); virtual;
  2375. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2376. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2377. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2378. //2.6.4. bug workaround
  2379. {$IFDEF VER2_6}
  2380. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2381. {$ENDIF VER2_6}
  2382. Public
  2383. Published
  2384. Property id : String Index 0 Read Fid Write Setid;
  2385. Property items : TInstanceGroupListTypeitemsArray Index 8 Read Fitems Write Setitems;
  2386. Property kind : String Index 16 Read Fkind Write Setkind;
  2387. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  2388. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  2389. end;
  2390. TInstanceGroupListClass = Class of TInstanceGroupList;
  2391. { --------------------------------------------------------------------
  2392. TInstanceGroupManager
  2393. --------------------------------------------------------------------}
  2394. TInstanceGroupManager = Class(TGoogleBaseObject)
  2395. Private
  2396. FbaseInstanceName : String;
  2397. FcreationTimestamp : String;
  2398. FcurrentActions : TInstanceGroupManagerActionsSummary;
  2399. Fdescription : String;
  2400. Ffingerprint : String;
  2401. Fid : String;
  2402. FinstanceGroup : String;
  2403. FinstanceTemplate : String;
  2404. Fkind : String;
  2405. Fname : String;
  2406. FnamedPorts : TInstanceGroupManagerTypenamedPortsArray;
  2407. FselfLink : String;
  2408. FtargetPools : TStringArray;
  2409. FtargetSize : integer;
  2410. Fzone : String;
  2411. Protected
  2412. //Property setters
  2413. Procedure SetbaseInstanceName(AIndex : Integer; const AValue : String); virtual;
  2414. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  2415. Procedure SetcurrentActions(AIndex : Integer; const AValue : TInstanceGroupManagerActionsSummary); virtual;
  2416. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  2417. Procedure Setfingerprint(AIndex : Integer; const AValue : String); virtual;
  2418. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2419. Procedure SetinstanceGroup(AIndex : Integer; const AValue : String); virtual;
  2420. Procedure SetinstanceTemplate(AIndex : Integer; const AValue : String); virtual;
  2421. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2422. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  2423. Procedure SetnamedPorts(AIndex : Integer; const AValue : TInstanceGroupManagerTypenamedPortsArray); virtual;
  2424. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2425. Procedure SettargetPools(AIndex : Integer; const AValue : TStringArray); virtual;
  2426. Procedure SettargetSize(AIndex : Integer; const AValue : integer); virtual;
  2427. Procedure Setzone(AIndex : Integer; const AValue : String); virtual;
  2428. //2.6.4. bug workaround
  2429. {$IFDEF VER2_6}
  2430. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2431. {$ENDIF VER2_6}
  2432. Public
  2433. Published
  2434. Property baseInstanceName : String Index 0 Read FbaseInstanceName Write SetbaseInstanceName;
  2435. Property creationTimestamp : String Index 8 Read FcreationTimestamp Write SetcreationTimestamp;
  2436. Property currentActions : TInstanceGroupManagerActionsSummary Index 16 Read FcurrentActions Write SetcurrentActions;
  2437. Property description : String Index 24 Read Fdescription Write Setdescription;
  2438. Property fingerprint : String Index 32 Read Ffingerprint Write Setfingerprint;
  2439. Property id : String Index 40 Read Fid Write Setid;
  2440. Property instanceGroup : String Index 48 Read FinstanceGroup Write SetinstanceGroup;
  2441. Property instanceTemplate : String Index 56 Read FinstanceTemplate Write SetinstanceTemplate;
  2442. Property kind : String Index 64 Read Fkind Write Setkind;
  2443. Property name : String Index 72 Read Fname Write Setname;
  2444. Property namedPorts : TInstanceGroupManagerTypenamedPortsArray Index 80 Read FnamedPorts Write SetnamedPorts;
  2445. Property selfLink : String Index 88 Read FselfLink Write SetselfLink;
  2446. Property targetPools : TStringArray Index 96 Read FtargetPools Write SettargetPools;
  2447. Property targetSize : integer Index 104 Read FtargetSize Write SettargetSize;
  2448. Property zone : String Index 112 Read Fzone Write Setzone;
  2449. end;
  2450. TInstanceGroupManagerClass = Class of TInstanceGroupManager;
  2451. { --------------------------------------------------------------------
  2452. TInstanceGroupManagerActionsSummary
  2453. --------------------------------------------------------------------}
  2454. TInstanceGroupManagerActionsSummary = Class(TGoogleBaseObject)
  2455. Private
  2456. Fabandoning : integer;
  2457. Fcreating : integer;
  2458. Fdeleting : integer;
  2459. Fnone : integer;
  2460. Frecreating : integer;
  2461. Frefreshing : integer;
  2462. Frestarting : integer;
  2463. Protected
  2464. //Property setters
  2465. Procedure Setabandoning(AIndex : Integer; const AValue : integer); virtual;
  2466. Procedure Setcreating(AIndex : Integer; const AValue : integer); virtual;
  2467. Procedure Setdeleting(AIndex : Integer; const AValue : integer); virtual;
  2468. Procedure Setnone(AIndex : Integer; const AValue : integer); virtual;
  2469. Procedure Setrecreating(AIndex : Integer; const AValue : integer); virtual;
  2470. Procedure Setrefreshing(AIndex : Integer; const AValue : integer); virtual;
  2471. Procedure Setrestarting(AIndex : Integer; const AValue : integer); virtual;
  2472. Public
  2473. Published
  2474. Property abandoning : integer Index 0 Read Fabandoning Write Setabandoning;
  2475. Property creating : integer Index 8 Read Fcreating Write Setcreating;
  2476. Property deleting : integer Index 16 Read Fdeleting Write Setdeleting;
  2477. Property none : integer Index 24 Read Fnone Write Setnone;
  2478. Property recreating : integer Index 32 Read Frecreating Write Setrecreating;
  2479. Property refreshing : integer Index 40 Read Frefreshing Write Setrefreshing;
  2480. Property restarting : integer Index 48 Read Frestarting Write Setrestarting;
  2481. end;
  2482. TInstanceGroupManagerActionsSummaryClass = Class of TInstanceGroupManagerActionsSummary;
  2483. { --------------------------------------------------------------------
  2484. TInstanceGroupManagerAggregatedListTypeitems
  2485. --------------------------------------------------------------------}
  2486. TInstanceGroupManagerAggregatedListTypeitems = Class(TGoogleBaseObject)
  2487. Private
  2488. Protected
  2489. //Property setters
  2490. Public
  2491. Class Function AllowAdditionalProperties : Boolean; override;
  2492. Published
  2493. end;
  2494. TInstanceGroupManagerAggregatedListTypeitemsClass = Class of TInstanceGroupManagerAggregatedListTypeitems;
  2495. { --------------------------------------------------------------------
  2496. TInstanceGroupManagerAggregatedList
  2497. --------------------------------------------------------------------}
  2498. TInstanceGroupManagerAggregatedList = Class(TGoogleBaseObject)
  2499. Private
  2500. Fid : String;
  2501. Fitems : TInstanceGroupManagerAggregatedListTypeitems;
  2502. Fkind : String;
  2503. FnextPageToken : String;
  2504. FselfLink : String;
  2505. Protected
  2506. //Property setters
  2507. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2508. Procedure Setitems(AIndex : Integer; const AValue : TInstanceGroupManagerAggregatedListTypeitems); virtual;
  2509. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2510. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2511. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2512. Public
  2513. Published
  2514. Property id : String Index 0 Read Fid Write Setid;
  2515. Property items : TInstanceGroupManagerAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  2516. Property kind : String Index 16 Read Fkind Write Setkind;
  2517. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  2518. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  2519. end;
  2520. TInstanceGroupManagerAggregatedListClass = Class of TInstanceGroupManagerAggregatedList;
  2521. { --------------------------------------------------------------------
  2522. TInstanceGroupManagerList
  2523. --------------------------------------------------------------------}
  2524. TInstanceGroupManagerList = Class(TGoogleBaseObject)
  2525. Private
  2526. Fid : String;
  2527. Fitems : TInstanceGroupManagerListTypeitemsArray;
  2528. Fkind : String;
  2529. FnextPageToken : String;
  2530. FselfLink : String;
  2531. Protected
  2532. //Property setters
  2533. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2534. Procedure Setitems(AIndex : Integer; const AValue : TInstanceGroupManagerListTypeitemsArray); virtual;
  2535. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2536. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2537. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2538. //2.6.4. bug workaround
  2539. {$IFDEF VER2_6}
  2540. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2541. {$ENDIF VER2_6}
  2542. Public
  2543. Published
  2544. Property id : String Index 0 Read Fid Write Setid;
  2545. Property items : TInstanceGroupManagerListTypeitemsArray Index 8 Read Fitems Write Setitems;
  2546. Property kind : String Index 16 Read Fkind Write Setkind;
  2547. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  2548. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  2549. end;
  2550. TInstanceGroupManagerListClass = Class of TInstanceGroupManagerList;
  2551. { --------------------------------------------------------------------
  2552. TInstanceGroupManagersAbandonInstancesRequest
  2553. --------------------------------------------------------------------}
  2554. TInstanceGroupManagersAbandonInstancesRequest = Class(TGoogleBaseObject)
  2555. Private
  2556. Finstances : TStringArray;
  2557. Protected
  2558. //Property setters
  2559. Procedure Setinstances(AIndex : Integer; const AValue : TStringArray); virtual;
  2560. //2.6.4. bug workaround
  2561. {$IFDEF VER2_6}
  2562. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2563. {$ENDIF VER2_6}
  2564. Public
  2565. Published
  2566. Property instances : TStringArray Index 0 Read Finstances Write Setinstances;
  2567. end;
  2568. TInstanceGroupManagersAbandonInstancesRequestClass = Class of TInstanceGroupManagersAbandonInstancesRequest;
  2569. { --------------------------------------------------------------------
  2570. TInstanceGroupManagersDeleteInstancesRequest
  2571. --------------------------------------------------------------------}
  2572. TInstanceGroupManagersDeleteInstancesRequest = Class(TGoogleBaseObject)
  2573. Private
  2574. Finstances : TStringArray;
  2575. Protected
  2576. //Property setters
  2577. Procedure Setinstances(AIndex : Integer; const AValue : TStringArray); virtual;
  2578. //2.6.4. bug workaround
  2579. {$IFDEF VER2_6}
  2580. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2581. {$ENDIF VER2_6}
  2582. Public
  2583. Published
  2584. Property instances : TStringArray Index 0 Read Finstances Write Setinstances;
  2585. end;
  2586. TInstanceGroupManagersDeleteInstancesRequestClass = Class of TInstanceGroupManagersDeleteInstancesRequest;
  2587. { --------------------------------------------------------------------
  2588. TInstanceGroupManagersListManagedInstancesResponse
  2589. --------------------------------------------------------------------}
  2590. TInstanceGroupManagersListManagedInstancesResponse = Class(TGoogleBaseObject)
  2591. Private
  2592. FmanagedInstances : TInstanceGroupManagersListManagedInstancesResponseTypemanagedInstancesArray;
  2593. Protected
  2594. //Property setters
  2595. Procedure SetmanagedInstances(AIndex : Integer; const AValue : TInstanceGroupManagersListManagedInstancesResponseTypemanagedInstancesArray); virtual;
  2596. //2.6.4. bug workaround
  2597. {$IFDEF VER2_6}
  2598. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2599. {$ENDIF VER2_6}
  2600. Public
  2601. Published
  2602. Property managedInstances : TInstanceGroupManagersListManagedInstancesResponseTypemanagedInstancesArray Index 0 Read FmanagedInstances Write SetmanagedInstances;
  2603. end;
  2604. TInstanceGroupManagersListManagedInstancesResponseClass = Class of TInstanceGroupManagersListManagedInstancesResponse;
  2605. { --------------------------------------------------------------------
  2606. TInstanceGroupManagersRecreateInstancesRequest
  2607. --------------------------------------------------------------------}
  2608. TInstanceGroupManagersRecreateInstancesRequest = Class(TGoogleBaseObject)
  2609. Private
  2610. Finstances : TStringArray;
  2611. Protected
  2612. //Property setters
  2613. Procedure Setinstances(AIndex : Integer; const AValue : TStringArray); virtual;
  2614. //2.6.4. bug workaround
  2615. {$IFDEF VER2_6}
  2616. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2617. {$ENDIF VER2_6}
  2618. Public
  2619. Published
  2620. Property instances : TStringArray Index 0 Read Finstances Write Setinstances;
  2621. end;
  2622. TInstanceGroupManagersRecreateInstancesRequestClass = Class of TInstanceGroupManagersRecreateInstancesRequest;
  2623. { --------------------------------------------------------------------
  2624. TInstanceGroupManagersScopedListTypewarningTypedataItem
  2625. --------------------------------------------------------------------}
  2626. TInstanceGroupManagersScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  2627. Private
  2628. Fkey : String;
  2629. Fvalue : String;
  2630. Protected
  2631. //Property setters
  2632. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  2633. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  2634. Public
  2635. Published
  2636. Property key : String Index 0 Read Fkey Write Setkey;
  2637. Property value : String Index 8 Read Fvalue Write Setvalue;
  2638. end;
  2639. TInstanceGroupManagersScopedListTypewarningTypedataItemClass = Class of TInstanceGroupManagersScopedListTypewarningTypedataItem;
  2640. { --------------------------------------------------------------------
  2641. TInstanceGroupManagersScopedListTypewarning
  2642. --------------------------------------------------------------------}
  2643. TInstanceGroupManagersScopedListTypewarning = Class(TGoogleBaseObject)
  2644. Private
  2645. Fcode : String;
  2646. Fdata : TInstanceGroupManagersScopedListTypewarningTypedataArray;
  2647. Fmessage : String;
  2648. Protected
  2649. //Property setters
  2650. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  2651. Procedure Setdata(AIndex : Integer; const AValue : TInstanceGroupManagersScopedListTypewarningTypedataArray); virtual;
  2652. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  2653. //2.6.4. bug workaround
  2654. {$IFDEF VER2_6}
  2655. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2656. {$ENDIF VER2_6}
  2657. Public
  2658. Published
  2659. Property code : String Index 0 Read Fcode Write Setcode;
  2660. Property data : TInstanceGroupManagersScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  2661. Property message : String Index 16 Read Fmessage Write Setmessage;
  2662. end;
  2663. TInstanceGroupManagersScopedListTypewarningClass = Class of TInstanceGroupManagersScopedListTypewarning;
  2664. { --------------------------------------------------------------------
  2665. TInstanceGroupManagersScopedList
  2666. --------------------------------------------------------------------}
  2667. TInstanceGroupManagersScopedList = Class(TGoogleBaseObject)
  2668. Private
  2669. FinstanceGroupManagers : TInstanceGroupManagersScopedListTypeinstanceGroupManagersArray;
  2670. Fwarning : TInstanceGroupManagersScopedListTypewarning;
  2671. Protected
  2672. //Property setters
  2673. Procedure SetinstanceGroupManagers(AIndex : Integer; const AValue : TInstanceGroupManagersScopedListTypeinstanceGroupManagersArray); virtual;
  2674. Procedure Setwarning(AIndex : Integer; const AValue : TInstanceGroupManagersScopedListTypewarning); virtual;
  2675. //2.6.4. bug workaround
  2676. {$IFDEF VER2_6}
  2677. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2678. {$ENDIF VER2_6}
  2679. Public
  2680. Published
  2681. Property instanceGroupManagers : TInstanceGroupManagersScopedListTypeinstanceGroupManagersArray Index 0 Read FinstanceGroupManagers Write SetinstanceGroupManagers;
  2682. Property warning : TInstanceGroupManagersScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  2683. end;
  2684. TInstanceGroupManagersScopedListClass = Class of TInstanceGroupManagersScopedList;
  2685. { --------------------------------------------------------------------
  2686. TInstanceGroupManagersSetInstanceTemplateRequest
  2687. --------------------------------------------------------------------}
  2688. TInstanceGroupManagersSetInstanceTemplateRequest = Class(TGoogleBaseObject)
  2689. Private
  2690. FinstanceTemplate : String;
  2691. Protected
  2692. //Property setters
  2693. Procedure SetinstanceTemplate(AIndex : Integer; const AValue : String); virtual;
  2694. Public
  2695. Published
  2696. Property instanceTemplate : String Index 0 Read FinstanceTemplate Write SetinstanceTemplate;
  2697. end;
  2698. TInstanceGroupManagersSetInstanceTemplateRequestClass = Class of TInstanceGroupManagersSetInstanceTemplateRequest;
  2699. { --------------------------------------------------------------------
  2700. TInstanceGroupManagersSetTargetPoolsRequest
  2701. --------------------------------------------------------------------}
  2702. TInstanceGroupManagersSetTargetPoolsRequest = Class(TGoogleBaseObject)
  2703. Private
  2704. Ffingerprint : String;
  2705. FtargetPools : TStringArray;
  2706. Protected
  2707. //Property setters
  2708. Procedure Setfingerprint(AIndex : Integer; const AValue : String); virtual;
  2709. Procedure SettargetPools(AIndex : Integer; const AValue : TStringArray); virtual;
  2710. //2.6.4. bug workaround
  2711. {$IFDEF VER2_6}
  2712. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2713. {$ENDIF VER2_6}
  2714. Public
  2715. Published
  2716. Property fingerprint : String Index 0 Read Ffingerprint Write Setfingerprint;
  2717. Property targetPools : TStringArray Index 8 Read FtargetPools Write SettargetPools;
  2718. end;
  2719. TInstanceGroupManagersSetTargetPoolsRequestClass = Class of TInstanceGroupManagersSetTargetPoolsRequest;
  2720. { --------------------------------------------------------------------
  2721. TInstanceGroupsAddInstancesRequest
  2722. --------------------------------------------------------------------}
  2723. TInstanceGroupsAddInstancesRequest = Class(TGoogleBaseObject)
  2724. Private
  2725. Finstances : TInstanceGroupsAddInstancesRequestTypeinstancesArray;
  2726. Protected
  2727. //Property setters
  2728. Procedure Setinstances(AIndex : Integer; const AValue : TInstanceGroupsAddInstancesRequestTypeinstancesArray); virtual;
  2729. //2.6.4. bug workaround
  2730. {$IFDEF VER2_6}
  2731. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2732. {$ENDIF VER2_6}
  2733. Public
  2734. Published
  2735. Property instances : TInstanceGroupsAddInstancesRequestTypeinstancesArray Index 0 Read Finstances Write Setinstances;
  2736. end;
  2737. TInstanceGroupsAddInstancesRequestClass = Class of TInstanceGroupsAddInstancesRequest;
  2738. { --------------------------------------------------------------------
  2739. TInstanceGroupsListInstances
  2740. --------------------------------------------------------------------}
  2741. TInstanceGroupsListInstances = Class(TGoogleBaseObject)
  2742. Private
  2743. Fid : String;
  2744. Fitems : TInstanceGroupsListInstancesTypeitemsArray;
  2745. Fkind : String;
  2746. FnextPageToken : String;
  2747. FselfLink : String;
  2748. Protected
  2749. //Property setters
  2750. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2751. Procedure Setitems(AIndex : Integer; const AValue : TInstanceGroupsListInstancesTypeitemsArray); virtual;
  2752. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2753. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2754. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2755. //2.6.4. bug workaround
  2756. {$IFDEF VER2_6}
  2757. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2758. {$ENDIF VER2_6}
  2759. Public
  2760. Published
  2761. Property id : String Index 0 Read Fid Write Setid;
  2762. Property items : TInstanceGroupsListInstancesTypeitemsArray Index 8 Read Fitems Write Setitems;
  2763. Property kind : String Index 16 Read Fkind Write Setkind;
  2764. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  2765. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  2766. end;
  2767. TInstanceGroupsListInstancesClass = Class of TInstanceGroupsListInstances;
  2768. { --------------------------------------------------------------------
  2769. TInstanceGroupsListInstancesRequest
  2770. --------------------------------------------------------------------}
  2771. TInstanceGroupsListInstancesRequest = Class(TGoogleBaseObject)
  2772. Private
  2773. FinstanceState : String;
  2774. Protected
  2775. //Property setters
  2776. Procedure SetinstanceState(AIndex : Integer; const AValue : String); virtual;
  2777. Public
  2778. Published
  2779. Property instanceState : String Index 0 Read FinstanceState Write SetinstanceState;
  2780. end;
  2781. TInstanceGroupsListInstancesRequestClass = Class of TInstanceGroupsListInstancesRequest;
  2782. { --------------------------------------------------------------------
  2783. TInstanceGroupsRemoveInstancesRequest
  2784. --------------------------------------------------------------------}
  2785. TInstanceGroupsRemoveInstancesRequest = Class(TGoogleBaseObject)
  2786. Private
  2787. Finstances : TInstanceGroupsRemoveInstancesRequestTypeinstancesArray;
  2788. Protected
  2789. //Property setters
  2790. Procedure Setinstances(AIndex : Integer; const AValue : TInstanceGroupsRemoveInstancesRequestTypeinstancesArray); virtual;
  2791. //2.6.4. bug workaround
  2792. {$IFDEF VER2_6}
  2793. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2794. {$ENDIF VER2_6}
  2795. Public
  2796. Published
  2797. Property instances : TInstanceGroupsRemoveInstancesRequestTypeinstancesArray Index 0 Read Finstances Write Setinstances;
  2798. end;
  2799. TInstanceGroupsRemoveInstancesRequestClass = Class of TInstanceGroupsRemoveInstancesRequest;
  2800. { --------------------------------------------------------------------
  2801. TInstanceGroupsScopedListTypewarningTypedataItem
  2802. --------------------------------------------------------------------}
  2803. TInstanceGroupsScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  2804. Private
  2805. Fkey : String;
  2806. Fvalue : String;
  2807. Protected
  2808. //Property setters
  2809. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  2810. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  2811. Public
  2812. Published
  2813. Property key : String Index 0 Read Fkey Write Setkey;
  2814. Property value : String Index 8 Read Fvalue Write Setvalue;
  2815. end;
  2816. TInstanceGroupsScopedListTypewarningTypedataItemClass = Class of TInstanceGroupsScopedListTypewarningTypedataItem;
  2817. { --------------------------------------------------------------------
  2818. TInstanceGroupsScopedListTypewarning
  2819. --------------------------------------------------------------------}
  2820. TInstanceGroupsScopedListTypewarning = Class(TGoogleBaseObject)
  2821. Private
  2822. Fcode : String;
  2823. Fdata : TInstanceGroupsScopedListTypewarningTypedataArray;
  2824. Fmessage : String;
  2825. Protected
  2826. //Property setters
  2827. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  2828. Procedure Setdata(AIndex : Integer; const AValue : TInstanceGroupsScopedListTypewarningTypedataArray); virtual;
  2829. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  2830. //2.6.4. bug workaround
  2831. {$IFDEF VER2_6}
  2832. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2833. {$ENDIF VER2_6}
  2834. Public
  2835. Published
  2836. Property code : String Index 0 Read Fcode Write Setcode;
  2837. Property data : TInstanceGroupsScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  2838. Property message : String Index 16 Read Fmessage Write Setmessage;
  2839. end;
  2840. TInstanceGroupsScopedListTypewarningClass = Class of TInstanceGroupsScopedListTypewarning;
  2841. { --------------------------------------------------------------------
  2842. TInstanceGroupsScopedList
  2843. --------------------------------------------------------------------}
  2844. TInstanceGroupsScopedList = Class(TGoogleBaseObject)
  2845. Private
  2846. FinstanceGroups : TInstanceGroupsScopedListTypeinstanceGroupsArray;
  2847. Fwarning : TInstanceGroupsScopedListTypewarning;
  2848. Protected
  2849. //Property setters
  2850. Procedure SetinstanceGroups(AIndex : Integer; const AValue : TInstanceGroupsScopedListTypeinstanceGroupsArray); virtual;
  2851. Procedure Setwarning(AIndex : Integer; const AValue : TInstanceGroupsScopedListTypewarning); virtual;
  2852. //2.6.4. bug workaround
  2853. {$IFDEF VER2_6}
  2854. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2855. {$ENDIF VER2_6}
  2856. Public
  2857. Published
  2858. Property instanceGroups : TInstanceGroupsScopedListTypeinstanceGroupsArray Index 0 Read FinstanceGroups Write SetinstanceGroups;
  2859. Property warning : TInstanceGroupsScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  2860. end;
  2861. TInstanceGroupsScopedListClass = Class of TInstanceGroupsScopedList;
  2862. { --------------------------------------------------------------------
  2863. TInstanceGroupsSetNamedPortsRequest
  2864. --------------------------------------------------------------------}
  2865. TInstanceGroupsSetNamedPortsRequest = Class(TGoogleBaseObject)
  2866. Private
  2867. Ffingerprint : String;
  2868. FnamedPorts : TInstanceGroupsSetNamedPortsRequestTypenamedPortsArray;
  2869. Protected
  2870. //Property setters
  2871. Procedure Setfingerprint(AIndex : Integer; const AValue : String); virtual;
  2872. Procedure SetnamedPorts(AIndex : Integer; const AValue : TInstanceGroupsSetNamedPortsRequestTypenamedPortsArray); virtual;
  2873. //2.6.4. bug workaround
  2874. {$IFDEF VER2_6}
  2875. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2876. {$ENDIF VER2_6}
  2877. Public
  2878. Published
  2879. Property fingerprint : String Index 0 Read Ffingerprint Write Setfingerprint;
  2880. Property namedPorts : TInstanceGroupsSetNamedPortsRequestTypenamedPortsArray Index 8 Read FnamedPorts Write SetnamedPorts;
  2881. end;
  2882. TInstanceGroupsSetNamedPortsRequestClass = Class of TInstanceGroupsSetNamedPortsRequest;
  2883. { --------------------------------------------------------------------
  2884. TInstanceList
  2885. --------------------------------------------------------------------}
  2886. TInstanceList = Class(TGoogleBaseObject)
  2887. Private
  2888. Fid : String;
  2889. Fitems : TInstanceListTypeitemsArray;
  2890. Fkind : String;
  2891. FnextPageToken : String;
  2892. FselfLink : String;
  2893. Protected
  2894. //Property setters
  2895. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  2896. Procedure Setitems(AIndex : Integer; const AValue : TInstanceListTypeitemsArray); virtual;
  2897. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  2898. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  2899. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  2900. //2.6.4. bug workaround
  2901. {$IFDEF VER2_6}
  2902. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2903. {$ENDIF VER2_6}
  2904. Public
  2905. Published
  2906. Property id : String Index 0 Read Fid Write Setid;
  2907. Property items : TInstanceListTypeitemsArray Index 8 Read Fitems Write Setitems;
  2908. Property kind : String Index 16 Read Fkind Write Setkind;
  2909. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  2910. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  2911. end;
  2912. TInstanceListClass = Class of TInstanceList;
  2913. { --------------------------------------------------------------------
  2914. TInstanceMoveRequest
  2915. --------------------------------------------------------------------}
  2916. TInstanceMoveRequest = Class(TGoogleBaseObject)
  2917. Private
  2918. FdestinationZone : String;
  2919. FtargetInstance : String;
  2920. Protected
  2921. //Property setters
  2922. Procedure SetdestinationZone(AIndex : Integer; const AValue : String); virtual;
  2923. Procedure SettargetInstance(AIndex : Integer; const AValue : String); virtual;
  2924. Public
  2925. Published
  2926. Property destinationZone : String Index 0 Read FdestinationZone Write SetdestinationZone;
  2927. Property targetInstance : String Index 8 Read FtargetInstance Write SettargetInstance;
  2928. end;
  2929. TInstanceMoveRequestClass = Class of TInstanceMoveRequest;
  2930. { --------------------------------------------------------------------
  2931. TInstanceProperties
  2932. --------------------------------------------------------------------}
  2933. TInstanceProperties = Class(TGoogleBaseObject)
  2934. Private
  2935. FcanIpForward : boolean;
  2936. Fdescription : String;
  2937. Fdisks : TInstancePropertiesTypedisksArray;
  2938. FmachineType : String;
  2939. Fmetadata : TMetadata;
  2940. FnetworkInterfaces : TInstancePropertiesTypenetworkInterfacesArray;
  2941. Fscheduling : TScheduling;
  2942. FserviceAccounts : TInstancePropertiesTypeserviceAccountsArray;
  2943. Ftags : TTags;
  2944. Protected
  2945. //Property setters
  2946. Procedure SetcanIpForward(AIndex : Integer; const AValue : boolean); virtual;
  2947. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  2948. Procedure Setdisks(AIndex : Integer; const AValue : TInstancePropertiesTypedisksArray); virtual;
  2949. Procedure SetmachineType(AIndex : Integer; const AValue : String); virtual;
  2950. Procedure Setmetadata(AIndex : Integer; const AValue : TMetadata); virtual;
  2951. Procedure SetnetworkInterfaces(AIndex : Integer; const AValue : TInstancePropertiesTypenetworkInterfacesArray); virtual;
  2952. Procedure Setscheduling(AIndex : Integer; const AValue : TScheduling); virtual;
  2953. Procedure SetserviceAccounts(AIndex : Integer; const AValue : TInstancePropertiesTypeserviceAccountsArray); virtual;
  2954. Procedure Settags(AIndex : Integer; const AValue : TTags); virtual;
  2955. //2.6.4. bug workaround
  2956. {$IFDEF VER2_6}
  2957. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  2958. {$ENDIF VER2_6}
  2959. Public
  2960. Published
  2961. Property canIpForward : boolean Index 0 Read FcanIpForward Write SetcanIpForward;
  2962. Property description : String Index 8 Read Fdescription Write Setdescription;
  2963. Property disks : TInstancePropertiesTypedisksArray Index 16 Read Fdisks Write Setdisks;
  2964. Property machineType : String Index 24 Read FmachineType Write SetmachineType;
  2965. Property metadata : TMetadata Index 32 Read Fmetadata Write Setmetadata;
  2966. Property networkInterfaces : TInstancePropertiesTypenetworkInterfacesArray Index 40 Read FnetworkInterfaces Write SetnetworkInterfaces;
  2967. Property scheduling : TScheduling Index 48 Read Fscheduling Write Setscheduling;
  2968. Property serviceAccounts : TInstancePropertiesTypeserviceAccountsArray Index 56 Read FserviceAccounts Write SetserviceAccounts;
  2969. Property tags : TTags Index 64 Read Ftags Write Settags;
  2970. end;
  2971. TInstancePropertiesClass = Class of TInstanceProperties;
  2972. { --------------------------------------------------------------------
  2973. TInstanceReference
  2974. --------------------------------------------------------------------}
  2975. TInstanceReference = Class(TGoogleBaseObject)
  2976. Private
  2977. Finstance : String;
  2978. Protected
  2979. //Property setters
  2980. Procedure Setinstance(AIndex : Integer; const AValue : String); virtual;
  2981. Public
  2982. Published
  2983. Property instance : String Index 0 Read Finstance Write Setinstance;
  2984. end;
  2985. TInstanceReferenceClass = Class of TInstanceReference;
  2986. { --------------------------------------------------------------------
  2987. TInstanceTemplate
  2988. --------------------------------------------------------------------}
  2989. TInstanceTemplate = Class(TGoogleBaseObject)
  2990. Private
  2991. FcreationTimestamp : String;
  2992. Fdescription : String;
  2993. Fid : String;
  2994. Fkind : String;
  2995. Fname : String;
  2996. Fproperties : TInstanceProperties;
  2997. FselfLink : String;
  2998. Protected
  2999. //Property setters
  3000. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  3001. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  3002. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3003. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3004. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3005. Procedure Setproperties(AIndex : Integer; const AValue : TInstanceProperties); virtual;
  3006. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  3007. Public
  3008. Published
  3009. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  3010. Property description : String Index 8 Read Fdescription Write Setdescription;
  3011. Property id : String Index 16 Read Fid Write Setid;
  3012. Property kind : String Index 24 Read Fkind Write Setkind;
  3013. Property name : String Index 32 Read Fname Write Setname;
  3014. Property properties : TInstanceProperties Index 40 Read Fproperties Write Setproperties;
  3015. Property selfLink : String Index 48 Read FselfLink Write SetselfLink;
  3016. end;
  3017. TInstanceTemplateClass = Class of TInstanceTemplate;
  3018. { --------------------------------------------------------------------
  3019. TInstanceTemplateList
  3020. --------------------------------------------------------------------}
  3021. TInstanceTemplateList = Class(TGoogleBaseObject)
  3022. Private
  3023. Fid : String;
  3024. Fitems : TInstanceTemplateListTypeitemsArray;
  3025. Fkind : String;
  3026. FnextPageToken : String;
  3027. FselfLink : String;
  3028. Protected
  3029. //Property setters
  3030. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3031. Procedure Setitems(AIndex : Integer; const AValue : TInstanceTemplateListTypeitemsArray); virtual;
  3032. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3033. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  3034. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  3035. //2.6.4. bug workaround
  3036. {$IFDEF VER2_6}
  3037. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3038. {$ENDIF VER2_6}
  3039. Public
  3040. Published
  3041. Property id : String Index 0 Read Fid Write Setid;
  3042. Property items : TInstanceTemplateListTypeitemsArray Index 8 Read Fitems Write Setitems;
  3043. Property kind : String Index 16 Read Fkind Write Setkind;
  3044. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  3045. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  3046. end;
  3047. TInstanceTemplateListClass = Class of TInstanceTemplateList;
  3048. { --------------------------------------------------------------------
  3049. TInstanceWithNamedPorts
  3050. --------------------------------------------------------------------}
  3051. TInstanceWithNamedPorts = Class(TGoogleBaseObject)
  3052. Private
  3053. Finstance : String;
  3054. FnamedPorts : TInstanceWithNamedPortsTypenamedPortsArray;
  3055. Fstatus : String;
  3056. Protected
  3057. //Property setters
  3058. Procedure Setinstance(AIndex : Integer; const AValue : String); virtual;
  3059. Procedure SetnamedPorts(AIndex : Integer; const AValue : TInstanceWithNamedPortsTypenamedPortsArray); virtual;
  3060. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  3061. //2.6.4. bug workaround
  3062. {$IFDEF VER2_6}
  3063. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3064. {$ENDIF VER2_6}
  3065. Public
  3066. Published
  3067. Property instance : String Index 0 Read Finstance Write Setinstance;
  3068. Property namedPorts : TInstanceWithNamedPortsTypenamedPortsArray Index 8 Read FnamedPorts Write SetnamedPorts;
  3069. Property status : String Index 16 Read Fstatus Write Setstatus;
  3070. end;
  3071. TInstanceWithNamedPortsClass = Class of TInstanceWithNamedPorts;
  3072. { --------------------------------------------------------------------
  3073. TInstancesScopedListTypewarningTypedataItem
  3074. --------------------------------------------------------------------}
  3075. TInstancesScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  3076. Private
  3077. Fkey : String;
  3078. Fvalue : String;
  3079. Protected
  3080. //Property setters
  3081. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  3082. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  3083. Public
  3084. Published
  3085. Property key : String Index 0 Read Fkey Write Setkey;
  3086. Property value : String Index 8 Read Fvalue Write Setvalue;
  3087. end;
  3088. TInstancesScopedListTypewarningTypedataItemClass = Class of TInstancesScopedListTypewarningTypedataItem;
  3089. { --------------------------------------------------------------------
  3090. TInstancesScopedListTypewarning
  3091. --------------------------------------------------------------------}
  3092. TInstancesScopedListTypewarning = Class(TGoogleBaseObject)
  3093. Private
  3094. Fcode : String;
  3095. Fdata : TInstancesScopedListTypewarningTypedataArray;
  3096. Fmessage : String;
  3097. Protected
  3098. //Property setters
  3099. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  3100. Procedure Setdata(AIndex : Integer; const AValue : TInstancesScopedListTypewarningTypedataArray); virtual;
  3101. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  3102. //2.6.4. bug workaround
  3103. {$IFDEF VER2_6}
  3104. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3105. {$ENDIF VER2_6}
  3106. Public
  3107. Published
  3108. Property code : String Index 0 Read Fcode Write Setcode;
  3109. Property data : TInstancesScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  3110. Property message : String Index 16 Read Fmessage Write Setmessage;
  3111. end;
  3112. TInstancesScopedListTypewarningClass = Class of TInstancesScopedListTypewarning;
  3113. { --------------------------------------------------------------------
  3114. TInstancesScopedList
  3115. --------------------------------------------------------------------}
  3116. TInstancesScopedList = Class(TGoogleBaseObject)
  3117. Private
  3118. Finstances : TInstancesScopedListTypeinstancesArray;
  3119. Fwarning : TInstancesScopedListTypewarning;
  3120. Protected
  3121. //Property setters
  3122. Procedure Setinstances(AIndex : Integer; const AValue : TInstancesScopedListTypeinstancesArray); virtual;
  3123. Procedure Setwarning(AIndex : Integer; const AValue : TInstancesScopedListTypewarning); virtual;
  3124. //2.6.4. bug workaround
  3125. {$IFDEF VER2_6}
  3126. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3127. {$ENDIF VER2_6}
  3128. Public
  3129. Published
  3130. Property instances : TInstancesScopedListTypeinstancesArray Index 0 Read Finstances Write Setinstances;
  3131. Property warning : TInstancesScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  3132. end;
  3133. TInstancesScopedListClass = Class of TInstancesScopedList;
  3134. { --------------------------------------------------------------------
  3135. TInstancesSetMachineTypeRequest
  3136. --------------------------------------------------------------------}
  3137. TInstancesSetMachineTypeRequest = Class(TGoogleBaseObject)
  3138. Private
  3139. FmachineType : String;
  3140. Protected
  3141. //Property setters
  3142. Procedure SetmachineType(AIndex : Integer; const AValue : String); virtual;
  3143. Public
  3144. Published
  3145. Property machineType : String Index 0 Read FmachineType Write SetmachineType;
  3146. end;
  3147. TInstancesSetMachineTypeRequestClass = Class of TInstancesSetMachineTypeRequest;
  3148. { --------------------------------------------------------------------
  3149. TLicense
  3150. --------------------------------------------------------------------}
  3151. TLicense = Class(TGoogleBaseObject)
  3152. Private
  3153. FchargesUseFee : boolean;
  3154. Fkind : String;
  3155. Fname : String;
  3156. FselfLink : String;
  3157. Protected
  3158. //Property setters
  3159. Procedure SetchargesUseFee(AIndex : Integer; const AValue : boolean); virtual;
  3160. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3161. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3162. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  3163. Public
  3164. Published
  3165. Property chargesUseFee : boolean Index 0 Read FchargesUseFee Write SetchargesUseFee;
  3166. Property kind : String Index 8 Read Fkind Write Setkind;
  3167. Property name : String Index 16 Read Fname Write Setname;
  3168. Property selfLink : String Index 24 Read FselfLink Write SetselfLink;
  3169. end;
  3170. TLicenseClass = Class of TLicense;
  3171. { --------------------------------------------------------------------
  3172. TMachineTypeTypescratchDisksItem
  3173. --------------------------------------------------------------------}
  3174. TMachineTypeTypescratchDisksItem = Class(TGoogleBaseObject)
  3175. Private
  3176. FdiskGb : integer;
  3177. Protected
  3178. //Property setters
  3179. Procedure SetdiskGb(AIndex : Integer; const AValue : integer); virtual;
  3180. Public
  3181. Published
  3182. Property diskGb : integer Index 0 Read FdiskGb Write SetdiskGb;
  3183. end;
  3184. TMachineTypeTypescratchDisksItemClass = Class of TMachineTypeTypescratchDisksItem;
  3185. { --------------------------------------------------------------------
  3186. TMachineType
  3187. --------------------------------------------------------------------}
  3188. TMachineType = Class(TGoogleBaseObject)
  3189. Private
  3190. FcreationTimestamp : String;
  3191. Fdeprecated : TDeprecationStatus;
  3192. Fdescription : String;
  3193. FguestCpus : integer;
  3194. Fid : String;
  3195. FimageSpaceGb : integer;
  3196. Fkind : String;
  3197. FmaximumPersistentDisks : integer;
  3198. FmaximumPersistentDisksSizeGb : String;
  3199. FmemoryMb : integer;
  3200. Fname : String;
  3201. FscratchDisks : TMachineTypeTypescratchDisksArray;
  3202. FselfLink : String;
  3203. Fzone : String;
  3204. Protected
  3205. //Property setters
  3206. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  3207. Procedure Setdeprecated(AIndex : Integer; const AValue : TDeprecationStatus); virtual;
  3208. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  3209. Procedure SetguestCpus(AIndex : Integer; const AValue : integer); virtual;
  3210. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3211. Procedure SetimageSpaceGb(AIndex : Integer; const AValue : integer); virtual;
  3212. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3213. Procedure SetmaximumPersistentDisks(AIndex : Integer; const AValue : integer); virtual;
  3214. Procedure SetmaximumPersistentDisksSizeGb(AIndex : Integer; const AValue : String); virtual;
  3215. Procedure SetmemoryMb(AIndex : Integer; const AValue : integer); virtual;
  3216. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3217. Procedure SetscratchDisks(AIndex : Integer; const AValue : TMachineTypeTypescratchDisksArray); virtual;
  3218. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  3219. Procedure Setzone(AIndex : Integer; const AValue : String); virtual;
  3220. //2.6.4. bug workaround
  3221. {$IFDEF VER2_6}
  3222. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3223. {$ENDIF VER2_6}
  3224. Public
  3225. Published
  3226. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  3227. Property deprecated : TDeprecationStatus Index 8 Read Fdeprecated Write Setdeprecated;
  3228. Property description : String Index 16 Read Fdescription Write Setdescription;
  3229. Property guestCpus : integer Index 24 Read FguestCpus Write SetguestCpus;
  3230. Property id : String Index 32 Read Fid Write Setid;
  3231. Property imageSpaceGb : integer Index 40 Read FimageSpaceGb Write SetimageSpaceGb;
  3232. Property kind : String Index 48 Read Fkind Write Setkind;
  3233. Property maximumPersistentDisks : integer Index 56 Read FmaximumPersistentDisks Write SetmaximumPersistentDisks;
  3234. Property maximumPersistentDisksSizeGb : String Index 64 Read FmaximumPersistentDisksSizeGb Write SetmaximumPersistentDisksSizeGb;
  3235. Property memoryMb : integer Index 72 Read FmemoryMb Write SetmemoryMb;
  3236. Property name : String Index 80 Read Fname Write Setname;
  3237. Property scratchDisks : TMachineTypeTypescratchDisksArray Index 88 Read FscratchDisks Write SetscratchDisks;
  3238. Property selfLink : String Index 96 Read FselfLink Write SetselfLink;
  3239. Property zone : String Index 104 Read Fzone Write Setzone;
  3240. end;
  3241. TMachineTypeClass = Class of TMachineType;
  3242. { --------------------------------------------------------------------
  3243. TMachineTypeAggregatedListTypeitems
  3244. --------------------------------------------------------------------}
  3245. TMachineTypeAggregatedListTypeitems = Class(TGoogleBaseObject)
  3246. Private
  3247. Protected
  3248. //Property setters
  3249. Public
  3250. Class Function AllowAdditionalProperties : Boolean; override;
  3251. Published
  3252. end;
  3253. TMachineTypeAggregatedListTypeitemsClass = Class of TMachineTypeAggregatedListTypeitems;
  3254. { --------------------------------------------------------------------
  3255. TMachineTypeAggregatedList
  3256. --------------------------------------------------------------------}
  3257. TMachineTypeAggregatedList = Class(TGoogleBaseObject)
  3258. Private
  3259. Fid : String;
  3260. Fitems : TMachineTypeAggregatedListTypeitems;
  3261. Fkind : String;
  3262. FnextPageToken : String;
  3263. FselfLink : String;
  3264. Protected
  3265. //Property setters
  3266. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3267. Procedure Setitems(AIndex : Integer; const AValue : TMachineTypeAggregatedListTypeitems); virtual;
  3268. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3269. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  3270. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  3271. Public
  3272. Published
  3273. Property id : String Index 0 Read Fid Write Setid;
  3274. Property items : TMachineTypeAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  3275. Property kind : String Index 16 Read Fkind Write Setkind;
  3276. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  3277. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  3278. end;
  3279. TMachineTypeAggregatedListClass = Class of TMachineTypeAggregatedList;
  3280. { --------------------------------------------------------------------
  3281. TMachineTypeList
  3282. --------------------------------------------------------------------}
  3283. TMachineTypeList = Class(TGoogleBaseObject)
  3284. Private
  3285. Fid : String;
  3286. Fitems : TMachineTypeListTypeitemsArray;
  3287. Fkind : String;
  3288. FnextPageToken : String;
  3289. FselfLink : String;
  3290. Protected
  3291. //Property setters
  3292. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3293. Procedure Setitems(AIndex : Integer; const AValue : TMachineTypeListTypeitemsArray); virtual;
  3294. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3295. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  3296. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  3297. //2.6.4. bug workaround
  3298. {$IFDEF VER2_6}
  3299. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3300. {$ENDIF VER2_6}
  3301. Public
  3302. Published
  3303. Property id : String Index 0 Read Fid Write Setid;
  3304. Property items : TMachineTypeListTypeitemsArray Index 8 Read Fitems Write Setitems;
  3305. Property kind : String Index 16 Read Fkind Write Setkind;
  3306. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  3307. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  3308. end;
  3309. TMachineTypeListClass = Class of TMachineTypeList;
  3310. { --------------------------------------------------------------------
  3311. TMachineTypesScopedListTypewarningTypedataItem
  3312. --------------------------------------------------------------------}
  3313. TMachineTypesScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  3314. Private
  3315. Fkey : String;
  3316. Fvalue : String;
  3317. Protected
  3318. //Property setters
  3319. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  3320. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  3321. Public
  3322. Published
  3323. Property key : String Index 0 Read Fkey Write Setkey;
  3324. Property value : String Index 8 Read Fvalue Write Setvalue;
  3325. end;
  3326. TMachineTypesScopedListTypewarningTypedataItemClass = Class of TMachineTypesScopedListTypewarningTypedataItem;
  3327. { --------------------------------------------------------------------
  3328. TMachineTypesScopedListTypewarning
  3329. --------------------------------------------------------------------}
  3330. TMachineTypesScopedListTypewarning = Class(TGoogleBaseObject)
  3331. Private
  3332. Fcode : String;
  3333. Fdata : TMachineTypesScopedListTypewarningTypedataArray;
  3334. Fmessage : String;
  3335. Protected
  3336. //Property setters
  3337. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  3338. Procedure Setdata(AIndex : Integer; const AValue : TMachineTypesScopedListTypewarningTypedataArray); virtual;
  3339. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  3340. //2.6.4. bug workaround
  3341. {$IFDEF VER2_6}
  3342. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3343. {$ENDIF VER2_6}
  3344. Public
  3345. Published
  3346. Property code : String Index 0 Read Fcode Write Setcode;
  3347. Property data : TMachineTypesScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  3348. Property message : String Index 16 Read Fmessage Write Setmessage;
  3349. end;
  3350. TMachineTypesScopedListTypewarningClass = Class of TMachineTypesScopedListTypewarning;
  3351. { --------------------------------------------------------------------
  3352. TMachineTypesScopedList
  3353. --------------------------------------------------------------------}
  3354. TMachineTypesScopedList = Class(TGoogleBaseObject)
  3355. Private
  3356. FmachineTypes : TMachineTypesScopedListTypemachineTypesArray;
  3357. Fwarning : TMachineTypesScopedListTypewarning;
  3358. Protected
  3359. //Property setters
  3360. Procedure SetmachineTypes(AIndex : Integer; const AValue : TMachineTypesScopedListTypemachineTypesArray); virtual;
  3361. Procedure Setwarning(AIndex : Integer; const AValue : TMachineTypesScopedListTypewarning); virtual;
  3362. //2.6.4. bug workaround
  3363. {$IFDEF VER2_6}
  3364. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3365. {$ENDIF VER2_6}
  3366. Public
  3367. Published
  3368. Property machineTypes : TMachineTypesScopedListTypemachineTypesArray Index 0 Read FmachineTypes Write SetmachineTypes;
  3369. Property warning : TMachineTypesScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  3370. end;
  3371. TMachineTypesScopedListClass = Class of TMachineTypesScopedList;
  3372. { --------------------------------------------------------------------
  3373. TManagedInstance
  3374. --------------------------------------------------------------------}
  3375. TManagedInstance = Class(TGoogleBaseObject)
  3376. Private
  3377. FcurrentAction : String;
  3378. Fid : String;
  3379. Finstance : String;
  3380. FinstanceStatus : String;
  3381. FlastAttempt : TManagedInstanceLastAttempt;
  3382. Protected
  3383. //Property setters
  3384. Procedure SetcurrentAction(AIndex : Integer; const AValue : String); virtual;
  3385. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3386. Procedure Setinstance(AIndex : Integer; const AValue : String); virtual;
  3387. Procedure SetinstanceStatus(AIndex : Integer; const AValue : String); virtual;
  3388. Procedure SetlastAttempt(AIndex : Integer; const AValue : TManagedInstanceLastAttempt); virtual;
  3389. Public
  3390. Published
  3391. Property currentAction : String Index 0 Read FcurrentAction Write SetcurrentAction;
  3392. Property id : String Index 8 Read Fid Write Setid;
  3393. Property instance : String Index 16 Read Finstance Write Setinstance;
  3394. Property instanceStatus : String Index 24 Read FinstanceStatus Write SetinstanceStatus;
  3395. Property lastAttempt : TManagedInstanceLastAttempt Index 32 Read FlastAttempt Write SetlastAttempt;
  3396. end;
  3397. TManagedInstanceClass = Class of TManagedInstance;
  3398. { --------------------------------------------------------------------
  3399. TManagedInstanceLastAttemptTypeerrorsTypeerrorsItem
  3400. --------------------------------------------------------------------}
  3401. TManagedInstanceLastAttemptTypeerrorsTypeerrorsItem = Class(TGoogleBaseObject)
  3402. Private
  3403. Fcode : String;
  3404. Flocation : String;
  3405. Fmessage : String;
  3406. Protected
  3407. //Property setters
  3408. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  3409. Procedure Setlocation(AIndex : Integer; const AValue : String); virtual;
  3410. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  3411. Public
  3412. Published
  3413. Property code : String Index 0 Read Fcode Write Setcode;
  3414. Property location : String Index 8 Read Flocation Write Setlocation;
  3415. Property message : String Index 16 Read Fmessage Write Setmessage;
  3416. end;
  3417. TManagedInstanceLastAttemptTypeerrorsTypeerrorsItemClass = Class of TManagedInstanceLastAttemptTypeerrorsTypeerrorsItem;
  3418. { --------------------------------------------------------------------
  3419. TManagedInstanceLastAttemptTypeerrors
  3420. --------------------------------------------------------------------}
  3421. TManagedInstanceLastAttemptTypeerrors = Class(TGoogleBaseObject)
  3422. Private
  3423. Ferrors : TManagedInstanceLastAttemptTypeerrorsTypeerrorsArray;
  3424. Protected
  3425. //Property setters
  3426. Procedure Seterrors(AIndex : Integer; const AValue : TManagedInstanceLastAttemptTypeerrorsTypeerrorsArray); virtual;
  3427. //2.6.4. bug workaround
  3428. {$IFDEF VER2_6}
  3429. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3430. {$ENDIF VER2_6}
  3431. Public
  3432. Published
  3433. Property errors : TManagedInstanceLastAttemptTypeerrorsTypeerrorsArray Index 0 Read Ferrors Write Seterrors;
  3434. end;
  3435. TManagedInstanceLastAttemptTypeerrorsClass = Class of TManagedInstanceLastAttemptTypeerrors;
  3436. { --------------------------------------------------------------------
  3437. TManagedInstanceLastAttempt
  3438. --------------------------------------------------------------------}
  3439. TManagedInstanceLastAttempt = Class(TGoogleBaseObject)
  3440. Private
  3441. Ferrors : TManagedInstanceLastAttemptTypeerrors;
  3442. Protected
  3443. //Property setters
  3444. Procedure Seterrors(AIndex : Integer; const AValue : TManagedInstanceLastAttemptTypeerrors); virtual;
  3445. Public
  3446. Published
  3447. Property errors : TManagedInstanceLastAttemptTypeerrors Index 0 Read Ferrors Write Seterrors;
  3448. end;
  3449. TManagedInstanceLastAttemptClass = Class of TManagedInstanceLastAttempt;
  3450. { --------------------------------------------------------------------
  3451. TMetadataTypeitemsItem
  3452. --------------------------------------------------------------------}
  3453. TMetadataTypeitemsItem = Class(TGoogleBaseObject)
  3454. Private
  3455. Fkey : String;
  3456. Fvalue : String;
  3457. Protected
  3458. //Property setters
  3459. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  3460. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  3461. Public
  3462. Published
  3463. Property key : String Index 0 Read Fkey Write Setkey;
  3464. Property value : String Index 8 Read Fvalue Write Setvalue;
  3465. end;
  3466. TMetadataTypeitemsItemClass = Class of TMetadataTypeitemsItem;
  3467. { --------------------------------------------------------------------
  3468. TMetadata
  3469. --------------------------------------------------------------------}
  3470. TMetadata = Class(TGoogleBaseObject)
  3471. Private
  3472. Ffingerprint : String;
  3473. Fitems : TMetadataTypeitemsArray;
  3474. Fkind : String;
  3475. Protected
  3476. //Property setters
  3477. Procedure Setfingerprint(AIndex : Integer; const AValue : String); virtual;
  3478. Procedure Setitems(AIndex : Integer; const AValue : TMetadataTypeitemsArray); virtual;
  3479. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3480. //2.6.4. bug workaround
  3481. {$IFDEF VER2_6}
  3482. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3483. {$ENDIF VER2_6}
  3484. Public
  3485. Published
  3486. Property fingerprint : String Index 0 Read Ffingerprint Write Setfingerprint;
  3487. Property items : TMetadataTypeitemsArray Index 8 Read Fitems Write Setitems;
  3488. Property kind : String Index 16 Read Fkind Write Setkind;
  3489. end;
  3490. TMetadataClass = Class of TMetadata;
  3491. { --------------------------------------------------------------------
  3492. TNamedPort
  3493. --------------------------------------------------------------------}
  3494. TNamedPort = Class(TGoogleBaseObject)
  3495. Private
  3496. Fname : String;
  3497. Fport : integer;
  3498. Protected
  3499. //Property setters
  3500. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3501. Procedure Setport(AIndex : Integer; const AValue : integer); virtual;
  3502. Public
  3503. Published
  3504. Property name : String Index 0 Read Fname Write Setname;
  3505. Property port : integer Index 8 Read Fport Write Setport;
  3506. end;
  3507. TNamedPortClass = Class of TNamedPort;
  3508. { --------------------------------------------------------------------
  3509. TNetwork
  3510. --------------------------------------------------------------------}
  3511. TNetwork = Class(TGoogleBaseObject)
  3512. Private
  3513. FIPv4Range : String;
  3514. FautoCreateSubnetworks : boolean;
  3515. FcreationTimestamp : String;
  3516. Fdescription : String;
  3517. FgatewayIPv4 : String;
  3518. Fid : String;
  3519. Fkind : String;
  3520. Fname : String;
  3521. FselfLink : String;
  3522. Fsubnetworks : TStringArray;
  3523. Protected
  3524. //Property setters
  3525. Procedure SetIPv4Range(AIndex : Integer; const AValue : String); virtual;
  3526. Procedure SetautoCreateSubnetworks(AIndex : Integer; const AValue : boolean); virtual;
  3527. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  3528. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  3529. Procedure SetgatewayIPv4(AIndex : Integer; const AValue : String); virtual;
  3530. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3531. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3532. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3533. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  3534. Procedure Setsubnetworks(AIndex : Integer; const AValue : TStringArray); virtual;
  3535. //2.6.4. bug workaround
  3536. {$IFDEF VER2_6}
  3537. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3538. {$ENDIF VER2_6}
  3539. Public
  3540. Published
  3541. Property IPv4Range : String Index 0 Read FIPv4Range Write SetIPv4Range;
  3542. Property autoCreateSubnetworks : boolean Index 8 Read FautoCreateSubnetworks Write SetautoCreateSubnetworks;
  3543. Property creationTimestamp : String Index 16 Read FcreationTimestamp Write SetcreationTimestamp;
  3544. Property description : String Index 24 Read Fdescription Write Setdescription;
  3545. Property gatewayIPv4 : String Index 32 Read FgatewayIPv4 Write SetgatewayIPv4;
  3546. Property id : String Index 40 Read Fid Write Setid;
  3547. Property kind : String Index 48 Read Fkind Write Setkind;
  3548. Property name : String Index 56 Read Fname Write Setname;
  3549. Property selfLink : String Index 64 Read FselfLink Write SetselfLink;
  3550. Property subnetworks : TStringArray Index 72 Read Fsubnetworks Write Setsubnetworks;
  3551. end;
  3552. TNetworkClass = Class of TNetwork;
  3553. { --------------------------------------------------------------------
  3554. TNetworkInterface
  3555. --------------------------------------------------------------------}
  3556. TNetworkInterface = Class(TGoogleBaseObject)
  3557. Private
  3558. FaccessConfigs : TNetworkInterfaceTypeaccessConfigsArray;
  3559. Fname : String;
  3560. Fnetwork : String;
  3561. FnetworkIP : String;
  3562. Fsubnetwork : String;
  3563. Protected
  3564. //Property setters
  3565. Procedure SetaccessConfigs(AIndex : Integer; const AValue : TNetworkInterfaceTypeaccessConfigsArray); virtual;
  3566. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3567. Procedure Setnetwork(AIndex : Integer; const AValue : String); virtual;
  3568. Procedure SetnetworkIP(AIndex : Integer; const AValue : String); virtual;
  3569. Procedure Setsubnetwork(AIndex : Integer; const AValue : String); virtual;
  3570. //2.6.4. bug workaround
  3571. {$IFDEF VER2_6}
  3572. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3573. {$ENDIF VER2_6}
  3574. Public
  3575. Published
  3576. Property accessConfigs : TNetworkInterfaceTypeaccessConfigsArray Index 0 Read FaccessConfigs Write SetaccessConfigs;
  3577. Property name : String Index 8 Read Fname Write Setname;
  3578. Property network : String Index 16 Read Fnetwork Write Setnetwork;
  3579. Property networkIP : String Index 24 Read FnetworkIP Write SetnetworkIP;
  3580. Property subnetwork : String Index 32 Read Fsubnetwork Write Setsubnetwork;
  3581. end;
  3582. TNetworkInterfaceClass = Class of TNetworkInterface;
  3583. { --------------------------------------------------------------------
  3584. TNetworkList
  3585. --------------------------------------------------------------------}
  3586. TNetworkList = Class(TGoogleBaseObject)
  3587. Private
  3588. Fid : String;
  3589. Fitems : TNetworkListTypeitemsArray;
  3590. Fkind : String;
  3591. FnextPageToken : String;
  3592. FselfLink : String;
  3593. Protected
  3594. //Property setters
  3595. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3596. Procedure Setitems(AIndex : Integer; const AValue : TNetworkListTypeitemsArray); virtual;
  3597. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3598. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  3599. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  3600. //2.6.4. bug workaround
  3601. {$IFDEF VER2_6}
  3602. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3603. {$ENDIF VER2_6}
  3604. Public
  3605. Published
  3606. Property id : String Index 0 Read Fid Write Setid;
  3607. Property items : TNetworkListTypeitemsArray Index 8 Read Fitems Write Setitems;
  3608. Property kind : String Index 16 Read Fkind Write Setkind;
  3609. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  3610. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  3611. end;
  3612. TNetworkListClass = Class of TNetworkList;
  3613. { --------------------------------------------------------------------
  3614. TOperationTypeerrorTypeerrorsItem
  3615. --------------------------------------------------------------------}
  3616. TOperationTypeerrorTypeerrorsItem = Class(TGoogleBaseObject)
  3617. Private
  3618. Fcode : String;
  3619. Flocation : String;
  3620. Fmessage : String;
  3621. Protected
  3622. //Property setters
  3623. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  3624. Procedure Setlocation(AIndex : Integer; const AValue : String); virtual;
  3625. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  3626. Public
  3627. Published
  3628. Property code : String Index 0 Read Fcode Write Setcode;
  3629. Property location : String Index 8 Read Flocation Write Setlocation;
  3630. Property message : String Index 16 Read Fmessage Write Setmessage;
  3631. end;
  3632. TOperationTypeerrorTypeerrorsItemClass = Class of TOperationTypeerrorTypeerrorsItem;
  3633. { --------------------------------------------------------------------
  3634. TOperationTypeerror
  3635. --------------------------------------------------------------------}
  3636. TOperationTypeerror = Class(TGoogleBaseObject)
  3637. Private
  3638. Ferrors : TOperationTypeerrorTypeerrorsArray;
  3639. Protected
  3640. //Property setters
  3641. Procedure Seterrors(AIndex : Integer; const AValue : TOperationTypeerrorTypeerrorsArray); virtual;
  3642. //2.6.4. bug workaround
  3643. {$IFDEF VER2_6}
  3644. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3645. {$ENDIF VER2_6}
  3646. Public
  3647. Published
  3648. Property errors : TOperationTypeerrorTypeerrorsArray Index 0 Read Ferrors Write Seterrors;
  3649. end;
  3650. TOperationTypeerrorClass = Class of TOperationTypeerror;
  3651. { --------------------------------------------------------------------
  3652. TOperationTypewarningsItemTypedataItem
  3653. --------------------------------------------------------------------}
  3654. TOperationTypewarningsItemTypedataItem = Class(TGoogleBaseObject)
  3655. Private
  3656. Fkey : String;
  3657. Fvalue : String;
  3658. Protected
  3659. //Property setters
  3660. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  3661. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  3662. Public
  3663. Published
  3664. Property key : String Index 0 Read Fkey Write Setkey;
  3665. Property value : String Index 8 Read Fvalue Write Setvalue;
  3666. end;
  3667. TOperationTypewarningsItemTypedataItemClass = Class of TOperationTypewarningsItemTypedataItem;
  3668. { --------------------------------------------------------------------
  3669. TOperationTypewarningsItem
  3670. --------------------------------------------------------------------}
  3671. TOperationTypewarningsItem = Class(TGoogleBaseObject)
  3672. Private
  3673. Fcode : String;
  3674. Fdata : TOperationTypewarningsItemTypedataArray;
  3675. Fmessage : String;
  3676. Protected
  3677. //Property setters
  3678. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  3679. Procedure Setdata(AIndex : Integer; const AValue : TOperationTypewarningsItemTypedataArray); virtual;
  3680. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  3681. //2.6.4. bug workaround
  3682. {$IFDEF VER2_6}
  3683. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3684. {$ENDIF VER2_6}
  3685. Public
  3686. Published
  3687. Property code : String Index 0 Read Fcode Write Setcode;
  3688. Property data : TOperationTypewarningsItemTypedataArray Index 8 Read Fdata Write Setdata;
  3689. Property message : String Index 16 Read Fmessage Write Setmessage;
  3690. end;
  3691. TOperationTypewarningsItemClass = Class of TOperationTypewarningsItem;
  3692. { --------------------------------------------------------------------
  3693. TOperation
  3694. --------------------------------------------------------------------}
  3695. TOperation = Class(TGoogleBaseObject)
  3696. Private
  3697. FclientOperationId : String;
  3698. FcreationTimestamp : String;
  3699. Fdescription : String;
  3700. FendTime : String;
  3701. Ferror : TOperationTypeerror;
  3702. FhttpErrorMessage : String;
  3703. FhttpErrorStatusCode : integer;
  3704. Fid : String;
  3705. FinsertTime : String;
  3706. Fkind : String;
  3707. Fname : String;
  3708. FoperationType : String;
  3709. Fprogress : integer;
  3710. Fregion : String;
  3711. FselfLink : String;
  3712. FstartTime : String;
  3713. Fstatus : String;
  3714. FstatusMessage : String;
  3715. FtargetId : String;
  3716. FtargetLink : String;
  3717. Fuser : String;
  3718. Fwarnings : TOperationTypewarningsArray;
  3719. Fzone : String;
  3720. Protected
  3721. //Property setters
  3722. Procedure SetclientOperationId(AIndex : Integer; const AValue : String); virtual;
  3723. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  3724. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  3725. Procedure SetendTime(AIndex : Integer; const AValue : String); virtual;
  3726. Procedure Seterror(AIndex : Integer; const AValue : TOperationTypeerror); virtual;
  3727. Procedure SethttpErrorMessage(AIndex : Integer; const AValue : String); virtual;
  3728. Procedure SethttpErrorStatusCode(AIndex : Integer; const AValue : integer); virtual;
  3729. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3730. Procedure SetinsertTime(AIndex : Integer; const AValue : String); virtual;
  3731. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3732. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3733. Procedure SetoperationType(AIndex : Integer; const AValue : String); virtual;
  3734. Procedure Setprogress(AIndex : Integer; const AValue : integer); virtual;
  3735. Procedure Setregion(AIndex : Integer; const AValue : String); virtual;
  3736. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  3737. Procedure SetstartTime(AIndex : Integer; const AValue : String); virtual;
  3738. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  3739. Procedure SetstatusMessage(AIndex : Integer; const AValue : String); virtual;
  3740. Procedure SettargetId(AIndex : Integer; const AValue : String); virtual;
  3741. Procedure SettargetLink(AIndex : Integer; const AValue : String); virtual;
  3742. Procedure Setuser(AIndex : Integer; const AValue : String); virtual;
  3743. Procedure Setwarnings(AIndex : Integer; const AValue : TOperationTypewarningsArray); virtual;
  3744. Procedure Setzone(AIndex : Integer; const AValue : String); virtual;
  3745. //2.6.4. bug workaround
  3746. {$IFDEF VER2_6}
  3747. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3748. {$ENDIF VER2_6}
  3749. Public
  3750. Published
  3751. Property clientOperationId : String Index 0 Read FclientOperationId Write SetclientOperationId;
  3752. Property creationTimestamp : String Index 8 Read FcreationTimestamp Write SetcreationTimestamp;
  3753. Property description : String Index 16 Read Fdescription Write Setdescription;
  3754. Property endTime : String Index 24 Read FendTime Write SetendTime;
  3755. Property error : TOperationTypeerror Index 32 Read Ferror Write Seterror;
  3756. Property httpErrorMessage : String Index 40 Read FhttpErrorMessage Write SethttpErrorMessage;
  3757. Property httpErrorStatusCode : integer Index 48 Read FhttpErrorStatusCode Write SethttpErrorStatusCode;
  3758. Property id : String Index 56 Read Fid Write Setid;
  3759. Property insertTime : String Index 64 Read FinsertTime Write SetinsertTime;
  3760. Property kind : String Index 72 Read Fkind Write Setkind;
  3761. Property name : String Index 80 Read Fname Write Setname;
  3762. Property operationType : String Index 88 Read FoperationType Write SetoperationType;
  3763. Property progress : integer Index 96 Read Fprogress Write Setprogress;
  3764. Property region : String Index 104 Read Fregion Write Setregion;
  3765. Property selfLink : String Index 112 Read FselfLink Write SetselfLink;
  3766. Property startTime : String Index 120 Read FstartTime Write SetstartTime;
  3767. Property status : String Index 128 Read Fstatus Write Setstatus;
  3768. Property statusMessage : String Index 136 Read FstatusMessage Write SetstatusMessage;
  3769. Property targetId : String Index 144 Read FtargetId Write SettargetId;
  3770. Property targetLink : String Index 152 Read FtargetLink Write SettargetLink;
  3771. Property user : String Index 160 Read Fuser Write Setuser;
  3772. Property warnings : TOperationTypewarningsArray Index 168 Read Fwarnings Write Setwarnings;
  3773. Property zone : String Index 176 Read Fzone Write Setzone;
  3774. end;
  3775. TOperationClass = Class of TOperation;
  3776. { --------------------------------------------------------------------
  3777. TOperationAggregatedListTypeitems
  3778. --------------------------------------------------------------------}
  3779. TOperationAggregatedListTypeitems = Class(TGoogleBaseObject)
  3780. Private
  3781. Protected
  3782. //Property setters
  3783. Public
  3784. Class Function AllowAdditionalProperties : Boolean; override;
  3785. Published
  3786. end;
  3787. TOperationAggregatedListTypeitemsClass = Class of TOperationAggregatedListTypeitems;
  3788. { --------------------------------------------------------------------
  3789. TOperationAggregatedList
  3790. --------------------------------------------------------------------}
  3791. TOperationAggregatedList = Class(TGoogleBaseObject)
  3792. Private
  3793. Fid : String;
  3794. Fitems : TOperationAggregatedListTypeitems;
  3795. Fkind : String;
  3796. FnextPageToken : String;
  3797. FselfLink : String;
  3798. Protected
  3799. //Property setters
  3800. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3801. Procedure Setitems(AIndex : Integer; const AValue : TOperationAggregatedListTypeitems); virtual;
  3802. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3803. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  3804. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  3805. Public
  3806. Published
  3807. Property id : String Index 0 Read Fid Write Setid;
  3808. Property items : TOperationAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  3809. Property kind : String Index 16 Read Fkind Write Setkind;
  3810. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  3811. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  3812. end;
  3813. TOperationAggregatedListClass = Class of TOperationAggregatedList;
  3814. { --------------------------------------------------------------------
  3815. TOperationList
  3816. --------------------------------------------------------------------}
  3817. TOperationList = Class(TGoogleBaseObject)
  3818. Private
  3819. Fid : String;
  3820. Fitems : TOperationListTypeitemsArray;
  3821. Fkind : String;
  3822. FnextPageToken : String;
  3823. FselfLink : String;
  3824. Protected
  3825. //Property setters
  3826. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3827. Procedure Setitems(AIndex : Integer; const AValue : TOperationListTypeitemsArray); virtual;
  3828. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3829. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  3830. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  3831. //2.6.4. bug workaround
  3832. {$IFDEF VER2_6}
  3833. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3834. {$ENDIF VER2_6}
  3835. Public
  3836. Published
  3837. Property id : String Index 0 Read Fid Write Setid;
  3838. Property items : TOperationListTypeitemsArray Index 8 Read Fitems Write Setitems;
  3839. Property kind : String Index 16 Read Fkind Write Setkind;
  3840. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  3841. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  3842. end;
  3843. TOperationListClass = Class of TOperationList;
  3844. { --------------------------------------------------------------------
  3845. TOperationsScopedListTypewarningTypedataItem
  3846. --------------------------------------------------------------------}
  3847. TOperationsScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  3848. Private
  3849. Fkey : String;
  3850. Fvalue : String;
  3851. Protected
  3852. //Property setters
  3853. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  3854. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  3855. Public
  3856. Published
  3857. Property key : String Index 0 Read Fkey Write Setkey;
  3858. Property value : String Index 8 Read Fvalue Write Setvalue;
  3859. end;
  3860. TOperationsScopedListTypewarningTypedataItemClass = Class of TOperationsScopedListTypewarningTypedataItem;
  3861. { --------------------------------------------------------------------
  3862. TOperationsScopedListTypewarning
  3863. --------------------------------------------------------------------}
  3864. TOperationsScopedListTypewarning = Class(TGoogleBaseObject)
  3865. Private
  3866. Fcode : String;
  3867. Fdata : TOperationsScopedListTypewarningTypedataArray;
  3868. Fmessage : String;
  3869. Protected
  3870. //Property setters
  3871. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  3872. Procedure Setdata(AIndex : Integer; const AValue : TOperationsScopedListTypewarningTypedataArray); virtual;
  3873. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  3874. //2.6.4. bug workaround
  3875. {$IFDEF VER2_6}
  3876. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3877. {$ENDIF VER2_6}
  3878. Public
  3879. Published
  3880. Property code : String Index 0 Read Fcode Write Setcode;
  3881. Property data : TOperationsScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  3882. Property message : String Index 16 Read Fmessage Write Setmessage;
  3883. end;
  3884. TOperationsScopedListTypewarningClass = Class of TOperationsScopedListTypewarning;
  3885. { --------------------------------------------------------------------
  3886. TOperationsScopedList
  3887. --------------------------------------------------------------------}
  3888. TOperationsScopedList = Class(TGoogleBaseObject)
  3889. Private
  3890. Foperations : TOperationsScopedListTypeoperationsArray;
  3891. Fwarning : TOperationsScopedListTypewarning;
  3892. Protected
  3893. //Property setters
  3894. Procedure Setoperations(AIndex : Integer; const AValue : TOperationsScopedListTypeoperationsArray); virtual;
  3895. Procedure Setwarning(AIndex : Integer; const AValue : TOperationsScopedListTypewarning); virtual;
  3896. //2.6.4. bug workaround
  3897. {$IFDEF VER2_6}
  3898. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3899. {$ENDIF VER2_6}
  3900. Public
  3901. Published
  3902. Property operations : TOperationsScopedListTypeoperationsArray Index 0 Read Foperations Write Setoperations;
  3903. Property warning : TOperationsScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  3904. end;
  3905. TOperationsScopedListClass = Class of TOperationsScopedList;
  3906. { --------------------------------------------------------------------
  3907. TPathMatcher
  3908. --------------------------------------------------------------------}
  3909. TPathMatcher = Class(TGoogleBaseObject)
  3910. Private
  3911. FdefaultService : String;
  3912. Fdescription : String;
  3913. Fname : String;
  3914. FpathRules : TPathMatcherTypepathRulesArray;
  3915. Protected
  3916. //Property setters
  3917. Procedure SetdefaultService(AIndex : Integer; const AValue : String); virtual;
  3918. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  3919. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3920. Procedure SetpathRules(AIndex : Integer; const AValue : TPathMatcherTypepathRulesArray); virtual;
  3921. //2.6.4. bug workaround
  3922. {$IFDEF VER2_6}
  3923. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3924. {$ENDIF VER2_6}
  3925. Public
  3926. Published
  3927. Property defaultService : String Index 0 Read FdefaultService Write SetdefaultService;
  3928. Property description : String Index 8 Read Fdescription Write Setdescription;
  3929. Property name : String Index 16 Read Fname Write Setname;
  3930. Property pathRules : TPathMatcherTypepathRulesArray Index 24 Read FpathRules Write SetpathRules;
  3931. end;
  3932. TPathMatcherClass = Class of TPathMatcher;
  3933. { --------------------------------------------------------------------
  3934. TPathRule
  3935. --------------------------------------------------------------------}
  3936. TPathRule = Class(TGoogleBaseObject)
  3937. Private
  3938. Fpaths : TStringArray;
  3939. Fservice : String;
  3940. Protected
  3941. //Property setters
  3942. Procedure Setpaths(AIndex : Integer; const AValue : TStringArray); virtual;
  3943. Procedure Setservice(AIndex : Integer; const AValue : String); virtual;
  3944. //2.6.4. bug workaround
  3945. {$IFDEF VER2_6}
  3946. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3947. {$ENDIF VER2_6}
  3948. Public
  3949. Published
  3950. Property paths : TStringArray Index 0 Read Fpaths Write Setpaths;
  3951. Property service : String Index 8 Read Fservice Write Setservice;
  3952. end;
  3953. TPathRuleClass = Class of TPathRule;
  3954. { --------------------------------------------------------------------
  3955. TProject
  3956. --------------------------------------------------------------------}
  3957. TProject = Class(TGoogleBaseObject)
  3958. Private
  3959. FcommonInstanceMetadata : TMetadata;
  3960. FcreationTimestamp : String;
  3961. Fdescription : String;
  3962. FenabledFeatures : TStringArray;
  3963. Fid : String;
  3964. Fkind : String;
  3965. Fname : String;
  3966. Fquotas : TProjectTypequotasArray;
  3967. FselfLink : String;
  3968. FusageExportLocation : TUsageExportLocation;
  3969. Protected
  3970. //Property setters
  3971. Procedure SetcommonInstanceMetadata(AIndex : Integer; const AValue : TMetadata); virtual;
  3972. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  3973. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  3974. Procedure SetenabledFeatures(AIndex : Integer; const AValue : TStringArray); virtual;
  3975. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  3976. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  3977. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  3978. Procedure Setquotas(AIndex : Integer; const AValue : TProjectTypequotasArray); virtual;
  3979. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  3980. Procedure SetusageExportLocation(AIndex : Integer; const AValue : TUsageExportLocation); virtual;
  3981. //2.6.4. bug workaround
  3982. {$IFDEF VER2_6}
  3983. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  3984. {$ENDIF VER2_6}
  3985. Public
  3986. Published
  3987. Property commonInstanceMetadata : TMetadata Index 0 Read FcommonInstanceMetadata Write SetcommonInstanceMetadata;
  3988. Property creationTimestamp : String Index 8 Read FcreationTimestamp Write SetcreationTimestamp;
  3989. Property description : String Index 16 Read Fdescription Write Setdescription;
  3990. Property enabledFeatures : TStringArray Index 24 Read FenabledFeatures Write SetenabledFeatures;
  3991. Property id : String Index 32 Read Fid Write Setid;
  3992. Property kind : String Index 40 Read Fkind Write Setkind;
  3993. Property name : String Index 48 Read Fname Write Setname;
  3994. Property quotas : TProjectTypequotasArray Index 56 Read Fquotas Write Setquotas;
  3995. Property selfLink : String Index 64 Read FselfLink Write SetselfLink;
  3996. Property usageExportLocation : TUsageExportLocation Index 72 Read FusageExportLocation Write SetusageExportLocation;
  3997. end;
  3998. TProjectClass = Class of TProject;
  3999. { --------------------------------------------------------------------
  4000. TQuota
  4001. --------------------------------------------------------------------}
  4002. TQuota = Class(TGoogleBaseObject)
  4003. Private
  4004. Flimit : double;
  4005. Fmetric : String;
  4006. Fusage : double;
  4007. Protected
  4008. //Property setters
  4009. Procedure Setlimit(AIndex : Integer; const AValue : double); virtual;
  4010. Procedure Setmetric(AIndex : Integer; const AValue : String); virtual;
  4011. Procedure Setusage(AIndex : Integer; const AValue : double); virtual;
  4012. Public
  4013. Published
  4014. Property limit : double Index 0 Read Flimit Write Setlimit;
  4015. Property metric : String Index 8 Read Fmetric Write Setmetric;
  4016. Property usage : double Index 16 Read Fusage Write Setusage;
  4017. end;
  4018. TQuotaClass = Class of TQuota;
  4019. { --------------------------------------------------------------------
  4020. TRegion
  4021. --------------------------------------------------------------------}
  4022. TRegion = Class(TGoogleBaseObject)
  4023. Private
  4024. FcreationTimestamp : String;
  4025. Fdeprecated : TDeprecationStatus;
  4026. Fdescription : String;
  4027. Fid : String;
  4028. Fkind : String;
  4029. Fname : String;
  4030. Fquotas : TRegionTypequotasArray;
  4031. FselfLink : String;
  4032. Fstatus : String;
  4033. Fzones : TStringArray;
  4034. Protected
  4035. //Property setters
  4036. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  4037. Procedure Setdeprecated(AIndex : Integer; const AValue : TDeprecationStatus); virtual;
  4038. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  4039. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4040. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4041. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4042. Procedure Setquotas(AIndex : Integer; const AValue : TRegionTypequotasArray); virtual;
  4043. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4044. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  4045. Procedure Setzones(AIndex : Integer; const AValue : TStringArray); virtual;
  4046. //2.6.4. bug workaround
  4047. {$IFDEF VER2_6}
  4048. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4049. {$ENDIF VER2_6}
  4050. Public
  4051. Published
  4052. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  4053. Property deprecated : TDeprecationStatus Index 8 Read Fdeprecated Write Setdeprecated;
  4054. Property description : String Index 16 Read Fdescription Write Setdescription;
  4055. Property id : String Index 24 Read Fid Write Setid;
  4056. Property kind : String Index 32 Read Fkind Write Setkind;
  4057. Property name : String Index 40 Read Fname Write Setname;
  4058. Property quotas : TRegionTypequotasArray Index 48 Read Fquotas Write Setquotas;
  4059. Property selfLink : String Index 56 Read FselfLink Write SetselfLink;
  4060. Property status : String Index 64 Read Fstatus Write Setstatus;
  4061. Property zones : TStringArray Index 72 Read Fzones Write Setzones;
  4062. end;
  4063. TRegionClass = Class of TRegion;
  4064. { --------------------------------------------------------------------
  4065. TRegionList
  4066. --------------------------------------------------------------------}
  4067. TRegionList = Class(TGoogleBaseObject)
  4068. Private
  4069. Fid : String;
  4070. Fitems : TRegionListTypeitemsArray;
  4071. Fkind : String;
  4072. FnextPageToken : String;
  4073. FselfLink : String;
  4074. Protected
  4075. //Property setters
  4076. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4077. Procedure Setitems(AIndex : Integer; const AValue : TRegionListTypeitemsArray); virtual;
  4078. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4079. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4080. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4081. //2.6.4. bug workaround
  4082. {$IFDEF VER2_6}
  4083. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4084. {$ENDIF VER2_6}
  4085. Public
  4086. Published
  4087. Property id : String Index 0 Read Fid Write Setid;
  4088. Property items : TRegionListTypeitemsArray Index 8 Read Fitems Write Setitems;
  4089. Property kind : String Index 16 Read Fkind Write Setkind;
  4090. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  4091. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  4092. end;
  4093. TRegionListClass = Class of TRegionList;
  4094. { --------------------------------------------------------------------
  4095. TResourceGroupReference
  4096. --------------------------------------------------------------------}
  4097. TResourceGroupReference = Class(TGoogleBaseObject)
  4098. Private
  4099. Fgroup : String;
  4100. Protected
  4101. //Property setters
  4102. Procedure Setgroup(AIndex : Integer; const AValue : String); virtual;
  4103. Public
  4104. Published
  4105. Property group : String Index 0 Read Fgroup Write Setgroup;
  4106. end;
  4107. TResourceGroupReferenceClass = Class of TResourceGroupReference;
  4108. { --------------------------------------------------------------------
  4109. TRouteTypewarningsItemTypedataItem
  4110. --------------------------------------------------------------------}
  4111. TRouteTypewarningsItemTypedataItem = Class(TGoogleBaseObject)
  4112. Private
  4113. Fkey : String;
  4114. Fvalue : String;
  4115. Protected
  4116. //Property setters
  4117. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  4118. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  4119. Public
  4120. Published
  4121. Property key : String Index 0 Read Fkey Write Setkey;
  4122. Property value : String Index 8 Read Fvalue Write Setvalue;
  4123. end;
  4124. TRouteTypewarningsItemTypedataItemClass = Class of TRouteTypewarningsItemTypedataItem;
  4125. { --------------------------------------------------------------------
  4126. TRouteTypewarningsItem
  4127. --------------------------------------------------------------------}
  4128. TRouteTypewarningsItem = Class(TGoogleBaseObject)
  4129. Private
  4130. Fcode : String;
  4131. Fdata : TRouteTypewarningsItemTypedataArray;
  4132. Fmessage : String;
  4133. Protected
  4134. //Property setters
  4135. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  4136. Procedure Setdata(AIndex : Integer; const AValue : TRouteTypewarningsItemTypedataArray); virtual;
  4137. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  4138. //2.6.4. bug workaround
  4139. {$IFDEF VER2_6}
  4140. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4141. {$ENDIF VER2_6}
  4142. Public
  4143. Published
  4144. Property code : String Index 0 Read Fcode Write Setcode;
  4145. Property data : TRouteTypewarningsItemTypedataArray Index 8 Read Fdata Write Setdata;
  4146. Property message : String Index 16 Read Fmessage Write Setmessage;
  4147. end;
  4148. TRouteTypewarningsItemClass = Class of TRouteTypewarningsItem;
  4149. { --------------------------------------------------------------------
  4150. TRoute
  4151. --------------------------------------------------------------------}
  4152. TRoute = Class(TGoogleBaseObject)
  4153. Private
  4154. FcreationTimestamp : String;
  4155. Fdescription : String;
  4156. FdestRange : String;
  4157. Fid : String;
  4158. Fkind : String;
  4159. Fname : String;
  4160. Fnetwork : String;
  4161. FnextHopGateway : String;
  4162. FnextHopInstance : String;
  4163. FnextHopIp : String;
  4164. FnextHopNetwork : String;
  4165. FnextHopVpnTunnel : String;
  4166. Fpriority : integer;
  4167. FselfLink : String;
  4168. Ftags : TStringArray;
  4169. Fwarnings : TRouteTypewarningsArray;
  4170. Protected
  4171. //Property setters
  4172. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  4173. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  4174. Procedure SetdestRange(AIndex : Integer; const AValue : String); virtual;
  4175. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4176. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4177. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4178. Procedure Setnetwork(AIndex : Integer; const AValue : String); virtual;
  4179. Procedure SetnextHopGateway(AIndex : Integer; const AValue : String); virtual;
  4180. Procedure SetnextHopInstance(AIndex : Integer; const AValue : String); virtual;
  4181. Procedure SetnextHopIp(AIndex : Integer; const AValue : String); virtual;
  4182. Procedure SetnextHopNetwork(AIndex : Integer; const AValue : String); virtual;
  4183. Procedure SetnextHopVpnTunnel(AIndex : Integer; const AValue : String); virtual;
  4184. Procedure Setpriority(AIndex : Integer; const AValue : integer); virtual;
  4185. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4186. Procedure Settags(AIndex : Integer; const AValue : TStringArray); virtual;
  4187. Procedure Setwarnings(AIndex : Integer; const AValue : TRouteTypewarningsArray); virtual;
  4188. //2.6.4. bug workaround
  4189. {$IFDEF VER2_6}
  4190. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4191. {$ENDIF VER2_6}
  4192. Public
  4193. Published
  4194. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  4195. Property description : String Index 8 Read Fdescription Write Setdescription;
  4196. Property destRange : String Index 16 Read FdestRange Write SetdestRange;
  4197. Property id : String Index 24 Read Fid Write Setid;
  4198. Property kind : String Index 32 Read Fkind Write Setkind;
  4199. Property name : String Index 40 Read Fname Write Setname;
  4200. Property network : String Index 48 Read Fnetwork Write Setnetwork;
  4201. Property nextHopGateway : String Index 56 Read FnextHopGateway Write SetnextHopGateway;
  4202. Property nextHopInstance : String Index 64 Read FnextHopInstance Write SetnextHopInstance;
  4203. Property nextHopIp : String Index 72 Read FnextHopIp Write SetnextHopIp;
  4204. Property nextHopNetwork : String Index 80 Read FnextHopNetwork Write SetnextHopNetwork;
  4205. Property nextHopVpnTunnel : String Index 88 Read FnextHopVpnTunnel Write SetnextHopVpnTunnel;
  4206. Property priority : integer Index 96 Read Fpriority Write Setpriority;
  4207. Property selfLink : String Index 104 Read FselfLink Write SetselfLink;
  4208. Property tags : TStringArray Index 112 Read Ftags Write Settags;
  4209. Property warnings : TRouteTypewarningsArray Index 120 Read Fwarnings Write Setwarnings;
  4210. end;
  4211. TRouteClass = Class of TRoute;
  4212. { --------------------------------------------------------------------
  4213. TRouteList
  4214. --------------------------------------------------------------------}
  4215. TRouteList = Class(TGoogleBaseObject)
  4216. Private
  4217. Fid : String;
  4218. Fitems : TRouteListTypeitemsArray;
  4219. Fkind : String;
  4220. FnextPageToken : String;
  4221. FselfLink : String;
  4222. Protected
  4223. //Property setters
  4224. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4225. Procedure Setitems(AIndex : Integer; const AValue : TRouteListTypeitemsArray); virtual;
  4226. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4227. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4228. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4229. //2.6.4. bug workaround
  4230. {$IFDEF VER2_6}
  4231. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4232. {$ENDIF VER2_6}
  4233. Public
  4234. Published
  4235. Property id : String Index 0 Read Fid Write Setid;
  4236. Property items : TRouteListTypeitemsArray Index 8 Read Fitems Write Setitems;
  4237. Property kind : String Index 16 Read Fkind Write Setkind;
  4238. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  4239. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  4240. end;
  4241. TRouteListClass = Class of TRouteList;
  4242. { --------------------------------------------------------------------
  4243. TScheduling
  4244. --------------------------------------------------------------------}
  4245. TScheduling = Class(TGoogleBaseObject)
  4246. Private
  4247. FautomaticRestart : boolean;
  4248. FonHostMaintenance : String;
  4249. Fpreemptible : boolean;
  4250. Protected
  4251. //Property setters
  4252. Procedure SetautomaticRestart(AIndex : Integer; const AValue : boolean); virtual;
  4253. Procedure SetonHostMaintenance(AIndex : Integer; const AValue : String); virtual;
  4254. Procedure Setpreemptible(AIndex : Integer; const AValue : boolean); virtual;
  4255. Public
  4256. Published
  4257. Property automaticRestart : boolean Index 0 Read FautomaticRestart Write SetautomaticRestart;
  4258. Property onHostMaintenance : String Index 8 Read FonHostMaintenance Write SetonHostMaintenance;
  4259. Property preemptible : boolean Index 16 Read Fpreemptible Write Setpreemptible;
  4260. end;
  4261. TSchedulingClass = Class of TScheduling;
  4262. { --------------------------------------------------------------------
  4263. TSerialPortOutput
  4264. --------------------------------------------------------------------}
  4265. TSerialPortOutput = Class(TGoogleBaseObject)
  4266. Private
  4267. Fcontents : String;
  4268. Fkind : String;
  4269. FselfLink : String;
  4270. Protected
  4271. //Property setters
  4272. Procedure Setcontents(AIndex : Integer; const AValue : String); virtual;
  4273. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4274. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4275. Public
  4276. Published
  4277. Property contents : String Index 0 Read Fcontents Write Setcontents;
  4278. Property kind : String Index 8 Read Fkind Write Setkind;
  4279. Property selfLink : String Index 16 Read FselfLink Write SetselfLink;
  4280. end;
  4281. TSerialPortOutputClass = Class of TSerialPortOutput;
  4282. { --------------------------------------------------------------------
  4283. TServiceAccount
  4284. --------------------------------------------------------------------}
  4285. TServiceAccount = Class(TGoogleBaseObject)
  4286. Private
  4287. Femail : String;
  4288. Fscopes : TStringArray;
  4289. Protected
  4290. //Property setters
  4291. Procedure Setemail(AIndex : Integer; const AValue : String); virtual;
  4292. Procedure Setscopes(AIndex : Integer; const AValue : TStringArray); virtual;
  4293. //2.6.4. bug workaround
  4294. {$IFDEF VER2_6}
  4295. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4296. {$ENDIF VER2_6}
  4297. Public
  4298. Published
  4299. Property email : String Index 0 Read Femail Write Setemail;
  4300. Property scopes : TStringArray Index 8 Read Fscopes Write Setscopes;
  4301. end;
  4302. TServiceAccountClass = Class of TServiceAccount;
  4303. { --------------------------------------------------------------------
  4304. TSnapshot
  4305. --------------------------------------------------------------------}
  4306. TSnapshot = Class(TGoogleBaseObject)
  4307. Private
  4308. FcreationTimestamp : String;
  4309. Fdescription : String;
  4310. FdiskSizeGb : String;
  4311. Fid : String;
  4312. Fkind : String;
  4313. Flicenses : TStringArray;
  4314. Fname : String;
  4315. FselfLink : String;
  4316. FsourceDisk : String;
  4317. FsourceDiskId : String;
  4318. Fstatus : String;
  4319. FstorageBytes : String;
  4320. FstorageBytesStatus : String;
  4321. Protected
  4322. //Property setters
  4323. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  4324. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  4325. Procedure SetdiskSizeGb(AIndex : Integer; const AValue : String); virtual;
  4326. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4327. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4328. Procedure Setlicenses(AIndex : Integer; const AValue : TStringArray); virtual;
  4329. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4330. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4331. Procedure SetsourceDisk(AIndex : Integer; const AValue : String); virtual;
  4332. Procedure SetsourceDiskId(AIndex : Integer; const AValue : String); virtual;
  4333. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  4334. Procedure SetstorageBytes(AIndex : Integer; const AValue : String); virtual;
  4335. Procedure SetstorageBytesStatus(AIndex : Integer; const AValue : String); virtual;
  4336. //2.6.4. bug workaround
  4337. {$IFDEF VER2_6}
  4338. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4339. {$ENDIF VER2_6}
  4340. Public
  4341. Published
  4342. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  4343. Property description : String Index 8 Read Fdescription Write Setdescription;
  4344. Property diskSizeGb : String Index 16 Read FdiskSizeGb Write SetdiskSizeGb;
  4345. Property id : String Index 24 Read Fid Write Setid;
  4346. Property kind : String Index 32 Read Fkind Write Setkind;
  4347. Property licenses : TStringArray Index 40 Read Flicenses Write Setlicenses;
  4348. Property name : String Index 48 Read Fname Write Setname;
  4349. Property selfLink : String Index 56 Read FselfLink Write SetselfLink;
  4350. Property sourceDisk : String Index 64 Read FsourceDisk Write SetsourceDisk;
  4351. Property sourceDiskId : String Index 72 Read FsourceDiskId Write SetsourceDiskId;
  4352. Property status : String Index 80 Read Fstatus Write Setstatus;
  4353. Property storageBytes : String Index 88 Read FstorageBytes Write SetstorageBytes;
  4354. Property storageBytesStatus : String Index 96 Read FstorageBytesStatus Write SetstorageBytesStatus;
  4355. end;
  4356. TSnapshotClass = Class of TSnapshot;
  4357. { --------------------------------------------------------------------
  4358. TSnapshotList
  4359. --------------------------------------------------------------------}
  4360. TSnapshotList = Class(TGoogleBaseObject)
  4361. Private
  4362. Fid : String;
  4363. Fitems : TSnapshotListTypeitemsArray;
  4364. Fkind : String;
  4365. FnextPageToken : String;
  4366. FselfLink : String;
  4367. Protected
  4368. //Property setters
  4369. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4370. Procedure Setitems(AIndex : Integer; const AValue : TSnapshotListTypeitemsArray); virtual;
  4371. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4372. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4373. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4374. //2.6.4. bug workaround
  4375. {$IFDEF VER2_6}
  4376. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4377. {$ENDIF VER2_6}
  4378. Public
  4379. Published
  4380. Property id : String Index 0 Read Fid Write Setid;
  4381. Property items : TSnapshotListTypeitemsArray Index 8 Read Fitems Write Setitems;
  4382. Property kind : String Index 16 Read Fkind Write Setkind;
  4383. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  4384. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  4385. end;
  4386. TSnapshotListClass = Class of TSnapshotList;
  4387. { --------------------------------------------------------------------
  4388. TSslCertificate
  4389. --------------------------------------------------------------------}
  4390. TSslCertificate = Class(TGoogleBaseObject)
  4391. Private
  4392. Fcertificate : String;
  4393. FcreationTimestamp : String;
  4394. Fdescription : String;
  4395. Fid : String;
  4396. Fkind : String;
  4397. Fname : String;
  4398. FprivateKey : String;
  4399. FselfLink : String;
  4400. Protected
  4401. //Property setters
  4402. Procedure Setcertificate(AIndex : Integer; const AValue : String); virtual;
  4403. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  4404. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  4405. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4406. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4407. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4408. Procedure SetprivateKey(AIndex : Integer; const AValue : String); virtual;
  4409. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4410. Public
  4411. Published
  4412. Property certificate : String Index 0 Read Fcertificate Write Setcertificate;
  4413. Property creationTimestamp : String Index 8 Read FcreationTimestamp Write SetcreationTimestamp;
  4414. Property description : String Index 16 Read Fdescription Write Setdescription;
  4415. Property id : String Index 24 Read Fid Write Setid;
  4416. Property kind : String Index 32 Read Fkind Write Setkind;
  4417. Property name : String Index 40 Read Fname Write Setname;
  4418. Property privateKey : String Index 48 Read FprivateKey Write SetprivateKey;
  4419. Property selfLink : String Index 56 Read FselfLink Write SetselfLink;
  4420. end;
  4421. TSslCertificateClass = Class of TSslCertificate;
  4422. { --------------------------------------------------------------------
  4423. TSslCertificateList
  4424. --------------------------------------------------------------------}
  4425. TSslCertificateList = Class(TGoogleBaseObject)
  4426. Private
  4427. Fid : String;
  4428. Fitems : TSslCertificateListTypeitemsArray;
  4429. Fkind : String;
  4430. FnextPageToken : String;
  4431. FselfLink : String;
  4432. Protected
  4433. //Property setters
  4434. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4435. Procedure Setitems(AIndex : Integer; const AValue : TSslCertificateListTypeitemsArray); virtual;
  4436. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4437. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4438. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4439. //2.6.4. bug workaround
  4440. {$IFDEF VER2_6}
  4441. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4442. {$ENDIF VER2_6}
  4443. Public
  4444. Published
  4445. Property id : String Index 0 Read Fid Write Setid;
  4446. Property items : TSslCertificateListTypeitemsArray Index 8 Read Fitems Write Setitems;
  4447. Property kind : String Index 16 Read Fkind Write Setkind;
  4448. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  4449. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  4450. end;
  4451. TSslCertificateListClass = Class of TSslCertificateList;
  4452. { --------------------------------------------------------------------
  4453. TSubnetwork
  4454. --------------------------------------------------------------------}
  4455. TSubnetwork = Class(TGoogleBaseObject)
  4456. Private
  4457. FcreationTimestamp : String;
  4458. Fdescription : String;
  4459. FgatewayAddress : String;
  4460. Fid : String;
  4461. FipCidrRange : String;
  4462. Fkind : String;
  4463. Fname : String;
  4464. Fnetwork : String;
  4465. Fregion : String;
  4466. FselfLink : String;
  4467. Protected
  4468. //Property setters
  4469. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  4470. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  4471. Procedure SetgatewayAddress(AIndex : Integer; const AValue : String); virtual;
  4472. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4473. Procedure SetipCidrRange(AIndex : Integer; const AValue : String); virtual;
  4474. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4475. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4476. Procedure Setnetwork(AIndex : Integer; const AValue : String); virtual;
  4477. Procedure Setregion(AIndex : Integer; const AValue : String); virtual;
  4478. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4479. Public
  4480. Published
  4481. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  4482. Property description : String Index 8 Read Fdescription Write Setdescription;
  4483. Property gatewayAddress : String Index 16 Read FgatewayAddress Write SetgatewayAddress;
  4484. Property id : String Index 24 Read Fid Write Setid;
  4485. Property ipCidrRange : String Index 32 Read FipCidrRange Write SetipCidrRange;
  4486. Property kind : String Index 40 Read Fkind Write Setkind;
  4487. Property name : String Index 48 Read Fname Write Setname;
  4488. Property network : String Index 56 Read Fnetwork Write Setnetwork;
  4489. Property region : String Index 64 Read Fregion Write Setregion;
  4490. Property selfLink : String Index 72 Read FselfLink Write SetselfLink;
  4491. end;
  4492. TSubnetworkClass = Class of TSubnetwork;
  4493. { --------------------------------------------------------------------
  4494. TSubnetworkAggregatedListTypeitems
  4495. --------------------------------------------------------------------}
  4496. TSubnetworkAggregatedListTypeitems = Class(TGoogleBaseObject)
  4497. Private
  4498. Protected
  4499. //Property setters
  4500. Public
  4501. Class Function AllowAdditionalProperties : Boolean; override;
  4502. Published
  4503. end;
  4504. TSubnetworkAggregatedListTypeitemsClass = Class of TSubnetworkAggregatedListTypeitems;
  4505. { --------------------------------------------------------------------
  4506. TSubnetworkAggregatedList
  4507. --------------------------------------------------------------------}
  4508. TSubnetworkAggregatedList = Class(TGoogleBaseObject)
  4509. Private
  4510. Fid : String;
  4511. Fitems : TSubnetworkAggregatedListTypeitems;
  4512. Fkind : String;
  4513. FnextPageToken : String;
  4514. FselfLink : String;
  4515. Protected
  4516. //Property setters
  4517. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4518. Procedure Setitems(AIndex : Integer; const AValue : TSubnetworkAggregatedListTypeitems); virtual;
  4519. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4520. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4521. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4522. Public
  4523. Published
  4524. Property id : String Index 0 Read Fid Write Setid;
  4525. Property items : TSubnetworkAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  4526. Property kind : String Index 16 Read Fkind Write Setkind;
  4527. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  4528. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  4529. end;
  4530. TSubnetworkAggregatedListClass = Class of TSubnetworkAggregatedList;
  4531. { --------------------------------------------------------------------
  4532. TSubnetworkList
  4533. --------------------------------------------------------------------}
  4534. TSubnetworkList = Class(TGoogleBaseObject)
  4535. Private
  4536. Fid : String;
  4537. Fitems : TSubnetworkListTypeitemsArray;
  4538. Fkind : String;
  4539. FnextPageToken : String;
  4540. FselfLink : String;
  4541. Protected
  4542. //Property setters
  4543. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4544. Procedure Setitems(AIndex : Integer; const AValue : TSubnetworkListTypeitemsArray); virtual;
  4545. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4546. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4547. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4548. //2.6.4. bug workaround
  4549. {$IFDEF VER2_6}
  4550. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4551. {$ENDIF VER2_6}
  4552. Public
  4553. Published
  4554. Property id : String Index 0 Read Fid Write Setid;
  4555. Property items : TSubnetworkListTypeitemsArray Index 8 Read Fitems Write Setitems;
  4556. Property kind : String Index 16 Read Fkind Write Setkind;
  4557. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  4558. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  4559. end;
  4560. TSubnetworkListClass = Class of TSubnetworkList;
  4561. { --------------------------------------------------------------------
  4562. TSubnetworksScopedListTypewarningTypedataItem
  4563. --------------------------------------------------------------------}
  4564. TSubnetworksScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  4565. Private
  4566. Fkey : String;
  4567. Fvalue : String;
  4568. Protected
  4569. //Property setters
  4570. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  4571. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  4572. Public
  4573. Published
  4574. Property key : String Index 0 Read Fkey Write Setkey;
  4575. Property value : String Index 8 Read Fvalue Write Setvalue;
  4576. end;
  4577. TSubnetworksScopedListTypewarningTypedataItemClass = Class of TSubnetworksScopedListTypewarningTypedataItem;
  4578. { --------------------------------------------------------------------
  4579. TSubnetworksScopedListTypewarning
  4580. --------------------------------------------------------------------}
  4581. TSubnetworksScopedListTypewarning = Class(TGoogleBaseObject)
  4582. Private
  4583. Fcode : String;
  4584. Fdata : TSubnetworksScopedListTypewarningTypedataArray;
  4585. Fmessage : String;
  4586. Protected
  4587. //Property setters
  4588. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  4589. Procedure Setdata(AIndex : Integer; const AValue : TSubnetworksScopedListTypewarningTypedataArray); virtual;
  4590. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  4591. //2.6.4. bug workaround
  4592. {$IFDEF VER2_6}
  4593. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4594. {$ENDIF VER2_6}
  4595. Public
  4596. Published
  4597. Property code : String Index 0 Read Fcode Write Setcode;
  4598. Property data : TSubnetworksScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  4599. Property message : String Index 16 Read Fmessage Write Setmessage;
  4600. end;
  4601. TSubnetworksScopedListTypewarningClass = Class of TSubnetworksScopedListTypewarning;
  4602. { --------------------------------------------------------------------
  4603. TSubnetworksScopedList
  4604. --------------------------------------------------------------------}
  4605. TSubnetworksScopedList = Class(TGoogleBaseObject)
  4606. Private
  4607. Fsubnetworks : TSubnetworksScopedListTypesubnetworksArray;
  4608. Fwarning : TSubnetworksScopedListTypewarning;
  4609. Protected
  4610. //Property setters
  4611. Procedure Setsubnetworks(AIndex : Integer; const AValue : TSubnetworksScopedListTypesubnetworksArray); virtual;
  4612. Procedure Setwarning(AIndex : Integer; const AValue : TSubnetworksScopedListTypewarning); virtual;
  4613. //2.6.4. bug workaround
  4614. {$IFDEF VER2_6}
  4615. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4616. {$ENDIF VER2_6}
  4617. Public
  4618. Published
  4619. Property subnetworks : TSubnetworksScopedListTypesubnetworksArray Index 0 Read Fsubnetworks Write Setsubnetworks;
  4620. Property warning : TSubnetworksScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  4621. end;
  4622. TSubnetworksScopedListClass = Class of TSubnetworksScopedList;
  4623. { --------------------------------------------------------------------
  4624. TTags
  4625. --------------------------------------------------------------------}
  4626. TTags = Class(TGoogleBaseObject)
  4627. Private
  4628. Ffingerprint : String;
  4629. Fitems : TStringArray;
  4630. Protected
  4631. //Property setters
  4632. Procedure Setfingerprint(AIndex : Integer; const AValue : String); virtual;
  4633. Procedure Setitems(AIndex : Integer; const AValue : TStringArray); virtual;
  4634. //2.6.4. bug workaround
  4635. {$IFDEF VER2_6}
  4636. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4637. {$ENDIF VER2_6}
  4638. Public
  4639. Published
  4640. Property fingerprint : String Index 0 Read Ffingerprint Write Setfingerprint;
  4641. Property items : TStringArray Index 8 Read Fitems Write Setitems;
  4642. end;
  4643. TTagsClass = Class of TTags;
  4644. { --------------------------------------------------------------------
  4645. TTargetHttpProxy
  4646. --------------------------------------------------------------------}
  4647. TTargetHttpProxy = Class(TGoogleBaseObject)
  4648. Private
  4649. FcreationTimestamp : String;
  4650. Fdescription : String;
  4651. Fid : String;
  4652. Fkind : String;
  4653. Fname : String;
  4654. FselfLink : String;
  4655. FurlMap : String;
  4656. Protected
  4657. //Property setters
  4658. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  4659. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  4660. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4661. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4662. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4663. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4664. Procedure SeturlMap(AIndex : Integer; const AValue : String); virtual;
  4665. Public
  4666. Published
  4667. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  4668. Property description : String Index 8 Read Fdescription Write Setdescription;
  4669. Property id : String Index 16 Read Fid Write Setid;
  4670. Property kind : String Index 24 Read Fkind Write Setkind;
  4671. Property name : String Index 32 Read Fname Write Setname;
  4672. Property selfLink : String Index 40 Read FselfLink Write SetselfLink;
  4673. Property urlMap : String Index 48 Read FurlMap Write SeturlMap;
  4674. end;
  4675. TTargetHttpProxyClass = Class of TTargetHttpProxy;
  4676. { --------------------------------------------------------------------
  4677. TTargetHttpProxyList
  4678. --------------------------------------------------------------------}
  4679. TTargetHttpProxyList = Class(TGoogleBaseObject)
  4680. Private
  4681. Fid : String;
  4682. Fitems : TTargetHttpProxyListTypeitemsArray;
  4683. Fkind : String;
  4684. FnextPageToken : String;
  4685. FselfLink : String;
  4686. Protected
  4687. //Property setters
  4688. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4689. Procedure Setitems(AIndex : Integer; const AValue : TTargetHttpProxyListTypeitemsArray); virtual;
  4690. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4691. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4692. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4693. //2.6.4. bug workaround
  4694. {$IFDEF VER2_6}
  4695. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4696. {$ENDIF VER2_6}
  4697. Public
  4698. Published
  4699. Property id : String Index 0 Read Fid Write Setid;
  4700. Property items : TTargetHttpProxyListTypeitemsArray Index 8 Read Fitems Write Setitems;
  4701. Property kind : String Index 16 Read Fkind Write Setkind;
  4702. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  4703. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  4704. end;
  4705. TTargetHttpProxyListClass = Class of TTargetHttpProxyList;
  4706. { --------------------------------------------------------------------
  4707. TTargetHttpsProxiesSetSslCertificatesRequest
  4708. --------------------------------------------------------------------}
  4709. TTargetHttpsProxiesSetSslCertificatesRequest = Class(TGoogleBaseObject)
  4710. Private
  4711. FsslCertificates : TStringArray;
  4712. Protected
  4713. //Property setters
  4714. Procedure SetsslCertificates(AIndex : Integer; const AValue : TStringArray); virtual;
  4715. //2.6.4. bug workaround
  4716. {$IFDEF VER2_6}
  4717. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4718. {$ENDIF VER2_6}
  4719. Public
  4720. Published
  4721. Property sslCertificates : TStringArray Index 0 Read FsslCertificates Write SetsslCertificates;
  4722. end;
  4723. TTargetHttpsProxiesSetSslCertificatesRequestClass = Class of TTargetHttpsProxiesSetSslCertificatesRequest;
  4724. { --------------------------------------------------------------------
  4725. TTargetHttpsProxy
  4726. --------------------------------------------------------------------}
  4727. TTargetHttpsProxy = Class(TGoogleBaseObject)
  4728. Private
  4729. FcreationTimestamp : String;
  4730. Fdescription : String;
  4731. Fid : String;
  4732. Fkind : String;
  4733. Fname : String;
  4734. FselfLink : String;
  4735. FsslCertificates : TStringArray;
  4736. FurlMap : String;
  4737. Protected
  4738. //Property setters
  4739. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  4740. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  4741. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4742. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4743. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4744. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4745. Procedure SetsslCertificates(AIndex : Integer; const AValue : TStringArray); virtual;
  4746. Procedure SeturlMap(AIndex : Integer; const AValue : String); virtual;
  4747. //2.6.4. bug workaround
  4748. {$IFDEF VER2_6}
  4749. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4750. {$ENDIF VER2_6}
  4751. Public
  4752. Published
  4753. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  4754. Property description : String Index 8 Read Fdescription Write Setdescription;
  4755. Property id : String Index 16 Read Fid Write Setid;
  4756. Property kind : String Index 24 Read Fkind Write Setkind;
  4757. Property name : String Index 32 Read Fname Write Setname;
  4758. Property selfLink : String Index 40 Read FselfLink Write SetselfLink;
  4759. Property sslCertificates : TStringArray Index 48 Read FsslCertificates Write SetsslCertificates;
  4760. Property urlMap : String Index 56 Read FurlMap Write SeturlMap;
  4761. end;
  4762. TTargetHttpsProxyClass = Class of TTargetHttpsProxy;
  4763. { --------------------------------------------------------------------
  4764. TTargetHttpsProxyList
  4765. --------------------------------------------------------------------}
  4766. TTargetHttpsProxyList = Class(TGoogleBaseObject)
  4767. Private
  4768. Fid : String;
  4769. Fitems : TTargetHttpsProxyListTypeitemsArray;
  4770. Fkind : String;
  4771. FnextPageToken : String;
  4772. FselfLink : String;
  4773. Protected
  4774. //Property setters
  4775. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4776. Procedure Setitems(AIndex : Integer; const AValue : TTargetHttpsProxyListTypeitemsArray); virtual;
  4777. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4778. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4779. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4780. //2.6.4. bug workaround
  4781. {$IFDEF VER2_6}
  4782. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4783. {$ENDIF VER2_6}
  4784. Public
  4785. Published
  4786. Property id : String Index 0 Read Fid Write Setid;
  4787. Property items : TTargetHttpsProxyListTypeitemsArray Index 8 Read Fitems Write Setitems;
  4788. Property kind : String Index 16 Read Fkind Write Setkind;
  4789. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  4790. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  4791. end;
  4792. TTargetHttpsProxyListClass = Class of TTargetHttpsProxyList;
  4793. { --------------------------------------------------------------------
  4794. TTargetInstance
  4795. --------------------------------------------------------------------}
  4796. TTargetInstance = Class(TGoogleBaseObject)
  4797. Private
  4798. FcreationTimestamp : String;
  4799. Fdescription : String;
  4800. Fid : String;
  4801. Finstance : String;
  4802. Fkind : String;
  4803. Fname : String;
  4804. FnatPolicy : String;
  4805. FselfLink : String;
  4806. Fzone : String;
  4807. Protected
  4808. //Property setters
  4809. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  4810. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  4811. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4812. Procedure Setinstance(AIndex : Integer; const AValue : String); virtual;
  4813. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4814. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4815. Procedure SetnatPolicy(AIndex : Integer; const AValue : String); virtual;
  4816. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4817. Procedure Setzone(AIndex : Integer; const AValue : String); virtual;
  4818. Public
  4819. Published
  4820. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  4821. Property description : String Index 8 Read Fdescription Write Setdescription;
  4822. Property id : String Index 16 Read Fid Write Setid;
  4823. Property instance : String Index 24 Read Finstance Write Setinstance;
  4824. Property kind : String Index 32 Read Fkind Write Setkind;
  4825. Property name : String Index 40 Read Fname Write Setname;
  4826. Property natPolicy : String Index 48 Read FnatPolicy Write SetnatPolicy;
  4827. Property selfLink : String Index 56 Read FselfLink Write SetselfLink;
  4828. Property zone : String Index 64 Read Fzone Write Setzone;
  4829. end;
  4830. TTargetInstanceClass = Class of TTargetInstance;
  4831. { --------------------------------------------------------------------
  4832. TTargetInstanceAggregatedListTypeitems
  4833. --------------------------------------------------------------------}
  4834. TTargetInstanceAggregatedListTypeitems = Class(TGoogleBaseObject)
  4835. Private
  4836. Protected
  4837. //Property setters
  4838. Public
  4839. Class Function AllowAdditionalProperties : Boolean; override;
  4840. Published
  4841. end;
  4842. TTargetInstanceAggregatedListTypeitemsClass = Class of TTargetInstanceAggregatedListTypeitems;
  4843. { --------------------------------------------------------------------
  4844. TTargetInstanceAggregatedList
  4845. --------------------------------------------------------------------}
  4846. TTargetInstanceAggregatedList = Class(TGoogleBaseObject)
  4847. Private
  4848. Fid : String;
  4849. Fitems : TTargetInstanceAggregatedListTypeitems;
  4850. Fkind : String;
  4851. FnextPageToken : String;
  4852. FselfLink : String;
  4853. Protected
  4854. //Property setters
  4855. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4856. Procedure Setitems(AIndex : Integer; const AValue : TTargetInstanceAggregatedListTypeitems); virtual;
  4857. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4858. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4859. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4860. Public
  4861. Published
  4862. Property id : String Index 0 Read Fid Write Setid;
  4863. Property items : TTargetInstanceAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  4864. Property kind : String Index 16 Read Fkind Write Setkind;
  4865. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  4866. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  4867. end;
  4868. TTargetInstanceAggregatedListClass = Class of TTargetInstanceAggregatedList;
  4869. { --------------------------------------------------------------------
  4870. TTargetInstanceList
  4871. --------------------------------------------------------------------}
  4872. TTargetInstanceList = Class(TGoogleBaseObject)
  4873. Private
  4874. Fid : String;
  4875. Fitems : TTargetInstanceListTypeitemsArray;
  4876. Fkind : String;
  4877. FnextPageToken : String;
  4878. FselfLink : String;
  4879. Protected
  4880. //Property setters
  4881. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4882. Procedure Setitems(AIndex : Integer; const AValue : TTargetInstanceListTypeitemsArray); virtual;
  4883. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4884. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  4885. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4886. //2.6.4. bug workaround
  4887. {$IFDEF VER2_6}
  4888. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4889. {$ENDIF VER2_6}
  4890. Public
  4891. Published
  4892. Property id : String Index 0 Read Fid Write Setid;
  4893. Property items : TTargetInstanceListTypeitemsArray Index 8 Read Fitems Write Setitems;
  4894. Property kind : String Index 16 Read Fkind Write Setkind;
  4895. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  4896. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  4897. end;
  4898. TTargetInstanceListClass = Class of TTargetInstanceList;
  4899. { --------------------------------------------------------------------
  4900. TTargetInstancesScopedListTypewarningTypedataItem
  4901. --------------------------------------------------------------------}
  4902. TTargetInstancesScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  4903. Private
  4904. Fkey : String;
  4905. Fvalue : String;
  4906. Protected
  4907. //Property setters
  4908. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  4909. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  4910. Public
  4911. Published
  4912. Property key : String Index 0 Read Fkey Write Setkey;
  4913. Property value : String Index 8 Read Fvalue Write Setvalue;
  4914. end;
  4915. TTargetInstancesScopedListTypewarningTypedataItemClass = Class of TTargetInstancesScopedListTypewarningTypedataItem;
  4916. { --------------------------------------------------------------------
  4917. TTargetInstancesScopedListTypewarning
  4918. --------------------------------------------------------------------}
  4919. TTargetInstancesScopedListTypewarning = Class(TGoogleBaseObject)
  4920. Private
  4921. Fcode : String;
  4922. Fdata : TTargetInstancesScopedListTypewarningTypedataArray;
  4923. Fmessage : String;
  4924. Protected
  4925. //Property setters
  4926. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  4927. Procedure Setdata(AIndex : Integer; const AValue : TTargetInstancesScopedListTypewarningTypedataArray); virtual;
  4928. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  4929. //2.6.4. bug workaround
  4930. {$IFDEF VER2_6}
  4931. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4932. {$ENDIF VER2_6}
  4933. Public
  4934. Published
  4935. Property code : String Index 0 Read Fcode Write Setcode;
  4936. Property data : TTargetInstancesScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  4937. Property message : String Index 16 Read Fmessage Write Setmessage;
  4938. end;
  4939. TTargetInstancesScopedListTypewarningClass = Class of TTargetInstancesScopedListTypewarning;
  4940. { --------------------------------------------------------------------
  4941. TTargetInstancesScopedList
  4942. --------------------------------------------------------------------}
  4943. TTargetInstancesScopedList = Class(TGoogleBaseObject)
  4944. Private
  4945. FtargetInstances : TTargetInstancesScopedListTypetargetInstancesArray;
  4946. Fwarning : TTargetInstancesScopedListTypewarning;
  4947. Protected
  4948. //Property setters
  4949. Procedure SettargetInstances(AIndex : Integer; const AValue : TTargetInstancesScopedListTypetargetInstancesArray); virtual;
  4950. Procedure Setwarning(AIndex : Integer; const AValue : TTargetInstancesScopedListTypewarning); virtual;
  4951. //2.6.4. bug workaround
  4952. {$IFDEF VER2_6}
  4953. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4954. {$ENDIF VER2_6}
  4955. Public
  4956. Published
  4957. Property targetInstances : TTargetInstancesScopedListTypetargetInstancesArray Index 0 Read FtargetInstances Write SettargetInstances;
  4958. Property warning : TTargetInstancesScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  4959. end;
  4960. TTargetInstancesScopedListClass = Class of TTargetInstancesScopedList;
  4961. { --------------------------------------------------------------------
  4962. TTargetPool
  4963. --------------------------------------------------------------------}
  4964. TTargetPool = Class(TGoogleBaseObject)
  4965. Private
  4966. FbackupPool : String;
  4967. FcreationTimestamp : String;
  4968. Fdescription : String;
  4969. FfailoverRatio : integer;
  4970. FhealthChecks : TStringArray;
  4971. Fid : String;
  4972. Finstances : TStringArray;
  4973. Fkind : String;
  4974. Fname : String;
  4975. Fregion : String;
  4976. FselfLink : String;
  4977. FsessionAffinity : String;
  4978. Protected
  4979. //Property setters
  4980. Procedure SetbackupPool(AIndex : Integer; const AValue : String); virtual;
  4981. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  4982. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  4983. Procedure SetfailoverRatio(AIndex : Integer; const AValue : integer); virtual;
  4984. Procedure SethealthChecks(AIndex : Integer; const AValue : TStringArray); virtual;
  4985. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  4986. Procedure Setinstances(AIndex : Integer; const AValue : TStringArray); virtual;
  4987. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  4988. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  4989. Procedure Setregion(AIndex : Integer; const AValue : String); virtual;
  4990. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  4991. Procedure SetsessionAffinity(AIndex : Integer; const AValue : String); virtual;
  4992. //2.6.4. bug workaround
  4993. {$IFDEF VER2_6}
  4994. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  4995. {$ENDIF VER2_6}
  4996. Public
  4997. Published
  4998. Property backupPool : String Index 0 Read FbackupPool Write SetbackupPool;
  4999. Property creationTimestamp : String Index 8 Read FcreationTimestamp Write SetcreationTimestamp;
  5000. Property description : String Index 16 Read Fdescription Write Setdescription;
  5001. Property failoverRatio : integer Index 24 Read FfailoverRatio Write SetfailoverRatio;
  5002. Property healthChecks : TStringArray Index 32 Read FhealthChecks Write SethealthChecks;
  5003. Property id : String Index 40 Read Fid Write Setid;
  5004. Property instances : TStringArray Index 48 Read Finstances Write Setinstances;
  5005. Property kind : String Index 56 Read Fkind Write Setkind;
  5006. Property name : String Index 64 Read Fname Write Setname;
  5007. Property region : String Index 72 Read Fregion Write Setregion;
  5008. Property selfLink : String Index 80 Read FselfLink Write SetselfLink;
  5009. Property sessionAffinity : String Index 88 Read FsessionAffinity Write SetsessionAffinity;
  5010. end;
  5011. TTargetPoolClass = Class of TTargetPool;
  5012. { --------------------------------------------------------------------
  5013. TTargetPoolAggregatedListTypeitems
  5014. --------------------------------------------------------------------}
  5015. TTargetPoolAggregatedListTypeitems = Class(TGoogleBaseObject)
  5016. Private
  5017. Protected
  5018. //Property setters
  5019. Public
  5020. Class Function AllowAdditionalProperties : Boolean; override;
  5021. Published
  5022. end;
  5023. TTargetPoolAggregatedListTypeitemsClass = Class of TTargetPoolAggregatedListTypeitems;
  5024. { --------------------------------------------------------------------
  5025. TTargetPoolAggregatedList
  5026. --------------------------------------------------------------------}
  5027. TTargetPoolAggregatedList = Class(TGoogleBaseObject)
  5028. Private
  5029. Fid : String;
  5030. Fitems : TTargetPoolAggregatedListTypeitems;
  5031. Fkind : String;
  5032. FnextPageToken : String;
  5033. FselfLink : String;
  5034. Protected
  5035. //Property setters
  5036. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5037. Procedure Setitems(AIndex : Integer; const AValue : TTargetPoolAggregatedListTypeitems); virtual;
  5038. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5039. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5040. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  5041. Public
  5042. Published
  5043. Property id : String Index 0 Read Fid Write Setid;
  5044. Property items : TTargetPoolAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  5045. Property kind : String Index 16 Read Fkind Write Setkind;
  5046. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  5047. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  5048. end;
  5049. TTargetPoolAggregatedListClass = Class of TTargetPoolAggregatedList;
  5050. { --------------------------------------------------------------------
  5051. TTargetPoolInstanceHealth
  5052. --------------------------------------------------------------------}
  5053. TTargetPoolInstanceHealth = Class(TGoogleBaseObject)
  5054. Private
  5055. FhealthStatus : TTargetPoolInstanceHealthTypehealthStatusArray;
  5056. Fkind : String;
  5057. Protected
  5058. //Property setters
  5059. Procedure SethealthStatus(AIndex : Integer; const AValue : TTargetPoolInstanceHealthTypehealthStatusArray); virtual;
  5060. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5061. //2.6.4. bug workaround
  5062. {$IFDEF VER2_6}
  5063. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5064. {$ENDIF VER2_6}
  5065. Public
  5066. Published
  5067. Property healthStatus : TTargetPoolInstanceHealthTypehealthStatusArray Index 0 Read FhealthStatus Write SethealthStatus;
  5068. Property kind : String Index 8 Read Fkind Write Setkind;
  5069. end;
  5070. TTargetPoolInstanceHealthClass = Class of TTargetPoolInstanceHealth;
  5071. { --------------------------------------------------------------------
  5072. TTargetPoolList
  5073. --------------------------------------------------------------------}
  5074. TTargetPoolList = Class(TGoogleBaseObject)
  5075. Private
  5076. Fid : String;
  5077. Fitems : TTargetPoolListTypeitemsArray;
  5078. Fkind : String;
  5079. FnextPageToken : String;
  5080. FselfLink : String;
  5081. Protected
  5082. //Property setters
  5083. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5084. Procedure Setitems(AIndex : Integer; const AValue : TTargetPoolListTypeitemsArray); virtual;
  5085. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5086. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5087. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  5088. //2.6.4. bug workaround
  5089. {$IFDEF VER2_6}
  5090. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5091. {$ENDIF VER2_6}
  5092. Public
  5093. Published
  5094. Property id : String Index 0 Read Fid Write Setid;
  5095. Property items : TTargetPoolListTypeitemsArray Index 8 Read Fitems Write Setitems;
  5096. Property kind : String Index 16 Read Fkind Write Setkind;
  5097. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  5098. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  5099. end;
  5100. TTargetPoolListClass = Class of TTargetPoolList;
  5101. { --------------------------------------------------------------------
  5102. TTargetPoolsAddHealthCheckRequest
  5103. --------------------------------------------------------------------}
  5104. TTargetPoolsAddHealthCheckRequest = Class(TGoogleBaseObject)
  5105. Private
  5106. FhealthChecks : TTargetPoolsAddHealthCheckRequestTypehealthChecksArray;
  5107. Protected
  5108. //Property setters
  5109. Procedure SethealthChecks(AIndex : Integer; const AValue : TTargetPoolsAddHealthCheckRequestTypehealthChecksArray); virtual;
  5110. //2.6.4. bug workaround
  5111. {$IFDEF VER2_6}
  5112. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5113. {$ENDIF VER2_6}
  5114. Public
  5115. Published
  5116. Property healthChecks : TTargetPoolsAddHealthCheckRequestTypehealthChecksArray Index 0 Read FhealthChecks Write SethealthChecks;
  5117. end;
  5118. TTargetPoolsAddHealthCheckRequestClass = Class of TTargetPoolsAddHealthCheckRequest;
  5119. { --------------------------------------------------------------------
  5120. TTargetPoolsAddInstanceRequest
  5121. --------------------------------------------------------------------}
  5122. TTargetPoolsAddInstanceRequest = Class(TGoogleBaseObject)
  5123. Private
  5124. Finstances : TTargetPoolsAddInstanceRequestTypeinstancesArray;
  5125. Protected
  5126. //Property setters
  5127. Procedure Setinstances(AIndex : Integer; const AValue : TTargetPoolsAddInstanceRequestTypeinstancesArray); virtual;
  5128. //2.6.4. bug workaround
  5129. {$IFDEF VER2_6}
  5130. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5131. {$ENDIF VER2_6}
  5132. Public
  5133. Published
  5134. Property instances : TTargetPoolsAddInstanceRequestTypeinstancesArray Index 0 Read Finstances Write Setinstances;
  5135. end;
  5136. TTargetPoolsAddInstanceRequestClass = Class of TTargetPoolsAddInstanceRequest;
  5137. { --------------------------------------------------------------------
  5138. TTargetPoolsRemoveHealthCheckRequest
  5139. --------------------------------------------------------------------}
  5140. TTargetPoolsRemoveHealthCheckRequest = Class(TGoogleBaseObject)
  5141. Private
  5142. FhealthChecks : TTargetPoolsRemoveHealthCheckRequestTypehealthChecksArray;
  5143. Protected
  5144. //Property setters
  5145. Procedure SethealthChecks(AIndex : Integer; const AValue : TTargetPoolsRemoveHealthCheckRequestTypehealthChecksArray); virtual;
  5146. //2.6.4. bug workaround
  5147. {$IFDEF VER2_6}
  5148. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5149. {$ENDIF VER2_6}
  5150. Public
  5151. Published
  5152. Property healthChecks : TTargetPoolsRemoveHealthCheckRequestTypehealthChecksArray Index 0 Read FhealthChecks Write SethealthChecks;
  5153. end;
  5154. TTargetPoolsRemoveHealthCheckRequestClass = Class of TTargetPoolsRemoveHealthCheckRequest;
  5155. { --------------------------------------------------------------------
  5156. TTargetPoolsRemoveInstanceRequest
  5157. --------------------------------------------------------------------}
  5158. TTargetPoolsRemoveInstanceRequest = Class(TGoogleBaseObject)
  5159. Private
  5160. Finstances : TTargetPoolsRemoveInstanceRequestTypeinstancesArray;
  5161. Protected
  5162. //Property setters
  5163. Procedure Setinstances(AIndex : Integer; const AValue : TTargetPoolsRemoveInstanceRequestTypeinstancesArray); virtual;
  5164. //2.6.4. bug workaround
  5165. {$IFDEF VER2_6}
  5166. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5167. {$ENDIF VER2_6}
  5168. Public
  5169. Published
  5170. Property instances : TTargetPoolsRemoveInstanceRequestTypeinstancesArray Index 0 Read Finstances Write Setinstances;
  5171. end;
  5172. TTargetPoolsRemoveInstanceRequestClass = Class of TTargetPoolsRemoveInstanceRequest;
  5173. { --------------------------------------------------------------------
  5174. TTargetPoolsScopedListTypewarningTypedataItem
  5175. --------------------------------------------------------------------}
  5176. TTargetPoolsScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  5177. Private
  5178. Fkey : String;
  5179. Fvalue : String;
  5180. Protected
  5181. //Property setters
  5182. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  5183. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  5184. Public
  5185. Published
  5186. Property key : String Index 0 Read Fkey Write Setkey;
  5187. Property value : String Index 8 Read Fvalue Write Setvalue;
  5188. end;
  5189. TTargetPoolsScopedListTypewarningTypedataItemClass = Class of TTargetPoolsScopedListTypewarningTypedataItem;
  5190. { --------------------------------------------------------------------
  5191. TTargetPoolsScopedListTypewarning
  5192. --------------------------------------------------------------------}
  5193. TTargetPoolsScopedListTypewarning = Class(TGoogleBaseObject)
  5194. Private
  5195. Fcode : String;
  5196. Fdata : TTargetPoolsScopedListTypewarningTypedataArray;
  5197. Fmessage : String;
  5198. Protected
  5199. //Property setters
  5200. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  5201. Procedure Setdata(AIndex : Integer; const AValue : TTargetPoolsScopedListTypewarningTypedataArray); virtual;
  5202. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  5203. //2.6.4. bug workaround
  5204. {$IFDEF VER2_6}
  5205. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5206. {$ENDIF VER2_6}
  5207. Public
  5208. Published
  5209. Property code : String Index 0 Read Fcode Write Setcode;
  5210. Property data : TTargetPoolsScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  5211. Property message : String Index 16 Read Fmessage Write Setmessage;
  5212. end;
  5213. TTargetPoolsScopedListTypewarningClass = Class of TTargetPoolsScopedListTypewarning;
  5214. { --------------------------------------------------------------------
  5215. TTargetPoolsScopedList
  5216. --------------------------------------------------------------------}
  5217. TTargetPoolsScopedList = Class(TGoogleBaseObject)
  5218. Private
  5219. FtargetPools : TTargetPoolsScopedListTypetargetPoolsArray;
  5220. Fwarning : TTargetPoolsScopedListTypewarning;
  5221. Protected
  5222. //Property setters
  5223. Procedure SettargetPools(AIndex : Integer; const AValue : TTargetPoolsScopedListTypetargetPoolsArray); virtual;
  5224. Procedure Setwarning(AIndex : Integer; const AValue : TTargetPoolsScopedListTypewarning); virtual;
  5225. //2.6.4. bug workaround
  5226. {$IFDEF VER2_6}
  5227. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5228. {$ENDIF VER2_6}
  5229. Public
  5230. Published
  5231. Property targetPools : TTargetPoolsScopedListTypetargetPoolsArray Index 0 Read FtargetPools Write SettargetPools;
  5232. Property warning : TTargetPoolsScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  5233. end;
  5234. TTargetPoolsScopedListClass = Class of TTargetPoolsScopedList;
  5235. { --------------------------------------------------------------------
  5236. TTargetReference
  5237. --------------------------------------------------------------------}
  5238. TTargetReference = Class(TGoogleBaseObject)
  5239. Private
  5240. Ftarget : String;
  5241. Protected
  5242. //Property setters
  5243. Procedure Settarget(AIndex : Integer; const AValue : String); virtual;
  5244. Public
  5245. Published
  5246. Property target : String Index 0 Read Ftarget Write Settarget;
  5247. end;
  5248. TTargetReferenceClass = Class of TTargetReference;
  5249. { --------------------------------------------------------------------
  5250. TTargetVpnGateway
  5251. --------------------------------------------------------------------}
  5252. TTargetVpnGateway = Class(TGoogleBaseObject)
  5253. Private
  5254. FcreationTimestamp : String;
  5255. Fdescription : String;
  5256. FforwardingRules : TStringArray;
  5257. Fid : String;
  5258. Fkind : String;
  5259. Fname : String;
  5260. Fnetwork : String;
  5261. Fregion : String;
  5262. FselfLink : String;
  5263. Fstatus : String;
  5264. Ftunnels : TStringArray;
  5265. Protected
  5266. //Property setters
  5267. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  5268. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  5269. Procedure SetforwardingRules(AIndex : Integer; const AValue : TStringArray); virtual;
  5270. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5271. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5272. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  5273. Procedure Setnetwork(AIndex : Integer; const AValue : String); virtual;
  5274. Procedure Setregion(AIndex : Integer; const AValue : String); virtual;
  5275. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  5276. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  5277. Procedure Settunnels(AIndex : Integer; const AValue : TStringArray); virtual;
  5278. //2.6.4. bug workaround
  5279. {$IFDEF VER2_6}
  5280. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5281. {$ENDIF VER2_6}
  5282. Public
  5283. Published
  5284. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  5285. Property description : String Index 8 Read Fdescription Write Setdescription;
  5286. Property forwardingRules : TStringArray Index 16 Read FforwardingRules Write SetforwardingRules;
  5287. Property id : String Index 24 Read Fid Write Setid;
  5288. Property kind : String Index 32 Read Fkind Write Setkind;
  5289. Property name : String Index 40 Read Fname Write Setname;
  5290. Property network : String Index 48 Read Fnetwork Write Setnetwork;
  5291. Property region : String Index 56 Read Fregion Write Setregion;
  5292. Property selfLink : String Index 64 Read FselfLink Write SetselfLink;
  5293. Property status : String Index 72 Read Fstatus Write Setstatus;
  5294. Property tunnels : TStringArray Index 80 Read Ftunnels Write Settunnels;
  5295. end;
  5296. TTargetVpnGatewayClass = Class of TTargetVpnGateway;
  5297. { --------------------------------------------------------------------
  5298. TTargetVpnGatewayAggregatedListTypeitems
  5299. --------------------------------------------------------------------}
  5300. TTargetVpnGatewayAggregatedListTypeitems = Class(TGoogleBaseObject)
  5301. Private
  5302. Protected
  5303. //Property setters
  5304. Public
  5305. Class Function AllowAdditionalProperties : Boolean; override;
  5306. Published
  5307. end;
  5308. TTargetVpnGatewayAggregatedListTypeitemsClass = Class of TTargetVpnGatewayAggregatedListTypeitems;
  5309. { --------------------------------------------------------------------
  5310. TTargetVpnGatewayAggregatedList
  5311. --------------------------------------------------------------------}
  5312. TTargetVpnGatewayAggregatedList = Class(TGoogleBaseObject)
  5313. Private
  5314. Fid : String;
  5315. Fitems : TTargetVpnGatewayAggregatedListTypeitems;
  5316. Fkind : String;
  5317. FnextPageToken : String;
  5318. FselfLink : String;
  5319. Protected
  5320. //Property setters
  5321. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5322. Procedure Setitems(AIndex : Integer; const AValue : TTargetVpnGatewayAggregatedListTypeitems); virtual;
  5323. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5324. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5325. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  5326. Public
  5327. Published
  5328. Property id : String Index 0 Read Fid Write Setid;
  5329. Property items : TTargetVpnGatewayAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  5330. Property kind : String Index 16 Read Fkind Write Setkind;
  5331. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  5332. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  5333. end;
  5334. TTargetVpnGatewayAggregatedListClass = Class of TTargetVpnGatewayAggregatedList;
  5335. { --------------------------------------------------------------------
  5336. TTargetVpnGatewayList
  5337. --------------------------------------------------------------------}
  5338. TTargetVpnGatewayList = Class(TGoogleBaseObject)
  5339. Private
  5340. Fid : String;
  5341. Fitems : TTargetVpnGatewayListTypeitemsArray;
  5342. Fkind : String;
  5343. FnextPageToken : String;
  5344. FselfLink : String;
  5345. Protected
  5346. //Property setters
  5347. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5348. Procedure Setitems(AIndex : Integer; const AValue : TTargetVpnGatewayListTypeitemsArray); virtual;
  5349. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5350. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5351. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  5352. //2.6.4. bug workaround
  5353. {$IFDEF VER2_6}
  5354. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5355. {$ENDIF VER2_6}
  5356. Public
  5357. Published
  5358. Property id : String Index 0 Read Fid Write Setid;
  5359. Property items : TTargetVpnGatewayListTypeitemsArray Index 8 Read Fitems Write Setitems;
  5360. Property kind : String Index 16 Read Fkind Write Setkind;
  5361. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  5362. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  5363. end;
  5364. TTargetVpnGatewayListClass = Class of TTargetVpnGatewayList;
  5365. { --------------------------------------------------------------------
  5366. TTargetVpnGatewaysScopedListTypewarningTypedataItem
  5367. --------------------------------------------------------------------}
  5368. TTargetVpnGatewaysScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  5369. Private
  5370. Fkey : String;
  5371. Fvalue : String;
  5372. Protected
  5373. //Property setters
  5374. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  5375. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  5376. Public
  5377. Published
  5378. Property key : String Index 0 Read Fkey Write Setkey;
  5379. Property value : String Index 8 Read Fvalue Write Setvalue;
  5380. end;
  5381. TTargetVpnGatewaysScopedListTypewarningTypedataItemClass = Class of TTargetVpnGatewaysScopedListTypewarningTypedataItem;
  5382. { --------------------------------------------------------------------
  5383. TTargetVpnGatewaysScopedListTypewarning
  5384. --------------------------------------------------------------------}
  5385. TTargetVpnGatewaysScopedListTypewarning = Class(TGoogleBaseObject)
  5386. Private
  5387. Fcode : String;
  5388. Fdata : TTargetVpnGatewaysScopedListTypewarningTypedataArray;
  5389. Fmessage : String;
  5390. Protected
  5391. //Property setters
  5392. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  5393. Procedure Setdata(AIndex : Integer; const AValue : TTargetVpnGatewaysScopedListTypewarningTypedataArray); virtual;
  5394. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  5395. //2.6.4. bug workaround
  5396. {$IFDEF VER2_6}
  5397. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5398. {$ENDIF VER2_6}
  5399. Public
  5400. Published
  5401. Property code : String Index 0 Read Fcode Write Setcode;
  5402. Property data : TTargetVpnGatewaysScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  5403. Property message : String Index 16 Read Fmessage Write Setmessage;
  5404. end;
  5405. TTargetVpnGatewaysScopedListTypewarningClass = Class of TTargetVpnGatewaysScopedListTypewarning;
  5406. { --------------------------------------------------------------------
  5407. TTargetVpnGatewaysScopedList
  5408. --------------------------------------------------------------------}
  5409. TTargetVpnGatewaysScopedList = Class(TGoogleBaseObject)
  5410. Private
  5411. FtargetVpnGateways : TTargetVpnGatewaysScopedListTypetargetVpnGatewaysArray;
  5412. Fwarning : TTargetVpnGatewaysScopedListTypewarning;
  5413. Protected
  5414. //Property setters
  5415. Procedure SettargetVpnGateways(AIndex : Integer; const AValue : TTargetVpnGatewaysScopedListTypetargetVpnGatewaysArray); virtual;
  5416. Procedure Setwarning(AIndex : Integer; const AValue : TTargetVpnGatewaysScopedListTypewarning); virtual;
  5417. //2.6.4. bug workaround
  5418. {$IFDEF VER2_6}
  5419. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5420. {$ENDIF VER2_6}
  5421. Public
  5422. Published
  5423. Property targetVpnGateways : TTargetVpnGatewaysScopedListTypetargetVpnGatewaysArray Index 0 Read FtargetVpnGateways Write SettargetVpnGateways;
  5424. Property warning : TTargetVpnGatewaysScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  5425. end;
  5426. TTargetVpnGatewaysScopedListClass = Class of TTargetVpnGatewaysScopedList;
  5427. { --------------------------------------------------------------------
  5428. TTestFailure
  5429. --------------------------------------------------------------------}
  5430. TTestFailure = Class(TGoogleBaseObject)
  5431. Private
  5432. FactualService : String;
  5433. FexpectedService : String;
  5434. Fhost : String;
  5435. Fpath : String;
  5436. Protected
  5437. //Property setters
  5438. Procedure SetactualService(AIndex : Integer; const AValue : String); virtual;
  5439. Procedure SetexpectedService(AIndex : Integer; const AValue : String); virtual;
  5440. Procedure Sethost(AIndex : Integer; const AValue : String); virtual;
  5441. Procedure Setpath(AIndex : Integer; const AValue : String); virtual;
  5442. Public
  5443. Published
  5444. Property actualService : String Index 0 Read FactualService Write SetactualService;
  5445. Property expectedService : String Index 8 Read FexpectedService Write SetexpectedService;
  5446. Property host : String Index 16 Read Fhost Write Sethost;
  5447. Property path : String Index 24 Read Fpath Write Setpath;
  5448. end;
  5449. TTestFailureClass = Class of TTestFailure;
  5450. { --------------------------------------------------------------------
  5451. TUrlMap
  5452. --------------------------------------------------------------------}
  5453. TUrlMap = Class(TGoogleBaseObject)
  5454. Private
  5455. FcreationTimestamp : String;
  5456. FdefaultService : String;
  5457. Fdescription : String;
  5458. Ffingerprint : String;
  5459. FhostRules : TUrlMapTypehostRulesArray;
  5460. Fid : String;
  5461. Fkind : String;
  5462. Fname : String;
  5463. FpathMatchers : TUrlMapTypepathMatchersArray;
  5464. FselfLink : String;
  5465. Ftests : TUrlMapTypetestsArray;
  5466. Protected
  5467. //Property setters
  5468. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  5469. Procedure SetdefaultService(AIndex : Integer; const AValue : String); virtual;
  5470. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  5471. Procedure Setfingerprint(AIndex : Integer; const AValue : String); virtual;
  5472. Procedure SethostRules(AIndex : Integer; const AValue : TUrlMapTypehostRulesArray); virtual;
  5473. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5474. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5475. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  5476. Procedure SetpathMatchers(AIndex : Integer; const AValue : TUrlMapTypepathMatchersArray); virtual;
  5477. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  5478. Procedure Settests(AIndex : Integer; const AValue : TUrlMapTypetestsArray); virtual;
  5479. //2.6.4. bug workaround
  5480. {$IFDEF VER2_6}
  5481. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5482. {$ENDIF VER2_6}
  5483. Public
  5484. Published
  5485. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  5486. Property defaultService : String Index 8 Read FdefaultService Write SetdefaultService;
  5487. Property description : String Index 16 Read Fdescription Write Setdescription;
  5488. Property fingerprint : String Index 24 Read Ffingerprint Write Setfingerprint;
  5489. Property hostRules : TUrlMapTypehostRulesArray Index 32 Read FhostRules Write SethostRules;
  5490. Property id : String Index 40 Read Fid Write Setid;
  5491. Property kind : String Index 48 Read Fkind Write Setkind;
  5492. Property name : String Index 56 Read Fname Write Setname;
  5493. Property pathMatchers : TUrlMapTypepathMatchersArray Index 64 Read FpathMatchers Write SetpathMatchers;
  5494. Property selfLink : String Index 72 Read FselfLink Write SetselfLink;
  5495. Property tests : TUrlMapTypetestsArray Index 80 Read Ftests Write Settests;
  5496. end;
  5497. TUrlMapClass = Class of TUrlMap;
  5498. { --------------------------------------------------------------------
  5499. TUrlMapList
  5500. --------------------------------------------------------------------}
  5501. TUrlMapList = Class(TGoogleBaseObject)
  5502. Private
  5503. Fid : String;
  5504. Fitems : TUrlMapListTypeitemsArray;
  5505. Fkind : String;
  5506. FnextPageToken : String;
  5507. FselfLink : String;
  5508. Protected
  5509. //Property setters
  5510. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5511. Procedure Setitems(AIndex : Integer; const AValue : TUrlMapListTypeitemsArray); virtual;
  5512. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5513. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5514. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  5515. //2.6.4. bug workaround
  5516. {$IFDEF VER2_6}
  5517. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5518. {$ENDIF VER2_6}
  5519. Public
  5520. Published
  5521. Property id : String Index 0 Read Fid Write Setid;
  5522. Property items : TUrlMapListTypeitemsArray Index 8 Read Fitems Write Setitems;
  5523. Property kind : String Index 16 Read Fkind Write Setkind;
  5524. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  5525. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  5526. end;
  5527. TUrlMapListClass = Class of TUrlMapList;
  5528. { --------------------------------------------------------------------
  5529. TUrlMapReference
  5530. --------------------------------------------------------------------}
  5531. TUrlMapReference = Class(TGoogleBaseObject)
  5532. Private
  5533. FurlMap : String;
  5534. Protected
  5535. //Property setters
  5536. Procedure SeturlMap(AIndex : Integer; const AValue : String); virtual;
  5537. Public
  5538. Published
  5539. Property urlMap : String Index 0 Read FurlMap Write SeturlMap;
  5540. end;
  5541. TUrlMapReferenceClass = Class of TUrlMapReference;
  5542. { --------------------------------------------------------------------
  5543. TUrlMapTest
  5544. --------------------------------------------------------------------}
  5545. TUrlMapTest = Class(TGoogleBaseObject)
  5546. Private
  5547. Fdescription : String;
  5548. Fhost : String;
  5549. Fpath : String;
  5550. Fservice : String;
  5551. Protected
  5552. //Property setters
  5553. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  5554. Procedure Sethost(AIndex : Integer; const AValue : String); virtual;
  5555. Procedure Setpath(AIndex : Integer; const AValue : String); virtual;
  5556. Procedure Setservice(AIndex : Integer; const AValue : String); virtual;
  5557. Public
  5558. Published
  5559. Property description : String Index 0 Read Fdescription Write Setdescription;
  5560. Property host : String Index 8 Read Fhost Write Sethost;
  5561. Property path : String Index 16 Read Fpath Write Setpath;
  5562. Property service : String Index 24 Read Fservice Write Setservice;
  5563. end;
  5564. TUrlMapTestClass = Class of TUrlMapTest;
  5565. { --------------------------------------------------------------------
  5566. TUrlMapValidationResult
  5567. --------------------------------------------------------------------}
  5568. TUrlMapValidationResult = Class(TGoogleBaseObject)
  5569. Private
  5570. FloadErrors : TStringArray;
  5571. FloadSucceeded : boolean;
  5572. FtestFailures : TUrlMapValidationResultTypetestFailuresArray;
  5573. FtestPassed : boolean;
  5574. Protected
  5575. //Property setters
  5576. Procedure SetloadErrors(AIndex : Integer; const AValue : TStringArray); virtual;
  5577. Procedure SetloadSucceeded(AIndex : Integer; const AValue : boolean); virtual;
  5578. Procedure SettestFailures(AIndex : Integer; const AValue : TUrlMapValidationResultTypetestFailuresArray); virtual;
  5579. Procedure SettestPassed(AIndex : Integer; const AValue : boolean); virtual;
  5580. //2.6.4. bug workaround
  5581. {$IFDEF VER2_6}
  5582. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5583. {$ENDIF VER2_6}
  5584. Public
  5585. Published
  5586. Property loadErrors : TStringArray Index 0 Read FloadErrors Write SetloadErrors;
  5587. Property loadSucceeded : boolean Index 8 Read FloadSucceeded Write SetloadSucceeded;
  5588. Property testFailures : TUrlMapValidationResultTypetestFailuresArray Index 16 Read FtestFailures Write SettestFailures;
  5589. Property testPassed : boolean Index 24 Read FtestPassed Write SettestPassed;
  5590. end;
  5591. TUrlMapValidationResultClass = Class of TUrlMapValidationResult;
  5592. { --------------------------------------------------------------------
  5593. TUrlMapsValidateRequest
  5594. --------------------------------------------------------------------}
  5595. TUrlMapsValidateRequest = Class(TGoogleBaseObject)
  5596. Private
  5597. Fresource : TUrlMap;
  5598. Protected
  5599. //Property setters
  5600. Procedure Setresource(AIndex : Integer; const AValue : TUrlMap); virtual;
  5601. Public
  5602. Published
  5603. Property resource : TUrlMap Index 0 Read Fresource Write Setresource;
  5604. end;
  5605. TUrlMapsValidateRequestClass = Class of TUrlMapsValidateRequest;
  5606. { --------------------------------------------------------------------
  5607. TUrlMapsValidateResponse
  5608. --------------------------------------------------------------------}
  5609. TUrlMapsValidateResponse = Class(TGoogleBaseObject)
  5610. Private
  5611. Fresult : TUrlMapValidationResult;
  5612. Protected
  5613. //Property setters
  5614. Procedure Setresult(AIndex : Integer; const AValue : TUrlMapValidationResult); virtual;
  5615. Public
  5616. Published
  5617. Property result : TUrlMapValidationResult Index 0 Read Fresult Write Setresult;
  5618. end;
  5619. TUrlMapsValidateResponseClass = Class of TUrlMapsValidateResponse;
  5620. { --------------------------------------------------------------------
  5621. TUsageExportLocation
  5622. --------------------------------------------------------------------}
  5623. TUsageExportLocation = Class(TGoogleBaseObject)
  5624. Private
  5625. FbucketName : String;
  5626. FreportNamePrefix : String;
  5627. Protected
  5628. //Property setters
  5629. Procedure SetbucketName(AIndex : Integer; const AValue : String); virtual;
  5630. Procedure SetreportNamePrefix(AIndex : Integer; const AValue : String); virtual;
  5631. Public
  5632. Published
  5633. Property bucketName : String Index 0 Read FbucketName Write SetbucketName;
  5634. Property reportNamePrefix : String Index 8 Read FreportNamePrefix Write SetreportNamePrefix;
  5635. end;
  5636. TUsageExportLocationClass = Class of TUsageExportLocation;
  5637. { --------------------------------------------------------------------
  5638. TVpnTunnel
  5639. --------------------------------------------------------------------}
  5640. TVpnTunnel = Class(TGoogleBaseObject)
  5641. Private
  5642. FcreationTimestamp : String;
  5643. Fdescription : String;
  5644. FdetailedStatus : String;
  5645. Fid : String;
  5646. FikeVersion : integer;
  5647. Fkind : String;
  5648. FlocalTrafficSelector : TStringArray;
  5649. Fname : String;
  5650. FpeerIp : String;
  5651. Fregion : String;
  5652. FselfLink : String;
  5653. FsharedSecret : String;
  5654. FsharedSecretHash : String;
  5655. Fstatus : String;
  5656. FtargetVpnGateway : String;
  5657. Protected
  5658. //Property setters
  5659. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  5660. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  5661. Procedure SetdetailedStatus(AIndex : Integer; const AValue : String); virtual;
  5662. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5663. Procedure SetikeVersion(AIndex : Integer; const AValue : integer); virtual;
  5664. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5665. Procedure SetlocalTrafficSelector(AIndex : Integer; const AValue : TStringArray); virtual;
  5666. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  5667. Procedure SetpeerIp(AIndex : Integer; const AValue : String); virtual;
  5668. Procedure Setregion(AIndex : Integer; const AValue : String); virtual;
  5669. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  5670. Procedure SetsharedSecret(AIndex : Integer; const AValue : String); virtual;
  5671. Procedure SetsharedSecretHash(AIndex : Integer; const AValue : String); virtual;
  5672. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  5673. Procedure SettargetVpnGateway(AIndex : Integer; const AValue : String); virtual;
  5674. //2.6.4. bug workaround
  5675. {$IFDEF VER2_6}
  5676. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5677. {$ENDIF VER2_6}
  5678. Public
  5679. Published
  5680. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  5681. Property description : String Index 8 Read Fdescription Write Setdescription;
  5682. Property detailedStatus : String Index 16 Read FdetailedStatus Write SetdetailedStatus;
  5683. Property id : String Index 24 Read Fid Write Setid;
  5684. Property ikeVersion : integer Index 32 Read FikeVersion Write SetikeVersion;
  5685. Property kind : String Index 40 Read Fkind Write Setkind;
  5686. Property localTrafficSelector : TStringArray Index 48 Read FlocalTrafficSelector Write SetlocalTrafficSelector;
  5687. Property name : String Index 56 Read Fname Write Setname;
  5688. Property peerIp : String Index 64 Read FpeerIp Write SetpeerIp;
  5689. Property region : String Index 72 Read Fregion Write Setregion;
  5690. Property selfLink : String Index 80 Read FselfLink Write SetselfLink;
  5691. Property sharedSecret : String Index 88 Read FsharedSecret Write SetsharedSecret;
  5692. Property sharedSecretHash : String Index 96 Read FsharedSecretHash Write SetsharedSecretHash;
  5693. Property status : String Index 104 Read Fstatus Write Setstatus;
  5694. Property targetVpnGateway : String Index 112 Read FtargetVpnGateway Write SettargetVpnGateway;
  5695. end;
  5696. TVpnTunnelClass = Class of TVpnTunnel;
  5697. { --------------------------------------------------------------------
  5698. TVpnTunnelAggregatedListTypeitems
  5699. --------------------------------------------------------------------}
  5700. TVpnTunnelAggregatedListTypeitems = Class(TGoogleBaseObject)
  5701. Private
  5702. Protected
  5703. //Property setters
  5704. Public
  5705. Class Function AllowAdditionalProperties : Boolean; override;
  5706. Published
  5707. end;
  5708. TVpnTunnelAggregatedListTypeitemsClass = Class of TVpnTunnelAggregatedListTypeitems;
  5709. { --------------------------------------------------------------------
  5710. TVpnTunnelAggregatedList
  5711. --------------------------------------------------------------------}
  5712. TVpnTunnelAggregatedList = Class(TGoogleBaseObject)
  5713. Private
  5714. Fid : String;
  5715. Fitems : TVpnTunnelAggregatedListTypeitems;
  5716. Fkind : String;
  5717. FnextPageToken : String;
  5718. FselfLink : String;
  5719. Protected
  5720. //Property setters
  5721. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5722. Procedure Setitems(AIndex : Integer; const AValue : TVpnTunnelAggregatedListTypeitems); virtual;
  5723. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5724. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5725. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  5726. Public
  5727. Published
  5728. Property id : String Index 0 Read Fid Write Setid;
  5729. Property items : TVpnTunnelAggregatedListTypeitems Index 8 Read Fitems Write Setitems;
  5730. Property kind : String Index 16 Read Fkind Write Setkind;
  5731. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  5732. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  5733. end;
  5734. TVpnTunnelAggregatedListClass = Class of TVpnTunnelAggregatedList;
  5735. { --------------------------------------------------------------------
  5736. TVpnTunnelList
  5737. --------------------------------------------------------------------}
  5738. TVpnTunnelList = Class(TGoogleBaseObject)
  5739. Private
  5740. Fid : String;
  5741. Fitems : TVpnTunnelListTypeitemsArray;
  5742. Fkind : String;
  5743. FnextPageToken : String;
  5744. FselfLink : String;
  5745. Protected
  5746. //Property setters
  5747. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5748. Procedure Setitems(AIndex : Integer; const AValue : TVpnTunnelListTypeitemsArray); virtual;
  5749. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5750. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5751. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  5752. //2.6.4. bug workaround
  5753. {$IFDEF VER2_6}
  5754. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5755. {$ENDIF VER2_6}
  5756. Public
  5757. Published
  5758. Property id : String Index 0 Read Fid Write Setid;
  5759. Property items : TVpnTunnelListTypeitemsArray Index 8 Read Fitems Write Setitems;
  5760. Property kind : String Index 16 Read Fkind Write Setkind;
  5761. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  5762. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  5763. end;
  5764. TVpnTunnelListClass = Class of TVpnTunnelList;
  5765. { --------------------------------------------------------------------
  5766. TVpnTunnelsScopedListTypewarningTypedataItem
  5767. --------------------------------------------------------------------}
  5768. TVpnTunnelsScopedListTypewarningTypedataItem = Class(TGoogleBaseObject)
  5769. Private
  5770. Fkey : String;
  5771. Fvalue : String;
  5772. Protected
  5773. //Property setters
  5774. Procedure Setkey(AIndex : Integer; const AValue : String); virtual;
  5775. Procedure Setvalue(AIndex : Integer; const AValue : String); virtual;
  5776. Public
  5777. Published
  5778. Property key : String Index 0 Read Fkey Write Setkey;
  5779. Property value : String Index 8 Read Fvalue Write Setvalue;
  5780. end;
  5781. TVpnTunnelsScopedListTypewarningTypedataItemClass = Class of TVpnTunnelsScopedListTypewarningTypedataItem;
  5782. { --------------------------------------------------------------------
  5783. TVpnTunnelsScopedListTypewarning
  5784. --------------------------------------------------------------------}
  5785. TVpnTunnelsScopedListTypewarning = Class(TGoogleBaseObject)
  5786. Private
  5787. Fcode : String;
  5788. Fdata : TVpnTunnelsScopedListTypewarningTypedataArray;
  5789. Fmessage : String;
  5790. Protected
  5791. //Property setters
  5792. Procedure Setcode(AIndex : Integer; const AValue : String); virtual;
  5793. Procedure Setdata(AIndex : Integer; const AValue : TVpnTunnelsScopedListTypewarningTypedataArray); virtual;
  5794. Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
  5795. //2.6.4. bug workaround
  5796. {$IFDEF VER2_6}
  5797. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5798. {$ENDIF VER2_6}
  5799. Public
  5800. Published
  5801. Property code : String Index 0 Read Fcode Write Setcode;
  5802. Property data : TVpnTunnelsScopedListTypewarningTypedataArray Index 8 Read Fdata Write Setdata;
  5803. Property message : String Index 16 Read Fmessage Write Setmessage;
  5804. end;
  5805. TVpnTunnelsScopedListTypewarningClass = Class of TVpnTunnelsScopedListTypewarning;
  5806. { --------------------------------------------------------------------
  5807. TVpnTunnelsScopedList
  5808. --------------------------------------------------------------------}
  5809. TVpnTunnelsScopedList = Class(TGoogleBaseObject)
  5810. Private
  5811. FvpnTunnels : TVpnTunnelsScopedListTypevpnTunnelsArray;
  5812. Fwarning : TVpnTunnelsScopedListTypewarning;
  5813. Protected
  5814. //Property setters
  5815. Procedure SetvpnTunnels(AIndex : Integer; const AValue : TVpnTunnelsScopedListTypevpnTunnelsArray); virtual;
  5816. Procedure Setwarning(AIndex : Integer; const AValue : TVpnTunnelsScopedListTypewarning); virtual;
  5817. //2.6.4. bug workaround
  5818. {$IFDEF VER2_6}
  5819. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5820. {$ENDIF VER2_6}
  5821. Public
  5822. Published
  5823. Property vpnTunnels : TVpnTunnelsScopedListTypevpnTunnelsArray Index 0 Read FvpnTunnels Write SetvpnTunnels;
  5824. Property warning : TVpnTunnelsScopedListTypewarning Index 8 Read Fwarning Write Setwarning;
  5825. end;
  5826. TVpnTunnelsScopedListClass = Class of TVpnTunnelsScopedList;
  5827. { --------------------------------------------------------------------
  5828. TZone
  5829. --------------------------------------------------------------------}
  5830. TZone = Class(TGoogleBaseObject)
  5831. Private
  5832. FcreationTimestamp : String;
  5833. Fdeprecated : TDeprecationStatus;
  5834. Fdescription : String;
  5835. Fid : String;
  5836. Fkind : String;
  5837. Fname : String;
  5838. Fregion : String;
  5839. FselfLink : String;
  5840. Fstatus : String;
  5841. Protected
  5842. //Property setters
  5843. Procedure SetcreationTimestamp(AIndex : Integer; const AValue : String); virtual;
  5844. Procedure Setdeprecated(AIndex : Integer; const AValue : TDeprecationStatus); virtual;
  5845. Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
  5846. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5847. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5848. Procedure Setname(AIndex : Integer; const AValue : String); virtual;
  5849. Procedure Setregion(AIndex : Integer; const AValue : String); virtual;
  5850. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  5851. Procedure Setstatus(AIndex : Integer; const AValue : String); virtual;
  5852. Public
  5853. Published
  5854. Property creationTimestamp : String Index 0 Read FcreationTimestamp Write SetcreationTimestamp;
  5855. Property deprecated : TDeprecationStatus Index 8 Read Fdeprecated Write Setdeprecated;
  5856. Property description : String Index 16 Read Fdescription Write Setdescription;
  5857. Property id : String Index 24 Read Fid Write Setid;
  5858. Property kind : String Index 32 Read Fkind Write Setkind;
  5859. Property name : String Index 40 Read Fname Write Setname;
  5860. Property region : String Index 48 Read Fregion Write Setregion;
  5861. Property selfLink : String Index 56 Read FselfLink Write SetselfLink;
  5862. Property status : String Index 64 Read Fstatus Write Setstatus;
  5863. end;
  5864. TZoneClass = Class of TZone;
  5865. { --------------------------------------------------------------------
  5866. TZoneList
  5867. --------------------------------------------------------------------}
  5868. TZoneList = Class(TGoogleBaseObject)
  5869. Private
  5870. Fid : String;
  5871. Fitems : TZoneListTypeitemsArray;
  5872. Fkind : String;
  5873. FnextPageToken : String;
  5874. FselfLink : String;
  5875. Protected
  5876. //Property setters
  5877. Procedure Setid(AIndex : Integer; const AValue : String); virtual;
  5878. Procedure Setitems(AIndex : Integer; const AValue : TZoneListTypeitemsArray); virtual;
  5879. Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
  5880. Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
  5881. Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
  5882. //2.6.4. bug workaround
  5883. {$IFDEF VER2_6}
  5884. Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
  5885. {$ENDIF VER2_6}
  5886. Public
  5887. Published
  5888. Property id : String Index 0 Read Fid Write Setid;
  5889. Property items : TZoneListTypeitemsArray Index 8 Read Fitems Write Setitems;
  5890. Property kind : String Index 16 Read Fkind Write Setkind;
  5891. Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
  5892. Property selfLink : String Index 32 Read FselfLink Write SetselfLink;
  5893. end;
  5894. TZoneListClass = Class of TZoneList;
  5895. { --------------------------------------------------------------------
  5896. TAddressesResource
  5897. --------------------------------------------------------------------}
  5898. //Optional query Options for TAddressesResource, method AggregatedList
  5899. TAddressesAggregatedListOptions = Record
  5900. filter : String;
  5901. maxResults : integer;
  5902. pageToken : String;
  5903. end;
  5904. //Optional query Options for TAddressesResource, method List
  5905. TAddressesListOptions = Record
  5906. filter : String;
  5907. maxResults : integer;
  5908. pageToken : String;
  5909. end;
  5910. TAddressesResource = Class(TGoogleResource)
  5911. Public
  5912. Class Function ResourceName : String; override;
  5913. Class Function DefaultAPI : TGoogleAPIClass; override;
  5914. Function AggregatedList(project: string; AQuery : string = '') : TAddressAggregatedList;
  5915. Function AggregatedList(project: string; AQuery : TAddressesaggregatedListOptions) : TAddressAggregatedList;
  5916. Function Delete(address: string; project: string; region: string) : TOperation;
  5917. Function Get(address: string; project: string; region: string) : TAddress;
  5918. Function Insert(project: string; region: string; aAddress : TAddress) : TOperation;
  5919. Function List(project: string; region: string; AQuery : string = '') : TAddressList;
  5920. Function List(project: string; region: string; AQuery : TAddresseslistOptions) : TAddressList;
  5921. end;
  5922. { --------------------------------------------------------------------
  5923. TAutoscalersResource
  5924. --------------------------------------------------------------------}
  5925. //Optional query Options for TAutoscalersResource, method AggregatedList
  5926. TAutoscalersAggregatedListOptions = Record
  5927. filter : String;
  5928. maxResults : integer;
  5929. pageToken : String;
  5930. end;
  5931. //Optional query Options for TAutoscalersResource, method List
  5932. TAutoscalersListOptions = Record
  5933. filter : String;
  5934. maxResults : integer;
  5935. pageToken : String;
  5936. end;
  5937. //Optional query Options for TAutoscalersResource, method Patch
  5938. TAutoscalersPatchOptions = Record
  5939. autoscaler : String;
  5940. end;
  5941. //Optional query Options for TAutoscalersResource, method Update
  5942. TAutoscalersUpdateOptions = Record
  5943. autoscaler : String;
  5944. end;
  5945. TAutoscalersResource = Class(TGoogleResource)
  5946. Public
  5947. Class Function ResourceName : String; override;
  5948. Class Function DefaultAPI : TGoogleAPIClass; override;
  5949. Function AggregatedList(project: string; AQuery : string = '') : TAutoscalerAggregatedList;
  5950. Function AggregatedList(project: string; AQuery : TAutoscalersaggregatedListOptions) : TAutoscalerAggregatedList;
  5951. Function Delete(autoscaler: string; project: string; zone: string) : TOperation;
  5952. Function Get(autoscaler: string; project: string; zone: string) : TAutoscaler;
  5953. Function Insert(project: string; zone: string; aAutoscaler : TAutoscaler) : TOperation;
  5954. Function List(project: string; zone: string; AQuery : string = '') : TAutoscalerList;
  5955. Function List(project: string; zone: string; AQuery : TAutoscalerslistOptions) : TAutoscalerList;
  5956. Function Patch(project: string; zone: string; aAutoscaler : TAutoscaler; AQuery : string = '') : TOperation;
  5957. Function Patch(project: string; zone: string; aAutoscaler : TAutoscaler; AQuery : TAutoscalerspatchOptions) : TOperation;
  5958. Function Update(project: string; zone: string; aAutoscaler : TAutoscaler; AQuery : string = '') : TOperation;
  5959. Function Update(project: string; zone: string; aAutoscaler : TAutoscaler; AQuery : TAutoscalersupdateOptions) : TOperation;
  5960. end;
  5961. { --------------------------------------------------------------------
  5962. TBackendServicesResource
  5963. --------------------------------------------------------------------}
  5964. //Optional query Options for TBackendServicesResource, method List
  5965. TBackendServicesListOptions = Record
  5966. filter : String;
  5967. maxResults : integer;
  5968. pageToken : String;
  5969. end;
  5970. TBackendServicesResource = Class(TGoogleResource)
  5971. Public
  5972. Class Function ResourceName : String; override;
  5973. Class Function DefaultAPI : TGoogleAPIClass; override;
  5974. Function Delete(backendService: string; project: string) : TOperation;
  5975. Function Get(backendService: string; project: string) : TBackendService;
  5976. Function GetHealth(backendService: string; project: string; aResourceGroupReference : TResourceGroupReference) : TBackendServiceGroupHealth;
  5977. Function Insert(project: string; aBackendService : TBackendService) : TOperation;
  5978. Function List(project: string; AQuery : string = '') : TBackendServiceList;
  5979. Function List(project: string; AQuery : TBackendServiceslistOptions) : TBackendServiceList;
  5980. Function Patch(backendService: string; project: string; aBackendService : TBackendService) : TOperation;
  5981. Function Update(backendService: string; project: string; aBackendService : TBackendService) : TOperation;
  5982. end;
  5983. { --------------------------------------------------------------------
  5984. TDiskTypesResource
  5985. --------------------------------------------------------------------}
  5986. //Optional query Options for TDiskTypesResource, method AggregatedList
  5987. TDiskTypesAggregatedListOptions = Record
  5988. filter : String;
  5989. maxResults : integer;
  5990. pageToken : String;
  5991. end;
  5992. //Optional query Options for TDiskTypesResource, method List
  5993. TDiskTypesListOptions = Record
  5994. filter : String;
  5995. maxResults : integer;
  5996. pageToken : String;
  5997. end;
  5998. TDiskTypesResource = Class(TGoogleResource)
  5999. Public
  6000. Class Function ResourceName : String; override;
  6001. Class Function DefaultAPI : TGoogleAPIClass; override;
  6002. Function AggregatedList(project: string; AQuery : string = '') : TDiskTypeAggregatedList;
  6003. Function AggregatedList(project: string; AQuery : TDiskTypesaggregatedListOptions) : TDiskTypeAggregatedList;
  6004. Function Get(diskType: string; project: string; zone: string) : TDiskType;
  6005. Function List(project: string; zone: string; AQuery : string = '') : TDiskTypeList;
  6006. Function List(project: string; zone: string; AQuery : TDiskTypeslistOptions) : TDiskTypeList;
  6007. end;
  6008. { --------------------------------------------------------------------
  6009. TDisksResource
  6010. --------------------------------------------------------------------}
  6011. //Optional query Options for TDisksResource, method AggregatedList
  6012. TDisksAggregatedListOptions = Record
  6013. filter : String;
  6014. maxResults : integer;
  6015. pageToken : String;
  6016. end;
  6017. //Optional query Options for TDisksResource, method Insert
  6018. TDisksInsertOptions = Record
  6019. sourceImage : String;
  6020. end;
  6021. //Optional query Options for TDisksResource, method List
  6022. TDisksListOptions = Record
  6023. filter : String;
  6024. maxResults : integer;
  6025. pageToken : String;
  6026. end;
  6027. TDisksResource = Class(TGoogleResource)
  6028. Public
  6029. Class Function ResourceName : String; override;
  6030. Class Function DefaultAPI : TGoogleAPIClass; override;
  6031. Function AggregatedList(project: string; AQuery : string = '') : TDiskAggregatedList;
  6032. Function AggregatedList(project: string; AQuery : TDisksaggregatedListOptions) : TDiskAggregatedList;
  6033. Function CreateSnapshot(disk: string; project: string; zone: string; aSnapshot : TSnapshot) : TOperation;
  6034. Function Delete(disk: string; project: string; zone: string) : TOperation;
  6035. Function Get(disk: string; project: string; zone: string) : TDisk;
  6036. Function Insert(project: string; zone: string; aDisk : TDisk; AQuery : string = '') : TOperation;
  6037. Function Insert(project: string; zone: string; aDisk : TDisk; AQuery : TDisksinsertOptions) : TOperation;
  6038. Function List(project: string; zone: string; AQuery : string = '') : TDiskList;
  6039. Function List(project: string; zone: string; AQuery : TDiskslistOptions) : TDiskList;
  6040. Function Resize(disk: string; project: string; zone: string; aDisksResizeRequest : TDisksResizeRequest) : TOperation;
  6041. end;
  6042. { --------------------------------------------------------------------
  6043. TFirewallsResource
  6044. --------------------------------------------------------------------}
  6045. //Optional query Options for TFirewallsResource, method List
  6046. TFirewallsListOptions = Record
  6047. filter : String;
  6048. maxResults : integer;
  6049. pageToken : String;
  6050. end;
  6051. TFirewallsResource = Class(TGoogleResource)
  6052. Public
  6053. Class Function ResourceName : String; override;
  6054. Class Function DefaultAPI : TGoogleAPIClass; override;
  6055. Function Delete(firewall: string; project: string) : TOperation;
  6056. Function Get(firewall: string; project: string) : TFirewall;
  6057. Function Insert(project: string; aFirewall : TFirewall) : TOperation;
  6058. Function List(project: string; AQuery : string = '') : TFirewallList;
  6059. Function List(project: string; AQuery : TFirewallslistOptions) : TFirewallList;
  6060. Function Patch(firewall: string; project: string; aFirewall : TFirewall) : TOperation;
  6061. Function Update(firewall: string; project: string; aFirewall : TFirewall) : TOperation;
  6062. end;
  6063. { --------------------------------------------------------------------
  6064. TForwardingRulesResource
  6065. --------------------------------------------------------------------}
  6066. //Optional query Options for TForwardingRulesResource, method AggregatedList
  6067. TForwardingRulesAggregatedListOptions = Record
  6068. filter : String;
  6069. maxResults : integer;
  6070. pageToken : String;
  6071. end;
  6072. //Optional query Options for TForwardingRulesResource, method List
  6073. TForwardingRulesListOptions = Record
  6074. filter : String;
  6075. maxResults : integer;
  6076. pageToken : String;
  6077. end;
  6078. TForwardingRulesResource = Class(TGoogleResource)
  6079. Public
  6080. Class Function ResourceName : String; override;
  6081. Class Function DefaultAPI : TGoogleAPIClass; override;
  6082. Function AggregatedList(project: string; AQuery : string = '') : TForwardingRuleAggregatedList;
  6083. Function AggregatedList(project: string; AQuery : TForwardingRulesaggregatedListOptions) : TForwardingRuleAggregatedList;
  6084. Function Delete(forwardingRule: string; project: string; region: string) : TOperation;
  6085. Function Get(forwardingRule: string; project: string; region: string) : TForwardingRule;
  6086. Function Insert(project: string; region: string; aForwardingRule : TForwardingRule) : TOperation;
  6087. Function List(project: string; region: string; AQuery : string = '') : TForwardingRuleList;
  6088. Function List(project: string; region: string; AQuery : TForwardingRuleslistOptions) : TForwardingRuleList;
  6089. Function SetTarget(forwardingRule: string; project: string; region: string; aTargetReference : TTargetReference) : TOperation;
  6090. end;
  6091. { --------------------------------------------------------------------
  6092. TGlobalAddressesResource
  6093. --------------------------------------------------------------------}
  6094. //Optional query Options for TGlobalAddressesResource, method List
  6095. TGlobalAddressesListOptions = Record
  6096. filter : String;
  6097. maxResults : integer;
  6098. pageToken : String;
  6099. end;
  6100. TGlobalAddressesResource = Class(TGoogleResource)
  6101. Public
  6102. Class Function ResourceName : String; override;
  6103. Class Function DefaultAPI : TGoogleAPIClass; override;
  6104. Function Delete(address: string; project: string) : TOperation;
  6105. Function Get(address: string; project: string) : TAddress;
  6106. Function Insert(project: string; aAddress : TAddress) : TOperation;
  6107. Function List(project: string; AQuery : string = '') : TAddressList;
  6108. Function List(project: string; AQuery : TGlobalAddresseslistOptions) : TAddressList;
  6109. end;
  6110. { --------------------------------------------------------------------
  6111. TGlobalForwardingRulesResource
  6112. --------------------------------------------------------------------}
  6113. //Optional query Options for TGlobalForwardingRulesResource, method List
  6114. TGlobalForwardingRulesListOptions = Record
  6115. filter : String;
  6116. maxResults : integer;
  6117. pageToken : String;
  6118. end;
  6119. TGlobalForwardingRulesResource = Class(TGoogleResource)
  6120. Public
  6121. Class Function ResourceName : String; override;
  6122. Class Function DefaultAPI : TGoogleAPIClass; override;
  6123. Function Delete(forwardingRule: string; project: string) : TOperation;
  6124. Function Get(forwardingRule: string; project: string) : TForwardingRule;
  6125. Function Insert(project: string; aForwardingRule : TForwardingRule) : TOperation;
  6126. Function List(project: string; AQuery : string = '') : TForwardingRuleList;
  6127. Function List(project: string; AQuery : TGlobalForwardingRuleslistOptions) : TForwardingRuleList;
  6128. Function SetTarget(forwardingRule: string; project: string; aTargetReference : TTargetReference) : TOperation;
  6129. end;
  6130. { --------------------------------------------------------------------
  6131. TGlobalOperationsResource
  6132. --------------------------------------------------------------------}
  6133. //Optional query Options for TGlobalOperationsResource, method AggregatedList
  6134. TGlobalOperationsAggregatedListOptions = Record
  6135. filter : String;
  6136. maxResults : integer;
  6137. pageToken : String;
  6138. end;
  6139. //Optional query Options for TGlobalOperationsResource, method List
  6140. TGlobalOperationsListOptions = Record
  6141. filter : String;
  6142. maxResults : integer;
  6143. pageToken : String;
  6144. end;
  6145. TGlobalOperationsResource = Class(TGoogleResource)
  6146. Public
  6147. Class Function ResourceName : String; override;
  6148. Class Function DefaultAPI : TGoogleAPIClass; override;
  6149. Function AggregatedList(project: string; AQuery : string = '') : TOperationAggregatedList;
  6150. Function AggregatedList(project: string; AQuery : TGlobalOperationsaggregatedListOptions) : TOperationAggregatedList;
  6151. Procedure Delete(operation: string; project: string);
  6152. Function Get(operation: string; project: string) : TOperation;
  6153. Function List(project: string; AQuery : string = '') : TOperationList;
  6154. Function List(project: string; AQuery : TGlobalOperationslistOptions) : TOperationList;
  6155. end;
  6156. { --------------------------------------------------------------------
  6157. THttpHealthChecksResource
  6158. --------------------------------------------------------------------}
  6159. //Optional query Options for THttpHealthChecksResource, method List
  6160. THttpHealthChecksListOptions = Record
  6161. filter : String;
  6162. maxResults : integer;
  6163. pageToken : String;
  6164. end;
  6165. THttpHealthChecksResource = Class(TGoogleResource)
  6166. Public
  6167. Class Function ResourceName : String; override;
  6168. Class Function DefaultAPI : TGoogleAPIClass; override;
  6169. Function Delete(httpHealthCheck: string; project: string) : TOperation;
  6170. Function Get(httpHealthCheck: string; project: string) : THttpHealthCheck;
  6171. Function Insert(project: string; aHttpHealthCheck : THttpHealthCheck) : TOperation;
  6172. Function List(project: string; AQuery : string = '') : THttpHealthCheckList;
  6173. Function List(project: string; AQuery : THttpHealthCheckslistOptions) : THttpHealthCheckList;
  6174. Function Patch(httpHealthCheck: string; project: string; aHttpHealthCheck : THttpHealthCheck) : TOperation;
  6175. Function Update(httpHealthCheck: string; project: string; aHttpHealthCheck : THttpHealthCheck) : TOperation;
  6176. end;
  6177. { --------------------------------------------------------------------
  6178. THttpsHealthChecksResource
  6179. --------------------------------------------------------------------}
  6180. //Optional query Options for THttpsHealthChecksResource, method List
  6181. THttpsHealthChecksListOptions = Record
  6182. filter : String;
  6183. maxResults : integer;
  6184. pageToken : String;
  6185. end;
  6186. THttpsHealthChecksResource = Class(TGoogleResource)
  6187. Public
  6188. Class Function ResourceName : String; override;
  6189. Class Function DefaultAPI : TGoogleAPIClass; override;
  6190. Function Delete(httpsHealthCheck: string; project: string) : TOperation;
  6191. Function Get(httpsHealthCheck: string; project: string) : THttpsHealthCheck;
  6192. Function Insert(project: string; aHttpsHealthCheck : THttpsHealthCheck) : TOperation;
  6193. Function List(project: string; AQuery : string = '') : THttpsHealthCheckList;
  6194. Function List(project: string; AQuery : THttpsHealthCheckslistOptions) : THttpsHealthCheckList;
  6195. Function Patch(httpsHealthCheck: string; project: string; aHttpsHealthCheck : THttpsHealthCheck) : TOperation;
  6196. Function Update(httpsHealthCheck: string; project: string; aHttpsHealthCheck : THttpsHealthCheck) : TOperation;
  6197. end;
  6198. { --------------------------------------------------------------------
  6199. TImagesResource
  6200. --------------------------------------------------------------------}
  6201. //Optional query Options for TImagesResource, method List
  6202. TImagesListOptions = Record
  6203. filter : String;
  6204. maxResults : integer;
  6205. pageToken : String;
  6206. end;
  6207. TImagesResource = Class(TGoogleResource)
  6208. Public
  6209. Class Function ResourceName : String; override;
  6210. Class Function DefaultAPI : TGoogleAPIClass; override;
  6211. Function Delete(image: string; project: string) : TOperation;
  6212. Function Deprecate(image: string; project: string; aDeprecationStatus : TDeprecationStatus) : TOperation;
  6213. Function Get(image: string; project: string) : TImage;
  6214. Function GetFromFamily(family: string; project: string) : TImage;
  6215. Function Insert(project: string; aImage : TImage) : TOperation;
  6216. Function List(project: string; AQuery : string = '') : TImageList;
  6217. Function List(project: string; AQuery : TImageslistOptions) : TImageList;
  6218. end;
  6219. { --------------------------------------------------------------------
  6220. TInstanceGroupManagersResource
  6221. --------------------------------------------------------------------}
  6222. //Optional query Options for TInstanceGroupManagersResource, method AggregatedList
  6223. TInstanceGroupManagersAggregatedListOptions = Record
  6224. filter : String;
  6225. maxResults : integer;
  6226. pageToken : String;
  6227. end;
  6228. //Optional query Options for TInstanceGroupManagersResource, method List
  6229. TInstanceGroupManagersListOptions = Record
  6230. filter : String;
  6231. maxResults : integer;
  6232. pageToken : String;
  6233. end;
  6234. //Optional query Options for TInstanceGroupManagersResource, method Resize
  6235. TInstanceGroupManagersResizeOptions = Record
  6236. size : integer;
  6237. end;
  6238. TInstanceGroupManagersResource = Class(TGoogleResource)
  6239. Public
  6240. Class Function ResourceName : String; override;
  6241. Class Function DefaultAPI : TGoogleAPIClass; override;
  6242. Function AbandonInstances(instanceGroupManager: string; project: string; zone: string; aInstanceGroupManagersAbandonInstancesRequest : TInstanceGroupManagersAbandonInstancesRequest) : TOperation;
  6243. Function AggregatedList(project: string; AQuery : string = '') : TInstanceGroupManagerAggregatedList;
  6244. Function AggregatedList(project: string; AQuery : TInstanceGroupManagersaggregatedListOptions) : TInstanceGroupManagerAggregatedList;
  6245. Function Delete(instanceGroupManager: string; project: string; zone: string) : TOperation;
  6246. Function DeleteInstances(instanceGroupManager: string; project: string; zone: string; aInstanceGroupManagersDeleteInstancesRequest : TInstanceGroupManagersDeleteInstancesRequest) : TOperation;
  6247. Function Get(instanceGroupManager: string; project: string; zone: string) : TInstanceGroupManager;
  6248. Function Insert(project: string; zone: string; aInstanceGroupManager : TInstanceGroupManager) : TOperation;
  6249. Function List(project: string; zone: string; AQuery : string = '') : TInstanceGroupManagerList;
  6250. Function List(project: string; zone: string; AQuery : TInstanceGroupManagerslistOptions) : TInstanceGroupManagerList;
  6251. Function ListManagedInstances(instanceGroupManager: string; project: string; zone: string) : TInstanceGroupManagersListManagedInstancesResponse;
  6252. Function RecreateInstances(instanceGroupManager: string; project: string; zone: string; aInstanceGroupManagersRecreateInstancesRequest : TInstanceGroupManagersRecreateInstancesRequest) : TOperation;
  6253. Function Resize(instanceGroupManager: string; project: string; zone: string; AQuery : string = '') : TOperation;
  6254. Function Resize(instanceGroupManager: string; project: string; zone: string; AQuery : TInstanceGroupManagersresizeOptions) : TOperation;
  6255. Function SetInstanceTemplate(instanceGroupManager: string; project: string; zone: string; aInstanceGroupManagersSetInstanceTemplateRequest : TInstanceGroupManagersSetInstanceTemplateRequest) : TOperation;
  6256. Function SetTargetPools(instanceGroupManager: string; project: string; zone: string; aInstanceGroupManagersSetTargetPoolsRequest : TInstanceGroupManagersSetTargetPoolsRequest) : TOperation;
  6257. end;
  6258. { --------------------------------------------------------------------
  6259. TInstanceGroupsResource
  6260. --------------------------------------------------------------------}
  6261. //Optional query Options for TInstanceGroupsResource, method AggregatedList
  6262. TInstanceGroupsAggregatedListOptions = Record
  6263. filter : String;
  6264. maxResults : integer;
  6265. pageToken : String;
  6266. end;
  6267. //Optional query Options for TInstanceGroupsResource, method List
  6268. TInstanceGroupsListOptions = Record
  6269. filter : String;
  6270. maxResults : integer;
  6271. pageToken : String;
  6272. end;
  6273. //Optional query Options for TInstanceGroupsResource, method ListInstances
  6274. TInstanceGroupsListInstancesOptions = Record
  6275. filter : String;
  6276. maxResults : integer;
  6277. pageToken : String;
  6278. end;
  6279. TInstanceGroupsResource = Class(TGoogleResource)
  6280. Public
  6281. Class Function ResourceName : String; override;
  6282. Class Function DefaultAPI : TGoogleAPIClass; override;
  6283. Function AddInstances(instanceGroup: string; project: string; zone: string; aInstanceGroupsAddInstancesRequest : TInstanceGroupsAddInstancesRequest) : TOperation;
  6284. Function AggregatedList(project: string; AQuery : string = '') : TInstanceGroupAggregatedList;
  6285. Function AggregatedList(project: string; AQuery : TInstanceGroupsaggregatedListOptions) : TInstanceGroupAggregatedList;
  6286. Function Delete(instanceGroup: string; project: string; zone: string) : TOperation;
  6287. Function Get(instanceGroup: string; project: string; zone: string) : TInstanceGroup;
  6288. Function Insert(project: string; zone: string; aInstanceGroup : TInstanceGroup) : TOperation;
  6289. Function List(project: string; zone: string; AQuery : string = '') : TInstanceGroupList;
  6290. Function List(project: string; zone: string; AQuery : TInstanceGroupslistOptions) : TInstanceGroupList;
  6291. Function ListInstances(instanceGroup: string; project: string; zone: string; aInstanceGroupsListInstancesRequest : TInstanceGroupsListInstancesRequest; AQuery : string = '') : TInstanceGroupsListInstances;
  6292. Function ListInstances(instanceGroup: string; project: string; zone: string; aInstanceGroupsListInstancesRequest : TInstanceGroupsListInstancesRequest; AQuery : TInstanceGroupslistInstancesOptions) : TInstanceGroupsListInstances;
  6293. Function RemoveInstances(instanceGroup: string; project: string; zone: string; aInstanceGroupsRemoveInstancesRequest : TInstanceGroupsRemoveInstancesRequest) : TOperation;
  6294. Function SetNamedPorts(instanceGroup: string; project: string; zone: string; aInstanceGroupsSetNamedPortsRequest : TInstanceGroupsSetNamedPortsRequest) : TOperation;
  6295. end;
  6296. { --------------------------------------------------------------------
  6297. TInstanceTemplatesResource
  6298. --------------------------------------------------------------------}
  6299. //Optional query Options for TInstanceTemplatesResource, method List
  6300. TInstanceTemplatesListOptions = Record
  6301. filter : String;
  6302. maxResults : integer;
  6303. pageToken : String;
  6304. end;
  6305. TInstanceTemplatesResource = Class(TGoogleResource)
  6306. Public
  6307. Class Function ResourceName : String; override;
  6308. Class Function DefaultAPI : TGoogleAPIClass; override;
  6309. Function Delete(instanceTemplate: string; project: string) : TOperation;
  6310. Function Get(instanceTemplate: string; project: string) : TInstanceTemplate;
  6311. Function Insert(project: string; aInstanceTemplate : TInstanceTemplate) : TOperation;
  6312. Function List(project: string; AQuery : string = '') : TInstanceTemplateList;
  6313. Function List(project: string; AQuery : TInstanceTemplateslistOptions) : TInstanceTemplateList;
  6314. end;
  6315. { --------------------------------------------------------------------
  6316. TInstancesResource
  6317. --------------------------------------------------------------------}
  6318. //Optional query Options for TInstancesResource, method AddAccessConfig
  6319. TInstancesAddAccessConfigOptions = Record
  6320. networkInterface : String;
  6321. end;
  6322. //Optional query Options for TInstancesResource, method AggregatedList
  6323. TInstancesAggregatedListOptions = Record
  6324. filter : String;
  6325. maxResults : integer;
  6326. pageToken : String;
  6327. end;
  6328. //Optional query Options for TInstancesResource, method DeleteAccessConfig
  6329. TInstancesDeleteAccessConfigOptions = Record
  6330. accessConfig : String;
  6331. networkInterface : String;
  6332. end;
  6333. //Optional query Options for TInstancesResource, method DetachDisk
  6334. TInstancesDetachDiskOptions = Record
  6335. deviceName : String;
  6336. end;
  6337. //Optional query Options for TInstancesResource, method GetSerialPortOutput
  6338. TInstancesGetSerialPortOutputOptions = Record
  6339. port : integer;
  6340. end;
  6341. //Optional query Options for TInstancesResource, method List
  6342. TInstancesListOptions = Record
  6343. filter : String;
  6344. maxResults : integer;
  6345. pageToken : String;
  6346. end;
  6347. //Optional query Options for TInstancesResource, method SetDiskAutoDelete
  6348. TInstancesSetDiskAutoDeleteOptions = Record
  6349. autoDelete : boolean;
  6350. deviceName : String;
  6351. end;
  6352. TInstancesResource = Class(TGoogleResource)
  6353. Public
  6354. Class Function ResourceName : String; override;
  6355. Class Function DefaultAPI : TGoogleAPIClass; override;
  6356. Function AddAccessConfig(instance: string; project: string; zone: string; aAccessConfig : TAccessConfig; AQuery : string = '') : TOperation;
  6357. Function AddAccessConfig(instance: string; project: string; zone: string; aAccessConfig : TAccessConfig; AQuery : TInstancesaddAccessConfigOptions) : TOperation;
  6358. Function AggregatedList(project: string; AQuery : string = '') : TInstanceAggregatedList;
  6359. Function AggregatedList(project: string; AQuery : TInstancesaggregatedListOptions) : TInstanceAggregatedList;
  6360. Function AttachDisk(instance: string; project: string; zone: string; aAttachedDisk : TAttachedDisk) : TOperation;
  6361. Function Delete(instance: string; project: string; zone: string) : TOperation;
  6362. Function DeleteAccessConfig(instance: string; project: string; zone: string; AQuery : string = '') : TOperation;
  6363. Function DeleteAccessConfig(instance: string; project: string; zone: string; AQuery : TInstancesdeleteAccessConfigOptions) : TOperation;
  6364. Function DetachDisk(instance: string; project: string; zone: string; AQuery : string = '') : TOperation;
  6365. Function DetachDisk(instance: string; project: string; zone: string; AQuery : TInstancesdetachDiskOptions) : TOperation;
  6366. Function Get(instance: string; project: string; zone: string) : TInstance;
  6367. Function GetSerialPortOutput(instance: string; project: string; zone: string; AQuery : string = '') : TSerialPortOutput;
  6368. Function GetSerialPortOutput(instance: string; project: string; zone: string; AQuery : TInstancesgetSerialPortOutputOptions) : TSerialPortOutput;
  6369. Function Insert(project: string; zone: string; aInstance : TInstance) : TOperation;
  6370. Function List(project: string; zone: string; AQuery : string = '') : TInstanceList;
  6371. Function List(project: string; zone: string; AQuery : TInstanceslistOptions) : TInstanceList;
  6372. Function Reset(instance: string; project: string; zone: string) : TOperation;
  6373. Function SetDiskAutoDelete(instance: string; project: string; zone: string; AQuery : string = '') : TOperation;
  6374. Function SetDiskAutoDelete(instance: string; project: string; zone: string; AQuery : TInstancessetDiskAutoDeleteOptions) : TOperation;
  6375. Function SetMachineType(instance: string; project: string; zone: string; aInstancesSetMachineTypeRequest : TInstancesSetMachineTypeRequest) : TOperation;
  6376. Function SetMetadata(instance: string; project: string; zone: string; aMetadata : TMetadata) : TOperation;
  6377. Function SetScheduling(instance: string; project: string; zone: string; aScheduling : TScheduling) : TOperation;
  6378. Function SetTags(instance: string; project: string; zone: string; aTags : TTags) : TOperation;
  6379. Function Start(instance: string; project: string; zone: string) : TOperation;
  6380. Function Stop(instance: string; project: string; zone: string) : TOperation;
  6381. end;
  6382. { --------------------------------------------------------------------
  6383. TLicensesResource
  6384. --------------------------------------------------------------------}
  6385. TLicensesResource = Class(TGoogleResource)
  6386. Public
  6387. Class Function ResourceName : String; override;
  6388. Class Function DefaultAPI : TGoogleAPIClass; override;
  6389. Function Get(license: string; project: string) : TLicense;
  6390. end;
  6391. { --------------------------------------------------------------------
  6392. TMachineTypesResource
  6393. --------------------------------------------------------------------}
  6394. //Optional query Options for TMachineTypesResource, method AggregatedList
  6395. TMachineTypesAggregatedListOptions = Record
  6396. filter : String;
  6397. maxResults : integer;
  6398. pageToken : String;
  6399. end;
  6400. //Optional query Options for TMachineTypesResource, method List
  6401. TMachineTypesListOptions = Record
  6402. filter : String;
  6403. maxResults : integer;
  6404. pageToken : String;
  6405. end;
  6406. TMachineTypesResource = Class(TGoogleResource)
  6407. Public
  6408. Class Function ResourceName : String; override;
  6409. Class Function DefaultAPI : TGoogleAPIClass; override;
  6410. Function AggregatedList(project: string; AQuery : string = '') : TMachineTypeAggregatedList;
  6411. Function AggregatedList(project: string; AQuery : TMachineTypesaggregatedListOptions) : TMachineTypeAggregatedList;
  6412. Function Get(machineType: string; project: string; zone: string) : TMachineType;
  6413. Function List(project: string; zone: string; AQuery : string = '') : TMachineTypeList;
  6414. Function List(project: string; zone: string; AQuery : TMachineTypeslistOptions) : TMachineTypeList;
  6415. end;
  6416. { --------------------------------------------------------------------
  6417. TNetworksResource
  6418. --------------------------------------------------------------------}
  6419. //Optional query Options for TNetworksResource, method List
  6420. TNetworksListOptions = Record
  6421. filter : String;
  6422. maxResults : integer;
  6423. pageToken : String;
  6424. end;
  6425. TNetworksResource = Class(TGoogleResource)
  6426. Public
  6427. Class Function ResourceName : String; override;
  6428. Class Function DefaultAPI : TGoogleAPIClass; override;
  6429. Function Delete(network: string; project: string) : TOperation;
  6430. Function Get(network: string; project: string) : TNetwork;
  6431. Function Insert(project: string; aNetwork : TNetwork) : TOperation;
  6432. Function List(project: string; AQuery : string = '') : TNetworkList;
  6433. Function List(project: string; AQuery : TNetworkslistOptions) : TNetworkList;
  6434. end;
  6435. { --------------------------------------------------------------------
  6436. TProjectsResource
  6437. --------------------------------------------------------------------}
  6438. TProjectsResource = Class(TGoogleResource)
  6439. Public
  6440. Class Function ResourceName : String; override;
  6441. Class Function DefaultAPI : TGoogleAPIClass; override;
  6442. Function Get(project: string) : TProject;
  6443. Function MoveDisk(project: string; aDiskMoveRequest : TDiskMoveRequest) : TOperation;
  6444. Function MoveInstance(project: string; aInstanceMoveRequest : TInstanceMoveRequest) : TOperation;
  6445. Function SetCommonInstanceMetadata(project: string; aMetadata : TMetadata) : TOperation;
  6446. Function SetUsageExportBucket(project: string; aUsageExportLocation : TUsageExportLocation) : TOperation;
  6447. end;
  6448. { --------------------------------------------------------------------
  6449. TRegionOperationsResource
  6450. --------------------------------------------------------------------}
  6451. //Optional query Options for TRegionOperationsResource, method List
  6452. TRegionOperationsListOptions = Record
  6453. filter : String;
  6454. maxResults : integer;
  6455. pageToken : String;
  6456. end;
  6457. TRegionOperationsResource = Class(TGoogleResource)
  6458. Public
  6459. Class Function ResourceName : String; override;
  6460. Class Function DefaultAPI : TGoogleAPIClass; override;
  6461. Procedure Delete(operation: string; project: string; region: string);
  6462. Function Get(operation: string; project: string; region: string) : TOperation;
  6463. Function List(project: string; region: string; AQuery : string = '') : TOperationList;
  6464. Function List(project: string; region: string; AQuery : TRegionOperationslistOptions) : TOperationList;
  6465. end;
  6466. { --------------------------------------------------------------------
  6467. TRegionsResource
  6468. --------------------------------------------------------------------}
  6469. //Optional query Options for TRegionsResource, method List
  6470. TRegionsListOptions = Record
  6471. filter : String;
  6472. maxResults : integer;
  6473. pageToken : String;
  6474. end;
  6475. TRegionsResource = Class(TGoogleResource)
  6476. Public
  6477. Class Function ResourceName : String; override;
  6478. Class Function DefaultAPI : TGoogleAPIClass; override;
  6479. Function Get(project: string; region: string) : TRegion;
  6480. Function List(project: string; AQuery : string = '') : TRegionList;
  6481. Function List(project: string; AQuery : TRegionslistOptions) : TRegionList;
  6482. end;
  6483. { --------------------------------------------------------------------
  6484. TRoutesResource
  6485. --------------------------------------------------------------------}
  6486. //Optional query Options for TRoutesResource, method List
  6487. TRoutesListOptions = Record
  6488. filter : String;
  6489. maxResults : integer;
  6490. pageToken : String;
  6491. end;
  6492. TRoutesResource = Class(TGoogleResource)
  6493. Public
  6494. Class Function ResourceName : String; override;
  6495. Class Function DefaultAPI : TGoogleAPIClass; override;
  6496. Function Delete(project: string; route: string) : TOperation;
  6497. Function Get(project: string; route: string) : TRoute;
  6498. Function Insert(project: string; aRoute : TRoute) : TOperation;
  6499. Function List(project: string; AQuery : string = '') : TRouteList;
  6500. Function List(project: string; AQuery : TRouteslistOptions) : TRouteList;
  6501. end;
  6502. { --------------------------------------------------------------------
  6503. TSnapshotsResource
  6504. --------------------------------------------------------------------}
  6505. //Optional query Options for TSnapshotsResource, method List
  6506. TSnapshotsListOptions = Record
  6507. filter : String;
  6508. maxResults : integer;
  6509. pageToken : String;
  6510. end;
  6511. TSnapshotsResource = Class(TGoogleResource)
  6512. Public
  6513. Class Function ResourceName : String; override;
  6514. Class Function DefaultAPI : TGoogleAPIClass; override;
  6515. Function Delete(project: string; snapshot: string) : TOperation;
  6516. Function Get(project: string; snapshot: string) : TSnapshot;
  6517. Function List(project: string; AQuery : string = '') : TSnapshotList;
  6518. Function List(project: string; AQuery : TSnapshotslistOptions) : TSnapshotList;
  6519. end;
  6520. { --------------------------------------------------------------------
  6521. TSslCertificatesResource
  6522. --------------------------------------------------------------------}
  6523. //Optional query Options for TSslCertificatesResource, method List
  6524. TSslCertificatesListOptions = Record
  6525. filter : String;
  6526. maxResults : integer;
  6527. pageToken : String;
  6528. end;
  6529. TSslCertificatesResource = Class(TGoogleResource)
  6530. Public
  6531. Class Function ResourceName : String; override;
  6532. Class Function DefaultAPI : TGoogleAPIClass; override;
  6533. Function Delete(project: string; sslCertificate: string) : TOperation;
  6534. Function Get(project: string; sslCertificate: string) : TSslCertificate;
  6535. Function Insert(project: string; aSslCertificate : TSslCertificate) : TOperation;
  6536. Function List(project: string; AQuery : string = '') : TSslCertificateList;
  6537. Function List(project: string; AQuery : TSslCertificateslistOptions) : TSslCertificateList;
  6538. end;
  6539. { --------------------------------------------------------------------
  6540. TSubnetworksResource
  6541. --------------------------------------------------------------------}
  6542. //Optional query Options for TSubnetworksResource, method AggregatedList
  6543. TSubnetworksAggregatedListOptions = Record
  6544. filter : String;
  6545. maxResults : integer;
  6546. pageToken : String;
  6547. end;
  6548. //Optional query Options for TSubnetworksResource, method List
  6549. TSubnetworksListOptions = Record
  6550. filter : String;
  6551. maxResults : integer;
  6552. pageToken : String;
  6553. end;
  6554. TSubnetworksResource = Class(TGoogleResource)
  6555. Public
  6556. Class Function ResourceName : String; override;
  6557. Class Function DefaultAPI : TGoogleAPIClass; override;
  6558. Function AggregatedList(project: string; AQuery : string = '') : TSubnetworkAggregatedList;
  6559. Function AggregatedList(project: string; AQuery : TSubnetworksaggregatedListOptions) : TSubnetworkAggregatedList;
  6560. Function Delete(project: string; region: string; subnetwork: string) : TOperation;
  6561. Function Get(project: string; region: string; subnetwork: string) : TSubnetwork;
  6562. Function Insert(project: string; region: string; aSubnetwork : TSubnetwork) : TOperation;
  6563. Function List(project: string; region: string; AQuery : string = '') : TSubnetworkList;
  6564. Function List(project: string; region: string; AQuery : TSubnetworkslistOptions) : TSubnetworkList;
  6565. end;
  6566. { --------------------------------------------------------------------
  6567. TTargetHttpProxiesResource
  6568. --------------------------------------------------------------------}
  6569. //Optional query Options for TTargetHttpProxiesResource, method List
  6570. TTargetHttpProxiesListOptions = Record
  6571. filter : String;
  6572. maxResults : integer;
  6573. pageToken : String;
  6574. end;
  6575. TTargetHttpProxiesResource = Class(TGoogleResource)
  6576. Public
  6577. Class Function ResourceName : String; override;
  6578. Class Function DefaultAPI : TGoogleAPIClass; override;
  6579. Function Delete(project: string; targetHttpProxy: string) : TOperation;
  6580. Function Get(project: string; targetHttpProxy: string) : TTargetHttpProxy;
  6581. Function Insert(project: string; aTargetHttpProxy : TTargetHttpProxy) : TOperation;
  6582. Function List(project: string; AQuery : string = '') : TTargetHttpProxyList;
  6583. Function List(project: string; AQuery : TTargetHttpProxieslistOptions) : TTargetHttpProxyList;
  6584. Function SetUrlMap(project: string; targetHttpProxy: string; aUrlMapReference : TUrlMapReference) : TOperation;
  6585. end;
  6586. { --------------------------------------------------------------------
  6587. TTargetHttpsProxiesResource
  6588. --------------------------------------------------------------------}
  6589. //Optional query Options for TTargetHttpsProxiesResource, method List
  6590. TTargetHttpsProxiesListOptions = Record
  6591. filter : String;
  6592. maxResults : integer;
  6593. pageToken : String;
  6594. end;
  6595. TTargetHttpsProxiesResource = Class(TGoogleResource)
  6596. Public
  6597. Class Function ResourceName : String; override;
  6598. Class Function DefaultAPI : TGoogleAPIClass; override;
  6599. Function Delete(project: string; targetHttpsProxy: string) : TOperation;
  6600. Function Get(project: string; targetHttpsProxy: string) : TTargetHttpsProxy;
  6601. Function Insert(project: string; aTargetHttpsProxy : TTargetHttpsProxy) : TOperation;
  6602. Function List(project: string; AQuery : string = '') : TTargetHttpsProxyList;
  6603. Function List(project: string; AQuery : TTargetHttpsProxieslistOptions) : TTargetHttpsProxyList;
  6604. Function SetSslCertificates(project: string; targetHttpsProxy: string; aTargetHttpsProxiesSetSslCertificatesRequest : TTargetHttpsProxiesSetSslCertificatesRequest) : TOperation;
  6605. Function SetUrlMap(project: string; targetHttpsProxy: string; aUrlMapReference : TUrlMapReference) : TOperation;
  6606. end;
  6607. { --------------------------------------------------------------------
  6608. TTargetInstancesResource
  6609. --------------------------------------------------------------------}
  6610. //Optional query Options for TTargetInstancesResource, method AggregatedList
  6611. TTargetInstancesAggregatedListOptions = Record
  6612. filter : String;
  6613. maxResults : integer;
  6614. pageToken : String;
  6615. end;
  6616. //Optional query Options for TTargetInstancesResource, method List
  6617. TTargetInstancesListOptions = Record
  6618. filter : String;
  6619. maxResults : integer;
  6620. pageToken : String;
  6621. end;
  6622. TTargetInstancesResource = Class(TGoogleResource)
  6623. Public
  6624. Class Function ResourceName : String; override;
  6625. Class Function DefaultAPI : TGoogleAPIClass; override;
  6626. Function AggregatedList(project: string; AQuery : string = '') : TTargetInstanceAggregatedList;
  6627. Function AggregatedList(project: string; AQuery : TTargetInstancesaggregatedListOptions) : TTargetInstanceAggregatedList;
  6628. Function Delete(project: string; targetInstance: string; zone: string) : TOperation;
  6629. Function Get(project: string; targetInstance: string; zone: string) : TTargetInstance;
  6630. Function Insert(project: string; zone: string; aTargetInstance : TTargetInstance) : TOperation;
  6631. Function List(project: string; zone: string; AQuery : string = '') : TTargetInstanceList;
  6632. Function List(project: string; zone: string; AQuery : TTargetInstanceslistOptions) : TTargetInstanceList;
  6633. end;
  6634. { --------------------------------------------------------------------
  6635. TTargetPoolsResource
  6636. --------------------------------------------------------------------}
  6637. //Optional query Options for TTargetPoolsResource, method AggregatedList
  6638. TTargetPoolsAggregatedListOptions = Record
  6639. filter : String;
  6640. maxResults : integer;
  6641. pageToken : String;
  6642. end;
  6643. //Optional query Options for TTargetPoolsResource, method List
  6644. TTargetPoolsListOptions = Record
  6645. filter : String;
  6646. maxResults : integer;
  6647. pageToken : String;
  6648. end;
  6649. //Optional query Options for TTargetPoolsResource, method SetBackup
  6650. TTargetPoolsSetBackupOptions = Record
  6651. failoverRatio : integer;
  6652. end;
  6653. TTargetPoolsResource = Class(TGoogleResource)
  6654. Public
  6655. Class Function ResourceName : String; override;
  6656. Class Function DefaultAPI : TGoogleAPIClass; override;
  6657. Function AddHealthCheck(project: string; region: string; targetPool: string; aTargetPoolsAddHealthCheckRequest : TTargetPoolsAddHealthCheckRequest) : TOperation;
  6658. Function AddInstance(project: string; region: string; targetPool: string; aTargetPoolsAddInstanceRequest : TTargetPoolsAddInstanceRequest) : TOperation;
  6659. Function AggregatedList(project: string; AQuery : string = '') : TTargetPoolAggregatedList;
  6660. Function AggregatedList(project: string; AQuery : TTargetPoolsaggregatedListOptions) : TTargetPoolAggregatedList;
  6661. Function Delete(project: string; region: string; targetPool: string) : TOperation;
  6662. Function Get(project: string; region: string; targetPool: string) : TTargetPool;
  6663. Function GetHealth(project: string; region: string; targetPool: string; aInstanceReference : TInstanceReference) : TTargetPoolInstanceHealth;
  6664. Function Insert(project: string; region: string; aTargetPool : TTargetPool) : TOperation;
  6665. Function List(project: string; region: string; AQuery : string = '') : TTargetPoolList;
  6666. Function List(project: string; region: string; AQuery : TTargetPoolslistOptions) : TTargetPoolList;
  6667. Function RemoveHealthCheck(project: string; region: string; targetPool: string; aTargetPoolsRemoveHealthCheckRequest : TTargetPoolsRemoveHealthCheckRequest) : TOperation;
  6668. Function RemoveInstance(project: string; region: string; targetPool: string; aTargetPoolsRemoveInstanceRequest : TTargetPoolsRemoveInstanceRequest) : TOperation;
  6669. Function SetBackup(project: string; region: string; targetPool: string; aTargetReference : TTargetReference; AQuery : string = '') : TOperation;
  6670. Function SetBackup(project: string; region: string; targetPool: string; aTargetReference : TTargetReference; AQuery : TTargetPoolssetBackupOptions) : TOperation;
  6671. end;
  6672. { --------------------------------------------------------------------
  6673. TTargetVpnGatewaysResource
  6674. --------------------------------------------------------------------}
  6675. //Optional query Options for TTargetVpnGatewaysResource, method AggregatedList
  6676. TTargetVpnGatewaysAggregatedListOptions = Record
  6677. filter : String;
  6678. maxResults : integer;
  6679. pageToken : String;
  6680. end;
  6681. //Optional query Options for TTargetVpnGatewaysResource, method List
  6682. TTargetVpnGatewaysListOptions = Record
  6683. filter : String;
  6684. maxResults : integer;
  6685. pageToken : String;
  6686. end;
  6687. TTargetVpnGatewaysResource = Class(TGoogleResource)
  6688. Public
  6689. Class Function ResourceName : String; override;
  6690. Class Function DefaultAPI : TGoogleAPIClass; override;
  6691. Function AggregatedList(project: string; AQuery : string = '') : TTargetVpnGatewayAggregatedList;
  6692. Function AggregatedList(project: string; AQuery : TTargetVpnGatewaysaggregatedListOptions) : TTargetVpnGatewayAggregatedList;
  6693. Function Delete(project: string; region: string; targetVpnGateway: string) : TOperation;
  6694. Function Get(project: string; region: string; targetVpnGateway: string) : TTargetVpnGateway;
  6695. Function Insert(project: string; region: string; aTargetVpnGateway : TTargetVpnGateway) : TOperation;
  6696. Function List(project: string; region: string; AQuery : string = '') : TTargetVpnGatewayList;
  6697. Function List(project: string; region: string; AQuery : TTargetVpnGatewayslistOptions) : TTargetVpnGatewayList;
  6698. end;
  6699. { --------------------------------------------------------------------
  6700. TUrlMapsResource
  6701. --------------------------------------------------------------------}
  6702. //Optional query Options for TUrlMapsResource, method List
  6703. TUrlMapsListOptions = Record
  6704. filter : String;
  6705. maxResults : integer;
  6706. pageToken : String;
  6707. end;
  6708. TUrlMapsResource = Class(TGoogleResource)
  6709. Public
  6710. Class Function ResourceName : String; override;
  6711. Class Function DefaultAPI : TGoogleAPIClass; override;
  6712. Function Delete(project: string; urlMap: string) : TOperation;
  6713. Function Get(project: string; urlMap: string) : TUrlMap;
  6714. Function Insert(project: string; aUrlMap : TUrlMap) : TOperation;
  6715. Function List(project: string; AQuery : string = '') : TUrlMapList;
  6716. Function List(project: string; AQuery : TUrlMapslistOptions) : TUrlMapList;
  6717. Function Patch(project: string; urlMap: string; aUrlMap : TUrlMap) : TOperation;
  6718. Function Update(project: string; urlMap: string; aUrlMap : TUrlMap) : TOperation;
  6719. Function Validate(project: string; urlMap: string; aUrlMapsValidateRequest : TUrlMapsValidateRequest) : TUrlMapsValidateResponse;
  6720. end;
  6721. { --------------------------------------------------------------------
  6722. TVpnTunnelsResource
  6723. --------------------------------------------------------------------}
  6724. //Optional query Options for TVpnTunnelsResource, method AggregatedList
  6725. TVpnTunnelsAggregatedListOptions = Record
  6726. filter : String;
  6727. maxResults : integer;
  6728. pageToken : String;
  6729. end;
  6730. //Optional query Options for TVpnTunnelsResource, method List
  6731. TVpnTunnelsListOptions = Record
  6732. filter : String;
  6733. maxResults : integer;
  6734. pageToken : String;
  6735. end;
  6736. TVpnTunnelsResource = Class(TGoogleResource)
  6737. Public
  6738. Class Function ResourceName : String; override;
  6739. Class Function DefaultAPI : TGoogleAPIClass; override;
  6740. Function AggregatedList(project: string; AQuery : string = '') : TVpnTunnelAggregatedList;
  6741. Function AggregatedList(project: string; AQuery : TVpnTunnelsaggregatedListOptions) : TVpnTunnelAggregatedList;
  6742. Function Delete(project: string; region: string; vpnTunnel: string) : TOperation;
  6743. Function Get(project: string; region: string; vpnTunnel: string) : TVpnTunnel;
  6744. Function Insert(project: string; region: string; aVpnTunnel : TVpnTunnel) : TOperation;
  6745. Function List(project: string; region: string; AQuery : string = '') : TVpnTunnelList;
  6746. Function List(project: string; region: string; AQuery : TVpnTunnelslistOptions) : TVpnTunnelList;
  6747. end;
  6748. { --------------------------------------------------------------------
  6749. TZoneOperationsResource
  6750. --------------------------------------------------------------------}
  6751. //Optional query Options for TZoneOperationsResource, method List
  6752. TZoneOperationsListOptions = Record
  6753. filter : String;
  6754. maxResults : integer;
  6755. pageToken : String;
  6756. end;
  6757. TZoneOperationsResource = Class(TGoogleResource)
  6758. Public
  6759. Class Function ResourceName : String; override;
  6760. Class Function DefaultAPI : TGoogleAPIClass; override;
  6761. Procedure Delete(operation: string; project: string; zone: string);
  6762. Function Get(operation: string; project: string; zone: string) : TOperation;
  6763. Function List(project: string; zone: string; AQuery : string = '') : TOperationList;
  6764. Function List(project: string; zone: string; AQuery : TZoneOperationslistOptions) : TOperationList;
  6765. end;
  6766. { --------------------------------------------------------------------
  6767. TZonesResource
  6768. --------------------------------------------------------------------}
  6769. //Optional query Options for TZonesResource, method List
  6770. TZonesListOptions = Record
  6771. filter : String;
  6772. maxResults : integer;
  6773. pageToken : String;
  6774. end;
  6775. TZonesResource = Class(TGoogleResource)
  6776. Public
  6777. Class Function ResourceName : String; override;
  6778. Class Function DefaultAPI : TGoogleAPIClass; override;
  6779. Function Get(project: string; zone: string) : TZone;
  6780. Function List(project: string; AQuery : string = '') : TZoneList;
  6781. Function List(project: string; AQuery : TZoneslistOptions) : TZoneList;
  6782. end;
  6783. { --------------------------------------------------------------------
  6784. TComputeAPI
  6785. --------------------------------------------------------------------}
  6786. TComputeAPI = Class(TGoogleAPI)
  6787. Private
  6788. FAddressesInstance : TAddressesResource;
  6789. FAutoscalersInstance : TAutoscalersResource;
  6790. FBackendServicesInstance : TBackendServicesResource;
  6791. FDiskTypesInstance : TDiskTypesResource;
  6792. FDisksInstance : TDisksResource;
  6793. FFirewallsInstance : TFirewallsResource;
  6794. FForwardingRulesInstance : TForwardingRulesResource;
  6795. FGlobalAddressesInstance : TGlobalAddressesResource;
  6796. FGlobalForwardingRulesInstance : TGlobalForwardingRulesResource;
  6797. FGlobalOperationsInstance : TGlobalOperationsResource;
  6798. FHttpHealthChecksInstance : THttpHealthChecksResource;
  6799. FHttpsHealthChecksInstance : THttpsHealthChecksResource;
  6800. FImagesInstance : TImagesResource;
  6801. FInstanceGroupManagersInstance : TInstanceGroupManagersResource;
  6802. FInstanceGroupsInstance : TInstanceGroupsResource;
  6803. FInstanceTemplatesInstance : TInstanceTemplatesResource;
  6804. FInstancesInstance : TInstancesResource;
  6805. FLicensesInstance : TLicensesResource;
  6806. FMachineTypesInstance : TMachineTypesResource;
  6807. FNetworksInstance : TNetworksResource;
  6808. FProjectsInstance : TProjectsResource;
  6809. FRegionOperationsInstance : TRegionOperationsResource;
  6810. FRegionsInstance : TRegionsResource;
  6811. FRoutesInstance : TRoutesResource;
  6812. FSnapshotsInstance : TSnapshotsResource;
  6813. FSslCertificatesInstance : TSslCertificatesResource;
  6814. FSubnetworksInstance : TSubnetworksResource;
  6815. FTargetHttpProxiesInstance : TTargetHttpProxiesResource;
  6816. FTargetHttpsProxiesInstance : TTargetHttpsProxiesResource;
  6817. FTargetInstancesInstance : TTargetInstancesResource;
  6818. FTargetPoolsInstance : TTargetPoolsResource;
  6819. FTargetVpnGatewaysInstance : TTargetVpnGatewaysResource;
  6820. FUrlMapsInstance : TUrlMapsResource;
  6821. FVpnTunnelsInstance : TVpnTunnelsResource;
  6822. FZoneOperationsInstance : TZoneOperationsResource;
  6823. FZonesInstance : TZonesResource;
  6824. Function GetAddressesInstance : TAddressesResource;virtual;
  6825. Function GetAutoscalersInstance : TAutoscalersResource;virtual;
  6826. Function GetBackendServicesInstance : TBackendServicesResource;virtual;
  6827. Function GetDiskTypesInstance : TDiskTypesResource;virtual;
  6828. Function GetDisksInstance : TDisksResource;virtual;
  6829. Function GetFirewallsInstance : TFirewallsResource;virtual;
  6830. Function GetForwardingRulesInstance : TForwardingRulesResource;virtual;
  6831. Function GetGlobalAddressesInstance : TGlobalAddressesResource;virtual;
  6832. Function GetGlobalForwardingRulesInstance : TGlobalForwardingRulesResource;virtual;
  6833. Function GetGlobalOperationsInstance : TGlobalOperationsResource;virtual;
  6834. Function GetHttpHealthChecksInstance : THttpHealthChecksResource;virtual;
  6835. Function GetHttpsHealthChecksInstance : THttpsHealthChecksResource;virtual;
  6836. Function GetImagesInstance : TImagesResource;virtual;
  6837. Function GetInstanceGroupManagersInstance : TInstanceGroupManagersResource;virtual;
  6838. Function GetInstanceGroupsInstance : TInstanceGroupsResource;virtual;
  6839. Function GetInstanceTemplatesInstance : TInstanceTemplatesResource;virtual;
  6840. Function GetInstancesInstance : TInstancesResource;virtual;
  6841. Function GetLicensesInstance : TLicensesResource;virtual;
  6842. Function GetMachineTypesInstance : TMachineTypesResource;virtual;
  6843. Function GetNetworksInstance : TNetworksResource;virtual;
  6844. Function GetProjectsInstance : TProjectsResource;virtual;
  6845. Function GetRegionOperationsInstance : TRegionOperationsResource;virtual;
  6846. Function GetRegionsInstance : TRegionsResource;virtual;
  6847. Function GetRoutesInstance : TRoutesResource;virtual;
  6848. Function GetSnapshotsInstance : TSnapshotsResource;virtual;
  6849. Function GetSslCertificatesInstance : TSslCertificatesResource;virtual;
  6850. Function GetSubnetworksInstance : TSubnetworksResource;virtual;
  6851. Function GetTargetHttpProxiesInstance : TTargetHttpProxiesResource;virtual;
  6852. Function GetTargetHttpsProxiesInstance : TTargetHttpsProxiesResource;virtual;
  6853. Function GetTargetInstancesInstance : TTargetInstancesResource;virtual;
  6854. Function GetTargetPoolsInstance : TTargetPoolsResource;virtual;
  6855. Function GetTargetVpnGatewaysInstance : TTargetVpnGatewaysResource;virtual;
  6856. Function GetUrlMapsInstance : TUrlMapsResource;virtual;
  6857. Function GetVpnTunnelsInstance : TVpnTunnelsResource;virtual;
  6858. Function GetZoneOperationsInstance : TZoneOperationsResource;virtual;
  6859. Function GetZonesInstance : TZonesResource;virtual;
  6860. Public
  6861. //Override class functions with API info
  6862. Class Function APIName : String; override;
  6863. Class Function APIVersion : String; override;
  6864. Class Function APIRevision : String; override;
  6865. Class Function APIID : String; override;
  6866. Class Function APITitle : String; override;
  6867. Class Function APIDescription : String; override;
  6868. Class Function APIOwnerDomain : String; override;
  6869. Class Function APIOwnerName : String; override;
  6870. Class Function APIIcon16 : String; override;
  6871. Class Function APIIcon32 : String; override;
  6872. Class Function APIdocumentationLink : String; override;
  6873. Class Function APIrootUrl : string; override;
  6874. Class Function APIbasePath : string;override;
  6875. Class Function APIbaseURL : String;override;
  6876. Class Function APIProtocol : string;override;
  6877. Class Function APIservicePath : string;override;
  6878. Class Function APIbatchPath : String;override;
  6879. Class Function APIAuthScopes : TScopeInfoArray;override;
  6880. Class Function APINeedsAuth : Boolean;override;
  6881. Class Procedure RegisterAPIResources; override;
  6882. //Add create function for resources
  6883. Function CreateAddressesResource(AOwner : TComponent) : TAddressesResource;virtual;overload;
  6884. Function CreateAddressesResource : TAddressesResource;virtual;overload;
  6885. Function CreateAutoscalersResource(AOwner : TComponent) : TAutoscalersResource;virtual;overload;
  6886. Function CreateAutoscalersResource : TAutoscalersResource;virtual;overload;
  6887. Function CreateBackendServicesResource(AOwner : TComponent) : TBackendServicesResource;virtual;overload;
  6888. Function CreateBackendServicesResource : TBackendServicesResource;virtual;overload;
  6889. Function CreateDiskTypesResource(AOwner : TComponent) : TDiskTypesResource;virtual;overload;
  6890. Function CreateDiskTypesResource : TDiskTypesResource;virtual;overload;
  6891. Function CreateDisksResource(AOwner : TComponent) : TDisksResource;virtual;overload;
  6892. Function CreateDisksResource : TDisksResource;virtual;overload;
  6893. Function CreateFirewallsResource(AOwner : TComponent) : TFirewallsResource;virtual;overload;
  6894. Function CreateFirewallsResource : TFirewallsResource;virtual;overload;
  6895. Function CreateForwardingRulesResource(AOwner : TComponent) : TForwardingRulesResource;virtual;overload;
  6896. Function CreateForwardingRulesResource : TForwardingRulesResource;virtual;overload;
  6897. Function CreateGlobalAddressesResource(AOwner : TComponent) : TGlobalAddressesResource;virtual;overload;
  6898. Function CreateGlobalAddressesResource : TGlobalAddressesResource;virtual;overload;
  6899. Function CreateGlobalForwardingRulesResource(AOwner : TComponent) : TGlobalForwardingRulesResource;virtual;overload;
  6900. Function CreateGlobalForwardingRulesResource : TGlobalForwardingRulesResource;virtual;overload;
  6901. Function CreateGlobalOperationsResource(AOwner : TComponent) : TGlobalOperationsResource;virtual;overload;
  6902. Function CreateGlobalOperationsResource : TGlobalOperationsResource;virtual;overload;
  6903. Function CreateHttpHealthChecksResource(AOwner : TComponent) : THttpHealthChecksResource;virtual;overload;
  6904. Function CreateHttpHealthChecksResource : THttpHealthChecksResource;virtual;overload;
  6905. Function CreateHttpsHealthChecksResource(AOwner : TComponent) : THttpsHealthChecksResource;virtual;overload;
  6906. Function CreateHttpsHealthChecksResource : THttpsHealthChecksResource;virtual;overload;
  6907. Function CreateImagesResource(AOwner : TComponent) : TImagesResource;virtual;overload;
  6908. Function CreateImagesResource : TImagesResource;virtual;overload;
  6909. Function CreateInstanceGroupManagersResource(AOwner : TComponent) : TInstanceGroupManagersResource;virtual;overload;
  6910. Function CreateInstanceGroupManagersResource : TInstanceGroupManagersResource;virtual;overload;
  6911. Function CreateInstanceGroupsResource(AOwner : TComponent) : TInstanceGroupsResource;virtual;overload;
  6912. Function CreateInstanceGroupsResource : TInstanceGroupsResource;virtual;overload;
  6913. Function CreateInstanceTemplatesResource(AOwner : TComponent) : TInstanceTemplatesResource;virtual;overload;
  6914. Function CreateInstanceTemplatesResource : TInstanceTemplatesResource;virtual;overload;
  6915. Function CreateInstancesResource(AOwner : TComponent) : TInstancesResource;virtual;overload;
  6916. Function CreateInstancesResource : TInstancesResource;virtual;overload;
  6917. Function CreateLicensesResource(AOwner : TComponent) : TLicensesResource;virtual;overload;
  6918. Function CreateLicensesResource : TLicensesResource;virtual;overload;
  6919. Function CreateMachineTypesResource(AOwner : TComponent) : TMachineTypesResource;virtual;overload;
  6920. Function CreateMachineTypesResource : TMachineTypesResource;virtual;overload;
  6921. Function CreateNetworksResource(AOwner : TComponent) : TNetworksResource;virtual;overload;
  6922. Function CreateNetworksResource : TNetworksResource;virtual;overload;
  6923. Function CreateProjectsResource(AOwner : TComponent) : TProjectsResource;virtual;overload;
  6924. Function CreateProjectsResource : TProjectsResource;virtual;overload;
  6925. Function CreateRegionOperationsResource(AOwner : TComponent) : TRegionOperationsResource;virtual;overload;
  6926. Function CreateRegionOperationsResource : TRegionOperationsResource;virtual;overload;
  6927. Function CreateRegionsResource(AOwner : TComponent) : TRegionsResource;virtual;overload;
  6928. Function CreateRegionsResource : TRegionsResource;virtual;overload;
  6929. Function CreateRoutesResource(AOwner : TComponent) : TRoutesResource;virtual;overload;
  6930. Function CreateRoutesResource : TRoutesResource;virtual;overload;
  6931. Function CreateSnapshotsResource(AOwner : TComponent) : TSnapshotsResource;virtual;overload;
  6932. Function CreateSnapshotsResource : TSnapshotsResource;virtual;overload;
  6933. Function CreateSslCertificatesResource(AOwner : TComponent) : TSslCertificatesResource;virtual;overload;
  6934. Function CreateSslCertificatesResource : TSslCertificatesResource;virtual;overload;
  6935. Function CreateSubnetworksResource(AOwner : TComponent) : TSubnetworksResource;virtual;overload;
  6936. Function CreateSubnetworksResource : TSubnetworksResource;virtual;overload;
  6937. Function CreateTargetHttpProxiesResource(AOwner : TComponent) : TTargetHttpProxiesResource;virtual;overload;
  6938. Function CreateTargetHttpProxiesResource : TTargetHttpProxiesResource;virtual;overload;
  6939. Function CreateTargetHttpsProxiesResource(AOwner : TComponent) : TTargetHttpsProxiesResource;virtual;overload;
  6940. Function CreateTargetHttpsProxiesResource : TTargetHttpsProxiesResource;virtual;overload;
  6941. Function CreateTargetInstancesResource(AOwner : TComponent) : TTargetInstancesResource;virtual;overload;
  6942. Function CreateTargetInstancesResource : TTargetInstancesResource;virtual;overload;
  6943. Function CreateTargetPoolsResource(AOwner : TComponent) : TTargetPoolsResource;virtual;overload;
  6944. Function CreateTargetPoolsResource : TTargetPoolsResource;virtual;overload;
  6945. Function CreateTargetVpnGatewaysResource(AOwner : TComponent) : TTargetVpnGatewaysResource;virtual;overload;
  6946. Function CreateTargetVpnGatewaysResource : TTargetVpnGatewaysResource;virtual;overload;
  6947. Function CreateUrlMapsResource(AOwner : TComponent) : TUrlMapsResource;virtual;overload;
  6948. Function CreateUrlMapsResource : TUrlMapsResource;virtual;overload;
  6949. Function CreateVpnTunnelsResource(AOwner : TComponent) : TVpnTunnelsResource;virtual;overload;
  6950. Function CreateVpnTunnelsResource : TVpnTunnelsResource;virtual;overload;
  6951. Function CreateZoneOperationsResource(AOwner : TComponent) : TZoneOperationsResource;virtual;overload;
  6952. Function CreateZoneOperationsResource : TZoneOperationsResource;virtual;overload;
  6953. Function CreateZonesResource(AOwner : TComponent) : TZonesResource;virtual;overload;
  6954. Function CreateZonesResource : TZonesResource;virtual;overload;
  6955. //Add default on-demand instances for resources
  6956. Property AddressesResource : TAddressesResource Read GetAddressesInstance;
  6957. Property AutoscalersResource : TAutoscalersResource Read GetAutoscalersInstance;
  6958. Property BackendServicesResource : TBackendServicesResource Read GetBackendServicesInstance;
  6959. Property DiskTypesResource : TDiskTypesResource Read GetDiskTypesInstance;
  6960. Property DisksResource : TDisksResource Read GetDisksInstance;
  6961. Property FirewallsResource : TFirewallsResource Read GetFirewallsInstance;
  6962. Property ForwardingRulesResource : TForwardingRulesResource Read GetForwardingRulesInstance;
  6963. Property GlobalAddressesResource : TGlobalAddressesResource Read GetGlobalAddressesInstance;
  6964. Property GlobalForwardingRulesResource : TGlobalForwardingRulesResource Read GetGlobalForwardingRulesInstance;
  6965. Property GlobalOperationsResource : TGlobalOperationsResource Read GetGlobalOperationsInstance;
  6966. Property HttpHealthChecksResource : THttpHealthChecksResource Read GetHttpHealthChecksInstance;
  6967. Property HttpsHealthChecksResource : THttpsHealthChecksResource Read GetHttpsHealthChecksInstance;
  6968. Property ImagesResource : TImagesResource Read GetImagesInstance;
  6969. Property InstanceGroupManagersResource : TInstanceGroupManagersResource Read GetInstanceGroupManagersInstance;
  6970. Property InstanceGroupsResource : TInstanceGroupsResource Read GetInstanceGroupsInstance;
  6971. Property InstanceTemplatesResource : TInstanceTemplatesResource Read GetInstanceTemplatesInstance;
  6972. Property InstancesResource : TInstancesResource Read GetInstancesInstance;
  6973. Property LicensesResource : TLicensesResource Read GetLicensesInstance;
  6974. Property MachineTypesResource : TMachineTypesResource Read GetMachineTypesInstance;
  6975. Property NetworksResource : TNetworksResource Read GetNetworksInstance;
  6976. Property ProjectsResource : TProjectsResource Read GetProjectsInstance;
  6977. Property RegionOperationsResource : TRegionOperationsResource Read GetRegionOperationsInstance;
  6978. Property RegionsResource : TRegionsResource Read GetRegionsInstance;
  6979. Property RoutesResource : TRoutesResource Read GetRoutesInstance;
  6980. Property SnapshotsResource : TSnapshotsResource Read GetSnapshotsInstance;
  6981. Property SslCertificatesResource : TSslCertificatesResource Read GetSslCertificatesInstance;
  6982. Property SubnetworksResource : TSubnetworksResource Read GetSubnetworksInstance;
  6983. Property TargetHttpProxiesResource : TTargetHttpProxiesResource Read GetTargetHttpProxiesInstance;
  6984. Property TargetHttpsProxiesResource : TTargetHttpsProxiesResource Read GetTargetHttpsProxiesInstance;
  6985. Property TargetInstancesResource : TTargetInstancesResource Read GetTargetInstancesInstance;
  6986. Property TargetPoolsResource : TTargetPoolsResource Read GetTargetPoolsInstance;
  6987. Property TargetVpnGatewaysResource : TTargetVpnGatewaysResource Read GetTargetVpnGatewaysInstance;
  6988. Property UrlMapsResource : TUrlMapsResource Read GetUrlMapsInstance;
  6989. Property VpnTunnelsResource : TVpnTunnelsResource Read GetVpnTunnelsInstance;
  6990. Property ZoneOperationsResource : TZoneOperationsResource Read GetZoneOperationsInstance;
  6991. Property ZonesResource : TZonesResource Read GetZonesInstance;
  6992. end;
  6993. implementation
  6994. { --------------------------------------------------------------------
  6995. TAccessConfig
  6996. --------------------------------------------------------------------}
  6997. Procedure TAccessConfig.Setkind(AIndex : Integer; const AValue : String);
  6998. begin
  6999. If (Fkind=AValue) then exit;
  7000. Fkind:=AValue;
  7001. MarkPropertyChanged(AIndex);
  7002. end;
  7003. Procedure TAccessConfig.Setname(AIndex : Integer; const AValue : String);
  7004. begin
  7005. If (Fname=AValue) then exit;
  7006. Fname:=AValue;
  7007. MarkPropertyChanged(AIndex);
  7008. end;
  7009. Procedure TAccessConfig.SetnatIP(AIndex : Integer; const AValue : String);
  7010. begin
  7011. If (FnatIP=AValue) then exit;
  7012. FnatIP:=AValue;
  7013. MarkPropertyChanged(AIndex);
  7014. end;
  7015. Procedure TAccessConfig.Set_type(AIndex : Integer; const AValue : String);
  7016. begin
  7017. If (F_type=AValue) then exit;
  7018. F_type:=AValue;
  7019. MarkPropertyChanged(AIndex);
  7020. end;
  7021. Class Function TAccessConfig.ExportPropertyName(Const AName : String) :String;
  7022. begin
  7023. Case AName of
  7024. '_type' : Result:='type';
  7025. else
  7026. Result:=Inherited ExportPropertyName(AName);
  7027. end;
  7028. end;
  7029. { --------------------------------------------------------------------
  7030. TAddress
  7031. --------------------------------------------------------------------}
  7032. Procedure TAddress.Setaddress(AIndex : Integer; const AValue : String);
  7033. begin
  7034. If (Faddress=AValue) then exit;
  7035. Faddress:=AValue;
  7036. MarkPropertyChanged(AIndex);
  7037. end;
  7038. Procedure TAddress.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  7039. begin
  7040. If (FcreationTimestamp=AValue) then exit;
  7041. FcreationTimestamp:=AValue;
  7042. MarkPropertyChanged(AIndex);
  7043. end;
  7044. Procedure TAddress.Setdescription(AIndex : Integer; const AValue : String);
  7045. begin
  7046. If (Fdescription=AValue) then exit;
  7047. Fdescription:=AValue;
  7048. MarkPropertyChanged(AIndex);
  7049. end;
  7050. Procedure TAddress.Setid(AIndex : Integer; const AValue : String);
  7051. begin
  7052. If (Fid=AValue) then exit;
  7053. Fid:=AValue;
  7054. MarkPropertyChanged(AIndex);
  7055. end;
  7056. Procedure TAddress.Setkind(AIndex : Integer; const AValue : String);
  7057. begin
  7058. If (Fkind=AValue) then exit;
  7059. Fkind:=AValue;
  7060. MarkPropertyChanged(AIndex);
  7061. end;
  7062. Procedure TAddress.Setname(AIndex : Integer; const AValue : String);
  7063. begin
  7064. If (Fname=AValue) then exit;
  7065. Fname:=AValue;
  7066. MarkPropertyChanged(AIndex);
  7067. end;
  7068. Procedure TAddress.Setregion(AIndex : Integer; const AValue : String);
  7069. begin
  7070. If (Fregion=AValue) then exit;
  7071. Fregion:=AValue;
  7072. MarkPropertyChanged(AIndex);
  7073. end;
  7074. Procedure TAddress.SetselfLink(AIndex : Integer; const AValue : String);
  7075. begin
  7076. If (FselfLink=AValue) then exit;
  7077. FselfLink:=AValue;
  7078. MarkPropertyChanged(AIndex);
  7079. end;
  7080. Procedure TAddress.Setstatus(AIndex : Integer; const AValue : String);
  7081. begin
  7082. If (Fstatus=AValue) then exit;
  7083. Fstatus:=AValue;
  7084. MarkPropertyChanged(AIndex);
  7085. end;
  7086. Procedure TAddress.Setusers(AIndex : Integer; const AValue : TStringArray);
  7087. begin
  7088. If (Fusers=AValue) then exit;
  7089. Fusers:=AValue;
  7090. MarkPropertyChanged(AIndex);
  7091. end;
  7092. //2.6.4. bug workaround
  7093. {$IFDEF VER2_6}
  7094. Procedure TAddress.SetArrayLength(Const AName : String; ALength : Longint);
  7095. begin
  7096. Case AName of
  7097. 'users' : SetLength(Fusers,ALength);
  7098. else
  7099. Inherited SetArrayLength(AName,ALength);
  7100. end;
  7101. end;
  7102. {$ENDIF VER2_6}
  7103. { --------------------------------------------------------------------
  7104. TAddressAggregatedListTypeitems
  7105. --------------------------------------------------------------------}
  7106. Class Function TAddressAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  7107. begin
  7108. Result:=True;
  7109. end;
  7110. { --------------------------------------------------------------------
  7111. TAddressAggregatedList
  7112. --------------------------------------------------------------------}
  7113. Procedure TAddressAggregatedList.Setid(AIndex : Integer; const AValue : String);
  7114. begin
  7115. If (Fid=AValue) then exit;
  7116. Fid:=AValue;
  7117. MarkPropertyChanged(AIndex);
  7118. end;
  7119. Procedure TAddressAggregatedList.Setitems(AIndex : Integer; const AValue : TAddressAggregatedListTypeitems);
  7120. begin
  7121. If (Fitems=AValue) then exit;
  7122. Fitems:=AValue;
  7123. MarkPropertyChanged(AIndex);
  7124. end;
  7125. Procedure TAddressAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  7126. begin
  7127. If (Fkind=AValue) then exit;
  7128. Fkind:=AValue;
  7129. MarkPropertyChanged(AIndex);
  7130. end;
  7131. Procedure TAddressAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  7132. begin
  7133. If (FnextPageToken=AValue) then exit;
  7134. FnextPageToken:=AValue;
  7135. MarkPropertyChanged(AIndex);
  7136. end;
  7137. Procedure TAddressAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  7138. begin
  7139. If (FselfLink=AValue) then exit;
  7140. FselfLink:=AValue;
  7141. MarkPropertyChanged(AIndex);
  7142. end;
  7143. { --------------------------------------------------------------------
  7144. TAddressList
  7145. --------------------------------------------------------------------}
  7146. Procedure TAddressList.Setid(AIndex : Integer; const AValue : String);
  7147. begin
  7148. If (Fid=AValue) then exit;
  7149. Fid:=AValue;
  7150. MarkPropertyChanged(AIndex);
  7151. end;
  7152. Procedure TAddressList.Setitems(AIndex : Integer; const AValue : TAddressListTypeitemsArray);
  7153. begin
  7154. If (Fitems=AValue) then exit;
  7155. Fitems:=AValue;
  7156. MarkPropertyChanged(AIndex);
  7157. end;
  7158. Procedure TAddressList.Setkind(AIndex : Integer; const AValue : String);
  7159. begin
  7160. If (Fkind=AValue) then exit;
  7161. Fkind:=AValue;
  7162. MarkPropertyChanged(AIndex);
  7163. end;
  7164. Procedure TAddressList.SetnextPageToken(AIndex : Integer; const AValue : String);
  7165. begin
  7166. If (FnextPageToken=AValue) then exit;
  7167. FnextPageToken:=AValue;
  7168. MarkPropertyChanged(AIndex);
  7169. end;
  7170. Procedure TAddressList.SetselfLink(AIndex : Integer; const AValue : String);
  7171. begin
  7172. If (FselfLink=AValue) then exit;
  7173. FselfLink:=AValue;
  7174. MarkPropertyChanged(AIndex);
  7175. end;
  7176. //2.6.4. bug workaround
  7177. {$IFDEF VER2_6}
  7178. Procedure TAddressList.SetArrayLength(Const AName : String; ALength : Longint);
  7179. begin
  7180. Case AName of
  7181. 'items' : SetLength(Fitems,ALength);
  7182. else
  7183. Inherited SetArrayLength(AName,ALength);
  7184. end;
  7185. end;
  7186. {$ENDIF VER2_6}
  7187. { --------------------------------------------------------------------
  7188. TAddressesScopedListTypewarningTypedataItem
  7189. --------------------------------------------------------------------}
  7190. Procedure TAddressesScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  7191. begin
  7192. If (Fkey=AValue) then exit;
  7193. Fkey:=AValue;
  7194. MarkPropertyChanged(AIndex);
  7195. end;
  7196. Procedure TAddressesScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  7197. begin
  7198. If (Fvalue=AValue) then exit;
  7199. Fvalue:=AValue;
  7200. MarkPropertyChanged(AIndex);
  7201. end;
  7202. { --------------------------------------------------------------------
  7203. TAddressesScopedListTypewarning
  7204. --------------------------------------------------------------------}
  7205. Procedure TAddressesScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  7206. begin
  7207. If (Fcode=AValue) then exit;
  7208. Fcode:=AValue;
  7209. MarkPropertyChanged(AIndex);
  7210. end;
  7211. Procedure TAddressesScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TAddressesScopedListTypewarningTypedataArray);
  7212. begin
  7213. If (Fdata=AValue) then exit;
  7214. Fdata:=AValue;
  7215. MarkPropertyChanged(AIndex);
  7216. end;
  7217. Procedure TAddressesScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  7218. begin
  7219. If (Fmessage=AValue) then exit;
  7220. Fmessage:=AValue;
  7221. MarkPropertyChanged(AIndex);
  7222. end;
  7223. //2.6.4. bug workaround
  7224. {$IFDEF VER2_6}
  7225. Procedure TAddressesScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  7226. begin
  7227. Case AName of
  7228. 'data' : SetLength(Fdata,ALength);
  7229. else
  7230. Inherited SetArrayLength(AName,ALength);
  7231. end;
  7232. end;
  7233. {$ENDIF VER2_6}
  7234. { --------------------------------------------------------------------
  7235. TAddressesScopedList
  7236. --------------------------------------------------------------------}
  7237. Procedure TAddressesScopedList.Setaddresses(AIndex : Integer; const AValue : TAddressesScopedListTypeaddressesArray);
  7238. begin
  7239. If (Faddresses=AValue) then exit;
  7240. Faddresses:=AValue;
  7241. MarkPropertyChanged(AIndex);
  7242. end;
  7243. Procedure TAddressesScopedList.Setwarning(AIndex : Integer; const AValue : TAddressesScopedListTypewarning);
  7244. begin
  7245. If (Fwarning=AValue) then exit;
  7246. Fwarning:=AValue;
  7247. MarkPropertyChanged(AIndex);
  7248. end;
  7249. //2.6.4. bug workaround
  7250. {$IFDEF VER2_6}
  7251. Procedure TAddressesScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  7252. begin
  7253. Case AName of
  7254. 'addresses' : SetLength(Faddresses,ALength);
  7255. else
  7256. Inherited SetArrayLength(AName,ALength);
  7257. end;
  7258. end;
  7259. {$ENDIF VER2_6}
  7260. { --------------------------------------------------------------------
  7261. TAttachedDisk
  7262. --------------------------------------------------------------------}
  7263. Procedure TAttachedDisk.SetautoDelete(AIndex : Integer; const AValue : boolean);
  7264. begin
  7265. If (FautoDelete=AValue) then exit;
  7266. FautoDelete:=AValue;
  7267. MarkPropertyChanged(AIndex);
  7268. end;
  7269. Procedure TAttachedDisk.Setboot(AIndex : Integer; const AValue : boolean);
  7270. begin
  7271. If (Fboot=AValue) then exit;
  7272. Fboot:=AValue;
  7273. MarkPropertyChanged(AIndex);
  7274. end;
  7275. Procedure TAttachedDisk.SetdeviceName(AIndex : Integer; const AValue : String);
  7276. begin
  7277. If (FdeviceName=AValue) then exit;
  7278. FdeviceName:=AValue;
  7279. MarkPropertyChanged(AIndex);
  7280. end;
  7281. Procedure TAttachedDisk.Setindex(AIndex : Integer; const AValue : integer);
  7282. begin
  7283. If (Findex=AValue) then exit;
  7284. Findex:=AValue;
  7285. MarkPropertyChanged(AIndex);
  7286. end;
  7287. Procedure TAttachedDisk.SetinitializeParams(AIndex : Integer; const AValue : TAttachedDiskInitializeParams);
  7288. begin
  7289. If (FinitializeParams=AValue) then exit;
  7290. FinitializeParams:=AValue;
  7291. MarkPropertyChanged(AIndex);
  7292. end;
  7293. Procedure TAttachedDisk.Set_interface(AIndex : Integer; const AValue : String);
  7294. begin
  7295. If (F_interface=AValue) then exit;
  7296. F_interface:=AValue;
  7297. MarkPropertyChanged(AIndex);
  7298. end;
  7299. Procedure TAttachedDisk.Setkind(AIndex : Integer; const AValue : String);
  7300. begin
  7301. If (Fkind=AValue) then exit;
  7302. Fkind:=AValue;
  7303. MarkPropertyChanged(AIndex);
  7304. end;
  7305. Procedure TAttachedDisk.Setlicenses(AIndex : Integer; const AValue : TStringArray);
  7306. begin
  7307. If (Flicenses=AValue) then exit;
  7308. Flicenses:=AValue;
  7309. MarkPropertyChanged(AIndex);
  7310. end;
  7311. Procedure TAttachedDisk.Setmode(AIndex : Integer; const AValue : String);
  7312. begin
  7313. If (Fmode=AValue) then exit;
  7314. Fmode:=AValue;
  7315. MarkPropertyChanged(AIndex);
  7316. end;
  7317. Procedure TAttachedDisk.Setsource(AIndex : Integer; const AValue : String);
  7318. begin
  7319. If (Fsource=AValue) then exit;
  7320. Fsource:=AValue;
  7321. MarkPropertyChanged(AIndex);
  7322. end;
  7323. Procedure TAttachedDisk.Set_type(AIndex : Integer; const AValue : String);
  7324. begin
  7325. If (F_type=AValue) then exit;
  7326. F_type:=AValue;
  7327. MarkPropertyChanged(AIndex);
  7328. end;
  7329. Class Function TAttachedDisk.ExportPropertyName(Const AName : String) :String;
  7330. begin
  7331. Case AName of
  7332. '_interface' : Result:='interface';
  7333. '_type' : Result:='type';
  7334. else
  7335. Result:=Inherited ExportPropertyName(AName);
  7336. end;
  7337. end;
  7338. //2.6.4. bug workaround
  7339. {$IFDEF VER2_6}
  7340. Procedure TAttachedDisk.SetArrayLength(Const AName : String; ALength : Longint);
  7341. begin
  7342. Case AName of
  7343. 'licenses' : SetLength(Flicenses,ALength);
  7344. else
  7345. Inherited SetArrayLength(AName,ALength);
  7346. end;
  7347. end;
  7348. {$ENDIF VER2_6}
  7349. { --------------------------------------------------------------------
  7350. TAttachedDiskInitializeParams
  7351. --------------------------------------------------------------------}
  7352. Procedure TAttachedDiskInitializeParams.SetdiskName(AIndex : Integer; const AValue : String);
  7353. begin
  7354. If (FdiskName=AValue) then exit;
  7355. FdiskName:=AValue;
  7356. MarkPropertyChanged(AIndex);
  7357. end;
  7358. Procedure TAttachedDiskInitializeParams.SetdiskSizeGb(AIndex : Integer; const AValue : String);
  7359. begin
  7360. If (FdiskSizeGb=AValue) then exit;
  7361. FdiskSizeGb:=AValue;
  7362. MarkPropertyChanged(AIndex);
  7363. end;
  7364. Procedure TAttachedDiskInitializeParams.SetdiskType(AIndex : Integer; const AValue : String);
  7365. begin
  7366. If (FdiskType=AValue) then exit;
  7367. FdiskType:=AValue;
  7368. MarkPropertyChanged(AIndex);
  7369. end;
  7370. Procedure TAttachedDiskInitializeParams.SetsourceImage(AIndex : Integer; const AValue : String);
  7371. begin
  7372. If (FsourceImage=AValue) then exit;
  7373. FsourceImage:=AValue;
  7374. MarkPropertyChanged(AIndex);
  7375. end;
  7376. { --------------------------------------------------------------------
  7377. TAutoscaler
  7378. --------------------------------------------------------------------}
  7379. Procedure TAutoscaler.SetautoscalingPolicy(AIndex : Integer; const AValue : TAutoscalingPolicy);
  7380. begin
  7381. If (FautoscalingPolicy=AValue) then exit;
  7382. FautoscalingPolicy:=AValue;
  7383. MarkPropertyChanged(AIndex);
  7384. end;
  7385. Procedure TAutoscaler.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  7386. begin
  7387. If (FcreationTimestamp=AValue) then exit;
  7388. FcreationTimestamp:=AValue;
  7389. MarkPropertyChanged(AIndex);
  7390. end;
  7391. Procedure TAutoscaler.Setdescription(AIndex : Integer; const AValue : String);
  7392. begin
  7393. If (Fdescription=AValue) then exit;
  7394. Fdescription:=AValue;
  7395. MarkPropertyChanged(AIndex);
  7396. end;
  7397. Procedure TAutoscaler.Setid(AIndex : Integer; const AValue : String);
  7398. begin
  7399. If (Fid=AValue) then exit;
  7400. Fid:=AValue;
  7401. MarkPropertyChanged(AIndex);
  7402. end;
  7403. Procedure TAutoscaler.Setkind(AIndex : Integer; const AValue : String);
  7404. begin
  7405. If (Fkind=AValue) then exit;
  7406. Fkind:=AValue;
  7407. MarkPropertyChanged(AIndex);
  7408. end;
  7409. Procedure TAutoscaler.Setname(AIndex : Integer; const AValue : String);
  7410. begin
  7411. If (Fname=AValue) then exit;
  7412. Fname:=AValue;
  7413. MarkPropertyChanged(AIndex);
  7414. end;
  7415. Procedure TAutoscaler.SetselfLink(AIndex : Integer; const AValue : String);
  7416. begin
  7417. If (FselfLink=AValue) then exit;
  7418. FselfLink:=AValue;
  7419. MarkPropertyChanged(AIndex);
  7420. end;
  7421. Procedure TAutoscaler.Settarget(AIndex : Integer; const AValue : String);
  7422. begin
  7423. If (Ftarget=AValue) then exit;
  7424. Ftarget:=AValue;
  7425. MarkPropertyChanged(AIndex);
  7426. end;
  7427. Procedure TAutoscaler.Setzone(AIndex : Integer; const AValue : String);
  7428. begin
  7429. If (Fzone=AValue) then exit;
  7430. Fzone:=AValue;
  7431. MarkPropertyChanged(AIndex);
  7432. end;
  7433. { --------------------------------------------------------------------
  7434. TAutoscalerAggregatedListTypeitems
  7435. --------------------------------------------------------------------}
  7436. Class Function TAutoscalerAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  7437. begin
  7438. Result:=True;
  7439. end;
  7440. { --------------------------------------------------------------------
  7441. TAutoscalerAggregatedList
  7442. --------------------------------------------------------------------}
  7443. Procedure TAutoscalerAggregatedList.Setid(AIndex : Integer; const AValue : String);
  7444. begin
  7445. If (Fid=AValue) then exit;
  7446. Fid:=AValue;
  7447. MarkPropertyChanged(AIndex);
  7448. end;
  7449. Procedure TAutoscalerAggregatedList.Setitems(AIndex : Integer; const AValue : TAutoscalerAggregatedListTypeitems);
  7450. begin
  7451. If (Fitems=AValue) then exit;
  7452. Fitems:=AValue;
  7453. MarkPropertyChanged(AIndex);
  7454. end;
  7455. Procedure TAutoscalerAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  7456. begin
  7457. If (Fkind=AValue) then exit;
  7458. Fkind:=AValue;
  7459. MarkPropertyChanged(AIndex);
  7460. end;
  7461. Procedure TAutoscalerAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  7462. begin
  7463. If (FnextPageToken=AValue) then exit;
  7464. FnextPageToken:=AValue;
  7465. MarkPropertyChanged(AIndex);
  7466. end;
  7467. Procedure TAutoscalerAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  7468. begin
  7469. If (FselfLink=AValue) then exit;
  7470. FselfLink:=AValue;
  7471. MarkPropertyChanged(AIndex);
  7472. end;
  7473. { --------------------------------------------------------------------
  7474. TAutoscalerList
  7475. --------------------------------------------------------------------}
  7476. Procedure TAutoscalerList.Setid(AIndex : Integer; const AValue : String);
  7477. begin
  7478. If (Fid=AValue) then exit;
  7479. Fid:=AValue;
  7480. MarkPropertyChanged(AIndex);
  7481. end;
  7482. Procedure TAutoscalerList.Setitems(AIndex : Integer; const AValue : TAutoscalerListTypeitemsArray);
  7483. begin
  7484. If (Fitems=AValue) then exit;
  7485. Fitems:=AValue;
  7486. MarkPropertyChanged(AIndex);
  7487. end;
  7488. Procedure TAutoscalerList.Setkind(AIndex : Integer; const AValue : String);
  7489. begin
  7490. If (Fkind=AValue) then exit;
  7491. Fkind:=AValue;
  7492. MarkPropertyChanged(AIndex);
  7493. end;
  7494. Procedure TAutoscalerList.SetnextPageToken(AIndex : Integer; const AValue : String);
  7495. begin
  7496. If (FnextPageToken=AValue) then exit;
  7497. FnextPageToken:=AValue;
  7498. MarkPropertyChanged(AIndex);
  7499. end;
  7500. Procedure TAutoscalerList.SetselfLink(AIndex : Integer; const AValue : String);
  7501. begin
  7502. If (FselfLink=AValue) then exit;
  7503. FselfLink:=AValue;
  7504. MarkPropertyChanged(AIndex);
  7505. end;
  7506. //2.6.4. bug workaround
  7507. {$IFDEF VER2_6}
  7508. Procedure TAutoscalerList.SetArrayLength(Const AName : String; ALength : Longint);
  7509. begin
  7510. Case AName of
  7511. 'items' : SetLength(Fitems,ALength);
  7512. else
  7513. Inherited SetArrayLength(AName,ALength);
  7514. end;
  7515. end;
  7516. {$ENDIF VER2_6}
  7517. { --------------------------------------------------------------------
  7518. TAutoscalersScopedListTypewarningTypedataItem
  7519. --------------------------------------------------------------------}
  7520. Procedure TAutoscalersScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  7521. begin
  7522. If (Fkey=AValue) then exit;
  7523. Fkey:=AValue;
  7524. MarkPropertyChanged(AIndex);
  7525. end;
  7526. Procedure TAutoscalersScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  7527. begin
  7528. If (Fvalue=AValue) then exit;
  7529. Fvalue:=AValue;
  7530. MarkPropertyChanged(AIndex);
  7531. end;
  7532. { --------------------------------------------------------------------
  7533. TAutoscalersScopedListTypewarning
  7534. --------------------------------------------------------------------}
  7535. Procedure TAutoscalersScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  7536. begin
  7537. If (Fcode=AValue) then exit;
  7538. Fcode:=AValue;
  7539. MarkPropertyChanged(AIndex);
  7540. end;
  7541. Procedure TAutoscalersScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TAutoscalersScopedListTypewarningTypedataArray);
  7542. begin
  7543. If (Fdata=AValue) then exit;
  7544. Fdata:=AValue;
  7545. MarkPropertyChanged(AIndex);
  7546. end;
  7547. Procedure TAutoscalersScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  7548. begin
  7549. If (Fmessage=AValue) then exit;
  7550. Fmessage:=AValue;
  7551. MarkPropertyChanged(AIndex);
  7552. end;
  7553. //2.6.4. bug workaround
  7554. {$IFDEF VER2_6}
  7555. Procedure TAutoscalersScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  7556. begin
  7557. Case AName of
  7558. 'data' : SetLength(Fdata,ALength);
  7559. else
  7560. Inherited SetArrayLength(AName,ALength);
  7561. end;
  7562. end;
  7563. {$ENDIF VER2_6}
  7564. { --------------------------------------------------------------------
  7565. TAutoscalersScopedList
  7566. --------------------------------------------------------------------}
  7567. Procedure TAutoscalersScopedList.Setautoscalers(AIndex : Integer; const AValue : TAutoscalersScopedListTypeautoscalersArray);
  7568. begin
  7569. If (Fautoscalers=AValue) then exit;
  7570. Fautoscalers:=AValue;
  7571. MarkPropertyChanged(AIndex);
  7572. end;
  7573. Procedure TAutoscalersScopedList.Setwarning(AIndex : Integer; const AValue : TAutoscalersScopedListTypewarning);
  7574. begin
  7575. If (Fwarning=AValue) then exit;
  7576. Fwarning:=AValue;
  7577. MarkPropertyChanged(AIndex);
  7578. end;
  7579. //2.6.4. bug workaround
  7580. {$IFDEF VER2_6}
  7581. Procedure TAutoscalersScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  7582. begin
  7583. Case AName of
  7584. 'autoscalers' : SetLength(Fautoscalers,ALength);
  7585. else
  7586. Inherited SetArrayLength(AName,ALength);
  7587. end;
  7588. end;
  7589. {$ENDIF VER2_6}
  7590. { --------------------------------------------------------------------
  7591. TAutoscalingPolicy
  7592. --------------------------------------------------------------------}
  7593. Procedure TAutoscalingPolicy.SetcoolDownPeriodSec(AIndex : Integer; const AValue : integer);
  7594. begin
  7595. If (FcoolDownPeriodSec=AValue) then exit;
  7596. FcoolDownPeriodSec:=AValue;
  7597. MarkPropertyChanged(AIndex);
  7598. end;
  7599. Procedure TAutoscalingPolicy.SetcpuUtilization(AIndex : Integer; const AValue : TAutoscalingPolicyCpuUtilization);
  7600. begin
  7601. If (FcpuUtilization=AValue) then exit;
  7602. FcpuUtilization:=AValue;
  7603. MarkPropertyChanged(AIndex);
  7604. end;
  7605. Procedure TAutoscalingPolicy.SetcustomMetricUtilizations(AIndex : Integer; const AValue : TAutoscalingPolicyTypecustomMetricUtilizationsArray);
  7606. begin
  7607. If (FcustomMetricUtilizations=AValue) then exit;
  7608. FcustomMetricUtilizations:=AValue;
  7609. MarkPropertyChanged(AIndex);
  7610. end;
  7611. Procedure TAutoscalingPolicy.SetloadBalancingUtilization(AIndex : Integer; const AValue : TAutoscalingPolicyLoadBalancingUtilization);
  7612. begin
  7613. If (FloadBalancingUtilization=AValue) then exit;
  7614. FloadBalancingUtilization:=AValue;
  7615. MarkPropertyChanged(AIndex);
  7616. end;
  7617. Procedure TAutoscalingPolicy.SetmaxNumReplicas(AIndex : Integer; const AValue : integer);
  7618. begin
  7619. If (FmaxNumReplicas=AValue) then exit;
  7620. FmaxNumReplicas:=AValue;
  7621. MarkPropertyChanged(AIndex);
  7622. end;
  7623. Procedure TAutoscalingPolicy.SetminNumReplicas(AIndex : Integer; const AValue : integer);
  7624. begin
  7625. If (FminNumReplicas=AValue) then exit;
  7626. FminNumReplicas:=AValue;
  7627. MarkPropertyChanged(AIndex);
  7628. end;
  7629. //2.6.4. bug workaround
  7630. {$IFDEF VER2_6}
  7631. Procedure TAutoscalingPolicy.SetArrayLength(Const AName : String; ALength : Longint);
  7632. begin
  7633. Case AName of
  7634. 'custommetricutilizations' : SetLength(FcustomMetricUtilizations,ALength);
  7635. else
  7636. Inherited SetArrayLength(AName,ALength);
  7637. end;
  7638. end;
  7639. {$ENDIF VER2_6}
  7640. { --------------------------------------------------------------------
  7641. TAutoscalingPolicyCpuUtilization
  7642. --------------------------------------------------------------------}
  7643. Procedure TAutoscalingPolicyCpuUtilization.SetutilizationTarget(AIndex : Integer; const AValue : double);
  7644. begin
  7645. If (FutilizationTarget=AValue) then exit;
  7646. FutilizationTarget:=AValue;
  7647. MarkPropertyChanged(AIndex);
  7648. end;
  7649. { --------------------------------------------------------------------
  7650. TAutoscalingPolicyCustomMetricUtilization
  7651. --------------------------------------------------------------------}
  7652. Procedure TAutoscalingPolicyCustomMetricUtilization.Setmetric(AIndex : Integer; const AValue : String);
  7653. begin
  7654. If (Fmetric=AValue) then exit;
  7655. Fmetric:=AValue;
  7656. MarkPropertyChanged(AIndex);
  7657. end;
  7658. Procedure TAutoscalingPolicyCustomMetricUtilization.SetutilizationTarget(AIndex : Integer; const AValue : double);
  7659. begin
  7660. If (FutilizationTarget=AValue) then exit;
  7661. FutilizationTarget:=AValue;
  7662. MarkPropertyChanged(AIndex);
  7663. end;
  7664. Procedure TAutoscalingPolicyCustomMetricUtilization.SetutilizationTargetType(AIndex : Integer; const AValue : String);
  7665. begin
  7666. If (FutilizationTargetType=AValue) then exit;
  7667. FutilizationTargetType:=AValue;
  7668. MarkPropertyChanged(AIndex);
  7669. end;
  7670. { --------------------------------------------------------------------
  7671. TAutoscalingPolicyLoadBalancingUtilization
  7672. --------------------------------------------------------------------}
  7673. Procedure TAutoscalingPolicyLoadBalancingUtilization.SetutilizationTarget(AIndex : Integer; const AValue : double);
  7674. begin
  7675. If (FutilizationTarget=AValue) then exit;
  7676. FutilizationTarget:=AValue;
  7677. MarkPropertyChanged(AIndex);
  7678. end;
  7679. { --------------------------------------------------------------------
  7680. TBackend
  7681. --------------------------------------------------------------------}
  7682. Procedure TBackend.SetbalancingMode(AIndex : Integer; const AValue : String);
  7683. begin
  7684. If (FbalancingMode=AValue) then exit;
  7685. FbalancingMode:=AValue;
  7686. MarkPropertyChanged(AIndex);
  7687. end;
  7688. Procedure TBackend.SetcapacityScaler(AIndex : Integer; const AValue : integer);
  7689. begin
  7690. If (FcapacityScaler=AValue) then exit;
  7691. FcapacityScaler:=AValue;
  7692. MarkPropertyChanged(AIndex);
  7693. end;
  7694. Procedure TBackend.Setdescription(AIndex : Integer; const AValue : String);
  7695. begin
  7696. If (Fdescription=AValue) then exit;
  7697. Fdescription:=AValue;
  7698. MarkPropertyChanged(AIndex);
  7699. end;
  7700. Procedure TBackend.Setgroup(AIndex : Integer; const AValue : String);
  7701. begin
  7702. If (Fgroup=AValue) then exit;
  7703. Fgroup:=AValue;
  7704. MarkPropertyChanged(AIndex);
  7705. end;
  7706. Procedure TBackend.SetmaxRate(AIndex : Integer; const AValue : integer);
  7707. begin
  7708. If (FmaxRate=AValue) then exit;
  7709. FmaxRate:=AValue;
  7710. MarkPropertyChanged(AIndex);
  7711. end;
  7712. Procedure TBackend.SetmaxRatePerInstance(AIndex : Integer; const AValue : integer);
  7713. begin
  7714. If (FmaxRatePerInstance=AValue) then exit;
  7715. FmaxRatePerInstance:=AValue;
  7716. MarkPropertyChanged(AIndex);
  7717. end;
  7718. Procedure TBackend.SetmaxUtilization(AIndex : Integer; const AValue : integer);
  7719. begin
  7720. If (FmaxUtilization=AValue) then exit;
  7721. FmaxUtilization:=AValue;
  7722. MarkPropertyChanged(AIndex);
  7723. end;
  7724. { --------------------------------------------------------------------
  7725. TBackendService
  7726. --------------------------------------------------------------------}
  7727. Procedure TBackendService.Setbackends(AIndex : Integer; const AValue : TBackendServiceTypebackendsArray);
  7728. begin
  7729. If (Fbackends=AValue) then exit;
  7730. Fbackends:=AValue;
  7731. MarkPropertyChanged(AIndex);
  7732. end;
  7733. Procedure TBackendService.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  7734. begin
  7735. If (FcreationTimestamp=AValue) then exit;
  7736. FcreationTimestamp:=AValue;
  7737. MarkPropertyChanged(AIndex);
  7738. end;
  7739. Procedure TBackendService.Setdescription(AIndex : Integer; const AValue : String);
  7740. begin
  7741. If (Fdescription=AValue) then exit;
  7742. Fdescription:=AValue;
  7743. MarkPropertyChanged(AIndex);
  7744. end;
  7745. Procedure TBackendService.Setfingerprint(AIndex : Integer; const AValue : String);
  7746. begin
  7747. If (Ffingerprint=AValue) then exit;
  7748. Ffingerprint:=AValue;
  7749. MarkPropertyChanged(AIndex);
  7750. end;
  7751. Procedure TBackendService.SethealthChecks(AIndex : Integer; const AValue : TStringArray);
  7752. begin
  7753. If (FhealthChecks=AValue) then exit;
  7754. FhealthChecks:=AValue;
  7755. MarkPropertyChanged(AIndex);
  7756. end;
  7757. Procedure TBackendService.Setid(AIndex : Integer; const AValue : String);
  7758. begin
  7759. If (Fid=AValue) then exit;
  7760. Fid:=AValue;
  7761. MarkPropertyChanged(AIndex);
  7762. end;
  7763. Procedure TBackendService.Setkind(AIndex : Integer; const AValue : String);
  7764. begin
  7765. If (Fkind=AValue) then exit;
  7766. Fkind:=AValue;
  7767. MarkPropertyChanged(AIndex);
  7768. end;
  7769. Procedure TBackendService.Setname(AIndex : Integer; const AValue : String);
  7770. begin
  7771. If (Fname=AValue) then exit;
  7772. Fname:=AValue;
  7773. MarkPropertyChanged(AIndex);
  7774. end;
  7775. Procedure TBackendService.Setport(AIndex : Integer; const AValue : integer);
  7776. begin
  7777. If (Fport=AValue) then exit;
  7778. Fport:=AValue;
  7779. MarkPropertyChanged(AIndex);
  7780. end;
  7781. Procedure TBackendService.SetportName(AIndex : Integer; const AValue : String);
  7782. begin
  7783. If (FportName=AValue) then exit;
  7784. FportName:=AValue;
  7785. MarkPropertyChanged(AIndex);
  7786. end;
  7787. Procedure TBackendService.Setprotocol(AIndex : Integer; const AValue : String);
  7788. begin
  7789. If (Fprotocol=AValue) then exit;
  7790. Fprotocol:=AValue;
  7791. MarkPropertyChanged(AIndex);
  7792. end;
  7793. Procedure TBackendService.Setregion(AIndex : Integer; const AValue : String);
  7794. begin
  7795. If (Fregion=AValue) then exit;
  7796. Fregion:=AValue;
  7797. MarkPropertyChanged(AIndex);
  7798. end;
  7799. Procedure TBackendService.SetselfLink(AIndex : Integer; const AValue : String);
  7800. begin
  7801. If (FselfLink=AValue) then exit;
  7802. FselfLink:=AValue;
  7803. MarkPropertyChanged(AIndex);
  7804. end;
  7805. Procedure TBackendService.SettimeoutSec(AIndex : Integer; const AValue : integer);
  7806. begin
  7807. If (FtimeoutSec=AValue) then exit;
  7808. FtimeoutSec:=AValue;
  7809. MarkPropertyChanged(AIndex);
  7810. end;
  7811. //2.6.4. bug workaround
  7812. {$IFDEF VER2_6}
  7813. Procedure TBackendService.SetArrayLength(Const AName : String; ALength : Longint);
  7814. begin
  7815. Case AName of
  7816. 'backends' : SetLength(Fbackends,ALength);
  7817. 'healthchecks' : SetLength(FhealthChecks,ALength);
  7818. else
  7819. Inherited SetArrayLength(AName,ALength);
  7820. end;
  7821. end;
  7822. {$ENDIF VER2_6}
  7823. { --------------------------------------------------------------------
  7824. TBackendServiceGroupHealth
  7825. --------------------------------------------------------------------}
  7826. Procedure TBackendServiceGroupHealth.SethealthStatus(AIndex : Integer; const AValue : TBackendServiceGroupHealthTypehealthStatusArray);
  7827. begin
  7828. If (FhealthStatus=AValue) then exit;
  7829. FhealthStatus:=AValue;
  7830. MarkPropertyChanged(AIndex);
  7831. end;
  7832. Procedure TBackendServiceGroupHealth.Setkind(AIndex : Integer; const AValue : String);
  7833. begin
  7834. If (Fkind=AValue) then exit;
  7835. Fkind:=AValue;
  7836. MarkPropertyChanged(AIndex);
  7837. end;
  7838. //2.6.4. bug workaround
  7839. {$IFDEF VER2_6}
  7840. Procedure TBackendServiceGroupHealth.SetArrayLength(Const AName : String; ALength : Longint);
  7841. begin
  7842. Case AName of
  7843. 'healthstatus' : SetLength(FhealthStatus,ALength);
  7844. else
  7845. Inherited SetArrayLength(AName,ALength);
  7846. end;
  7847. end;
  7848. {$ENDIF VER2_6}
  7849. { --------------------------------------------------------------------
  7850. TBackendServiceList
  7851. --------------------------------------------------------------------}
  7852. Procedure TBackendServiceList.Setid(AIndex : Integer; const AValue : String);
  7853. begin
  7854. If (Fid=AValue) then exit;
  7855. Fid:=AValue;
  7856. MarkPropertyChanged(AIndex);
  7857. end;
  7858. Procedure TBackendServiceList.Setitems(AIndex : Integer; const AValue : TBackendServiceListTypeitemsArray);
  7859. begin
  7860. If (Fitems=AValue) then exit;
  7861. Fitems:=AValue;
  7862. MarkPropertyChanged(AIndex);
  7863. end;
  7864. Procedure TBackendServiceList.Setkind(AIndex : Integer; const AValue : String);
  7865. begin
  7866. If (Fkind=AValue) then exit;
  7867. Fkind:=AValue;
  7868. MarkPropertyChanged(AIndex);
  7869. end;
  7870. Procedure TBackendServiceList.SetnextPageToken(AIndex : Integer; const AValue : String);
  7871. begin
  7872. If (FnextPageToken=AValue) then exit;
  7873. FnextPageToken:=AValue;
  7874. MarkPropertyChanged(AIndex);
  7875. end;
  7876. Procedure TBackendServiceList.SetselfLink(AIndex : Integer; const AValue : String);
  7877. begin
  7878. If (FselfLink=AValue) then exit;
  7879. FselfLink:=AValue;
  7880. MarkPropertyChanged(AIndex);
  7881. end;
  7882. //2.6.4. bug workaround
  7883. {$IFDEF VER2_6}
  7884. Procedure TBackendServiceList.SetArrayLength(Const AName : String; ALength : Longint);
  7885. begin
  7886. Case AName of
  7887. 'items' : SetLength(Fitems,ALength);
  7888. else
  7889. Inherited SetArrayLength(AName,ALength);
  7890. end;
  7891. end;
  7892. {$ENDIF VER2_6}
  7893. { --------------------------------------------------------------------
  7894. TDeprecationStatus
  7895. --------------------------------------------------------------------}
  7896. Procedure TDeprecationStatus.Setdeleted(AIndex : Integer; const AValue : String);
  7897. begin
  7898. If (Fdeleted=AValue) then exit;
  7899. Fdeleted:=AValue;
  7900. MarkPropertyChanged(AIndex);
  7901. end;
  7902. Procedure TDeprecationStatus.Setdeprecated(AIndex : Integer; const AValue : String);
  7903. begin
  7904. If (Fdeprecated=AValue) then exit;
  7905. Fdeprecated:=AValue;
  7906. MarkPropertyChanged(AIndex);
  7907. end;
  7908. Procedure TDeprecationStatus.Setobsolete(AIndex : Integer; const AValue : String);
  7909. begin
  7910. If (Fobsolete=AValue) then exit;
  7911. Fobsolete:=AValue;
  7912. MarkPropertyChanged(AIndex);
  7913. end;
  7914. Procedure TDeprecationStatus.Setreplacement(AIndex : Integer; const AValue : String);
  7915. begin
  7916. If (Freplacement=AValue) then exit;
  7917. Freplacement:=AValue;
  7918. MarkPropertyChanged(AIndex);
  7919. end;
  7920. Procedure TDeprecationStatus.Setstate(AIndex : Integer; const AValue : String);
  7921. begin
  7922. If (Fstate=AValue) then exit;
  7923. Fstate:=AValue;
  7924. MarkPropertyChanged(AIndex);
  7925. end;
  7926. { --------------------------------------------------------------------
  7927. TDisk
  7928. --------------------------------------------------------------------}
  7929. Procedure TDisk.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  7930. begin
  7931. If (FcreationTimestamp=AValue) then exit;
  7932. FcreationTimestamp:=AValue;
  7933. MarkPropertyChanged(AIndex);
  7934. end;
  7935. Procedure TDisk.Setdescription(AIndex : Integer; const AValue : String);
  7936. begin
  7937. If (Fdescription=AValue) then exit;
  7938. Fdescription:=AValue;
  7939. MarkPropertyChanged(AIndex);
  7940. end;
  7941. Procedure TDisk.Setid(AIndex : Integer; const AValue : String);
  7942. begin
  7943. If (Fid=AValue) then exit;
  7944. Fid:=AValue;
  7945. MarkPropertyChanged(AIndex);
  7946. end;
  7947. Procedure TDisk.Setkind(AIndex : Integer; const AValue : String);
  7948. begin
  7949. If (Fkind=AValue) then exit;
  7950. Fkind:=AValue;
  7951. MarkPropertyChanged(AIndex);
  7952. end;
  7953. Procedure TDisk.SetlastAttachTimestamp(AIndex : Integer; const AValue : String);
  7954. begin
  7955. If (FlastAttachTimestamp=AValue) then exit;
  7956. FlastAttachTimestamp:=AValue;
  7957. MarkPropertyChanged(AIndex);
  7958. end;
  7959. Procedure TDisk.SetlastDetachTimestamp(AIndex : Integer; const AValue : String);
  7960. begin
  7961. If (FlastDetachTimestamp=AValue) then exit;
  7962. FlastDetachTimestamp:=AValue;
  7963. MarkPropertyChanged(AIndex);
  7964. end;
  7965. Procedure TDisk.Setlicenses(AIndex : Integer; const AValue : TStringArray);
  7966. begin
  7967. If (Flicenses=AValue) then exit;
  7968. Flicenses:=AValue;
  7969. MarkPropertyChanged(AIndex);
  7970. end;
  7971. Procedure TDisk.Setname(AIndex : Integer; const AValue : String);
  7972. begin
  7973. If (Fname=AValue) then exit;
  7974. Fname:=AValue;
  7975. MarkPropertyChanged(AIndex);
  7976. end;
  7977. Procedure TDisk.Setoptions(AIndex : Integer; const AValue : String);
  7978. begin
  7979. If (Foptions=AValue) then exit;
  7980. Foptions:=AValue;
  7981. MarkPropertyChanged(AIndex);
  7982. end;
  7983. Procedure TDisk.SetselfLink(AIndex : Integer; const AValue : String);
  7984. begin
  7985. If (FselfLink=AValue) then exit;
  7986. FselfLink:=AValue;
  7987. MarkPropertyChanged(AIndex);
  7988. end;
  7989. Procedure TDisk.SetsizeGb(AIndex : Integer; const AValue : String);
  7990. begin
  7991. If (FsizeGb=AValue) then exit;
  7992. FsizeGb:=AValue;
  7993. MarkPropertyChanged(AIndex);
  7994. end;
  7995. Procedure TDisk.SetsourceImage(AIndex : Integer; const AValue : String);
  7996. begin
  7997. If (FsourceImage=AValue) then exit;
  7998. FsourceImage:=AValue;
  7999. MarkPropertyChanged(AIndex);
  8000. end;
  8001. Procedure TDisk.SetsourceImageId(AIndex : Integer; const AValue : String);
  8002. begin
  8003. If (FsourceImageId=AValue) then exit;
  8004. FsourceImageId:=AValue;
  8005. MarkPropertyChanged(AIndex);
  8006. end;
  8007. Procedure TDisk.SetsourceSnapshot(AIndex : Integer; const AValue : String);
  8008. begin
  8009. If (FsourceSnapshot=AValue) then exit;
  8010. FsourceSnapshot:=AValue;
  8011. MarkPropertyChanged(AIndex);
  8012. end;
  8013. Procedure TDisk.SetsourceSnapshotId(AIndex : Integer; const AValue : String);
  8014. begin
  8015. If (FsourceSnapshotId=AValue) then exit;
  8016. FsourceSnapshotId:=AValue;
  8017. MarkPropertyChanged(AIndex);
  8018. end;
  8019. Procedure TDisk.Setstatus(AIndex : Integer; const AValue : String);
  8020. begin
  8021. If (Fstatus=AValue) then exit;
  8022. Fstatus:=AValue;
  8023. MarkPropertyChanged(AIndex);
  8024. end;
  8025. Procedure TDisk.Set_type(AIndex : Integer; const AValue : String);
  8026. begin
  8027. If (F_type=AValue) then exit;
  8028. F_type:=AValue;
  8029. MarkPropertyChanged(AIndex);
  8030. end;
  8031. Procedure TDisk.Setusers(AIndex : Integer; const AValue : TStringArray);
  8032. begin
  8033. If (Fusers=AValue) then exit;
  8034. Fusers:=AValue;
  8035. MarkPropertyChanged(AIndex);
  8036. end;
  8037. Procedure TDisk.Setzone(AIndex : Integer; const AValue : String);
  8038. begin
  8039. If (Fzone=AValue) then exit;
  8040. Fzone:=AValue;
  8041. MarkPropertyChanged(AIndex);
  8042. end;
  8043. Class Function TDisk.ExportPropertyName(Const AName : String) :String;
  8044. begin
  8045. Case AName of
  8046. '_type' : Result:='type';
  8047. else
  8048. Result:=Inherited ExportPropertyName(AName);
  8049. end;
  8050. end;
  8051. //2.6.4. bug workaround
  8052. {$IFDEF VER2_6}
  8053. Procedure TDisk.SetArrayLength(Const AName : String; ALength : Longint);
  8054. begin
  8055. Case AName of
  8056. 'licenses' : SetLength(Flicenses,ALength);
  8057. 'users' : SetLength(Fusers,ALength);
  8058. else
  8059. Inherited SetArrayLength(AName,ALength);
  8060. end;
  8061. end;
  8062. {$ENDIF VER2_6}
  8063. { --------------------------------------------------------------------
  8064. TDiskAggregatedListTypeitems
  8065. --------------------------------------------------------------------}
  8066. Class Function TDiskAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  8067. begin
  8068. Result:=True;
  8069. end;
  8070. { --------------------------------------------------------------------
  8071. TDiskAggregatedList
  8072. --------------------------------------------------------------------}
  8073. Procedure TDiskAggregatedList.Setid(AIndex : Integer; const AValue : String);
  8074. begin
  8075. If (Fid=AValue) then exit;
  8076. Fid:=AValue;
  8077. MarkPropertyChanged(AIndex);
  8078. end;
  8079. Procedure TDiskAggregatedList.Setitems(AIndex : Integer; const AValue : TDiskAggregatedListTypeitems);
  8080. begin
  8081. If (Fitems=AValue) then exit;
  8082. Fitems:=AValue;
  8083. MarkPropertyChanged(AIndex);
  8084. end;
  8085. Procedure TDiskAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  8086. begin
  8087. If (Fkind=AValue) then exit;
  8088. Fkind:=AValue;
  8089. MarkPropertyChanged(AIndex);
  8090. end;
  8091. Procedure TDiskAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  8092. begin
  8093. If (FnextPageToken=AValue) then exit;
  8094. FnextPageToken:=AValue;
  8095. MarkPropertyChanged(AIndex);
  8096. end;
  8097. Procedure TDiskAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  8098. begin
  8099. If (FselfLink=AValue) then exit;
  8100. FselfLink:=AValue;
  8101. MarkPropertyChanged(AIndex);
  8102. end;
  8103. { --------------------------------------------------------------------
  8104. TDiskList
  8105. --------------------------------------------------------------------}
  8106. Procedure TDiskList.Setid(AIndex : Integer; const AValue : String);
  8107. begin
  8108. If (Fid=AValue) then exit;
  8109. Fid:=AValue;
  8110. MarkPropertyChanged(AIndex);
  8111. end;
  8112. Procedure TDiskList.Setitems(AIndex : Integer; const AValue : TDiskListTypeitemsArray);
  8113. begin
  8114. If (Fitems=AValue) then exit;
  8115. Fitems:=AValue;
  8116. MarkPropertyChanged(AIndex);
  8117. end;
  8118. Procedure TDiskList.Setkind(AIndex : Integer; const AValue : String);
  8119. begin
  8120. If (Fkind=AValue) then exit;
  8121. Fkind:=AValue;
  8122. MarkPropertyChanged(AIndex);
  8123. end;
  8124. Procedure TDiskList.SetnextPageToken(AIndex : Integer; const AValue : String);
  8125. begin
  8126. If (FnextPageToken=AValue) then exit;
  8127. FnextPageToken:=AValue;
  8128. MarkPropertyChanged(AIndex);
  8129. end;
  8130. Procedure TDiskList.SetselfLink(AIndex : Integer; const AValue : String);
  8131. begin
  8132. If (FselfLink=AValue) then exit;
  8133. FselfLink:=AValue;
  8134. MarkPropertyChanged(AIndex);
  8135. end;
  8136. //2.6.4. bug workaround
  8137. {$IFDEF VER2_6}
  8138. Procedure TDiskList.SetArrayLength(Const AName : String; ALength : Longint);
  8139. begin
  8140. Case AName of
  8141. 'items' : SetLength(Fitems,ALength);
  8142. else
  8143. Inherited SetArrayLength(AName,ALength);
  8144. end;
  8145. end;
  8146. {$ENDIF VER2_6}
  8147. { --------------------------------------------------------------------
  8148. TDiskMoveRequest
  8149. --------------------------------------------------------------------}
  8150. Procedure TDiskMoveRequest.SetdestinationZone(AIndex : Integer; const AValue : String);
  8151. begin
  8152. If (FdestinationZone=AValue) then exit;
  8153. FdestinationZone:=AValue;
  8154. MarkPropertyChanged(AIndex);
  8155. end;
  8156. Procedure TDiskMoveRequest.SettargetDisk(AIndex : Integer; const AValue : String);
  8157. begin
  8158. If (FtargetDisk=AValue) then exit;
  8159. FtargetDisk:=AValue;
  8160. MarkPropertyChanged(AIndex);
  8161. end;
  8162. { --------------------------------------------------------------------
  8163. TDiskType
  8164. --------------------------------------------------------------------}
  8165. Procedure TDiskType.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  8166. begin
  8167. If (FcreationTimestamp=AValue) then exit;
  8168. FcreationTimestamp:=AValue;
  8169. MarkPropertyChanged(AIndex);
  8170. end;
  8171. Procedure TDiskType.SetdefaultDiskSizeGb(AIndex : Integer; const AValue : String);
  8172. begin
  8173. If (FdefaultDiskSizeGb=AValue) then exit;
  8174. FdefaultDiskSizeGb:=AValue;
  8175. MarkPropertyChanged(AIndex);
  8176. end;
  8177. Procedure TDiskType.Setdeprecated(AIndex : Integer; const AValue : TDeprecationStatus);
  8178. begin
  8179. If (Fdeprecated=AValue) then exit;
  8180. Fdeprecated:=AValue;
  8181. MarkPropertyChanged(AIndex);
  8182. end;
  8183. Procedure TDiskType.Setdescription(AIndex : Integer; const AValue : String);
  8184. begin
  8185. If (Fdescription=AValue) then exit;
  8186. Fdescription:=AValue;
  8187. MarkPropertyChanged(AIndex);
  8188. end;
  8189. Procedure TDiskType.Setid(AIndex : Integer; const AValue : String);
  8190. begin
  8191. If (Fid=AValue) then exit;
  8192. Fid:=AValue;
  8193. MarkPropertyChanged(AIndex);
  8194. end;
  8195. Procedure TDiskType.Setkind(AIndex : Integer; const AValue : String);
  8196. begin
  8197. If (Fkind=AValue) then exit;
  8198. Fkind:=AValue;
  8199. MarkPropertyChanged(AIndex);
  8200. end;
  8201. Procedure TDiskType.Setname(AIndex : Integer; const AValue : String);
  8202. begin
  8203. If (Fname=AValue) then exit;
  8204. Fname:=AValue;
  8205. MarkPropertyChanged(AIndex);
  8206. end;
  8207. Procedure TDiskType.SetselfLink(AIndex : Integer; const AValue : String);
  8208. begin
  8209. If (FselfLink=AValue) then exit;
  8210. FselfLink:=AValue;
  8211. MarkPropertyChanged(AIndex);
  8212. end;
  8213. Procedure TDiskType.SetvalidDiskSize(AIndex : Integer; const AValue : String);
  8214. begin
  8215. If (FvalidDiskSize=AValue) then exit;
  8216. FvalidDiskSize:=AValue;
  8217. MarkPropertyChanged(AIndex);
  8218. end;
  8219. Procedure TDiskType.Setzone(AIndex : Integer; const AValue : String);
  8220. begin
  8221. If (Fzone=AValue) then exit;
  8222. Fzone:=AValue;
  8223. MarkPropertyChanged(AIndex);
  8224. end;
  8225. { --------------------------------------------------------------------
  8226. TDiskTypeAggregatedListTypeitems
  8227. --------------------------------------------------------------------}
  8228. Class Function TDiskTypeAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  8229. begin
  8230. Result:=True;
  8231. end;
  8232. { --------------------------------------------------------------------
  8233. TDiskTypeAggregatedList
  8234. --------------------------------------------------------------------}
  8235. Procedure TDiskTypeAggregatedList.Setid(AIndex : Integer; const AValue : String);
  8236. begin
  8237. If (Fid=AValue) then exit;
  8238. Fid:=AValue;
  8239. MarkPropertyChanged(AIndex);
  8240. end;
  8241. Procedure TDiskTypeAggregatedList.Setitems(AIndex : Integer; const AValue : TDiskTypeAggregatedListTypeitems);
  8242. begin
  8243. If (Fitems=AValue) then exit;
  8244. Fitems:=AValue;
  8245. MarkPropertyChanged(AIndex);
  8246. end;
  8247. Procedure TDiskTypeAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  8248. begin
  8249. If (Fkind=AValue) then exit;
  8250. Fkind:=AValue;
  8251. MarkPropertyChanged(AIndex);
  8252. end;
  8253. Procedure TDiskTypeAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  8254. begin
  8255. If (FnextPageToken=AValue) then exit;
  8256. FnextPageToken:=AValue;
  8257. MarkPropertyChanged(AIndex);
  8258. end;
  8259. Procedure TDiskTypeAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  8260. begin
  8261. If (FselfLink=AValue) then exit;
  8262. FselfLink:=AValue;
  8263. MarkPropertyChanged(AIndex);
  8264. end;
  8265. { --------------------------------------------------------------------
  8266. TDiskTypeList
  8267. --------------------------------------------------------------------}
  8268. Procedure TDiskTypeList.Setid(AIndex : Integer; const AValue : String);
  8269. begin
  8270. If (Fid=AValue) then exit;
  8271. Fid:=AValue;
  8272. MarkPropertyChanged(AIndex);
  8273. end;
  8274. Procedure TDiskTypeList.Setitems(AIndex : Integer; const AValue : TDiskTypeListTypeitemsArray);
  8275. begin
  8276. If (Fitems=AValue) then exit;
  8277. Fitems:=AValue;
  8278. MarkPropertyChanged(AIndex);
  8279. end;
  8280. Procedure TDiskTypeList.Setkind(AIndex : Integer; const AValue : String);
  8281. begin
  8282. If (Fkind=AValue) then exit;
  8283. Fkind:=AValue;
  8284. MarkPropertyChanged(AIndex);
  8285. end;
  8286. Procedure TDiskTypeList.SetnextPageToken(AIndex : Integer; const AValue : String);
  8287. begin
  8288. If (FnextPageToken=AValue) then exit;
  8289. FnextPageToken:=AValue;
  8290. MarkPropertyChanged(AIndex);
  8291. end;
  8292. Procedure TDiskTypeList.SetselfLink(AIndex : Integer; const AValue : String);
  8293. begin
  8294. If (FselfLink=AValue) then exit;
  8295. FselfLink:=AValue;
  8296. MarkPropertyChanged(AIndex);
  8297. end;
  8298. //2.6.4. bug workaround
  8299. {$IFDEF VER2_6}
  8300. Procedure TDiskTypeList.SetArrayLength(Const AName : String; ALength : Longint);
  8301. begin
  8302. Case AName of
  8303. 'items' : SetLength(Fitems,ALength);
  8304. else
  8305. Inherited SetArrayLength(AName,ALength);
  8306. end;
  8307. end;
  8308. {$ENDIF VER2_6}
  8309. { --------------------------------------------------------------------
  8310. TDiskTypesScopedListTypewarningTypedataItem
  8311. --------------------------------------------------------------------}
  8312. Procedure TDiskTypesScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  8313. begin
  8314. If (Fkey=AValue) then exit;
  8315. Fkey:=AValue;
  8316. MarkPropertyChanged(AIndex);
  8317. end;
  8318. Procedure TDiskTypesScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  8319. begin
  8320. If (Fvalue=AValue) then exit;
  8321. Fvalue:=AValue;
  8322. MarkPropertyChanged(AIndex);
  8323. end;
  8324. { --------------------------------------------------------------------
  8325. TDiskTypesScopedListTypewarning
  8326. --------------------------------------------------------------------}
  8327. Procedure TDiskTypesScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  8328. begin
  8329. If (Fcode=AValue) then exit;
  8330. Fcode:=AValue;
  8331. MarkPropertyChanged(AIndex);
  8332. end;
  8333. Procedure TDiskTypesScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TDiskTypesScopedListTypewarningTypedataArray);
  8334. begin
  8335. If (Fdata=AValue) then exit;
  8336. Fdata:=AValue;
  8337. MarkPropertyChanged(AIndex);
  8338. end;
  8339. Procedure TDiskTypesScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  8340. begin
  8341. If (Fmessage=AValue) then exit;
  8342. Fmessage:=AValue;
  8343. MarkPropertyChanged(AIndex);
  8344. end;
  8345. //2.6.4. bug workaround
  8346. {$IFDEF VER2_6}
  8347. Procedure TDiskTypesScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  8348. begin
  8349. Case AName of
  8350. 'data' : SetLength(Fdata,ALength);
  8351. else
  8352. Inherited SetArrayLength(AName,ALength);
  8353. end;
  8354. end;
  8355. {$ENDIF VER2_6}
  8356. { --------------------------------------------------------------------
  8357. TDiskTypesScopedList
  8358. --------------------------------------------------------------------}
  8359. Procedure TDiskTypesScopedList.SetdiskTypes(AIndex : Integer; const AValue : TDiskTypesScopedListTypediskTypesArray);
  8360. begin
  8361. If (FdiskTypes=AValue) then exit;
  8362. FdiskTypes:=AValue;
  8363. MarkPropertyChanged(AIndex);
  8364. end;
  8365. Procedure TDiskTypesScopedList.Setwarning(AIndex : Integer; const AValue : TDiskTypesScopedListTypewarning);
  8366. begin
  8367. If (Fwarning=AValue) then exit;
  8368. Fwarning:=AValue;
  8369. MarkPropertyChanged(AIndex);
  8370. end;
  8371. //2.6.4. bug workaround
  8372. {$IFDEF VER2_6}
  8373. Procedure TDiskTypesScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  8374. begin
  8375. Case AName of
  8376. 'disktypes' : SetLength(FdiskTypes,ALength);
  8377. else
  8378. Inherited SetArrayLength(AName,ALength);
  8379. end;
  8380. end;
  8381. {$ENDIF VER2_6}
  8382. { --------------------------------------------------------------------
  8383. TDisksResizeRequest
  8384. --------------------------------------------------------------------}
  8385. Procedure TDisksResizeRequest.SetsizeGb(AIndex : Integer; const AValue : String);
  8386. begin
  8387. If (FsizeGb=AValue) then exit;
  8388. FsizeGb:=AValue;
  8389. MarkPropertyChanged(AIndex);
  8390. end;
  8391. { --------------------------------------------------------------------
  8392. TDisksScopedListTypewarningTypedataItem
  8393. --------------------------------------------------------------------}
  8394. Procedure TDisksScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  8395. begin
  8396. If (Fkey=AValue) then exit;
  8397. Fkey:=AValue;
  8398. MarkPropertyChanged(AIndex);
  8399. end;
  8400. Procedure TDisksScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  8401. begin
  8402. If (Fvalue=AValue) then exit;
  8403. Fvalue:=AValue;
  8404. MarkPropertyChanged(AIndex);
  8405. end;
  8406. { --------------------------------------------------------------------
  8407. TDisksScopedListTypewarning
  8408. --------------------------------------------------------------------}
  8409. Procedure TDisksScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  8410. begin
  8411. If (Fcode=AValue) then exit;
  8412. Fcode:=AValue;
  8413. MarkPropertyChanged(AIndex);
  8414. end;
  8415. Procedure TDisksScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TDisksScopedListTypewarningTypedataArray);
  8416. begin
  8417. If (Fdata=AValue) then exit;
  8418. Fdata:=AValue;
  8419. MarkPropertyChanged(AIndex);
  8420. end;
  8421. Procedure TDisksScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  8422. begin
  8423. If (Fmessage=AValue) then exit;
  8424. Fmessage:=AValue;
  8425. MarkPropertyChanged(AIndex);
  8426. end;
  8427. //2.6.4. bug workaround
  8428. {$IFDEF VER2_6}
  8429. Procedure TDisksScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  8430. begin
  8431. Case AName of
  8432. 'data' : SetLength(Fdata,ALength);
  8433. else
  8434. Inherited SetArrayLength(AName,ALength);
  8435. end;
  8436. end;
  8437. {$ENDIF VER2_6}
  8438. { --------------------------------------------------------------------
  8439. TDisksScopedList
  8440. --------------------------------------------------------------------}
  8441. Procedure TDisksScopedList.Setdisks(AIndex : Integer; const AValue : TDisksScopedListTypedisksArray);
  8442. begin
  8443. If (Fdisks=AValue) then exit;
  8444. Fdisks:=AValue;
  8445. MarkPropertyChanged(AIndex);
  8446. end;
  8447. Procedure TDisksScopedList.Setwarning(AIndex : Integer; const AValue : TDisksScopedListTypewarning);
  8448. begin
  8449. If (Fwarning=AValue) then exit;
  8450. Fwarning:=AValue;
  8451. MarkPropertyChanged(AIndex);
  8452. end;
  8453. //2.6.4. bug workaround
  8454. {$IFDEF VER2_6}
  8455. Procedure TDisksScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  8456. begin
  8457. Case AName of
  8458. 'disks' : SetLength(Fdisks,ALength);
  8459. else
  8460. Inherited SetArrayLength(AName,ALength);
  8461. end;
  8462. end;
  8463. {$ENDIF VER2_6}
  8464. { --------------------------------------------------------------------
  8465. TFirewallTypeallowedItem
  8466. --------------------------------------------------------------------}
  8467. Procedure TFirewallTypeallowedItem.SetIPProtocol(AIndex : Integer; const AValue : String);
  8468. begin
  8469. If (FIPProtocol=AValue) then exit;
  8470. FIPProtocol:=AValue;
  8471. MarkPropertyChanged(AIndex);
  8472. end;
  8473. Procedure TFirewallTypeallowedItem.Setports(AIndex : Integer; const AValue : TStringArray);
  8474. begin
  8475. If (Fports=AValue) then exit;
  8476. Fports:=AValue;
  8477. MarkPropertyChanged(AIndex);
  8478. end;
  8479. //2.6.4. bug workaround
  8480. {$IFDEF VER2_6}
  8481. Procedure TFirewallTypeallowedItem.SetArrayLength(Const AName : String; ALength : Longint);
  8482. begin
  8483. Case AName of
  8484. 'ports' : SetLength(Fports,ALength);
  8485. else
  8486. Inherited SetArrayLength(AName,ALength);
  8487. end;
  8488. end;
  8489. {$ENDIF VER2_6}
  8490. { --------------------------------------------------------------------
  8491. TFirewall
  8492. --------------------------------------------------------------------}
  8493. Procedure TFirewall.Setallowed(AIndex : Integer; const AValue : TFirewallTypeallowedArray);
  8494. begin
  8495. If (Fallowed=AValue) then exit;
  8496. Fallowed:=AValue;
  8497. MarkPropertyChanged(AIndex);
  8498. end;
  8499. Procedure TFirewall.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  8500. begin
  8501. If (FcreationTimestamp=AValue) then exit;
  8502. FcreationTimestamp:=AValue;
  8503. MarkPropertyChanged(AIndex);
  8504. end;
  8505. Procedure TFirewall.Setdescription(AIndex : Integer; const AValue : String);
  8506. begin
  8507. If (Fdescription=AValue) then exit;
  8508. Fdescription:=AValue;
  8509. MarkPropertyChanged(AIndex);
  8510. end;
  8511. Procedure TFirewall.Setid(AIndex : Integer; const AValue : String);
  8512. begin
  8513. If (Fid=AValue) then exit;
  8514. Fid:=AValue;
  8515. MarkPropertyChanged(AIndex);
  8516. end;
  8517. Procedure TFirewall.Setkind(AIndex : Integer; const AValue : String);
  8518. begin
  8519. If (Fkind=AValue) then exit;
  8520. Fkind:=AValue;
  8521. MarkPropertyChanged(AIndex);
  8522. end;
  8523. Procedure TFirewall.Setname(AIndex : Integer; const AValue : String);
  8524. begin
  8525. If (Fname=AValue) then exit;
  8526. Fname:=AValue;
  8527. MarkPropertyChanged(AIndex);
  8528. end;
  8529. Procedure TFirewall.Setnetwork(AIndex : Integer; const AValue : String);
  8530. begin
  8531. If (Fnetwork=AValue) then exit;
  8532. Fnetwork:=AValue;
  8533. MarkPropertyChanged(AIndex);
  8534. end;
  8535. Procedure TFirewall.SetselfLink(AIndex : Integer; const AValue : String);
  8536. begin
  8537. If (FselfLink=AValue) then exit;
  8538. FselfLink:=AValue;
  8539. MarkPropertyChanged(AIndex);
  8540. end;
  8541. Procedure TFirewall.SetsourceRanges(AIndex : Integer; const AValue : TStringArray);
  8542. begin
  8543. If (FsourceRanges=AValue) then exit;
  8544. FsourceRanges:=AValue;
  8545. MarkPropertyChanged(AIndex);
  8546. end;
  8547. Procedure TFirewall.SetsourceTags(AIndex : Integer; const AValue : TStringArray);
  8548. begin
  8549. If (FsourceTags=AValue) then exit;
  8550. FsourceTags:=AValue;
  8551. MarkPropertyChanged(AIndex);
  8552. end;
  8553. Procedure TFirewall.SettargetTags(AIndex : Integer; const AValue : TStringArray);
  8554. begin
  8555. If (FtargetTags=AValue) then exit;
  8556. FtargetTags:=AValue;
  8557. MarkPropertyChanged(AIndex);
  8558. end;
  8559. //2.6.4. bug workaround
  8560. {$IFDEF VER2_6}
  8561. Procedure TFirewall.SetArrayLength(Const AName : String; ALength : Longint);
  8562. begin
  8563. Case AName of
  8564. 'allowed' : SetLength(Fallowed,ALength);
  8565. 'sourceranges' : SetLength(FsourceRanges,ALength);
  8566. 'sourcetags' : SetLength(FsourceTags,ALength);
  8567. 'targettags' : SetLength(FtargetTags,ALength);
  8568. else
  8569. Inherited SetArrayLength(AName,ALength);
  8570. end;
  8571. end;
  8572. {$ENDIF VER2_6}
  8573. { --------------------------------------------------------------------
  8574. TFirewallList
  8575. --------------------------------------------------------------------}
  8576. Procedure TFirewallList.Setid(AIndex : Integer; const AValue : String);
  8577. begin
  8578. If (Fid=AValue) then exit;
  8579. Fid:=AValue;
  8580. MarkPropertyChanged(AIndex);
  8581. end;
  8582. Procedure TFirewallList.Setitems(AIndex : Integer; const AValue : TFirewallListTypeitemsArray);
  8583. begin
  8584. If (Fitems=AValue) then exit;
  8585. Fitems:=AValue;
  8586. MarkPropertyChanged(AIndex);
  8587. end;
  8588. Procedure TFirewallList.Setkind(AIndex : Integer; const AValue : String);
  8589. begin
  8590. If (Fkind=AValue) then exit;
  8591. Fkind:=AValue;
  8592. MarkPropertyChanged(AIndex);
  8593. end;
  8594. Procedure TFirewallList.SetnextPageToken(AIndex : Integer; const AValue : String);
  8595. begin
  8596. If (FnextPageToken=AValue) then exit;
  8597. FnextPageToken:=AValue;
  8598. MarkPropertyChanged(AIndex);
  8599. end;
  8600. Procedure TFirewallList.SetselfLink(AIndex : Integer; const AValue : String);
  8601. begin
  8602. If (FselfLink=AValue) then exit;
  8603. FselfLink:=AValue;
  8604. MarkPropertyChanged(AIndex);
  8605. end;
  8606. //2.6.4. bug workaround
  8607. {$IFDEF VER2_6}
  8608. Procedure TFirewallList.SetArrayLength(Const AName : String; ALength : Longint);
  8609. begin
  8610. Case AName of
  8611. 'items' : SetLength(Fitems,ALength);
  8612. else
  8613. Inherited SetArrayLength(AName,ALength);
  8614. end;
  8615. end;
  8616. {$ENDIF VER2_6}
  8617. { --------------------------------------------------------------------
  8618. TForwardingRule
  8619. --------------------------------------------------------------------}
  8620. Procedure TForwardingRule.SetIPAddress(AIndex : Integer; const AValue : String);
  8621. begin
  8622. If (FIPAddress=AValue) then exit;
  8623. FIPAddress:=AValue;
  8624. MarkPropertyChanged(AIndex);
  8625. end;
  8626. Procedure TForwardingRule.SetIPProtocol(AIndex : Integer; const AValue : String);
  8627. begin
  8628. If (FIPProtocol=AValue) then exit;
  8629. FIPProtocol:=AValue;
  8630. MarkPropertyChanged(AIndex);
  8631. end;
  8632. Procedure TForwardingRule.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  8633. begin
  8634. If (FcreationTimestamp=AValue) then exit;
  8635. FcreationTimestamp:=AValue;
  8636. MarkPropertyChanged(AIndex);
  8637. end;
  8638. Procedure TForwardingRule.Setdescription(AIndex : Integer; const AValue : String);
  8639. begin
  8640. If (Fdescription=AValue) then exit;
  8641. Fdescription:=AValue;
  8642. MarkPropertyChanged(AIndex);
  8643. end;
  8644. Procedure TForwardingRule.Setid(AIndex : Integer; const AValue : String);
  8645. begin
  8646. If (Fid=AValue) then exit;
  8647. Fid:=AValue;
  8648. MarkPropertyChanged(AIndex);
  8649. end;
  8650. Procedure TForwardingRule.Setkind(AIndex : Integer; const AValue : String);
  8651. begin
  8652. If (Fkind=AValue) then exit;
  8653. Fkind:=AValue;
  8654. MarkPropertyChanged(AIndex);
  8655. end;
  8656. Procedure TForwardingRule.Setname(AIndex : Integer; const AValue : String);
  8657. begin
  8658. If (Fname=AValue) then exit;
  8659. Fname:=AValue;
  8660. MarkPropertyChanged(AIndex);
  8661. end;
  8662. Procedure TForwardingRule.SetportRange(AIndex : Integer; const AValue : String);
  8663. begin
  8664. If (FportRange=AValue) then exit;
  8665. FportRange:=AValue;
  8666. MarkPropertyChanged(AIndex);
  8667. end;
  8668. Procedure TForwardingRule.Setregion(AIndex : Integer; const AValue : String);
  8669. begin
  8670. If (Fregion=AValue) then exit;
  8671. Fregion:=AValue;
  8672. MarkPropertyChanged(AIndex);
  8673. end;
  8674. Procedure TForwardingRule.SetselfLink(AIndex : Integer; const AValue : String);
  8675. begin
  8676. If (FselfLink=AValue) then exit;
  8677. FselfLink:=AValue;
  8678. MarkPropertyChanged(AIndex);
  8679. end;
  8680. Procedure TForwardingRule.Settarget(AIndex : Integer; const AValue : String);
  8681. begin
  8682. If (Ftarget=AValue) then exit;
  8683. Ftarget:=AValue;
  8684. MarkPropertyChanged(AIndex);
  8685. end;
  8686. { --------------------------------------------------------------------
  8687. TForwardingRuleAggregatedListTypeitems
  8688. --------------------------------------------------------------------}
  8689. Class Function TForwardingRuleAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  8690. begin
  8691. Result:=True;
  8692. end;
  8693. { --------------------------------------------------------------------
  8694. TForwardingRuleAggregatedList
  8695. --------------------------------------------------------------------}
  8696. Procedure TForwardingRuleAggregatedList.Setid(AIndex : Integer; const AValue : String);
  8697. begin
  8698. If (Fid=AValue) then exit;
  8699. Fid:=AValue;
  8700. MarkPropertyChanged(AIndex);
  8701. end;
  8702. Procedure TForwardingRuleAggregatedList.Setitems(AIndex : Integer; const AValue : TForwardingRuleAggregatedListTypeitems);
  8703. begin
  8704. If (Fitems=AValue) then exit;
  8705. Fitems:=AValue;
  8706. MarkPropertyChanged(AIndex);
  8707. end;
  8708. Procedure TForwardingRuleAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  8709. begin
  8710. If (Fkind=AValue) then exit;
  8711. Fkind:=AValue;
  8712. MarkPropertyChanged(AIndex);
  8713. end;
  8714. Procedure TForwardingRuleAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  8715. begin
  8716. If (FnextPageToken=AValue) then exit;
  8717. FnextPageToken:=AValue;
  8718. MarkPropertyChanged(AIndex);
  8719. end;
  8720. Procedure TForwardingRuleAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  8721. begin
  8722. If (FselfLink=AValue) then exit;
  8723. FselfLink:=AValue;
  8724. MarkPropertyChanged(AIndex);
  8725. end;
  8726. { --------------------------------------------------------------------
  8727. TForwardingRuleList
  8728. --------------------------------------------------------------------}
  8729. Procedure TForwardingRuleList.Setid(AIndex : Integer; const AValue : String);
  8730. begin
  8731. If (Fid=AValue) then exit;
  8732. Fid:=AValue;
  8733. MarkPropertyChanged(AIndex);
  8734. end;
  8735. Procedure TForwardingRuleList.Setitems(AIndex : Integer; const AValue : TForwardingRuleListTypeitemsArray);
  8736. begin
  8737. If (Fitems=AValue) then exit;
  8738. Fitems:=AValue;
  8739. MarkPropertyChanged(AIndex);
  8740. end;
  8741. Procedure TForwardingRuleList.Setkind(AIndex : Integer; const AValue : String);
  8742. begin
  8743. If (Fkind=AValue) then exit;
  8744. Fkind:=AValue;
  8745. MarkPropertyChanged(AIndex);
  8746. end;
  8747. Procedure TForwardingRuleList.SetnextPageToken(AIndex : Integer; const AValue : String);
  8748. begin
  8749. If (FnextPageToken=AValue) then exit;
  8750. FnextPageToken:=AValue;
  8751. MarkPropertyChanged(AIndex);
  8752. end;
  8753. Procedure TForwardingRuleList.SetselfLink(AIndex : Integer; const AValue : String);
  8754. begin
  8755. If (FselfLink=AValue) then exit;
  8756. FselfLink:=AValue;
  8757. MarkPropertyChanged(AIndex);
  8758. end;
  8759. //2.6.4. bug workaround
  8760. {$IFDEF VER2_6}
  8761. Procedure TForwardingRuleList.SetArrayLength(Const AName : String; ALength : Longint);
  8762. begin
  8763. Case AName of
  8764. 'items' : SetLength(Fitems,ALength);
  8765. else
  8766. Inherited SetArrayLength(AName,ALength);
  8767. end;
  8768. end;
  8769. {$ENDIF VER2_6}
  8770. { --------------------------------------------------------------------
  8771. TForwardingRulesScopedListTypewarningTypedataItem
  8772. --------------------------------------------------------------------}
  8773. Procedure TForwardingRulesScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  8774. begin
  8775. If (Fkey=AValue) then exit;
  8776. Fkey:=AValue;
  8777. MarkPropertyChanged(AIndex);
  8778. end;
  8779. Procedure TForwardingRulesScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  8780. begin
  8781. If (Fvalue=AValue) then exit;
  8782. Fvalue:=AValue;
  8783. MarkPropertyChanged(AIndex);
  8784. end;
  8785. { --------------------------------------------------------------------
  8786. TForwardingRulesScopedListTypewarning
  8787. --------------------------------------------------------------------}
  8788. Procedure TForwardingRulesScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  8789. begin
  8790. If (Fcode=AValue) then exit;
  8791. Fcode:=AValue;
  8792. MarkPropertyChanged(AIndex);
  8793. end;
  8794. Procedure TForwardingRulesScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TForwardingRulesScopedListTypewarningTypedataArray);
  8795. begin
  8796. If (Fdata=AValue) then exit;
  8797. Fdata:=AValue;
  8798. MarkPropertyChanged(AIndex);
  8799. end;
  8800. Procedure TForwardingRulesScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  8801. begin
  8802. If (Fmessage=AValue) then exit;
  8803. Fmessage:=AValue;
  8804. MarkPropertyChanged(AIndex);
  8805. end;
  8806. //2.6.4. bug workaround
  8807. {$IFDEF VER2_6}
  8808. Procedure TForwardingRulesScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  8809. begin
  8810. Case AName of
  8811. 'data' : SetLength(Fdata,ALength);
  8812. else
  8813. Inherited SetArrayLength(AName,ALength);
  8814. end;
  8815. end;
  8816. {$ENDIF VER2_6}
  8817. { --------------------------------------------------------------------
  8818. TForwardingRulesScopedList
  8819. --------------------------------------------------------------------}
  8820. Procedure TForwardingRulesScopedList.SetforwardingRules(AIndex : Integer; const AValue : TForwardingRulesScopedListTypeforwardingRulesArray);
  8821. begin
  8822. If (FforwardingRules=AValue) then exit;
  8823. FforwardingRules:=AValue;
  8824. MarkPropertyChanged(AIndex);
  8825. end;
  8826. Procedure TForwardingRulesScopedList.Setwarning(AIndex : Integer; const AValue : TForwardingRulesScopedListTypewarning);
  8827. begin
  8828. If (Fwarning=AValue) then exit;
  8829. Fwarning:=AValue;
  8830. MarkPropertyChanged(AIndex);
  8831. end;
  8832. //2.6.4. bug workaround
  8833. {$IFDEF VER2_6}
  8834. Procedure TForwardingRulesScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  8835. begin
  8836. Case AName of
  8837. 'forwardingrules' : SetLength(FforwardingRules,ALength);
  8838. else
  8839. Inherited SetArrayLength(AName,ALength);
  8840. end;
  8841. end;
  8842. {$ENDIF VER2_6}
  8843. { --------------------------------------------------------------------
  8844. THealthCheckReference
  8845. --------------------------------------------------------------------}
  8846. Procedure THealthCheckReference.SethealthCheck(AIndex : Integer; const AValue : String);
  8847. begin
  8848. If (FhealthCheck=AValue) then exit;
  8849. FhealthCheck:=AValue;
  8850. MarkPropertyChanged(AIndex);
  8851. end;
  8852. { --------------------------------------------------------------------
  8853. THealthStatus
  8854. --------------------------------------------------------------------}
  8855. Procedure THealthStatus.SethealthState(AIndex : Integer; const AValue : String);
  8856. begin
  8857. If (FhealthState=AValue) then exit;
  8858. FhealthState:=AValue;
  8859. MarkPropertyChanged(AIndex);
  8860. end;
  8861. Procedure THealthStatus.Setinstance(AIndex : Integer; const AValue : String);
  8862. begin
  8863. If (Finstance=AValue) then exit;
  8864. Finstance:=AValue;
  8865. MarkPropertyChanged(AIndex);
  8866. end;
  8867. Procedure THealthStatus.SetipAddress(AIndex : Integer; const AValue : String);
  8868. begin
  8869. If (FipAddress=AValue) then exit;
  8870. FipAddress:=AValue;
  8871. MarkPropertyChanged(AIndex);
  8872. end;
  8873. Procedure THealthStatus.Setport(AIndex : Integer; const AValue : integer);
  8874. begin
  8875. If (Fport=AValue) then exit;
  8876. Fport:=AValue;
  8877. MarkPropertyChanged(AIndex);
  8878. end;
  8879. { --------------------------------------------------------------------
  8880. THostRule
  8881. --------------------------------------------------------------------}
  8882. Procedure THostRule.Setdescription(AIndex : Integer; const AValue : String);
  8883. begin
  8884. If (Fdescription=AValue) then exit;
  8885. Fdescription:=AValue;
  8886. MarkPropertyChanged(AIndex);
  8887. end;
  8888. Procedure THostRule.Sethosts(AIndex : Integer; const AValue : TStringArray);
  8889. begin
  8890. If (Fhosts=AValue) then exit;
  8891. Fhosts:=AValue;
  8892. MarkPropertyChanged(AIndex);
  8893. end;
  8894. Procedure THostRule.SetpathMatcher(AIndex : Integer; const AValue : String);
  8895. begin
  8896. If (FpathMatcher=AValue) then exit;
  8897. FpathMatcher:=AValue;
  8898. MarkPropertyChanged(AIndex);
  8899. end;
  8900. //2.6.4. bug workaround
  8901. {$IFDEF VER2_6}
  8902. Procedure THostRule.SetArrayLength(Const AName : String; ALength : Longint);
  8903. begin
  8904. Case AName of
  8905. 'hosts' : SetLength(Fhosts,ALength);
  8906. else
  8907. Inherited SetArrayLength(AName,ALength);
  8908. end;
  8909. end;
  8910. {$ENDIF VER2_6}
  8911. { --------------------------------------------------------------------
  8912. THttpHealthCheck
  8913. --------------------------------------------------------------------}
  8914. Procedure THttpHealthCheck.SetcheckIntervalSec(AIndex : Integer; const AValue : integer);
  8915. begin
  8916. If (FcheckIntervalSec=AValue) then exit;
  8917. FcheckIntervalSec:=AValue;
  8918. MarkPropertyChanged(AIndex);
  8919. end;
  8920. Procedure THttpHealthCheck.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  8921. begin
  8922. If (FcreationTimestamp=AValue) then exit;
  8923. FcreationTimestamp:=AValue;
  8924. MarkPropertyChanged(AIndex);
  8925. end;
  8926. Procedure THttpHealthCheck.Setdescription(AIndex : Integer; const AValue : String);
  8927. begin
  8928. If (Fdescription=AValue) then exit;
  8929. Fdescription:=AValue;
  8930. MarkPropertyChanged(AIndex);
  8931. end;
  8932. Procedure THttpHealthCheck.SethealthyThreshold(AIndex : Integer; const AValue : integer);
  8933. begin
  8934. If (FhealthyThreshold=AValue) then exit;
  8935. FhealthyThreshold:=AValue;
  8936. MarkPropertyChanged(AIndex);
  8937. end;
  8938. Procedure THttpHealthCheck.Sethost(AIndex : Integer; const AValue : String);
  8939. begin
  8940. If (Fhost=AValue) then exit;
  8941. Fhost:=AValue;
  8942. MarkPropertyChanged(AIndex);
  8943. end;
  8944. Procedure THttpHealthCheck.Setid(AIndex : Integer; const AValue : String);
  8945. begin
  8946. If (Fid=AValue) then exit;
  8947. Fid:=AValue;
  8948. MarkPropertyChanged(AIndex);
  8949. end;
  8950. Procedure THttpHealthCheck.Setkind(AIndex : Integer; const AValue : String);
  8951. begin
  8952. If (Fkind=AValue) then exit;
  8953. Fkind:=AValue;
  8954. MarkPropertyChanged(AIndex);
  8955. end;
  8956. Procedure THttpHealthCheck.Setname(AIndex : Integer; const AValue : String);
  8957. begin
  8958. If (Fname=AValue) then exit;
  8959. Fname:=AValue;
  8960. MarkPropertyChanged(AIndex);
  8961. end;
  8962. Procedure THttpHealthCheck.Setport(AIndex : Integer; const AValue : integer);
  8963. begin
  8964. If (Fport=AValue) then exit;
  8965. Fport:=AValue;
  8966. MarkPropertyChanged(AIndex);
  8967. end;
  8968. Procedure THttpHealthCheck.SetrequestPath(AIndex : Integer; const AValue : String);
  8969. begin
  8970. If (FrequestPath=AValue) then exit;
  8971. FrequestPath:=AValue;
  8972. MarkPropertyChanged(AIndex);
  8973. end;
  8974. Procedure THttpHealthCheck.SetselfLink(AIndex : Integer; const AValue : String);
  8975. begin
  8976. If (FselfLink=AValue) then exit;
  8977. FselfLink:=AValue;
  8978. MarkPropertyChanged(AIndex);
  8979. end;
  8980. Procedure THttpHealthCheck.SettimeoutSec(AIndex : Integer; const AValue : integer);
  8981. begin
  8982. If (FtimeoutSec=AValue) then exit;
  8983. FtimeoutSec:=AValue;
  8984. MarkPropertyChanged(AIndex);
  8985. end;
  8986. Procedure THttpHealthCheck.SetunhealthyThreshold(AIndex : Integer; const AValue : integer);
  8987. begin
  8988. If (FunhealthyThreshold=AValue) then exit;
  8989. FunhealthyThreshold:=AValue;
  8990. MarkPropertyChanged(AIndex);
  8991. end;
  8992. { --------------------------------------------------------------------
  8993. THttpHealthCheckList
  8994. --------------------------------------------------------------------}
  8995. Procedure THttpHealthCheckList.Setid(AIndex : Integer; const AValue : String);
  8996. begin
  8997. If (Fid=AValue) then exit;
  8998. Fid:=AValue;
  8999. MarkPropertyChanged(AIndex);
  9000. end;
  9001. Procedure THttpHealthCheckList.Setitems(AIndex : Integer; const AValue : THttpHealthCheckListTypeitemsArray);
  9002. begin
  9003. If (Fitems=AValue) then exit;
  9004. Fitems:=AValue;
  9005. MarkPropertyChanged(AIndex);
  9006. end;
  9007. Procedure THttpHealthCheckList.Setkind(AIndex : Integer; const AValue : String);
  9008. begin
  9009. If (Fkind=AValue) then exit;
  9010. Fkind:=AValue;
  9011. MarkPropertyChanged(AIndex);
  9012. end;
  9013. Procedure THttpHealthCheckList.SetnextPageToken(AIndex : Integer; const AValue : String);
  9014. begin
  9015. If (FnextPageToken=AValue) then exit;
  9016. FnextPageToken:=AValue;
  9017. MarkPropertyChanged(AIndex);
  9018. end;
  9019. Procedure THttpHealthCheckList.SetselfLink(AIndex : Integer; const AValue : String);
  9020. begin
  9021. If (FselfLink=AValue) then exit;
  9022. FselfLink:=AValue;
  9023. MarkPropertyChanged(AIndex);
  9024. end;
  9025. //2.6.4. bug workaround
  9026. {$IFDEF VER2_6}
  9027. Procedure THttpHealthCheckList.SetArrayLength(Const AName : String; ALength : Longint);
  9028. begin
  9029. Case AName of
  9030. 'items' : SetLength(Fitems,ALength);
  9031. else
  9032. Inherited SetArrayLength(AName,ALength);
  9033. end;
  9034. end;
  9035. {$ENDIF VER2_6}
  9036. { --------------------------------------------------------------------
  9037. THttpsHealthCheck
  9038. --------------------------------------------------------------------}
  9039. Procedure THttpsHealthCheck.SetcheckIntervalSec(AIndex : Integer; const AValue : integer);
  9040. begin
  9041. If (FcheckIntervalSec=AValue) then exit;
  9042. FcheckIntervalSec:=AValue;
  9043. MarkPropertyChanged(AIndex);
  9044. end;
  9045. Procedure THttpsHealthCheck.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  9046. begin
  9047. If (FcreationTimestamp=AValue) then exit;
  9048. FcreationTimestamp:=AValue;
  9049. MarkPropertyChanged(AIndex);
  9050. end;
  9051. Procedure THttpsHealthCheck.Setdescription(AIndex : Integer; const AValue : String);
  9052. begin
  9053. If (Fdescription=AValue) then exit;
  9054. Fdescription:=AValue;
  9055. MarkPropertyChanged(AIndex);
  9056. end;
  9057. Procedure THttpsHealthCheck.SethealthyThreshold(AIndex : Integer; const AValue : integer);
  9058. begin
  9059. If (FhealthyThreshold=AValue) then exit;
  9060. FhealthyThreshold:=AValue;
  9061. MarkPropertyChanged(AIndex);
  9062. end;
  9063. Procedure THttpsHealthCheck.Sethost(AIndex : Integer; const AValue : String);
  9064. begin
  9065. If (Fhost=AValue) then exit;
  9066. Fhost:=AValue;
  9067. MarkPropertyChanged(AIndex);
  9068. end;
  9069. Procedure THttpsHealthCheck.Setid(AIndex : Integer; const AValue : String);
  9070. begin
  9071. If (Fid=AValue) then exit;
  9072. Fid:=AValue;
  9073. MarkPropertyChanged(AIndex);
  9074. end;
  9075. Procedure THttpsHealthCheck.Setkind(AIndex : Integer; const AValue : String);
  9076. begin
  9077. If (Fkind=AValue) then exit;
  9078. Fkind:=AValue;
  9079. MarkPropertyChanged(AIndex);
  9080. end;
  9081. Procedure THttpsHealthCheck.Setname(AIndex : Integer; const AValue : String);
  9082. begin
  9083. If (Fname=AValue) then exit;
  9084. Fname:=AValue;
  9085. MarkPropertyChanged(AIndex);
  9086. end;
  9087. Procedure THttpsHealthCheck.Setport(AIndex : Integer; const AValue : integer);
  9088. begin
  9089. If (Fport=AValue) then exit;
  9090. Fport:=AValue;
  9091. MarkPropertyChanged(AIndex);
  9092. end;
  9093. Procedure THttpsHealthCheck.SetrequestPath(AIndex : Integer; const AValue : String);
  9094. begin
  9095. If (FrequestPath=AValue) then exit;
  9096. FrequestPath:=AValue;
  9097. MarkPropertyChanged(AIndex);
  9098. end;
  9099. Procedure THttpsHealthCheck.SetselfLink(AIndex : Integer; const AValue : String);
  9100. begin
  9101. If (FselfLink=AValue) then exit;
  9102. FselfLink:=AValue;
  9103. MarkPropertyChanged(AIndex);
  9104. end;
  9105. Procedure THttpsHealthCheck.SettimeoutSec(AIndex : Integer; const AValue : integer);
  9106. begin
  9107. If (FtimeoutSec=AValue) then exit;
  9108. FtimeoutSec:=AValue;
  9109. MarkPropertyChanged(AIndex);
  9110. end;
  9111. Procedure THttpsHealthCheck.SetunhealthyThreshold(AIndex : Integer; const AValue : integer);
  9112. begin
  9113. If (FunhealthyThreshold=AValue) then exit;
  9114. FunhealthyThreshold:=AValue;
  9115. MarkPropertyChanged(AIndex);
  9116. end;
  9117. { --------------------------------------------------------------------
  9118. THttpsHealthCheckList
  9119. --------------------------------------------------------------------}
  9120. Procedure THttpsHealthCheckList.Setid(AIndex : Integer; const AValue : String);
  9121. begin
  9122. If (Fid=AValue) then exit;
  9123. Fid:=AValue;
  9124. MarkPropertyChanged(AIndex);
  9125. end;
  9126. Procedure THttpsHealthCheckList.Setitems(AIndex : Integer; const AValue : THttpsHealthCheckListTypeitemsArray);
  9127. begin
  9128. If (Fitems=AValue) then exit;
  9129. Fitems:=AValue;
  9130. MarkPropertyChanged(AIndex);
  9131. end;
  9132. Procedure THttpsHealthCheckList.Setkind(AIndex : Integer; const AValue : String);
  9133. begin
  9134. If (Fkind=AValue) then exit;
  9135. Fkind:=AValue;
  9136. MarkPropertyChanged(AIndex);
  9137. end;
  9138. Procedure THttpsHealthCheckList.SetnextPageToken(AIndex : Integer; const AValue : String);
  9139. begin
  9140. If (FnextPageToken=AValue) then exit;
  9141. FnextPageToken:=AValue;
  9142. MarkPropertyChanged(AIndex);
  9143. end;
  9144. Procedure THttpsHealthCheckList.SetselfLink(AIndex : Integer; const AValue : String);
  9145. begin
  9146. If (FselfLink=AValue) then exit;
  9147. FselfLink:=AValue;
  9148. MarkPropertyChanged(AIndex);
  9149. end;
  9150. //2.6.4. bug workaround
  9151. {$IFDEF VER2_6}
  9152. Procedure THttpsHealthCheckList.SetArrayLength(Const AName : String; ALength : Longint);
  9153. begin
  9154. Case AName of
  9155. 'items' : SetLength(Fitems,ALength);
  9156. else
  9157. Inherited SetArrayLength(AName,ALength);
  9158. end;
  9159. end;
  9160. {$ENDIF VER2_6}
  9161. { --------------------------------------------------------------------
  9162. TImageTyperawDisk
  9163. --------------------------------------------------------------------}
  9164. Procedure TImageTyperawDisk.SetcontainerType(AIndex : Integer; const AValue : String);
  9165. begin
  9166. If (FcontainerType=AValue) then exit;
  9167. FcontainerType:=AValue;
  9168. MarkPropertyChanged(AIndex);
  9169. end;
  9170. Procedure TImageTyperawDisk.Setsha1Checksum(AIndex : Integer; const AValue : String);
  9171. begin
  9172. If (Fsha1Checksum=AValue) then exit;
  9173. Fsha1Checksum:=AValue;
  9174. MarkPropertyChanged(AIndex);
  9175. end;
  9176. Procedure TImageTyperawDisk.Setsource(AIndex : Integer; const AValue : String);
  9177. begin
  9178. If (Fsource=AValue) then exit;
  9179. Fsource:=AValue;
  9180. MarkPropertyChanged(AIndex);
  9181. end;
  9182. { --------------------------------------------------------------------
  9183. TImage
  9184. --------------------------------------------------------------------}
  9185. Procedure TImage.SetarchiveSizeBytes(AIndex : Integer; const AValue : String);
  9186. begin
  9187. If (FarchiveSizeBytes=AValue) then exit;
  9188. FarchiveSizeBytes:=AValue;
  9189. MarkPropertyChanged(AIndex);
  9190. end;
  9191. Procedure TImage.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  9192. begin
  9193. If (FcreationTimestamp=AValue) then exit;
  9194. FcreationTimestamp:=AValue;
  9195. MarkPropertyChanged(AIndex);
  9196. end;
  9197. Procedure TImage.Setdeprecated(AIndex : Integer; const AValue : TDeprecationStatus);
  9198. begin
  9199. If (Fdeprecated=AValue) then exit;
  9200. Fdeprecated:=AValue;
  9201. MarkPropertyChanged(AIndex);
  9202. end;
  9203. Procedure TImage.Setdescription(AIndex : Integer; const AValue : String);
  9204. begin
  9205. If (Fdescription=AValue) then exit;
  9206. Fdescription:=AValue;
  9207. MarkPropertyChanged(AIndex);
  9208. end;
  9209. Procedure TImage.SetdiskSizeGb(AIndex : Integer; const AValue : String);
  9210. begin
  9211. If (FdiskSizeGb=AValue) then exit;
  9212. FdiskSizeGb:=AValue;
  9213. MarkPropertyChanged(AIndex);
  9214. end;
  9215. Procedure TImage.Setfamily(AIndex : Integer; const AValue : String);
  9216. begin
  9217. If (Ffamily=AValue) then exit;
  9218. Ffamily:=AValue;
  9219. MarkPropertyChanged(AIndex);
  9220. end;
  9221. Procedure TImage.Setid(AIndex : Integer; const AValue : String);
  9222. begin
  9223. If (Fid=AValue) then exit;
  9224. Fid:=AValue;
  9225. MarkPropertyChanged(AIndex);
  9226. end;
  9227. Procedure TImage.Setkind(AIndex : Integer; const AValue : String);
  9228. begin
  9229. If (Fkind=AValue) then exit;
  9230. Fkind:=AValue;
  9231. MarkPropertyChanged(AIndex);
  9232. end;
  9233. Procedure TImage.Setlicenses(AIndex : Integer; const AValue : TStringArray);
  9234. begin
  9235. If (Flicenses=AValue) then exit;
  9236. Flicenses:=AValue;
  9237. MarkPropertyChanged(AIndex);
  9238. end;
  9239. Procedure TImage.Setname(AIndex : Integer; const AValue : String);
  9240. begin
  9241. If (Fname=AValue) then exit;
  9242. Fname:=AValue;
  9243. MarkPropertyChanged(AIndex);
  9244. end;
  9245. Procedure TImage.SetrawDisk(AIndex : Integer; const AValue : TImageTyperawDisk);
  9246. begin
  9247. If (FrawDisk=AValue) then exit;
  9248. FrawDisk:=AValue;
  9249. MarkPropertyChanged(AIndex);
  9250. end;
  9251. Procedure TImage.SetselfLink(AIndex : Integer; const AValue : String);
  9252. begin
  9253. If (FselfLink=AValue) then exit;
  9254. FselfLink:=AValue;
  9255. MarkPropertyChanged(AIndex);
  9256. end;
  9257. Procedure TImage.SetsourceDisk(AIndex : Integer; const AValue : String);
  9258. begin
  9259. If (FsourceDisk=AValue) then exit;
  9260. FsourceDisk:=AValue;
  9261. MarkPropertyChanged(AIndex);
  9262. end;
  9263. Procedure TImage.SetsourceDiskId(AIndex : Integer; const AValue : String);
  9264. begin
  9265. If (FsourceDiskId=AValue) then exit;
  9266. FsourceDiskId:=AValue;
  9267. MarkPropertyChanged(AIndex);
  9268. end;
  9269. Procedure TImage.SetsourceType(AIndex : Integer; const AValue : String);
  9270. begin
  9271. If (FsourceType=AValue) then exit;
  9272. FsourceType:=AValue;
  9273. MarkPropertyChanged(AIndex);
  9274. end;
  9275. Procedure TImage.Setstatus(AIndex : Integer; const AValue : String);
  9276. begin
  9277. If (Fstatus=AValue) then exit;
  9278. Fstatus:=AValue;
  9279. MarkPropertyChanged(AIndex);
  9280. end;
  9281. //2.6.4. bug workaround
  9282. {$IFDEF VER2_6}
  9283. Procedure TImage.SetArrayLength(Const AName : String; ALength : Longint);
  9284. begin
  9285. Case AName of
  9286. 'licenses' : SetLength(Flicenses,ALength);
  9287. else
  9288. Inherited SetArrayLength(AName,ALength);
  9289. end;
  9290. end;
  9291. {$ENDIF VER2_6}
  9292. { --------------------------------------------------------------------
  9293. TImageList
  9294. --------------------------------------------------------------------}
  9295. Procedure TImageList.Setid(AIndex : Integer; const AValue : String);
  9296. begin
  9297. If (Fid=AValue) then exit;
  9298. Fid:=AValue;
  9299. MarkPropertyChanged(AIndex);
  9300. end;
  9301. Procedure TImageList.Setitems(AIndex : Integer; const AValue : TImageListTypeitemsArray);
  9302. begin
  9303. If (Fitems=AValue) then exit;
  9304. Fitems:=AValue;
  9305. MarkPropertyChanged(AIndex);
  9306. end;
  9307. Procedure TImageList.Setkind(AIndex : Integer; const AValue : String);
  9308. begin
  9309. If (Fkind=AValue) then exit;
  9310. Fkind:=AValue;
  9311. MarkPropertyChanged(AIndex);
  9312. end;
  9313. Procedure TImageList.SetnextPageToken(AIndex : Integer; const AValue : String);
  9314. begin
  9315. If (FnextPageToken=AValue) then exit;
  9316. FnextPageToken:=AValue;
  9317. MarkPropertyChanged(AIndex);
  9318. end;
  9319. Procedure TImageList.SetselfLink(AIndex : Integer; const AValue : String);
  9320. begin
  9321. If (FselfLink=AValue) then exit;
  9322. FselfLink:=AValue;
  9323. MarkPropertyChanged(AIndex);
  9324. end;
  9325. //2.6.4. bug workaround
  9326. {$IFDEF VER2_6}
  9327. Procedure TImageList.SetArrayLength(Const AName : String; ALength : Longint);
  9328. begin
  9329. Case AName of
  9330. 'items' : SetLength(Fitems,ALength);
  9331. else
  9332. Inherited SetArrayLength(AName,ALength);
  9333. end;
  9334. end;
  9335. {$ENDIF VER2_6}
  9336. { --------------------------------------------------------------------
  9337. TInstance
  9338. --------------------------------------------------------------------}
  9339. Procedure TInstance.SetcanIpForward(AIndex : Integer; const AValue : boolean);
  9340. begin
  9341. If (FcanIpForward=AValue) then exit;
  9342. FcanIpForward:=AValue;
  9343. MarkPropertyChanged(AIndex);
  9344. end;
  9345. Procedure TInstance.SetcpuPlatform(AIndex : Integer; const AValue : String);
  9346. begin
  9347. If (FcpuPlatform=AValue) then exit;
  9348. FcpuPlatform:=AValue;
  9349. MarkPropertyChanged(AIndex);
  9350. end;
  9351. Procedure TInstance.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  9352. begin
  9353. If (FcreationTimestamp=AValue) then exit;
  9354. FcreationTimestamp:=AValue;
  9355. MarkPropertyChanged(AIndex);
  9356. end;
  9357. Procedure TInstance.Setdescription(AIndex : Integer; const AValue : String);
  9358. begin
  9359. If (Fdescription=AValue) then exit;
  9360. Fdescription:=AValue;
  9361. MarkPropertyChanged(AIndex);
  9362. end;
  9363. Procedure TInstance.Setdisks(AIndex : Integer; const AValue : TInstanceTypedisksArray);
  9364. begin
  9365. If (Fdisks=AValue) then exit;
  9366. Fdisks:=AValue;
  9367. MarkPropertyChanged(AIndex);
  9368. end;
  9369. Procedure TInstance.Setid(AIndex : Integer; const AValue : String);
  9370. begin
  9371. If (Fid=AValue) then exit;
  9372. Fid:=AValue;
  9373. MarkPropertyChanged(AIndex);
  9374. end;
  9375. Procedure TInstance.Setkind(AIndex : Integer; const AValue : String);
  9376. begin
  9377. If (Fkind=AValue) then exit;
  9378. Fkind:=AValue;
  9379. MarkPropertyChanged(AIndex);
  9380. end;
  9381. Procedure TInstance.SetmachineType(AIndex : Integer; const AValue : String);
  9382. begin
  9383. If (FmachineType=AValue) then exit;
  9384. FmachineType:=AValue;
  9385. MarkPropertyChanged(AIndex);
  9386. end;
  9387. Procedure TInstance.Setmetadata(AIndex : Integer; const AValue : TMetadata);
  9388. begin
  9389. If (Fmetadata=AValue) then exit;
  9390. Fmetadata:=AValue;
  9391. MarkPropertyChanged(AIndex);
  9392. end;
  9393. Procedure TInstance.Setname(AIndex : Integer; const AValue : String);
  9394. begin
  9395. If (Fname=AValue) then exit;
  9396. Fname:=AValue;
  9397. MarkPropertyChanged(AIndex);
  9398. end;
  9399. Procedure TInstance.SetnetworkInterfaces(AIndex : Integer; const AValue : TInstanceTypenetworkInterfacesArray);
  9400. begin
  9401. If (FnetworkInterfaces=AValue) then exit;
  9402. FnetworkInterfaces:=AValue;
  9403. MarkPropertyChanged(AIndex);
  9404. end;
  9405. Procedure TInstance.Setscheduling(AIndex : Integer; const AValue : TScheduling);
  9406. begin
  9407. If (Fscheduling=AValue) then exit;
  9408. Fscheduling:=AValue;
  9409. MarkPropertyChanged(AIndex);
  9410. end;
  9411. Procedure TInstance.SetselfLink(AIndex : Integer; const AValue : String);
  9412. begin
  9413. If (FselfLink=AValue) then exit;
  9414. FselfLink:=AValue;
  9415. MarkPropertyChanged(AIndex);
  9416. end;
  9417. Procedure TInstance.SetserviceAccounts(AIndex : Integer; const AValue : TInstanceTypeserviceAccountsArray);
  9418. begin
  9419. If (FserviceAccounts=AValue) then exit;
  9420. FserviceAccounts:=AValue;
  9421. MarkPropertyChanged(AIndex);
  9422. end;
  9423. Procedure TInstance.Setstatus(AIndex : Integer; const AValue : String);
  9424. begin
  9425. If (Fstatus=AValue) then exit;
  9426. Fstatus:=AValue;
  9427. MarkPropertyChanged(AIndex);
  9428. end;
  9429. Procedure TInstance.SetstatusMessage(AIndex : Integer; const AValue : String);
  9430. begin
  9431. If (FstatusMessage=AValue) then exit;
  9432. FstatusMessage:=AValue;
  9433. MarkPropertyChanged(AIndex);
  9434. end;
  9435. Procedure TInstance.Settags(AIndex : Integer; const AValue : TTags);
  9436. begin
  9437. If (Ftags=AValue) then exit;
  9438. Ftags:=AValue;
  9439. MarkPropertyChanged(AIndex);
  9440. end;
  9441. Procedure TInstance.Setzone(AIndex : Integer; const AValue : String);
  9442. begin
  9443. If (Fzone=AValue) then exit;
  9444. Fzone:=AValue;
  9445. MarkPropertyChanged(AIndex);
  9446. end;
  9447. //2.6.4. bug workaround
  9448. {$IFDEF VER2_6}
  9449. Procedure TInstance.SetArrayLength(Const AName : String; ALength : Longint);
  9450. begin
  9451. Case AName of
  9452. 'disks' : SetLength(Fdisks,ALength);
  9453. 'networkinterfaces' : SetLength(FnetworkInterfaces,ALength);
  9454. 'serviceaccounts' : SetLength(FserviceAccounts,ALength);
  9455. else
  9456. Inherited SetArrayLength(AName,ALength);
  9457. end;
  9458. end;
  9459. {$ENDIF VER2_6}
  9460. { --------------------------------------------------------------------
  9461. TInstanceAggregatedListTypeitems
  9462. --------------------------------------------------------------------}
  9463. Class Function TInstanceAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  9464. begin
  9465. Result:=True;
  9466. end;
  9467. { --------------------------------------------------------------------
  9468. TInstanceAggregatedList
  9469. --------------------------------------------------------------------}
  9470. Procedure TInstanceAggregatedList.Setid(AIndex : Integer; const AValue : String);
  9471. begin
  9472. If (Fid=AValue) then exit;
  9473. Fid:=AValue;
  9474. MarkPropertyChanged(AIndex);
  9475. end;
  9476. Procedure TInstanceAggregatedList.Setitems(AIndex : Integer; const AValue : TInstanceAggregatedListTypeitems);
  9477. begin
  9478. If (Fitems=AValue) then exit;
  9479. Fitems:=AValue;
  9480. MarkPropertyChanged(AIndex);
  9481. end;
  9482. Procedure TInstanceAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  9483. begin
  9484. If (Fkind=AValue) then exit;
  9485. Fkind:=AValue;
  9486. MarkPropertyChanged(AIndex);
  9487. end;
  9488. Procedure TInstanceAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  9489. begin
  9490. If (FnextPageToken=AValue) then exit;
  9491. FnextPageToken:=AValue;
  9492. MarkPropertyChanged(AIndex);
  9493. end;
  9494. Procedure TInstanceAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  9495. begin
  9496. If (FselfLink=AValue) then exit;
  9497. FselfLink:=AValue;
  9498. MarkPropertyChanged(AIndex);
  9499. end;
  9500. { --------------------------------------------------------------------
  9501. TInstanceGroup
  9502. --------------------------------------------------------------------}
  9503. Procedure TInstanceGroup.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  9504. begin
  9505. If (FcreationTimestamp=AValue) then exit;
  9506. FcreationTimestamp:=AValue;
  9507. MarkPropertyChanged(AIndex);
  9508. end;
  9509. Procedure TInstanceGroup.Setdescription(AIndex : Integer; const AValue : String);
  9510. begin
  9511. If (Fdescription=AValue) then exit;
  9512. Fdescription:=AValue;
  9513. MarkPropertyChanged(AIndex);
  9514. end;
  9515. Procedure TInstanceGroup.Setfingerprint(AIndex : Integer; const AValue : String);
  9516. begin
  9517. If (Ffingerprint=AValue) then exit;
  9518. Ffingerprint:=AValue;
  9519. MarkPropertyChanged(AIndex);
  9520. end;
  9521. Procedure TInstanceGroup.Setid(AIndex : Integer; const AValue : String);
  9522. begin
  9523. If (Fid=AValue) then exit;
  9524. Fid:=AValue;
  9525. MarkPropertyChanged(AIndex);
  9526. end;
  9527. Procedure TInstanceGroup.Setkind(AIndex : Integer; const AValue : String);
  9528. begin
  9529. If (Fkind=AValue) then exit;
  9530. Fkind:=AValue;
  9531. MarkPropertyChanged(AIndex);
  9532. end;
  9533. Procedure TInstanceGroup.Setname(AIndex : Integer; const AValue : String);
  9534. begin
  9535. If (Fname=AValue) then exit;
  9536. Fname:=AValue;
  9537. MarkPropertyChanged(AIndex);
  9538. end;
  9539. Procedure TInstanceGroup.SetnamedPorts(AIndex : Integer; const AValue : TInstanceGroupTypenamedPortsArray);
  9540. begin
  9541. If (FnamedPorts=AValue) then exit;
  9542. FnamedPorts:=AValue;
  9543. MarkPropertyChanged(AIndex);
  9544. end;
  9545. Procedure TInstanceGroup.Setnetwork(AIndex : Integer; const AValue : String);
  9546. begin
  9547. If (Fnetwork=AValue) then exit;
  9548. Fnetwork:=AValue;
  9549. MarkPropertyChanged(AIndex);
  9550. end;
  9551. Procedure TInstanceGroup.SetselfLink(AIndex : Integer; const AValue : String);
  9552. begin
  9553. If (FselfLink=AValue) then exit;
  9554. FselfLink:=AValue;
  9555. MarkPropertyChanged(AIndex);
  9556. end;
  9557. Procedure TInstanceGroup.Setsize(AIndex : Integer; const AValue : integer);
  9558. begin
  9559. If (Fsize=AValue) then exit;
  9560. Fsize:=AValue;
  9561. MarkPropertyChanged(AIndex);
  9562. end;
  9563. Procedure TInstanceGroup.Setsubnetwork(AIndex : Integer; const AValue : String);
  9564. begin
  9565. If (Fsubnetwork=AValue) then exit;
  9566. Fsubnetwork:=AValue;
  9567. MarkPropertyChanged(AIndex);
  9568. end;
  9569. Procedure TInstanceGroup.Setzone(AIndex : Integer; const AValue : String);
  9570. begin
  9571. If (Fzone=AValue) then exit;
  9572. Fzone:=AValue;
  9573. MarkPropertyChanged(AIndex);
  9574. end;
  9575. //2.6.4. bug workaround
  9576. {$IFDEF VER2_6}
  9577. Procedure TInstanceGroup.SetArrayLength(Const AName : String; ALength : Longint);
  9578. begin
  9579. Case AName of
  9580. 'namedports' : SetLength(FnamedPorts,ALength);
  9581. else
  9582. Inherited SetArrayLength(AName,ALength);
  9583. end;
  9584. end;
  9585. {$ENDIF VER2_6}
  9586. { --------------------------------------------------------------------
  9587. TInstanceGroupAggregatedListTypeitems
  9588. --------------------------------------------------------------------}
  9589. Class Function TInstanceGroupAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  9590. begin
  9591. Result:=True;
  9592. end;
  9593. { --------------------------------------------------------------------
  9594. TInstanceGroupAggregatedList
  9595. --------------------------------------------------------------------}
  9596. Procedure TInstanceGroupAggregatedList.Setid(AIndex : Integer; const AValue : String);
  9597. begin
  9598. If (Fid=AValue) then exit;
  9599. Fid:=AValue;
  9600. MarkPropertyChanged(AIndex);
  9601. end;
  9602. Procedure TInstanceGroupAggregatedList.Setitems(AIndex : Integer; const AValue : TInstanceGroupAggregatedListTypeitems);
  9603. begin
  9604. If (Fitems=AValue) then exit;
  9605. Fitems:=AValue;
  9606. MarkPropertyChanged(AIndex);
  9607. end;
  9608. Procedure TInstanceGroupAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  9609. begin
  9610. If (Fkind=AValue) then exit;
  9611. Fkind:=AValue;
  9612. MarkPropertyChanged(AIndex);
  9613. end;
  9614. Procedure TInstanceGroupAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  9615. begin
  9616. If (FnextPageToken=AValue) then exit;
  9617. FnextPageToken:=AValue;
  9618. MarkPropertyChanged(AIndex);
  9619. end;
  9620. Procedure TInstanceGroupAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  9621. begin
  9622. If (FselfLink=AValue) then exit;
  9623. FselfLink:=AValue;
  9624. MarkPropertyChanged(AIndex);
  9625. end;
  9626. { --------------------------------------------------------------------
  9627. TInstanceGroupList
  9628. --------------------------------------------------------------------}
  9629. Procedure TInstanceGroupList.Setid(AIndex : Integer; const AValue : String);
  9630. begin
  9631. If (Fid=AValue) then exit;
  9632. Fid:=AValue;
  9633. MarkPropertyChanged(AIndex);
  9634. end;
  9635. Procedure TInstanceGroupList.Setitems(AIndex : Integer; const AValue : TInstanceGroupListTypeitemsArray);
  9636. begin
  9637. If (Fitems=AValue) then exit;
  9638. Fitems:=AValue;
  9639. MarkPropertyChanged(AIndex);
  9640. end;
  9641. Procedure TInstanceGroupList.Setkind(AIndex : Integer; const AValue : String);
  9642. begin
  9643. If (Fkind=AValue) then exit;
  9644. Fkind:=AValue;
  9645. MarkPropertyChanged(AIndex);
  9646. end;
  9647. Procedure TInstanceGroupList.SetnextPageToken(AIndex : Integer; const AValue : String);
  9648. begin
  9649. If (FnextPageToken=AValue) then exit;
  9650. FnextPageToken:=AValue;
  9651. MarkPropertyChanged(AIndex);
  9652. end;
  9653. Procedure TInstanceGroupList.SetselfLink(AIndex : Integer; const AValue : String);
  9654. begin
  9655. If (FselfLink=AValue) then exit;
  9656. FselfLink:=AValue;
  9657. MarkPropertyChanged(AIndex);
  9658. end;
  9659. //2.6.4. bug workaround
  9660. {$IFDEF VER2_6}
  9661. Procedure TInstanceGroupList.SetArrayLength(Const AName : String; ALength : Longint);
  9662. begin
  9663. Case AName of
  9664. 'items' : SetLength(Fitems,ALength);
  9665. else
  9666. Inherited SetArrayLength(AName,ALength);
  9667. end;
  9668. end;
  9669. {$ENDIF VER2_6}
  9670. { --------------------------------------------------------------------
  9671. TInstanceGroupManager
  9672. --------------------------------------------------------------------}
  9673. Procedure TInstanceGroupManager.SetbaseInstanceName(AIndex : Integer; const AValue : String);
  9674. begin
  9675. If (FbaseInstanceName=AValue) then exit;
  9676. FbaseInstanceName:=AValue;
  9677. MarkPropertyChanged(AIndex);
  9678. end;
  9679. Procedure TInstanceGroupManager.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  9680. begin
  9681. If (FcreationTimestamp=AValue) then exit;
  9682. FcreationTimestamp:=AValue;
  9683. MarkPropertyChanged(AIndex);
  9684. end;
  9685. Procedure TInstanceGroupManager.SetcurrentActions(AIndex : Integer; const AValue : TInstanceGroupManagerActionsSummary);
  9686. begin
  9687. If (FcurrentActions=AValue) then exit;
  9688. FcurrentActions:=AValue;
  9689. MarkPropertyChanged(AIndex);
  9690. end;
  9691. Procedure TInstanceGroupManager.Setdescription(AIndex : Integer; const AValue : String);
  9692. begin
  9693. If (Fdescription=AValue) then exit;
  9694. Fdescription:=AValue;
  9695. MarkPropertyChanged(AIndex);
  9696. end;
  9697. Procedure TInstanceGroupManager.Setfingerprint(AIndex : Integer; const AValue : String);
  9698. begin
  9699. If (Ffingerprint=AValue) then exit;
  9700. Ffingerprint:=AValue;
  9701. MarkPropertyChanged(AIndex);
  9702. end;
  9703. Procedure TInstanceGroupManager.Setid(AIndex : Integer; const AValue : String);
  9704. begin
  9705. If (Fid=AValue) then exit;
  9706. Fid:=AValue;
  9707. MarkPropertyChanged(AIndex);
  9708. end;
  9709. Procedure TInstanceGroupManager.SetinstanceGroup(AIndex : Integer; const AValue : String);
  9710. begin
  9711. If (FinstanceGroup=AValue) then exit;
  9712. FinstanceGroup:=AValue;
  9713. MarkPropertyChanged(AIndex);
  9714. end;
  9715. Procedure TInstanceGroupManager.SetinstanceTemplate(AIndex : Integer; const AValue : String);
  9716. begin
  9717. If (FinstanceTemplate=AValue) then exit;
  9718. FinstanceTemplate:=AValue;
  9719. MarkPropertyChanged(AIndex);
  9720. end;
  9721. Procedure TInstanceGroupManager.Setkind(AIndex : Integer; const AValue : String);
  9722. begin
  9723. If (Fkind=AValue) then exit;
  9724. Fkind:=AValue;
  9725. MarkPropertyChanged(AIndex);
  9726. end;
  9727. Procedure TInstanceGroupManager.Setname(AIndex : Integer; const AValue : String);
  9728. begin
  9729. If (Fname=AValue) then exit;
  9730. Fname:=AValue;
  9731. MarkPropertyChanged(AIndex);
  9732. end;
  9733. Procedure TInstanceGroupManager.SetnamedPorts(AIndex : Integer; const AValue : TInstanceGroupManagerTypenamedPortsArray);
  9734. begin
  9735. If (FnamedPorts=AValue) then exit;
  9736. FnamedPorts:=AValue;
  9737. MarkPropertyChanged(AIndex);
  9738. end;
  9739. Procedure TInstanceGroupManager.SetselfLink(AIndex : Integer; const AValue : String);
  9740. begin
  9741. If (FselfLink=AValue) then exit;
  9742. FselfLink:=AValue;
  9743. MarkPropertyChanged(AIndex);
  9744. end;
  9745. Procedure TInstanceGroupManager.SettargetPools(AIndex : Integer; const AValue : TStringArray);
  9746. begin
  9747. If (FtargetPools=AValue) then exit;
  9748. FtargetPools:=AValue;
  9749. MarkPropertyChanged(AIndex);
  9750. end;
  9751. Procedure TInstanceGroupManager.SettargetSize(AIndex : Integer; const AValue : integer);
  9752. begin
  9753. If (FtargetSize=AValue) then exit;
  9754. FtargetSize:=AValue;
  9755. MarkPropertyChanged(AIndex);
  9756. end;
  9757. Procedure TInstanceGroupManager.Setzone(AIndex : Integer; const AValue : String);
  9758. begin
  9759. If (Fzone=AValue) then exit;
  9760. Fzone:=AValue;
  9761. MarkPropertyChanged(AIndex);
  9762. end;
  9763. //2.6.4. bug workaround
  9764. {$IFDEF VER2_6}
  9765. Procedure TInstanceGroupManager.SetArrayLength(Const AName : String; ALength : Longint);
  9766. begin
  9767. Case AName of
  9768. 'namedports' : SetLength(FnamedPorts,ALength);
  9769. 'targetpools' : SetLength(FtargetPools,ALength);
  9770. else
  9771. Inherited SetArrayLength(AName,ALength);
  9772. end;
  9773. end;
  9774. {$ENDIF VER2_6}
  9775. { --------------------------------------------------------------------
  9776. TInstanceGroupManagerActionsSummary
  9777. --------------------------------------------------------------------}
  9778. Procedure TInstanceGroupManagerActionsSummary.Setabandoning(AIndex : Integer; const AValue : integer);
  9779. begin
  9780. If (Fabandoning=AValue) then exit;
  9781. Fabandoning:=AValue;
  9782. MarkPropertyChanged(AIndex);
  9783. end;
  9784. Procedure TInstanceGroupManagerActionsSummary.Setcreating(AIndex : Integer; const AValue : integer);
  9785. begin
  9786. If (Fcreating=AValue) then exit;
  9787. Fcreating:=AValue;
  9788. MarkPropertyChanged(AIndex);
  9789. end;
  9790. Procedure TInstanceGroupManagerActionsSummary.Setdeleting(AIndex : Integer; const AValue : integer);
  9791. begin
  9792. If (Fdeleting=AValue) then exit;
  9793. Fdeleting:=AValue;
  9794. MarkPropertyChanged(AIndex);
  9795. end;
  9796. Procedure TInstanceGroupManagerActionsSummary.Setnone(AIndex : Integer; const AValue : integer);
  9797. begin
  9798. If (Fnone=AValue) then exit;
  9799. Fnone:=AValue;
  9800. MarkPropertyChanged(AIndex);
  9801. end;
  9802. Procedure TInstanceGroupManagerActionsSummary.Setrecreating(AIndex : Integer; const AValue : integer);
  9803. begin
  9804. If (Frecreating=AValue) then exit;
  9805. Frecreating:=AValue;
  9806. MarkPropertyChanged(AIndex);
  9807. end;
  9808. Procedure TInstanceGroupManagerActionsSummary.Setrefreshing(AIndex : Integer; const AValue : integer);
  9809. begin
  9810. If (Frefreshing=AValue) then exit;
  9811. Frefreshing:=AValue;
  9812. MarkPropertyChanged(AIndex);
  9813. end;
  9814. Procedure TInstanceGroupManagerActionsSummary.Setrestarting(AIndex : Integer; const AValue : integer);
  9815. begin
  9816. If (Frestarting=AValue) then exit;
  9817. Frestarting:=AValue;
  9818. MarkPropertyChanged(AIndex);
  9819. end;
  9820. { --------------------------------------------------------------------
  9821. TInstanceGroupManagerAggregatedListTypeitems
  9822. --------------------------------------------------------------------}
  9823. Class Function TInstanceGroupManagerAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  9824. begin
  9825. Result:=True;
  9826. end;
  9827. { --------------------------------------------------------------------
  9828. TInstanceGroupManagerAggregatedList
  9829. --------------------------------------------------------------------}
  9830. Procedure TInstanceGroupManagerAggregatedList.Setid(AIndex : Integer; const AValue : String);
  9831. begin
  9832. If (Fid=AValue) then exit;
  9833. Fid:=AValue;
  9834. MarkPropertyChanged(AIndex);
  9835. end;
  9836. Procedure TInstanceGroupManagerAggregatedList.Setitems(AIndex : Integer; const AValue : TInstanceGroupManagerAggregatedListTypeitems);
  9837. begin
  9838. If (Fitems=AValue) then exit;
  9839. Fitems:=AValue;
  9840. MarkPropertyChanged(AIndex);
  9841. end;
  9842. Procedure TInstanceGroupManagerAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  9843. begin
  9844. If (Fkind=AValue) then exit;
  9845. Fkind:=AValue;
  9846. MarkPropertyChanged(AIndex);
  9847. end;
  9848. Procedure TInstanceGroupManagerAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  9849. begin
  9850. If (FnextPageToken=AValue) then exit;
  9851. FnextPageToken:=AValue;
  9852. MarkPropertyChanged(AIndex);
  9853. end;
  9854. Procedure TInstanceGroupManagerAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  9855. begin
  9856. If (FselfLink=AValue) then exit;
  9857. FselfLink:=AValue;
  9858. MarkPropertyChanged(AIndex);
  9859. end;
  9860. { --------------------------------------------------------------------
  9861. TInstanceGroupManagerList
  9862. --------------------------------------------------------------------}
  9863. Procedure TInstanceGroupManagerList.Setid(AIndex : Integer; const AValue : String);
  9864. begin
  9865. If (Fid=AValue) then exit;
  9866. Fid:=AValue;
  9867. MarkPropertyChanged(AIndex);
  9868. end;
  9869. Procedure TInstanceGroupManagerList.Setitems(AIndex : Integer; const AValue : TInstanceGroupManagerListTypeitemsArray);
  9870. begin
  9871. If (Fitems=AValue) then exit;
  9872. Fitems:=AValue;
  9873. MarkPropertyChanged(AIndex);
  9874. end;
  9875. Procedure TInstanceGroupManagerList.Setkind(AIndex : Integer; const AValue : String);
  9876. begin
  9877. If (Fkind=AValue) then exit;
  9878. Fkind:=AValue;
  9879. MarkPropertyChanged(AIndex);
  9880. end;
  9881. Procedure TInstanceGroupManagerList.SetnextPageToken(AIndex : Integer; const AValue : String);
  9882. begin
  9883. If (FnextPageToken=AValue) then exit;
  9884. FnextPageToken:=AValue;
  9885. MarkPropertyChanged(AIndex);
  9886. end;
  9887. Procedure TInstanceGroupManagerList.SetselfLink(AIndex : Integer; const AValue : String);
  9888. begin
  9889. If (FselfLink=AValue) then exit;
  9890. FselfLink:=AValue;
  9891. MarkPropertyChanged(AIndex);
  9892. end;
  9893. //2.6.4. bug workaround
  9894. {$IFDEF VER2_6}
  9895. Procedure TInstanceGroupManagerList.SetArrayLength(Const AName : String; ALength : Longint);
  9896. begin
  9897. Case AName of
  9898. 'items' : SetLength(Fitems,ALength);
  9899. else
  9900. Inherited SetArrayLength(AName,ALength);
  9901. end;
  9902. end;
  9903. {$ENDIF VER2_6}
  9904. { --------------------------------------------------------------------
  9905. TInstanceGroupManagersAbandonInstancesRequest
  9906. --------------------------------------------------------------------}
  9907. Procedure TInstanceGroupManagersAbandonInstancesRequest.Setinstances(AIndex : Integer; const AValue : TStringArray);
  9908. begin
  9909. If (Finstances=AValue) then exit;
  9910. Finstances:=AValue;
  9911. MarkPropertyChanged(AIndex);
  9912. end;
  9913. //2.6.4. bug workaround
  9914. {$IFDEF VER2_6}
  9915. Procedure TInstanceGroupManagersAbandonInstancesRequest.SetArrayLength(Const AName : String; ALength : Longint);
  9916. begin
  9917. Case AName of
  9918. 'instances' : SetLength(Finstances,ALength);
  9919. else
  9920. Inherited SetArrayLength(AName,ALength);
  9921. end;
  9922. end;
  9923. {$ENDIF VER2_6}
  9924. { --------------------------------------------------------------------
  9925. TInstanceGroupManagersDeleteInstancesRequest
  9926. --------------------------------------------------------------------}
  9927. Procedure TInstanceGroupManagersDeleteInstancesRequest.Setinstances(AIndex : Integer; const AValue : TStringArray);
  9928. begin
  9929. If (Finstances=AValue) then exit;
  9930. Finstances:=AValue;
  9931. MarkPropertyChanged(AIndex);
  9932. end;
  9933. //2.6.4. bug workaround
  9934. {$IFDEF VER2_6}
  9935. Procedure TInstanceGroupManagersDeleteInstancesRequest.SetArrayLength(Const AName : String; ALength : Longint);
  9936. begin
  9937. Case AName of
  9938. 'instances' : SetLength(Finstances,ALength);
  9939. else
  9940. Inherited SetArrayLength(AName,ALength);
  9941. end;
  9942. end;
  9943. {$ENDIF VER2_6}
  9944. { --------------------------------------------------------------------
  9945. TInstanceGroupManagersListManagedInstancesResponse
  9946. --------------------------------------------------------------------}
  9947. Procedure TInstanceGroupManagersListManagedInstancesResponse.SetmanagedInstances(AIndex : Integer; const AValue : TInstanceGroupManagersListManagedInstancesResponseTypemanagedInstancesArray);
  9948. begin
  9949. If (FmanagedInstances=AValue) then exit;
  9950. FmanagedInstances:=AValue;
  9951. MarkPropertyChanged(AIndex);
  9952. end;
  9953. //2.6.4. bug workaround
  9954. {$IFDEF VER2_6}
  9955. Procedure TInstanceGroupManagersListManagedInstancesResponse.SetArrayLength(Const AName : String; ALength : Longint);
  9956. begin
  9957. Case AName of
  9958. 'managedinstances' : SetLength(FmanagedInstances,ALength);
  9959. else
  9960. Inherited SetArrayLength(AName,ALength);
  9961. end;
  9962. end;
  9963. {$ENDIF VER2_6}
  9964. { --------------------------------------------------------------------
  9965. TInstanceGroupManagersRecreateInstancesRequest
  9966. --------------------------------------------------------------------}
  9967. Procedure TInstanceGroupManagersRecreateInstancesRequest.Setinstances(AIndex : Integer; const AValue : TStringArray);
  9968. begin
  9969. If (Finstances=AValue) then exit;
  9970. Finstances:=AValue;
  9971. MarkPropertyChanged(AIndex);
  9972. end;
  9973. //2.6.4. bug workaround
  9974. {$IFDEF VER2_6}
  9975. Procedure TInstanceGroupManagersRecreateInstancesRequest.SetArrayLength(Const AName : String; ALength : Longint);
  9976. begin
  9977. Case AName of
  9978. 'instances' : SetLength(Finstances,ALength);
  9979. else
  9980. Inherited SetArrayLength(AName,ALength);
  9981. end;
  9982. end;
  9983. {$ENDIF VER2_6}
  9984. { --------------------------------------------------------------------
  9985. TInstanceGroupManagersScopedListTypewarningTypedataItem
  9986. --------------------------------------------------------------------}
  9987. Procedure TInstanceGroupManagersScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  9988. begin
  9989. If (Fkey=AValue) then exit;
  9990. Fkey:=AValue;
  9991. MarkPropertyChanged(AIndex);
  9992. end;
  9993. Procedure TInstanceGroupManagersScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  9994. begin
  9995. If (Fvalue=AValue) then exit;
  9996. Fvalue:=AValue;
  9997. MarkPropertyChanged(AIndex);
  9998. end;
  9999. { --------------------------------------------------------------------
  10000. TInstanceGroupManagersScopedListTypewarning
  10001. --------------------------------------------------------------------}
  10002. Procedure TInstanceGroupManagersScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  10003. begin
  10004. If (Fcode=AValue) then exit;
  10005. Fcode:=AValue;
  10006. MarkPropertyChanged(AIndex);
  10007. end;
  10008. Procedure TInstanceGroupManagersScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TInstanceGroupManagersScopedListTypewarningTypedataArray);
  10009. begin
  10010. If (Fdata=AValue) then exit;
  10011. Fdata:=AValue;
  10012. MarkPropertyChanged(AIndex);
  10013. end;
  10014. Procedure TInstanceGroupManagersScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  10015. begin
  10016. If (Fmessage=AValue) then exit;
  10017. Fmessage:=AValue;
  10018. MarkPropertyChanged(AIndex);
  10019. end;
  10020. //2.6.4. bug workaround
  10021. {$IFDEF VER2_6}
  10022. Procedure TInstanceGroupManagersScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  10023. begin
  10024. Case AName of
  10025. 'data' : SetLength(Fdata,ALength);
  10026. else
  10027. Inherited SetArrayLength(AName,ALength);
  10028. end;
  10029. end;
  10030. {$ENDIF VER2_6}
  10031. { --------------------------------------------------------------------
  10032. TInstanceGroupManagersScopedList
  10033. --------------------------------------------------------------------}
  10034. Procedure TInstanceGroupManagersScopedList.SetinstanceGroupManagers(AIndex : Integer; const AValue : TInstanceGroupManagersScopedListTypeinstanceGroupManagersArray);
  10035. begin
  10036. If (FinstanceGroupManagers=AValue) then exit;
  10037. FinstanceGroupManagers:=AValue;
  10038. MarkPropertyChanged(AIndex);
  10039. end;
  10040. Procedure TInstanceGroupManagersScopedList.Setwarning(AIndex : Integer; const AValue : TInstanceGroupManagersScopedListTypewarning);
  10041. begin
  10042. If (Fwarning=AValue) then exit;
  10043. Fwarning:=AValue;
  10044. MarkPropertyChanged(AIndex);
  10045. end;
  10046. //2.6.4. bug workaround
  10047. {$IFDEF VER2_6}
  10048. Procedure TInstanceGroupManagersScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  10049. begin
  10050. Case AName of
  10051. 'instancegroupmanagers' : SetLength(FinstanceGroupManagers,ALength);
  10052. else
  10053. Inherited SetArrayLength(AName,ALength);
  10054. end;
  10055. end;
  10056. {$ENDIF VER2_6}
  10057. { --------------------------------------------------------------------
  10058. TInstanceGroupManagersSetInstanceTemplateRequest
  10059. --------------------------------------------------------------------}
  10060. Procedure TInstanceGroupManagersSetInstanceTemplateRequest.SetinstanceTemplate(AIndex : Integer; const AValue : String);
  10061. begin
  10062. If (FinstanceTemplate=AValue) then exit;
  10063. FinstanceTemplate:=AValue;
  10064. MarkPropertyChanged(AIndex);
  10065. end;
  10066. { --------------------------------------------------------------------
  10067. TInstanceGroupManagersSetTargetPoolsRequest
  10068. --------------------------------------------------------------------}
  10069. Procedure TInstanceGroupManagersSetTargetPoolsRequest.Setfingerprint(AIndex : Integer; const AValue : String);
  10070. begin
  10071. If (Ffingerprint=AValue) then exit;
  10072. Ffingerprint:=AValue;
  10073. MarkPropertyChanged(AIndex);
  10074. end;
  10075. Procedure TInstanceGroupManagersSetTargetPoolsRequest.SettargetPools(AIndex : Integer; const AValue : TStringArray);
  10076. begin
  10077. If (FtargetPools=AValue) then exit;
  10078. FtargetPools:=AValue;
  10079. MarkPropertyChanged(AIndex);
  10080. end;
  10081. //2.6.4. bug workaround
  10082. {$IFDEF VER2_6}
  10083. Procedure TInstanceGroupManagersSetTargetPoolsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  10084. begin
  10085. Case AName of
  10086. 'targetpools' : SetLength(FtargetPools,ALength);
  10087. else
  10088. Inherited SetArrayLength(AName,ALength);
  10089. end;
  10090. end;
  10091. {$ENDIF VER2_6}
  10092. { --------------------------------------------------------------------
  10093. TInstanceGroupsAddInstancesRequest
  10094. --------------------------------------------------------------------}
  10095. Procedure TInstanceGroupsAddInstancesRequest.Setinstances(AIndex : Integer; const AValue : TInstanceGroupsAddInstancesRequestTypeinstancesArray);
  10096. begin
  10097. If (Finstances=AValue) then exit;
  10098. Finstances:=AValue;
  10099. MarkPropertyChanged(AIndex);
  10100. end;
  10101. //2.6.4. bug workaround
  10102. {$IFDEF VER2_6}
  10103. Procedure TInstanceGroupsAddInstancesRequest.SetArrayLength(Const AName : String; ALength : Longint);
  10104. begin
  10105. Case AName of
  10106. 'instances' : SetLength(Finstances,ALength);
  10107. else
  10108. Inherited SetArrayLength(AName,ALength);
  10109. end;
  10110. end;
  10111. {$ENDIF VER2_6}
  10112. { --------------------------------------------------------------------
  10113. TInstanceGroupsListInstances
  10114. --------------------------------------------------------------------}
  10115. Procedure TInstanceGroupsListInstances.Setid(AIndex : Integer; const AValue : String);
  10116. begin
  10117. If (Fid=AValue) then exit;
  10118. Fid:=AValue;
  10119. MarkPropertyChanged(AIndex);
  10120. end;
  10121. Procedure TInstanceGroupsListInstances.Setitems(AIndex : Integer; const AValue : TInstanceGroupsListInstancesTypeitemsArray);
  10122. begin
  10123. If (Fitems=AValue) then exit;
  10124. Fitems:=AValue;
  10125. MarkPropertyChanged(AIndex);
  10126. end;
  10127. Procedure TInstanceGroupsListInstances.Setkind(AIndex : Integer; const AValue : String);
  10128. begin
  10129. If (Fkind=AValue) then exit;
  10130. Fkind:=AValue;
  10131. MarkPropertyChanged(AIndex);
  10132. end;
  10133. Procedure TInstanceGroupsListInstances.SetnextPageToken(AIndex : Integer; const AValue : String);
  10134. begin
  10135. If (FnextPageToken=AValue) then exit;
  10136. FnextPageToken:=AValue;
  10137. MarkPropertyChanged(AIndex);
  10138. end;
  10139. Procedure TInstanceGroupsListInstances.SetselfLink(AIndex : Integer; const AValue : String);
  10140. begin
  10141. If (FselfLink=AValue) then exit;
  10142. FselfLink:=AValue;
  10143. MarkPropertyChanged(AIndex);
  10144. end;
  10145. //2.6.4. bug workaround
  10146. {$IFDEF VER2_6}
  10147. Procedure TInstanceGroupsListInstances.SetArrayLength(Const AName : String; ALength : Longint);
  10148. begin
  10149. Case AName of
  10150. 'items' : SetLength(Fitems,ALength);
  10151. else
  10152. Inherited SetArrayLength(AName,ALength);
  10153. end;
  10154. end;
  10155. {$ENDIF VER2_6}
  10156. { --------------------------------------------------------------------
  10157. TInstanceGroupsListInstancesRequest
  10158. --------------------------------------------------------------------}
  10159. Procedure TInstanceGroupsListInstancesRequest.SetinstanceState(AIndex : Integer; const AValue : String);
  10160. begin
  10161. If (FinstanceState=AValue) then exit;
  10162. FinstanceState:=AValue;
  10163. MarkPropertyChanged(AIndex);
  10164. end;
  10165. { --------------------------------------------------------------------
  10166. TInstanceGroupsRemoveInstancesRequest
  10167. --------------------------------------------------------------------}
  10168. Procedure TInstanceGroupsRemoveInstancesRequest.Setinstances(AIndex : Integer; const AValue : TInstanceGroupsRemoveInstancesRequestTypeinstancesArray);
  10169. begin
  10170. If (Finstances=AValue) then exit;
  10171. Finstances:=AValue;
  10172. MarkPropertyChanged(AIndex);
  10173. end;
  10174. //2.6.4. bug workaround
  10175. {$IFDEF VER2_6}
  10176. Procedure TInstanceGroupsRemoveInstancesRequest.SetArrayLength(Const AName : String; ALength : Longint);
  10177. begin
  10178. Case AName of
  10179. 'instances' : SetLength(Finstances,ALength);
  10180. else
  10181. Inherited SetArrayLength(AName,ALength);
  10182. end;
  10183. end;
  10184. {$ENDIF VER2_6}
  10185. { --------------------------------------------------------------------
  10186. TInstanceGroupsScopedListTypewarningTypedataItem
  10187. --------------------------------------------------------------------}
  10188. Procedure TInstanceGroupsScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  10189. begin
  10190. If (Fkey=AValue) then exit;
  10191. Fkey:=AValue;
  10192. MarkPropertyChanged(AIndex);
  10193. end;
  10194. Procedure TInstanceGroupsScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  10195. begin
  10196. If (Fvalue=AValue) then exit;
  10197. Fvalue:=AValue;
  10198. MarkPropertyChanged(AIndex);
  10199. end;
  10200. { --------------------------------------------------------------------
  10201. TInstanceGroupsScopedListTypewarning
  10202. --------------------------------------------------------------------}
  10203. Procedure TInstanceGroupsScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  10204. begin
  10205. If (Fcode=AValue) then exit;
  10206. Fcode:=AValue;
  10207. MarkPropertyChanged(AIndex);
  10208. end;
  10209. Procedure TInstanceGroupsScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TInstanceGroupsScopedListTypewarningTypedataArray);
  10210. begin
  10211. If (Fdata=AValue) then exit;
  10212. Fdata:=AValue;
  10213. MarkPropertyChanged(AIndex);
  10214. end;
  10215. Procedure TInstanceGroupsScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  10216. begin
  10217. If (Fmessage=AValue) then exit;
  10218. Fmessage:=AValue;
  10219. MarkPropertyChanged(AIndex);
  10220. end;
  10221. //2.6.4. bug workaround
  10222. {$IFDEF VER2_6}
  10223. Procedure TInstanceGroupsScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  10224. begin
  10225. Case AName of
  10226. 'data' : SetLength(Fdata,ALength);
  10227. else
  10228. Inherited SetArrayLength(AName,ALength);
  10229. end;
  10230. end;
  10231. {$ENDIF VER2_6}
  10232. { --------------------------------------------------------------------
  10233. TInstanceGroupsScopedList
  10234. --------------------------------------------------------------------}
  10235. Procedure TInstanceGroupsScopedList.SetinstanceGroups(AIndex : Integer; const AValue : TInstanceGroupsScopedListTypeinstanceGroupsArray);
  10236. begin
  10237. If (FinstanceGroups=AValue) then exit;
  10238. FinstanceGroups:=AValue;
  10239. MarkPropertyChanged(AIndex);
  10240. end;
  10241. Procedure TInstanceGroupsScopedList.Setwarning(AIndex : Integer; const AValue : TInstanceGroupsScopedListTypewarning);
  10242. begin
  10243. If (Fwarning=AValue) then exit;
  10244. Fwarning:=AValue;
  10245. MarkPropertyChanged(AIndex);
  10246. end;
  10247. //2.6.4. bug workaround
  10248. {$IFDEF VER2_6}
  10249. Procedure TInstanceGroupsScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  10250. begin
  10251. Case AName of
  10252. 'instancegroups' : SetLength(FinstanceGroups,ALength);
  10253. else
  10254. Inherited SetArrayLength(AName,ALength);
  10255. end;
  10256. end;
  10257. {$ENDIF VER2_6}
  10258. { --------------------------------------------------------------------
  10259. TInstanceGroupsSetNamedPortsRequest
  10260. --------------------------------------------------------------------}
  10261. Procedure TInstanceGroupsSetNamedPortsRequest.Setfingerprint(AIndex : Integer; const AValue : String);
  10262. begin
  10263. If (Ffingerprint=AValue) then exit;
  10264. Ffingerprint:=AValue;
  10265. MarkPropertyChanged(AIndex);
  10266. end;
  10267. Procedure TInstanceGroupsSetNamedPortsRequest.SetnamedPorts(AIndex : Integer; const AValue : TInstanceGroupsSetNamedPortsRequestTypenamedPortsArray);
  10268. begin
  10269. If (FnamedPorts=AValue) then exit;
  10270. FnamedPorts:=AValue;
  10271. MarkPropertyChanged(AIndex);
  10272. end;
  10273. //2.6.4. bug workaround
  10274. {$IFDEF VER2_6}
  10275. Procedure TInstanceGroupsSetNamedPortsRequest.SetArrayLength(Const AName : String; ALength : Longint);
  10276. begin
  10277. Case AName of
  10278. 'namedports' : SetLength(FnamedPorts,ALength);
  10279. else
  10280. Inherited SetArrayLength(AName,ALength);
  10281. end;
  10282. end;
  10283. {$ENDIF VER2_6}
  10284. { --------------------------------------------------------------------
  10285. TInstanceList
  10286. --------------------------------------------------------------------}
  10287. Procedure TInstanceList.Setid(AIndex : Integer; const AValue : String);
  10288. begin
  10289. If (Fid=AValue) then exit;
  10290. Fid:=AValue;
  10291. MarkPropertyChanged(AIndex);
  10292. end;
  10293. Procedure TInstanceList.Setitems(AIndex : Integer; const AValue : TInstanceListTypeitemsArray);
  10294. begin
  10295. If (Fitems=AValue) then exit;
  10296. Fitems:=AValue;
  10297. MarkPropertyChanged(AIndex);
  10298. end;
  10299. Procedure TInstanceList.Setkind(AIndex : Integer; const AValue : String);
  10300. begin
  10301. If (Fkind=AValue) then exit;
  10302. Fkind:=AValue;
  10303. MarkPropertyChanged(AIndex);
  10304. end;
  10305. Procedure TInstanceList.SetnextPageToken(AIndex : Integer; const AValue : String);
  10306. begin
  10307. If (FnextPageToken=AValue) then exit;
  10308. FnextPageToken:=AValue;
  10309. MarkPropertyChanged(AIndex);
  10310. end;
  10311. Procedure TInstanceList.SetselfLink(AIndex : Integer; const AValue : String);
  10312. begin
  10313. If (FselfLink=AValue) then exit;
  10314. FselfLink:=AValue;
  10315. MarkPropertyChanged(AIndex);
  10316. end;
  10317. //2.6.4. bug workaround
  10318. {$IFDEF VER2_6}
  10319. Procedure TInstanceList.SetArrayLength(Const AName : String; ALength : Longint);
  10320. begin
  10321. Case AName of
  10322. 'items' : SetLength(Fitems,ALength);
  10323. else
  10324. Inherited SetArrayLength(AName,ALength);
  10325. end;
  10326. end;
  10327. {$ENDIF VER2_6}
  10328. { --------------------------------------------------------------------
  10329. TInstanceMoveRequest
  10330. --------------------------------------------------------------------}
  10331. Procedure TInstanceMoveRequest.SetdestinationZone(AIndex : Integer; const AValue : String);
  10332. begin
  10333. If (FdestinationZone=AValue) then exit;
  10334. FdestinationZone:=AValue;
  10335. MarkPropertyChanged(AIndex);
  10336. end;
  10337. Procedure TInstanceMoveRequest.SettargetInstance(AIndex : Integer; const AValue : String);
  10338. begin
  10339. If (FtargetInstance=AValue) then exit;
  10340. FtargetInstance:=AValue;
  10341. MarkPropertyChanged(AIndex);
  10342. end;
  10343. { --------------------------------------------------------------------
  10344. TInstanceProperties
  10345. --------------------------------------------------------------------}
  10346. Procedure TInstanceProperties.SetcanIpForward(AIndex : Integer; const AValue : boolean);
  10347. begin
  10348. If (FcanIpForward=AValue) then exit;
  10349. FcanIpForward:=AValue;
  10350. MarkPropertyChanged(AIndex);
  10351. end;
  10352. Procedure TInstanceProperties.Setdescription(AIndex : Integer; const AValue : String);
  10353. begin
  10354. If (Fdescription=AValue) then exit;
  10355. Fdescription:=AValue;
  10356. MarkPropertyChanged(AIndex);
  10357. end;
  10358. Procedure TInstanceProperties.Setdisks(AIndex : Integer; const AValue : TInstancePropertiesTypedisksArray);
  10359. begin
  10360. If (Fdisks=AValue) then exit;
  10361. Fdisks:=AValue;
  10362. MarkPropertyChanged(AIndex);
  10363. end;
  10364. Procedure TInstanceProperties.SetmachineType(AIndex : Integer; const AValue : String);
  10365. begin
  10366. If (FmachineType=AValue) then exit;
  10367. FmachineType:=AValue;
  10368. MarkPropertyChanged(AIndex);
  10369. end;
  10370. Procedure TInstanceProperties.Setmetadata(AIndex : Integer; const AValue : TMetadata);
  10371. begin
  10372. If (Fmetadata=AValue) then exit;
  10373. Fmetadata:=AValue;
  10374. MarkPropertyChanged(AIndex);
  10375. end;
  10376. Procedure TInstanceProperties.SetnetworkInterfaces(AIndex : Integer; const AValue : TInstancePropertiesTypenetworkInterfacesArray);
  10377. begin
  10378. If (FnetworkInterfaces=AValue) then exit;
  10379. FnetworkInterfaces:=AValue;
  10380. MarkPropertyChanged(AIndex);
  10381. end;
  10382. Procedure TInstanceProperties.Setscheduling(AIndex : Integer; const AValue : TScheduling);
  10383. begin
  10384. If (Fscheduling=AValue) then exit;
  10385. Fscheduling:=AValue;
  10386. MarkPropertyChanged(AIndex);
  10387. end;
  10388. Procedure TInstanceProperties.SetserviceAccounts(AIndex : Integer; const AValue : TInstancePropertiesTypeserviceAccountsArray);
  10389. begin
  10390. If (FserviceAccounts=AValue) then exit;
  10391. FserviceAccounts:=AValue;
  10392. MarkPropertyChanged(AIndex);
  10393. end;
  10394. Procedure TInstanceProperties.Settags(AIndex : Integer; const AValue : TTags);
  10395. begin
  10396. If (Ftags=AValue) then exit;
  10397. Ftags:=AValue;
  10398. MarkPropertyChanged(AIndex);
  10399. end;
  10400. //2.6.4. bug workaround
  10401. {$IFDEF VER2_6}
  10402. Procedure TInstanceProperties.SetArrayLength(Const AName : String; ALength : Longint);
  10403. begin
  10404. Case AName of
  10405. 'disks' : SetLength(Fdisks,ALength);
  10406. 'networkinterfaces' : SetLength(FnetworkInterfaces,ALength);
  10407. 'serviceaccounts' : SetLength(FserviceAccounts,ALength);
  10408. else
  10409. Inherited SetArrayLength(AName,ALength);
  10410. end;
  10411. end;
  10412. {$ENDIF VER2_6}
  10413. { --------------------------------------------------------------------
  10414. TInstanceReference
  10415. --------------------------------------------------------------------}
  10416. Procedure TInstanceReference.Setinstance(AIndex : Integer; const AValue : String);
  10417. begin
  10418. If (Finstance=AValue) then exit;
  10419. Finstance:=AValue;
  10420. MarkPropertyChanged(AIndex);
  10421. end;
  10422. { --------------------------------------------------------------------
  10423. TInstanceTemplate
  10424. --------------------------------------------------------------------}
  10425. Procedure TInstanceTemplate.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  10426. begin
  10427. If (FcreationTimestamp=AValue) then exit;
  10428. FcreationTimestamp:=AValue;
  10429. MarkPropertyChanged(AIndex);
  10430. end;
  10431. Procedure TInstanceTemplate.Setdescription(AIndex : Integer; const AValue : String);
  10432. begin
  10433. If (Fdescription=AValue) then exit;
  10434. Fdescription:=AValue;
  10435. MarkPropertyChanged(AIndex);
  10436. end;
  10437. Procedure TInstanceTemplate.Setid(AIndex : Integer; const AValue : String);
  10438. begin
  10439. If (Fid=AValue) then exit;
  10440. Fid:=AValue;
  10441. MarkPropertyChanged(AIndex);
  10442. end;
  10443. Procedure TInstanceTemplate.Setkind(AIndex : Integer; const AValue : String);
  10444. begin
  10445. If (Fkind=AValue) then exit;
  10446. Fkind:=AValue;
  10447. MarkPropertyChanged(AIndex);
  10448. end;
  10449. Procedure TInstanceTemplate.Setname(AIndex : Integer; const AValue : String);
  10450. begin
  10451. If (Fname=AValue) then exit;
  10452. Fname:=AValue;
  10453. MarkPropertyChanged(AIndex);
  10454. end;
  10455. Procedure TInstanceTemplate.Setproperties(AIndex : Integer; const AValue : TInstanceProperties);
  10456. begin
  10457. If (Fproperties=AValue) then exit;
  10458. Fproperties:=AValue;
  10459. MarkPropertyChanged(AIndex);
  10460. end;
  10461. Procedure TInstanceTemplate.SetselfLink(AIndex : Integer; const AValue : String);
  10462. begin
  10463. If (FselfLink=AValue) then exit;
  10464. FselfLink:=AValue;
  10465. MarkPropertyChanged(AIndex);
  10466. end;
  10467. { --------------------------------------------------------------------
  10468. TInstanceTemplateList
  10469. --------------------------------------------------------------------}
  10470. Procedure TInstanceTemplateList.Setid(AIndex : Integer; const AValue : String);
  10471. begin
  10472. If (Fid=AValue) then exit;
  10473. Fid:=AValue;
  10474. MarkPropertyChanged(AIndex);
  10475. end;
  10476. Procedure TInstanceTemplateList.Setitems(AIndex : Integer; const AValue : TInstanceTemplateListTypeitemsArray);
  10477. begin
  10478. If (Fitems=AValue) then exit;
  10479. Fitems:=AValue;
  10480. MarkPropertyChanged(AIndex);
  10481. end;
  10482. Procedure TInstanceTemplateList.Setkind(AIndex : Integer; const AValue : String);
  10483. begin
  10484. If (Fkind=AValue) then exit;
  10485. Fkind:=AValue;
  10486. MarkPropertyChanged(AIndex);
  10487. end;
  10488. Procedure TInstanceTemplateList.SetnextPageToken(AIndex : Integer; const AValue : String);
  10489. begin
  10490. If (FnextPageToken=AValue) then exit;
  10491. FnextPageToken:=AValue;
  10492. MarkPropertyChanged(AIndex);
  10493. end;
  10494. Procedure TInstanceTemplateList.SetselfLink(AIndex : Integer; const AValue : String);
  10495. begin
  10496. If (FselfLink=AValue) then exit;
  10497. FselfLink:=AValue;
  10498. MarkPropertyChanged(AIndex);
  10499. end;
  10500. //2.6.4. bug workaround
  10501. {$IFDEF VER2_6}
  10502. Procedure TInstanceTemplateList.SetArrayLength(Const AName : String; ALength : Longint);
  10503. begin
  10504. Case AName of
  10505. 'items' : SetLength(Fitems,ALength);
  10506. else
  10507. Inherited SetArrayLength(AName,ALength);
  10508. end;
  10509. end;
  10510. {$ENDIF VER2_6}
  10511. { --------------------------------------------------------------------
  10512. TInstanceWithNamedPorts
  10513. --------------------------------------------------------------------}
  10514. Procedure TInstanceWithNamedPorts.Setinstance(AIndex : Integer; const AValue : String);
  10515. begin
  10516. If (Finstance=AValue) then exit;
  10517. Finstance:=AValue;
  10518. MarkPropertyChanged(AIndex);
  10519. end;
  10520. Procedure TInstanceWithNamedPorts.SetnamedPorts(AIndex : Integer; const AValue : TInstanceWithNamedPortsTypenamedPortsArray);
  10521. begin
  10522. If (FnamedPorts=AValue) then exit;
  10523. FnamedPorts:=AValue;
  10524. MarkPropertyChanged(AIndex);
  10525. end;
  10526. Procedure TInstanceWithNamedPorts.Setstatus(AIndex : Integer; const AValue : String);
  10527. begin
  10528. If (Fstatus=AValue) then exit;
  10529. Fstatus:=AValue;
  10530. MarkPropertyChanged(AIndex);
  10531. end;
  10532. //2.6.4. bug workaround
  10533. {$IFDEF VER2_6}
  10534. Procedure TInstanceWithNamedPorts.SetArrayLength(Const AName : String; ALength : Longint);
  10535. begin
  10536. Case AName of
  10537. 'namedports' : SetLength(FnamedPorts,ALength);
  10538. else
  10539. Inherited SetArrayLength(AName,ALength);
  10540. end;
  10541. end;
  10542. {$ENDIF VER2_6}
  10543. { --------------------------------------------------------------------
  10544. TInstancesScopedListTypewarningTypedataItem
  10545. --------------------------------------------------------------------}
  10546. Procedure TInstancesScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  10547. begin
  10548. If (Fkey=AValue) then exit;
  10549. Fkey:=AValue;
  10550. MarkPropertyChanged(AIndex);
  10551. end;
  10552. Procedure TInstancesScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  10553. begin
  10554. If (Fvalue=AValue) then exit;
  10555. Fvalue:=AValue;
  10556. MarkPropertyChanged(AIndex);
  10557. end;
  10558. { --------------------------------------------------------------------
  10559. TInstancesScopedListTypewarning
  10560. --------------------------------------------------------------------}
  10561. Procedure TInstancesScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  10562. begin
  10563. If (Fcode=AValue) then exit;
  10564. Fcode:=AValue;
  10565. MarkPropertyChanged(AIndex);
  10566. end;
  10567. Procedure TInstancesScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TInstancesScopedListTypewarningTypedataArray);
  10568. begin
  10569. If (Fdata=AValue) then exit;
  10570. Fdata:=AValue;
  10571. MarkPropertyChanged(AIndex);
  10572. end;
  10573. Procedure TInstancesScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  10574. begin
  10575. If (Fmessage=AValue) then exit;
  10576. Fmessage:=AValue;
  10577. MarkPropertyChanged(AIndex);
  10578. end;
  10579. //2.6.4. bug workaround
  10580. {$IFDEF VER2_6}
  10581. Procedure TInstancesScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  10582. begin
  10583. Case AName of
  10584. 'data' : SetLength(Fdata,ALength);
  10585. else
  10586. Inherited SetArrayLength(AName,ALength);
  10587. end;
  10588. end;
  10589. {$ENDIF VER2_6}
  10590. { --------------------------------------------------------------------
  10591. TInstancesScopedList
  10592. --------------------------------------------------------------------}
  10593. Procedure TInstancesScopedList.Setinstances(AIndex : Integer; const AValue : TInstancesScopedListTypeinstancesArray);
  10594. begin
  10595. If (Finstances=AValue) then exit;
  10596. Finstances:=AValue;
  10597. MarkPropertyChanged(AIndex);
  10598. end;
  10599. Procedure TInstancesScopedList.Setwarning(AIndex : Integer; const AValue : TInstancesScopedListTypewarning);
  10600. begin
  10601. If (Fwarning=AValue) then exit;
  10602. Fwarning:=AValue;
  10603. MarkPropertyChanged(AIndex);
  10604. end;
  10605. //2.6.4. bug workaround
  10606. {$IFDEF VER2_6}
  10607. Procedure TInstancesScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  10608. begin
  10609. Case AName of
  10610. 'instances' : SetLength(Finstances,ALength);
  10611. else
  10612. Inherited SetArrayLength(AName,ALength);
  10613. end;
  10614. end;
  10615. {$ENDIF VER2_6}
  10616. { --------------------------------------------------------------------
  10617. TInstancesSetMachineTypeRequest
  10618. --------------------------------------------------------------------}
  10619. Procedure TInstancesSetMachineTypeRequest.SetmachineType(AIndex : Integer; const AValue : String);
  10620. begin
  10621. If (FmachineType=AValue) then exit;
  10622. FmachineType:=AValue;
  10623. MarkPropertyChanged(AIndex);
  10624. end;
  10625. { --------------------------------------------------------------------
  10626. TLicense
  10627. --------------------------------------------------------------------}
  10628. Procedure TLicense.SetchargesUseFee(AIndex : Integer; const AValue : boolean);
  10629. begin
  10630. If (FchargesUseFee=AValue) then exit;
  10631. FchargesUseFee:=AValue;
  10632. MarkPropertyChanged(AIndex);
  10633. end;
  10634. Procedure TLicense.Setkind(AIndex : Integer; const AValue : String);
  10635. begin
  10636. If (Fkind=AValue) then exit;
  10637. Fkind:=AValue;
  10638. MarkPropertyChanged(AIndex);
  10639. end;
  10640. Procedure TLicense.Setname(AIndex : Integer; const AValue : String);
  10641. begin
  10642. If (Fname=AValue) then exit;
  10643. Fname:=AValue;
  10644. MarkPropertyChanged(AIndex);
  10645. end;
  10646. Procedure TLicense.SetselfLink(AIndex : Integer; const AValue : String);
  10647. begin
  10648. If (FselfLink=AValue) then exit;
  10649. FselfLink:=AValue;
  10650. MarkPropertyChanged(AIndex);
  10651. end;
  10652. { --------------------------------------------------------------------
  10653. TMachineTypeTypescratchDisksItem
  10654. --------------------------------------------------------------------}
  10655. Procedure TMachineTypeTypescratchDisksItem.SetdiskGb(AIndex : Integer; const AValue : integer);
  10656. begin
  10657. If (FdiskGb=AValue) then exit;
  10658. FdiskGb:=AValue;
  10659. MarkPropertyChanged(AIndex);
  10660. end;
  10661. { --------------------------------------------------------------------
  10662. TMachineType
  10663. --------------------------------------------------------------------}
  10664. Procedure TMachineType.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  10665. begin
  10666. If (FcreationTimestamp=AValue) then exit;
  10667. FcreationTimestamp:=AValue;
  10668. MarkPropertyChanged(AIndex);
  10669. end;
  10670. Procedure TMachineType.Setdeprecated(AIndex : Integer; const AValue : TDeprecationStatus);
  10671. begin
  10672. If (Fdeprecated=AValue) then exit;
  10673. Fdeprecated:=AValue;
  10674. MarkPropertyChanged(AIndex);
  10675. end;
  10676. Procedure TMachineType.Setdescription(AIndex : Integer; const AValue : String);
  10677. begin
  10678. If (Fdescription=AValue) then exit;
  10679. Fdescription:=AValue;
  10680. MarkPropertyChanged(AIndex);
  10681. end;
  10682. Procedure TMachineType.SetguestCpus(AIndex : Integer; const AValue : integer);
  10683. begin
  10684. If (FguestCpus=AValue) then exit;
  10685. FguestCpus:=AValue;
  10686. MarkPropertyChanged(AIndex);
  10687. end;
  10688. Procedure TMachineType.Setid(AIndex : Integer; const AValue : String);
  10689. begin
  10690. If (Fid=AValue) then exit;
  10691. Fid:=AValue;
  10692. MarkPropertyChanged(AIndex);
  10693. end;
  10694. Procedure TMachineType.SetimageSpaceGb(AIndex : Integer; const AValue : integer);
  10695. begin
  10696. If (FimageSpaceGb=AValue) then exit;
  10697. FimageSpaceGb:=AValue;
  10698. MarkPropertyChanged(AIndex);
  10699. end;
  10700. Procedure TMachineType.Setkind(AIndex : Integer; const AValue : String);
  10701. begin
  10702. If (Fkind=AValue) then exit;
  10703. Fkind:=AValue;
  10704. MarkPropertyChanged(AIndex);
  10705. end;
  10706. Procedure TMachineType.SetmaximumPersistentDisks(AIndex : Integer; const AValue : integer);
  10707. begin
  10708. If (FmaximumPersistentDisks=AValue) then exit;
  10709. FmaximumPersistentDisks:=AValue;
  10710. MarkPropertyChanged(AIndex);
  10711. end;
  10712. Procedure TMachineType.SetmaximumPersistentDisksSizeGb(AIndex : Integer; const AValue : String);
  10713. begin
  10714. If (FmaximumPersistentDisksSizeGb=AValue) then exit;
  10715. FmaximumPersistentDisksSizeGb:=AValue;
  10716. MarkPropertyChanged(AIndex);
  10717. end;
  10718. Procedure TMachineType.SetmemoryMb(AIndex : Integer; const AValue : integer);
  10719. begin
  10720. If (FmemoryMb=AValue) then exit;
  10721. FmemoryMb:=AValue;
  10722. MarkPropertyChanged(AIndex);
  10723. end;
  10724. Procedure TMachineType.Setname(AIndex : Integer; const AValue : String);
  10725. begin
  10726. If (Fname=AValue) then exit;
  10727. Fname:=AValue;
  10728. MarkPropertyChanged(AIndex);
  10729. end;
  10730. Procedure TMachineType.SetscratchDisks(AIndex : Integer; const AValue : TMachineTypeTypescratchDisksArray);
  10731. begin
  10732. If (FscratchDisks=AValue) then exit;
  10733. FscratchDisks:=AValue;
  10734. MarkPropertyChanged(AIndex);
  10735. end;
  10736. Procedure TMachineType.SetselfLink(AIndex : Integer; const AValue : String);
  10737. begin
  10738. If (FselfLink=AValue) then exit;
  10739. FselfLink:=AValue;
  10740. MarkPropertyChanged(AIndex);
  10741. end;
  10742. Procedure TMachineType.Setzone(AIndex : Integer; const AValue : String);
  10743. begin
  10744. If (Fzone=AValue) then exit;
  10745. Fzone:=AValue;
  10746. MarkPropertyChanged(AIndex);
  10747. end;
  10748. //2.6.4. bug workaround
  10749. {$IFDEF VER2_6}
  10750. Procedure TMachineType.SetArrayLength(Const AName : String; ALength : Longint);
  10751. begin
  10752. Case AName of
  10753. 'scratchdisks' : SetLength(FscratchDisks,ALength);
  10754. else
  10755. Inherited SetArrayLength(AName,ALength);
  10756. end;
  10757. end;
  10758. {$ENDIF VER2_6}
  10759. { --------------------------------------------------------------------
  10760. TMachineTypeAggregatedListTypeitems
  10761. --------------------------------------------------------------------}
  10762. Class Function TMachineTypeAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  10763. begin
  10764. Result:=True;
  10765. end;
  10766. { --------------------------------------------------------------------
  10767. TMachineTypeAggregatedList
  10768. --------------------------------------------------------------------}
  10769. Procedure TMachineTypeAggregatedList.Setid(AIndex : Integer; const AValue : String);
  10770. begin
  10771. If (Fid=AValue) then exit;
  10772. Fid:=AValue;
  10773. MarkPropertyChanged(AIndex);
  10774. end;
  10775. Procedure TMachineTypeAggregatedList.Setitems(AIndex : Integer; const AValue : TMachineTypeAggregatedListTypeitems);
  10776. begin
  10777. If (Fitems=AValue) then exit;
  10778. Fitems:=AValue;
  10779. MarkPropertyChanged(AIndex);
  10780. end;
  10781. Procedure TMachineTypeAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  10782. begin
  10783. If (Fkind=AValue) then exit;
  10784. Fkind:=AValue;
  10785. MarkPropertyChanged(AIndex);
  10786. end;
  10787. Procedure TMachineTypeAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  10788. begin
  10789. If (FnextPageToken=AValue) then exit;
  10790. FnextPageToken:=AValue;
  10791. MarkPropertyChanged(AIndex);
  10792. end;
  10793. Procedure TMachineTypeAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  10794. begin
  10795. If (FselfLink=AValue) then exit;
  10796. FselfLink:=AValue;
  10797. MarkPropertyChanged(AIndex);
  10798. end;
  10799. { --------------------------------------------------------------------
  10800. TMachineTypeList
  10801. --------------------------------------------------------------------}
  10802. Procedure TMachineTypeList.Setid(AIndex : Integer; const AValue : String);
  10803. begin
  10804. If (Fid=AValue) then exit;
  10805. Fid:=AValue;
  10806. MarkPropertyChanged(AIndex);
  10807. end;
  10808. Procedure TMachineTypeList.Setitems(AIndex : Integer; const AValue : TMachineTypeListTypeitemsArray);
  10809. begin
  10810. If (Fitems=AValue) then exit;
  10811. Fitems:=AValue;
  10812. MarkPropertyChanged(AIndex);
  10813. end;
  10814. Procedure TMachineTypeList.Setkind(AIndex : Integer; const AValue : String);
  10815. begin
  10816. If (Fkind=AValue) then exit;
  10817. Fkind:=AValue;
  10818. MarkPropertyChanged(AIndex);
  10819. end;
  10820. Procedure TMachineTypeList.SetnextPageToken(AIndex : Integer; const AValue : String);
  10821. begin
  10822. If (FnextPageToken=AValue) then exit;
  10823. FnextPageToken:=AValue;
  10824. MarkPropertyChanged(AIndex);
  10825. end;
  10826. Procedure TMachineTypeList.SetselfLink(AIndex : Integer; const AValue : String);
  10827. begin
  10828. If (FselfLink=AValue) then exit;
  10829. FselfLink:=AValue;
  10830. MarkPropertyChanged(AIndex);
  10831. end;
  10832. //2.6.4. bug workaround
  10833. {$IFDEF VER2_6}
  10834. Procedure TMachineTypeList.SetArrayLength(Const AName : String; ALength : Longint);
  10835. begin
  10836. Case AName of
  10837. 'items' : SetLength(Fitems,ALength);
  10838. else
  10839. Inherited SetArrayLength(AName,ALength);
  10840. end;
  10841. end;
  10842. {$ENDIF VER2_6}
  10843. { --------------------------------------------------------------------
  10844. TMachineTypesScopedListTypewarningTypedataItem
  10845. --------------------------------------------------------------------}
  10846. Procedure TMachineTypesScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  10847. begin
  10848. If (Fkey=AValue) then exit;
  10849. Fkey:=AValue;
  10850. MarkPropertyChanged(AIndex);
  10851. end;
  10852. Procedure TMachineTypesScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  10853. begin
  10854. If (Fvalue=AValue) then exit;
  10855. Fvalue:=AValue;
  10856. MarkPropertyChanged(AIndex);
  10857. end;
  10858. { --------------------------------------------------------------------
  10859. TMachineTypesScopedListTypewarning
  10860. --------------------------------------------------------------------}
  10861. Procedure TMachineTypesScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  10862. begin
  10863. If (Fcode=AValue) then exit;
  10864. Fcode:=AValue;
  10865. MarkPropertyChanged(AIndex);
  10866. end;
  10867. Procedure TMachineTypesScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TMachineTypesScopedListTypewarningTypedataArray);
  10868. begin
  10869. If (Fdata=AValue) then exit;
  10870. Fdata:=AValue;
  10871. MarkPropertyChanged(AIndex);
  10872. end;
  10873. Procedure TMachineTypesScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  10874. begin
  10875. If (Fmessage=AValue) then exit;
  10876. Fmessage:=AValue;
  10877. MarkPropertyChanged(AIndex);
  10878. end;
  10879. //2.6.4. bug workaround
  10880. {$IFDEF VER2_6}
  10881. Procedure TMachineTypesScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  10882. begin
  10883. Case AName of
  10884. 'data' : SetLength(Fdata,ALength);
  10885. else
  10886. Inherited SetArrayLength(AName,ALength);
  10887. end;
  10888. end;
  10889. {$ENDIF VER2_6}
  10890. { --------------------------------------------------------------------
  10891. TMachineTypesScopedList
  10892. --------------------------------------------------------------------}
  10893. Procedure TMachineTypesScopedList.SetmachineTypes(AIndex : Integer; const AValue : TMachineTypesScopedListTypemachineTypesArray);
  10894. begin
  10895. If (FmachineTypes=AValue) then exit;
  10896. FmachineTypes:=AValue;
  10897. MarkPropertyChanged(AIndex);
  10898. end;
  10899. Procedure TMachineTypesScopedList.Setwarning(AIndex : Integer; const AValue : TMachineTypesScopedListTypewarning);
  10900. begin
  10901. If (Fwarning=AValue) then exit;
  10902. Fwarning:=AValue;
  10903. MarkPropertyChanged(AIndex);
  10904. end;
  10905. //2.6.4. bug workaround
  10906. {$IFDEF VER2_6}
  10907. Procedure TMachineTypesScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  10908. begin
  10909. Case AName of
  10910. 'machinetypes' : SetLength(FmachineTypes,ALength);
  10911. else
  10912. Inherited SetArrayLength(AName,ALength);
  10913. end;
  10914. end;
  10915. {$ENDIF VER2_6}
  10916. { --------------------------------------------------------------------
  10917. TManagedInstance
  10918. --------------------------------------------------------------------}
  10919. Procedure TManagedInstance.SetcurrentAction(AIndex : Integer; const AValue : String);
  10920. begin
  10921. If (FcurrentAction=AValue) then exit;
  10922. FcurrentAction:=AValue;
  10923. MarkPropertyChanged(AIndex);
  10924. end;
  10925. Procedure TManagedInstance.Setid(AIndex : Integer; const AValue : String);
  10926. begin
  10927. If (Fid=AValue) then exit;
  10928. Fid:=AValue;
  10929. MarkPropertyChanged(AIndex);
  10930. end;
  10931. Procedure TManagedInstance.Setinstance(AIndex : Integer; const AValue : String);
  10932. begin
  10933. If (Finstance=AValue) then exit;
  10934. Finstance:=AValue;
  10935. MarkPropertyChanged(AIndex);
  10936. end;
  10937. Procedure TManagedInstance.SetinstanceStatus(AIndex : Integer; const AValue : String);
  10938. begin
  10939. If (FinstanceStatus=AValue) then exit;
  10940. FinstanceStatus:=AValue;
  10941. MarkPropertyChanged(AIndex);
  10942. end;
  10943. Procedure TManagedInstance.SetlastAttempt(AIndex : Integer; const AValue : TManagedInstanceLastAttempt);
  10944. begin
  10945. If (FlastAttempt=AValue) then exit;
  10946. FlastAttempt:=AValue;
  10947. MarkPropertyChanged(AIndex);
  10948. end;
  10949. { --------------------------------------------------------------------
  10950. TManagedInstanceLastAttemptTypeerrorsTypeerrorsItem
  10951. --------------------------------------------------------------------}
  10952. Procedure TManagedInstanceLastAttemptTypeerrorsTypeerrorsItem.Setcode(AIndex : Integer; const AValue : String);
  10953. begin
  10954. If (Fcode=AValue) then exit;
  10955. Fcode:=AValue;
  10956. MarkPropertyChanged(AIndex);
  10957. end;
  10958. Procedure TManagedInstanceLastAttemptTypeerrorsTypeerrorsItem.Setlocation(AIndex : Integer; const AValue : String);
  10959. begin
  10960. If (Flocation=AValue) then exit;
  10961. Flocation:=AValue;
  10962. MarkPropertyChanged(AIndex);
  10963. end;
  10964. Procedure TManagedInstanceLastAttemptTypeerrorsTypeerrorsItem.Setmessage(AIndex : Integer; const AValue : String);
  10965. begin
  10966. If (Fmessage=AValue) then exit;
  10967. Fmessage:=AValue;
  10968. MarkPropertyChanged(AIndex);
  10969. end;
  10970. { --------------------------------------------------------------------
  10971. TManagedInstanceLastAttemptTypeerrors
  10972. --------------------------------------------------------------------}
  10973. Procedure TManagedInstanceLastAttemptTypeerrors.Seterrors(AIndex : Integer; const AValue : TManagedInstanceLastAttemptTypeerrorsTypeerrorsArray);
  10974. begin
  10975. If (Ferrors=AValue) then exit;
  10976. Ferrors:=AValue;
  10977. MarkPropertyChanged(AIndex);
  10978. end;
  10979. //2.6.4. bug workaround
  10980. {$IFDEF VER2_6}
  10981. Procedure TManagedInstanceLastAttemptTypeerrors.SetArrayLength(Const AName : String; ALength : Longint);
  10982. begin
  10983. Case AName of
  10984. 'errors' : SetLength(Ferrors,ALength);
  10985. else
  10986. Inherited SetArrayLength(AName,ALength);
  10987. end;
  10988. end;
  10989. {$ENDIF VER2_6}
  10990. { --------------------------------------------------------------------
  10991. TManagedInstanceLastAttempt
  10992. --------------------------------------------------------------------}
  10993. Procedure TManagedInstanceLastAttempt.Seterrors(AIndex : Integer; const AValue : TManagedInstanceLastAttemptTypeerrors);
  10994. begin
  10995. If (Ferrors=AValue) then exit;
  10996. Ferrors:=AValue;
  10997. MarkPropertyChanged(AIndex);
  10998. end;
  10999. { --------------------------------------------------------------------
  11000. TMetadataTypeitemsItem
  11001. --------------------------------------------------------------------}
  11002. Procedure TMetadataTypeitemsItem.Setkey(AIndex : Integer; const AValue : String);
  11003. begin
  11004. If (Fkey=AValue) then exit;
  11005. Fkey:=AValue;
  11006. MarkPropertyChanged(AIndex);
  11007. end;
  11008. Procedure TMetadataTypeitemsItem.Setvalue(AIndex : Integer; const AValue : String);
  11009. begin
  11010. If (Fvalue=AValue) then exit;
  11011. Fvalue:=AValue;
  11012. MarkPropertyChanged(AIndex);
  11013. end;
  11014. { --------------------------------------------------------------------
  11015. TMetadata
  11016. --------------------------------------------------------------------}
  11017. Procedure TMetadata.Setfingerprint(AIndex : Integer; const AValue : String);
  11018. begin
  11019. If (Ffingerprint=AValue) then exit;
  11020. Ffingerprint:=AValue;
  11021. MarkPropertyChanged(AIndex);
  11022. end;
  11023. Procedure TMetadata.Setitems(AIndex : Integer; const AValue : TMetadataTypeitemsArray);
  11024. begin
  11025. If (Fitems=AValue) then exit;
  11026. Fitems:=AValue;
  11027. MarkPropertyChanged(AIndex);
  11028. end;
  11029. Procedure TMetadata.Setkind(AIndex : Integer; const AValue : String);
  11030. begin
  11031. If (Fkind=AValue) then exit;
  11032. Fkind:=AValue;
  11033. MarkPropertyChanged(AIndex);
  11034. end;
  11035. //2.6.4. bug workaround
  11036. {$IFDEF VER2_6}
  11037. Procedure TMetadata.SetArrayLength(Const AName : String; ALength : Longint);
  11038. begin
  11039. Case AName of
  11040. 'items' : SetLength(Fitems,ALength);
  11041. else
  11042. Inherited SetArrayLength(AName,ALength);
  11043. end;
  11044. end;
  11045. {$ENDIF VER2_6}
  11046. { --------------------------------------------------------------------
  11047. TNamedPort
  11048. --------------------------------------------------------------------}
  11049. Procedure TNamedPort.Setname(AIndex : Integer; const AValue : String);
  11050. begin
  11051. If (Fname=AValue) then exit;
  11052. Fname:=AValue;
  11053. MarkPropertyChanged(AIndex);
  11054. end;
  11055. Procedure TNamedPort.Setport(AIndex : Integer; const AValue : integer);
  11056. begin
  11057. If (Fport=AValue) then exit;
  11058. Fport:=AValue;
  11059. MarkPropertyChanged(AIndex);
  11060. end;
  11061. { --------------------------------------------------------------------
  11062. TNetwork
  11063. --------------------------------------------------------------------}
  11064. Procedure TNetwork.SetIPv4Range(AIndex : Integer; const AValue : String);
  11065. begin
  11066. If (FIPv4Range=AValue) then exit;
  11067. FIPv4Range:=AValue;
  11068. MarkPropertyChanged(AIndex);
  11069. end;
  11070. Procedure TNetwork.SetautoCreateSubnetworks(AIndex : Integer; const AValue : boolean);
  11071. begin
  11072. If (FautoCreateSubnetworks=AValue) then exit;
  11073. FautoCreateSubnetworks:=AValue;
  11074. MarkPropertyChanged(AIndex);
  11075. end;
  11076. Procedure TNetwork.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  11077. begin
  11078. If (FcreationTimestamp=AValue) then exit;
  11079. FcreationTimestamp:=AValue;
  11080. MarkPropertyChanged(AIndex);
  11081. end;
  11082. Procedure TNetwork.Setdescription(AIndex : Integer; const AValue : String);
  11083. begin
  11084. If (Fdescription=AValue) then exit;
  11085. Fdescription:=AValue;
  11086. MarkPropertyChanged(AIndex);
  11087. end;
  11088. Procedure TNetwork.SetgatewayIPv4(AIndex : Integer; const AValue : String);
  11089. begin
  11090. If (FgatewayIPv4=AValue) then exit;
  11091. FgatewayIPv4:=AValue;
  11092. MarkPropertyChanged(AIndex);
  11093. end;
  11094. Procedure TNetwork.Setid(AIndex : Integer; const AValue : String);
  11095. begin
  11096. If (Fid=AValue) then exit;
  11097. Fid:=AValue;
  11098. MarkPropertyChanged(AIndex);
  11099. end;
  11100. Procedure TNetwork.Setkind(AIndex : Integer; const AValue : String);
  11101. begin
  11102. If (Fkind=AValue) then exit;
  11103. Fkind:=AValue;
  11104. MarkPropertyChanged(AIndex);
  11105. end;
  11106. Procedure TNetwork.Setname(AIndex : Integer; const AValue : String);
  11107. begin
  11108. If (Fname=AValue) then exit;
  11109. Fname:=AValue;
  11110. MarkPropertyChanged(AIndex);
  11111. end;
  11112. Procedure TNetwork.SetselfLink(AIndex : Integer; const AValue : String);
  11113. begin
  11114. If (FselfLink=AValue) then exit;
  11115. FselfLink:=AValue;
  11116. MarkPropertyChanged(AIndex);
  11117. end;
  11118. Procedure TNetwork.Setsubnetworks(AIndex : Integer; const AValue : TStringArray);
  11119. begin
  11120. If (Fsubnetworks=AValue) then exit;
  11121. Fsubnetworks:=AValue;
  11122. MarkPropertyChanged(AIndex);
  11123. end;
  11124. //2.6.4. bug workaround
  11125. {$IFDEF VER2_6}
  11126. Procedure TNetwork.SetArrayLength(Const AName : String; ALength : Longint);
  11127. begin
  11128. Case AName of
  11129. 'subnetworks' : SetLength(Fsubnetworks,ALength);
  11130. else
  11131. Inherited SetArrayLength(AName,ALength);
  11132. end;
  11133. end;
  11134. {$ENDIF VER2_6}
  11135. { --------------------------------------------------------------------
  11136. TNetworkInterface
  11137. --------------------------------------------------------------------}
  11138. Procedure TNetworkInterface.SetaccessConfigs(AIndex : Integer; const AValue : TNetworkInterfaceTypeaccessConfigsArray);
  11139. begin
  11140. If (FaccessConfigs=AValue) then exit;
  11141. FaccessConfigs:=AValue;
  11142. MarkPropertyChanged(AIndex);
  11143. end;
  11144. Procedure TNetworkInterface.Setname(AIndex : Integer; const AValue : String);
  11145. begin
  11146. If (Fname=AValue) then exit;
  11147. Fname:=AValue;
  11148. MarkPropertyChanged(AIndex);
  11149. end;
  11150. Procedure TNetworkInterface.Setnetwork(AIndex : Integer; const AValue : String);
  11151. begin
  11152. If (Fnetwork=AValue) then exit;
  11153. Fnetwork:=AValue;
  11154. MarkPropertyChanged(AIndex);
  11155. end;
  11156. Procedure TNetworkInterface.SetnetworkIP(AIndex : Integer; const AValue : String);
  11157. begin
  11158. If (FnetworkIP=AValue) then exit;
  11159. FnetworkIP:=AValue;
  11160. MarkPropertyChanged(AIndex);
  11161. end;
  11162. Procedure TNetworkInterface.Setsubnetwork(AIndex : Integer; const AValue : String);
  11163. begin
  11164. If (Fsubnetwork=AValue) then exit;
  11165. Fsubnetwork:=AValue;
  11166. MarkPropertyChanged(AIndex);
  11167. end;
  11168. //2.6.4. bug workaround
  11169. {$IFDEF VER2_6}
  11170. Procedure TNetworkInterface.SetArrayLength(Const AName : String; ALength : Longint);
  11171. begin
  11172. Case AName of
  11173. 'accessconfigs' : SetLength(FaccessConfigs,ALength);
  11174. else
  11175. Inherited SetArrayLength(AName,ALength);
  11176. end;
  11177. end;
  11178. {$ENDIF VER2_6}
  11179. { --------------------------------------------------------------------
  11180. TNetworkList
  11181. --------------------------------------------------------------------}
  11182. Procedure TNetworkList.Setid(AIndex : Integer; const AValue : String);
  11183. begin
  11184. If (Fid=AValue) then exit;
  11185. Fid:=AValue;
  11186. MarkPropertyChanged(AIndex);
  11187. end;
  11188. Procedure TNetworkList.Setitems(AIndex : Integer; const AValue : TNetworkListTypeitemsArray);
  11189. begin
  11190. If (Fitems=AValue) then exit;
  11191. Fitems:=AValue;
  11192. MarkPropertyChanged(AIndex);
  11193. end;
  11194. Procedure TNetworkList.Setkind(AIndex : Integer; const AValue : String);
  11195. begin
  11196. If (Fkind=AValue) then exit;
  11197. Fkind:=AValue;
  11198. MarkPropertyChanged(AIndex);
  11199. end;
  11200. Procedure TNetworkList.SetnextPageToken(AIndex : Integer; const AValue : String);
  11201. begin
  11202. If (FnextPageToken=AValue) then exit;
  11203. FnextPageToken:=AValue;
  11204. MarkPropertyChanged(AIndex);
  11205. end;
  11206. Procedure TNetworkList.SetselfLink(AIndex : Integer; const AValue : String);
  11207. begin
  11208. If (FselfLink=AValue) then exit;
  11209. FselfLink:=AValue;
  11210. MarkPropertyChanged(AIndex);
  11211. end;
  11212. //2.6.4. bug workaround
  11213. {$IFDEF VER2_6}
  11214. Procedure TNetworkList.SetArrayLength(Const AName : String; ALength : Longint);
  11215. begin
  11216. Case AName of
  11217. 'items' : SetLength(Fitems,ALength);
  11218. else
  11219. Inherited SetArrayLength(AName,ALength);
  11220. end;
  11221. end;
  11222. {$ENDIF VER2_6}
  11223. { --------------------------------------------------------------------
  11224. TOperationTypeerrorTypeerrorsItem
  11225. --------------------------------------------------------------------}
  11226. Procedure TOperationTypeerrorTypeerrorsItem.Setcode(AIndex : Integer; const AValue : String);
  11227. begin
  11228. If (Fcode=AValue) then exit;
  11229. Fcode:=AValue;
  11230. MarkPropertyChanged(AIndex);
  11231. end;
  11232. Procedure TOperationTypeerrorTypeerrorsItem.Setlocation(AIndex : Integer; const AValue : String);
  11233. begin
  11234. If (Flocation=AValue) then exit;
  11235. Flocation:=AValue;
  11236. MarkPropertyChanged(AIndex);
  11237. end;
  11238. Procedure TOperationTypeerrorTypeerrorsItem.Setmessage(AIndex : Integer; const AValue : String);
  11239. begin
  11240. If (Fmessage=AValue) then exit;
  11241. Fmessage:=AValue;
  11242. MarkPropertyChanged(AIndex);
  11243. end;
  11244. { --------------------------------------------------------------------
  11245. TOperationTypeerror
  11246. --------------------------------------------------------------------}
  11247. Procedure TOperationTypeerror.Seterrors(AIndex : Integer; const AValue : TOperationTypeerrorTypeerrorsArray);
  11248. begin
  11249. If (Ferrors=AValue) then exit;
  11250. Ferrors:=AValue;
  11251. MarkPropertyChanged(AIndex);
  11252. end;
  11253. //2.6.4. bug workaround
  11254. {$IFDEF VER2_6}
  11255. Procedure TOperationTypeerror.SetArrayLength(Const AName : String; ALength : Longint);
  11256. begin
  11257. Case AName of
  11258. 'errors' : SetLength(Ferrors,ALength);
  11259. else
  11260. Inherited SetArrayLength(AName,ALength);
  11261. end;
  11262. end;
  11263. {$ENDIF VER2_6}
  11264. { --------------------------------------------------------------------
  11265. TOperationTypewarningsItemTypedataItem
  11266. --------------------------------------------------------------------}
  11267. Procedure TOperationTypewarningsItemTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  11268. begin
  11269. If (Fkey=AValue) then exit;
  11270. Fkey:=AValue;
  11271. MarkPropertyChanged(AIndex);
  11272. end;
  11273. Procedure TOperationTypewarningsItemTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  11274. begin
  11275. If (Fvalue=AValue) then exit;
  11276. Fvalue:=AValue;
  11277. MarkPropertyChanged(AIndex);
  11278. end;
  11279. { --------------------------------------------------------------------
  11280. TOperationTypewarningsItem
  11281. --------------------------------------------------------------------}
  11282. Procedure TOperationTypewarningsItem.Setcode(AIndex : Integer; const AValue : String);
  11283. begin
  11284. If (Fcode=AValue) then exit;
  11285. Fcode:=AValue;
  11286. MarkPropertyChanged(AIndex);
  11287. end;
  11288. Procedure TOperationTypewarningsItem.Setdata(AIndex : Integer; const AValue : TOperationTypewarningsItemTypedataArray);
  11289. begin
  11290. If (Fdata=AValue) then exit;
  11291. Fdata:=AValue;
  11292. MarkPropertyChanged(AIndex);
  11293. end;
  11294. Procedure TOperationTypewarningsItem.Setmessage(AIndex : Integer; const AValue : String);
  11295. begin
  11296. If (Fmessage=AValue) then exit;
  11297. Fmessage:=AValue;
  11298. MarkPropertyChanged(AIndex);
  11299. end;
  11300. //2.6.4. bug workaround
  11301. {$IFDEF VER2_6}
  11302. Procedure TOperationTypewarningsItem.SetArrayLength(Const AName : String; ALength : Longint);
  11303. begin
  11304. Case AName of
  11305. 'data' : SetLength(Fdata,ALength);
  11306. else
  11307. Inherited SetArrayLength(AName,ALength);
  11308. end;
  11309. end;
  11310. {$ENDIF VER2_6}
  11311. { --------------------------------------------------------------------
  11312. TOperation
  11313. --------------------------------------------------------------------}
  11314. Procedure TOperation.SetclientOperationId(AIndex : Integer; const AValue : String);
  11315. begin
  11316. If (FclientOperationId=AValue) then exit;
  11317. FclientOperationId:=AValue;
  11318. MarkPropertyChanged(AIndex);
  11319. end;
  11320. Procedure TOperation.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  11321. begin
  11322. If (FcreationTimestamp=AValue) then exit;
  11323. FcreationTimestamp:=AValue;
  11324. MarkPropertyChanged(AIndex);
  11325. end;
  11326. Procedure TOperation.Setdescription(AIndex : Integer; const AValue : String);
  11327. begin
  11328. If (Fdescription=AValue) then exit;
  11329. Fdescription:=AValue;
  11330. MarkPropertyChanged(AIndex);
  11331. end;
  11332. Procedure TOperation.SetendTime(AIndex : Integer; const AValue : String);
  11333. begin
  11334. If (FendTime=AValue) then exit;
  11335. FendTime:=AValue;
  11336. MarkPropertyChanged(AIndex);
  11337. end;
  11338. Procedure TOperation.Seterror(AIndex : Integer; const AValue : TOperationTypeerror);
  11339. begin
  11340. If (Ferror=AValue) then exit;
  11341. Ferror:=AValue;
  11342. MarkPropertyChanged(AIndex);
  11343. end;
  11344. Procedure TOperation.SethttpErrorMessage(AIndex : Integer; const AValue : String);
  11345. begin
  11346. If (FhttpErrorMessage=AValue) then exit;
  11347. FhttpErrorMessage:=AValue;
  11348. MarkPropertyChanged(AIndex);
  11349. end;
  11350. Procedure TOperation.SethttpErrorStatusCode(AIndex : Integer; const AValue : integer);
  11351. begin
  11352. If (FhttpErrorStatusCode=AValue) then exit;
  11353. FhttpErrorStatusCode:=AValue;
  11354. MarkPropertyChanged(AIndex);
  11355. end;
  11356. Procedure TOperation.Setid(AIndex : Integer; const AValue : String);
  11357. begin
  11358. If (Fid=AValue) then exit;
  11359. Fid:=AValue;
  11360. MarkPropertyChanged(AIndex);
  11361. end;
  11362. Procedure TOperation.SetinsertTime(AIndex : Integer; const AValue : String);
  11363. begin
  11364. If (FinsertTime=AValue) then exit;
  11365. FinsertTime:=AValue;
  11366. MarkPropertyChanged(AIndex);
  11367. end;
  11368. Procedure TOperation.Setkind(AIndex : Integer; const AValue : String);
  11369. begin
  11370. If (Fkind=AValue) then exit;
  11371. Fkind:=AValue;
  11372. MarkPropertyChanged(AIndex);
  11373. end;
  11374. Procedure TOperation.Setname(AIndex : Integer; const AValue : String);
  11375. begin
  11376. If (Fname=AValue) then exit;
  11377. Fname:=AValue;
  11378. MarkPropertyChanged(AIndex);
  11379. end;
  11380. Procedure TOperation.SetoperationType(AIndex : Integer; const AValue : String);
  11381. begin
  11382. If (FoperationType=AValue) then exit;
  11383. FoperationType:=AValue;
  11384. MarkPropertyChanged(AIndex);
  11385. end;
  11386. Procedure TOperation.Setprogress(AIndex : Integer; const AValue : integer);
  11387. begin
  11388. If (Fprogress=AValue) then exit;
  11389. Fprogress:=AValue;
  11390. MarkPropertyChanged(AIndex);
  11391. end;
  11392. Procedure TOperation.Setregion(AIndex : Integer; const AValue : String);
  11393. begin
  11394. If (Fregion=AValue) then exit;
  11395. Fregion:=AValue;
  11396. MarkPropertyChanged(AIndex);
  11397. end;
  11398. Procedure TOperation.SetselfLink(AIndex : Integer; const AValue : String);
  11399. begin
  11400. If (FselfLink=AValue) then exit;
  11401. FselfLink:=AValue;
  11402. MarkPropertyChanged(AIndex);
  11403. end;
  11404. Procedure TOperation.SetstartTime(AIndex : Integer; const AValue : String);
  11405. begin
  11406. If (FstartTime=AValue) then exit;
  11407. FstartTime:=AValue;
  11408. MarkPropertyChanged(AIndex);
  11409. end;
  11410. Procedure TOperation.Setstatus(AIndex : Integer; const AValue : String);
  11411. begin
  11412. If (Fstatus=AValue) then exit;
  11413. Fstatus:=AValue;
  11414. MarkPropertyChanged(AIndex);
  11415. end;
  11416. Procedure TOperation.SetstatusMessage(AIndex : Integer; const AValue : String);
  11417. begin
  11418. If (FstatusMessage=AValue) then exit;
  11419. FstatusMessage:=AValue;
  11420. MarkPropertyChanged(AIndex);
  11421. end;
  11422. Procedure TOperation.SettargetId(AIndex : Integer; const AValue : String);
  11423. begin
  11424. If (FtargetId=AValue) then exit;
  11425. FtargetId:=AValue;
  11426. MarkPropertyChanged(AIndex);
  11427. end;
  11428. Procedure TOperation.SettargetLink(AIndex : Integer; const AValue : String);
  11429. begin
  11430. If (FtargetLink=AValue) then exit;
  11431. FtargetLink:=AValue;
  11432. MarkPropertyChanged(AIndex);
  11433. end;
  11434. Procedure TOperation.Setuser(AIndex : Integer; const AValue : String);
  11435. begin
  11436. If (Fuser=AValue) then exit;
  11437. Fuser:=AValue;
  11438. MarkPropertyChanged(AIndex);
  11439. end;
  11440. Procedure TOperation.Setwarnings(AIndex : Integer; const AValue : TOperationTypewarningsArray);
  11441. begin
  11442. If (Fwarnings=AValue) then exit;
  11443. Fwarnings:=AValue;
  11444. MarkPropertyChanged(AIndex);
  11445. end;
  11446. Procedure TOperation.Setzone(AIndex : Integer; const AValue : String);
  11447. begin
  11448. If (Fzone=AValue) then exit;
  11449. Fzone:=AValue;
  11450. MarkPropertyChanged(AIndex);
  11451. end;
  11452. //2.6.4. bug workaround
  11453. {$IFDEF VER2_6}
  11454. Procedure TOperation.SetArrayLength(Const AName : String; ALength : Longint);
  11455. begin
  11456. Case AName of
  11457. 'warnings' : SetLength(Fwarnings,ALength);
  11458. else
  11459. Inherited SetArrayLength(AName,ALength);
  11460. end;
  11461. end;
  11462. {$ENDIF VER2_6}
  11463. { --------------------------------------------------------------------
  11464. TOperationAggregatedListTypeitems
  11465. --------------------------------------------------------------------}
  11466. Class Function TOperationAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  11467. begin
  11468. Result:=True;
  11469. end;
  11470. { --------------------------------------------------------------------
  11471. TOperationAggregatedList
  11472. --------------------------------------------------------------------}
  11473. Procedure TOperationAggregatedList.Setid(AIndex : Integer; const AValue : String);
  11474. begin
  11475. If (Fid=AValue) then exit;
  11476. Fid:=AValue;
  11477. MarkPropertyChanged(AIndex);
  11478. end;
  11479. Procedure TOperationAggregatedList.Setitems(AIndex : Integer; const AValue : TOperationAggregatedListTypeitems);
  11480. begin
  11481. If (Fitems=AValue) then exit;
  11482. Fitems:=AValue;
  11483. MarkPropertyChanged(AIndex);
  11484. end;
  11485. Procedure TOperationAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  11486. begin
  11487. If (Fkind=AValue) then exit;
  11488. Fkind:=AValue;
  11489. MarkPropertyChanged(AIndex);
  11490. end;
  11491. Procedure TOperationAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  11492. begin
  11493. If (FnextPageToken=AValue) then exit;
  11494. FnextPageToken:=AValue;
  11495. MarkPropertyChanged(AIndex);
  11496. end;
  11497. Procedure TOperationAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  11498. begin
  11499. If (FselfLink=AValue) then exit;
  11500. FselfLink:=AValue;
  11501. MarkPropertyChanged(AIndex);
  11502. end;
  11503. { --------------------------------------------------------------------
  11504. TOperationList
  11505. --------------------------------------------------------------------}
  11506. Procedure TOperationList.Setid(AIndex : Integer; const AValue : String);
  11507. begin
  11508. If (Fid=AValue) then exit;
  11509. Fid:=AValue;
  11510. MarkPropertyChanged(AIndex);
  11511. end;
  11512. Procedure TOperationList.Setitems(AIndex : Integer; const AValue : TOperationListTypeitemsArray);
  11513. begin
  11514. If (Fitems=AValue) then exit;
  11515. Fitems:=AValue;
  11516. MarkPropertyChanged(AIndex);
  11517. end;
  11518. Procedure TOperationList.Setkind(AIndex : Integer; const AValue : String);
  11519. begin
  11520. If (Fkind=AValue) then exit;
  11521. Fkind:=AValue;
  11522. MarkPropertyChanged(AIndex);
  11523. end;
  11524. Procedure TOperationList.SetnextPageToken(AIndex : Integer; const AValue : String);
  11525. begin
  11526. If (FnextPageToken=AValue) then exit;
  11527. FnextPageToken:=AValue;
  11528. MarkPropertyChanged(AIndex);
  11529. end;
  11530. Procedure TOperationList.SetselfLink(AIndex : Integer; const AValue : String);
  11531. begin
  11532. If (FselfLink=AValue) then exit;
  11533. FselfLink:=AValue;
  11534. MarkPropertyChanged(AIndex);
  11535. end;
  11536. //2.6.4. bug workaround
  11537. {$IFDEF VER2_6}
  11538. Procedure TOperationList.SetArrayLength(Const AName : String; ALength : Longint);
  11539. begin
  11540. Case AName of
  11541. 'items' : SetLength(Fitems,ALength);
  11542. else
  11543. Inherited SetArrayLength(AName,ALength);
  11544. end;
  11545. end;
  11546. {$ENDIF VER2_6}
  11547. { --------------------------------------------------------------------
  11548. TOperationsScopedListTypewarningTypedataItem
  11549. --------------------------------------------------------------------}
  11550. Procedure TOperationsScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  11551. begin
  11552. If (Fkey=AValue) then exit;
  11553. Fkey:=AValue;
  11554. MarkPropertyChanged(AIndex);
  11555. end;
  11556. Procedure TOperationsScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  11557. begin
  11558. If (Fvalue=AValue) then exit;
  11559. Fvalue:=AValue;
  11560. MarkPropertyChanged(AIndex);
  11561. end;
  11562. { --------------------------------------------------------------------
  11563. TOperationsScopedListTypewarning
  11564. --------------------------------------------------------------------}
  11565. Procedure TOperationsScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  11566. begin
  11567. If (Fcode=AValue) then exit;
  11568. Fcode:=AValue;
  11569. MarkPropertyChanged(AIndex);
  11570. end;
  11571. Procedure TOperationsScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TOperationsScopedListTypewarningTypedataArray);
  11572. begin
  11573. If (Fdata=AValue) then exit;
  11574. Fdata:=AValue;
  11575. MarkPropertyChanged(AIndex);
  11576. end;
  11577. Procedure TOperationsScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  11578. begin
  11579. If (Fmessage=AValue) then exit;
  11580. Fmessage:=AValue;
  11581. MarkPropertyChanged(AIndex);
  11582. end;
  11583. //2.6.4. bug workaround
  11584. {$IFDEF VER2_6}
  11585. Procedure TOperationsScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  11586. begin
  11587. Case AName of
  11588. 'data' : SetLength(Fdata,ALength);
  11589. else
  11590. Inherited SetArrayLength(AName,ALength);
  11591. end;
  11592. end;
  11593. {$ENDIF VER2_6}
  11594. { --------------------------------------------------------------------
  11595. TOperationsScopedList
  11596. --------------------------------------------------------------------}
  11597. Procedure TOperationsScopedList.Setoperations(AIndex : Integer; const AValue : TOperationsScopedListTypeoperationsArray);
  11598. begin
  11599. If (Foperations=AValue) then exit;
  11600. Foperations:=AValue;
  11601. MarkPropertyChanged(AIndex);
  11602. end;
  11603. Procedure TOperationsScopedList.Setwarning(AIndex : Integer; const AValue : TOperationsScopedListTypewarning);
  11604. begin
  11605. If (Fwarning=AValue) then exit;
  11606. Fwarning:=AValue;
  11607. MarkPropertyChanged(AIndex);
  11608. end;
  11609. //2.6.4. bug workaround
  11610. {$IFDEF VER2_6}
  11611. Procedure TOperationsScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  11612. begin
  11613. Case AName of
  11614. 'operations' : SetLength(Foperations,ALength);
  11615. else
  11616. Inherited SetArrayLength(AName,ALength);
  11617. end;
  11618. end;
  11619. {$ENDIF VER2_6}
  11620. { --------------------------------------------------------------------
  11621. TPathMatcher
  11622. --------------------------------------------------------------------}
  11623. Procedure TPathMatcher.SetdefaultService(AIndex : Integer; const AValue : String);
  11624. begin
  11625. If (FdefaultService=AValue) then exit;
  11626. FdefaultService:=AValue;
  11627. MarkPropertyChanged(AIndex);
  11628. end;
  11629. Procedure TPathMatcher.Setdescription(AIndex : Integer; const AValue : String);
  11630. begin
  11631. If (Fdescription=AValue) then exit;
  11632. Fdescription:=AValue;
  11633. MarkPropertyChanged(AIndex);
  11634. end;
  11635. Procedure TPathMatcher.Setname(AIndex : Integer; const AValue : String);
  11636. begin
  11637. If (Fname=AValue) then exit;
  11638. Fname:=AValue;
  11639. MarkPropertyChanged(AIndex);
  11640. end;
  11641. Procedure TPathMatcher.SetpathRules(AIndex : Integer; const AValue : TPathMatcherTypepathRulesArray);
  11642. begin
  11643. If (FpathRules=AValue) then exit;
  11644. FpathRules:=AValue;
  11645. MarkPropertyChanged(AIndex);
  11646. end;
  11647. //2.6.4. bug workaround
  11648. {$IFDEF VER2_6}
  11649. Procedure TPathMatcher.SetArrayLength(Const AName : String; ALength : Longint);
  11650. begin
  11651. Case AName of
  11652. 'pathrules' : SetLength(FpathRules,ALength);
  11653. else
  11654. Inherited SetArrayLength(AName,ALength);
  11655. end;
  11656. end;
  11657. {$ENDIF VER2_6}
  11658. { --------------------------------------------------------------------
  11659. TPathRule
  11660. --------------------------------------------------------------------}
  11661. Procedure TPathRule.Setpaths(AIndex : Integer; const AValue : TStringArray);
  11662. begin
  11663. If (Fpaths=AValue) then exit;
  11664. Fpaths:=AValue;
  11665. MarkPropertyChanged(AIndex);
  11666. end;
  11667. Procedure TPathRule.Setservice(AIndex : Integer; const AValue : String);
  11668. begin
  11669. If (Fservice=AValue) then exit;
  11670. Fservice:=AValue;
  11671. MarkPropertyChanged(AIndex);
  11672. end;
  11673. //2.6.4. bug workaround
  11674. {$IFDEF VER2_6}
  11675. Procedure TPathRule.SetArrayLength(Const AName : String; ALength : Longint);
  11676. begin
  11677. Case AName of
  11678. 'paths' : SetLength(Fpaths,ALength);
  11679. else
  11680. Inherited SetArrayLength(AName,ALength);
  11681. end;
  11682. end;
  11683. {$ENDIF VER2_6}
  11684. { --------------------------------------------------------------------
  11685. TProject
  11686. --------------------------------------------------------------------}
  11687. Procedure TProject.SetcommonInstanceMetadata(AIndex : Integer; const AValue : TMetadata);
  11688. begin
  11689. If (FcommonInstanceMetadata=AValue) then exit;
  11690. FcommonInstanceMetadata:=AValue;
  11691. MarkPropertyChanged(AIndex);
  11692. end;
  11693. Procedure TProject.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  11694. begin
  11695. If (FcreationTimestamp=AValue) then exit;
  11696. FcreationTimestamp:=AValue;
  11697. MarkPropertyChanged(AIndex);
  11698. end;
  11699. Procedure TProject.Setdescription(AIndex : Integer; const AValue : String);
  11700. begin
  11701. If (Fdescription=AValue) then exit;
  11702. Fdescription:=AValue;
  11703. MarkPropertyChanged(AIndex);
  11704. end;
  11705. Procedure TProject.SetenabledFeatures(AIndex : Integer; const AValue : TStringArray);
  11706. begin
  11707. If (FenabledFeatures=AValue) then exit;
  11708. FenabledFeatures:=AValue;
  11709. MarkPropertyChanged(AIndex);
  11710. end;
  11711. Procedure TProject.Setid(AIndex : Integer; const AValue : String);
  11712. begin
  11713. If (Fid=AValue) then exit;
  11714. Fid:=AValue;
  11715. MarkPropertyChanged(AIndex);
  11716. end;
  11717. Procedure TProject.Setkind(AIndex : Integer; const AValue : String);
  11718. begin
  11719. If (Fkind=AValue) then exit;
  11720. Fkind:=AValue;
  11721. MarkPropertyChanged(AIndex);
  11722. end;
  11723. Procedure TProject.Setname(AIndex : Integer; const AValue : String);
  11724. begin
  11725. If (Fname=AValue) then exit;
  11726. Fname:=AValue;
  11727. MarkPropertyChanged(AIndex);
  11728. end;
  11729. Procedure TProject.Setquotas(AIndex : Integer; const AValue : TProjectTypequotasArray);
  11730. begin
  11731. If (Fquotas=AValue) then exit;
  11732. Fquotas:=AValue;
  11733. MarkPropertyChanged(AIndex);
  11734. end;
  11735. Procedure TProject.SetselfLink(AIndex : Integer; const AValue : String);
  11736. begin
  11737. If (FselfLink=AValue) then exit;
  11738. FselfLink:=AValue;
  11739. MarkPropertyChanged(AIndex);
  11740. end;
  11741. Procedure TProject.SetusageExportLocation(AIndex : Integer; const AValue : TUsageExportLocation);
  11742. begin
  11743. If (FusageExportLocation=AValue) then exit;
  11744. FusageExportLocation:=AValue;
  11745. MarkPropertyChanged(AIndex);
  11746. end;
  11747. //2.6.4. bug workaround
  11748. {$IFDEF VER2_6}
  11749. Procedure TProject.SetArrayLength(Const AName : String; ALength : Longint);
  11750. begin
  11751. Case AName of
  11752. 'enabledfeatures' : SetLength(FenabledFeatures,ALength);
  11753. 'quotas' : SetLength(Fquotas,ALength);
  11754. else
  11755. Inherited SetArrayLength(AName,ALength);
  11756. end;
  11757. end;
  11758. {$ENDIF VER2_6}
  11759. { --------------------------------------------------------------------
  11760. TQuota
  11761. --------------------------------------------------------------------}
  11762. Procedure TQuota.Setlimit(AIndex : Integer; const AValue : double);
  11763. begin
  11764. If (Flimit=AValue) then exit;
  11765. Flimit:=AValue;
  11766. MarkPropertyChanged(AIndex);
  11767. end;
  11768. Procedure TQuota.Setmetric(AIndex : Integer; const AValue : String);
  11769. begin
  11770. If (Fmetric=AValue) then exit;
  11771. Fmetric:=AValue;
  11772. MarkPropertyChanged(AIndex);
  11773. end;
  11774. Procedure TQuota.Setusage(AIndex : Integer; const AValue : double);
  11775. begin
  11776. If (Fusage=AValue) then exit;
  11777. Fusage:=AValue;
  11778. MarkPropertyChanged(AIndex);
  11779. end;
  11780. { --------------------------------------------------------------------
  11781. TRegion
  11782. --------------------------------------------------------------------}
  11783. Procedure TRegion.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  11784. begin
  11785. If (FcreationTimestamp=AValue) then exit;
  11786. FcreationTimestamp:=AValue;
  11787. MarkPropertyChanged(AIndex);
  11788. end;
  11789. Procedure TRegion.Setdeprecated(AIndex : Integer; const AValue : TDeprecationStatus);
  11790. begin
  11791. If (Fdeprecated=AValue) then exit;
  11792. Fdeprecated:=AValue;
  11793. MarkPropertyChanged(AIndex);
  11794. end;
  11795. Procedure TRegion.Setdescription(AIndex : Integer; const AValue : String);
  11796. begin
  11797. If (Fdescription=AValue) then exit;
  11798. Fdescription:=AValue;
  11799. MarkPropertyChanged(AIndex);
  11800. end;
  11801. Procedure TRegion.Setid(AIndex : Integer; const AValue : String);
  11802. begin
  11803. If (Fid=AValue) then exit;
  11804. Fid:=AValue;
  11805. MarkPropertyChanged(AIndex);
  11806. end;
  11807. Procedure TRegion.Setkind(AIndex : Integer; const AValue : String);
  11808. begin
  11809. If (Fkind=AValue) then exit;
  11810. Fkind:=AValue;
  11811. MarkPropertyChanged(AIndex);
  11812. end;
  11813. Procedure TRegion.Setname(AIndex : Integer; const AValue : String);
  11814. begin
  11815. If (Fname=AValue) then exit;
  11816. Fname:=AValue;
  11817. MarkPropertyChanged(AIndex);
  11818. end;
  11819. Procedure TRegion.Setquotas(AIndex : Integer; const AValue : TRegionTypequotasArray);
  11820. begin
  11821. If (Fquotas=AValue) then exit;
  11822. Fquotas:=AValue;
  11823. MarkPropertyChanged(AIndex);
  11824. end;
  11825. Procedure TRegion.SetselfLink(AIndex : Integer; const AValue : String);
  11826. begin
  11827. If (FselfLink=AValue) then exit;
  11828. FselfLink:=AValue;
  11829. MarkPropertyChanged(AIndex);
  11830. end;
  11831. Procedure TRegion.Setstatus(AIndex : Integer; const AValue : String);
  11832. begin
  11833. If (Fstatus=AValue) then exit;
  11834. Fstatus:=AValue;
  11835. MarkPropertyChanged(AIndex);
  11836. end;
  11837. Procedure TRegion.Setzones(AIndex : Integer; const AValue : TStringArray);
  11838. begin
  11839. If (Fzones=AValue) then exit;
  11840. Fzones:=AValue;
  11841. MarkPropertyChanged(AIndex);
  11842. end;
  11843. //2.6.4. bug workaround
  11844. {$IFDEF VER2_6}
  11845. Procedure TRegion.SetArrayLength(Const AName : String; ALength : Longint);
  11846. begin
  11847. Case AName of
  11848. 'quotas' : SetLength(Fquotas,ALength);
  11849. 'zones' : SetLength(Fzones,ALength);
  11850. else
  11851. Inherited SetArrayLength(AName,ALength);
  11852. end;
  11853. end;
  11854. {$ENDIF VER2_6}
  11855. { --------------------------------------------------------------------
  11856. TRegionList
  11857. --------------------------------------------------------------------}
  11858. Procedure TRegionList.Setid(AIndex : Integer; const AValue : String);
  11859. begin
  11860. If (Fid=AValue) then exit;
  11861. Fid:=AValue;
  11862. MarkPropertyChanged(AIndex);
  11863. end;
  11864. Procedure TRegionList.Setitems(AIndex : Integer; const AValue : TRegionListTypeitemsArray);
  11865. begin
  11866. If (Fitems=AValue) then exit;
  11867. Fitems:=AValue;
  11868. MarkPropertyChanged(AIndex);
  11869. end;
  11870. Procedure TRegionList.Setkind(AIndex : Integer; const AValue : String);
  11871. begin
  11872. If (Fkind=AValue) then exit;
  11873. Fkind:=AValue;
  11874. MarkPropertyChanged(AIndex);
  11875. end;
  11876. Procedure TRegionList.SetnextPageToken(AIndex : Integer; const AValue : String);
  11877. begin
  11878. If (FnextPageToken=AValue) then exit;
  11879. FnextPageToken:=AValue;
  11880. MarkPropertyChanged(AIndex);
  11881. end;
  11882. Procedure TRegionList.SetselfLink(AIndex : Integer; const AValue : String);
  11883. begin
  11884. If (FselfLink=AValue) then exit;
  11885. FselfLink:=AValue;
  11886. MarkPropertyChanged(AIndex);
  11887. end;
  11888. //2.6.4. bug workaround
  11889. {$IFDEF VER2_6}
  11890. Procedure TRegionList.SetArrayLength(Const AName : String; ALength : Longint);
  11891. begin
  11892. Case AName of
  11893. 'items' : SetLength(Fitems,ALength);
  11894. else
  11895. Inherited SetArrayLength(AName,ALength);
  11896. end;
  11897. end;
  11898. {$ENDIF VER2_6}
  11899. { --------------------------------------------------------------------
  11900. TResourceGroupReference
  11901. --------------------------------------------------------------------}
  11902. Procedure TResourceGroupReference.Setgroup(AIndex : Integer; const AValue : String);
  11903. begin
  11904. If (Fgroup=AValue) then exit;
  11905. Fgroup:=AValue;
  11906. MarkPropertyChanged(AIndex);
  11907. end;
  11908. { --------------------------------------------------------------------
  11909. TRouteTypewarningsItemTypedataItem
  11910. --------------------------------------------------------------------}
  11911. Procedure TRouteTypewarningsItemTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  11912. begin
  11913. If (Fkey=AValue) then exit;
  11914. Fkey:=AValue;
  11915. MarkPropertyChanged(AIndex);
  11916. end;
  11917. Procedure TRouteTypewarningsItemTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  11918. begin
  11919. If (Fvalue=AValue) then exit;
  11920. Fvalue:=AValue;
  11921. MarkPropertyChanged(AIndex);
  11922. end;
  11923. { --------------------------------------------------------------------
  11924. TRouteTypewarningsItem
  11925. --------------------------------------------------------------------}
  11926. Procedure TRouteTypewarningsItem.Setcode(AIndex : Integer; const AValue : String);
  11927. begin
  11928. If (Fcode=AValue) then exit;
  11929. Fcode:=AValue;
  11930. MarkPropertyChanged(AIndex);
  11931. end;
  11932. Procedure TRouteTypewarningsItem.Setdata(AIndex : Integer; const AValue : TRouteTypewarningsItemTypedataArray);
  11933. begin
  11934. If (Fdata=AValue) then exit;
  11935. Fdata:=AValue;
  11936. MarkPropertyChanged(AIndex);
  11937. end;
  11938. Procedure TRouteTypewarningsItem.Setmessage(AIndex : Integer; const AValue : String);
  11939. begin
  11940. If (Fmessage=AValue) then exit;
  11941. Fmessage:=AValue;
  11942. MarkPropertyChanged(AIndex);
  11943. end;
  11944. //2.6.4. bug workaround
  11945. {$IFDEF VER2_6}
  11946. Procedure TRouteTypewarningsItem.SetArrayLength(Const AName : String; ALength : Longint);
  11947. begin
  11948. Case AName of
  11949. 'data' : SetLength(Fdata,ALength);
  11950. else
  11951. Inherited SetArrayLength(AName,ALength);
  11952. end;
  11953. end;
  11954. {$ENDIF VER2_6}
  11955. { --------------------------------------------------------------------
  11956. TRoute
  11957. --------------------------------------------------------------------}
  11958. Procedure TRoute.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  11959. begin
  11960. If (FcreationTimestamp=AValue) then exit;
  11961. FcreationTimestamp:=AValue;
  11962. MarkPropertyChanged(AIndex);
  11963. end;
  11964. Procedure TRoute.Setdescription(AIndex : Integer; const AValue : String);
  11965. begin
  11966. If (Fdescription=AValue) then exit;
  11967. Fdescription:=AValue;
  11968. MarkPropertyChanged(AIndex);
  11969. end;
  11970. Procedure TRoute.SetdestRange(AIndex : Integer; const AValue : String);
  11971. begin
  11972. If (FdestRange=AValue) then exit;
  11973. FdestRange:=AValue;
  11974. MarkPropertyChanged(AIndex);
  11975. end;
  11976. Procedure TRoute.Setid(AIndex : Integer; const AValue : String);
  11977. begin
  11978. If (Fid=AValue) then exit;
  11979. Fid:=AValue;
  11980. MarkPropertyChanged(AIndex);
  11981. end;
  11982. Procedure TRoute.Setkind(AIndex : Integer; const AValue : String);
  11983. begin
  11984. If (Fkind=AValue) then exit;
  11985. Fkind:=AValue;
  11986. MarkPropertyChanged(AIndex);
  11987. end;
  11988. Procedure TRoute.Setname(AIndex : Integer; const AValue : String);
  11989. begin
  11990. If (Fname=AValue) then exit;
  11991. Fname:=AValue;
  11992. MarkPropertyChanged(AIndex);
  11993. end;
  11994. Procedure TRoute.Setnetwork(AIndex : Integer; const AValue : String);
  11995. begin
  11996. If (Fnetwork=AValue) then exit;
  11997. Fnetwork:=AValue;
  11998. MarkPropertyChanged(AIndex);
  11999. end;
  12000. Procedure TRoute.SetnextHopGateway(AIndex : Integer; const AValue : String);
  12001. begin
  12002. If (FnextHopGateway=AValue) then exit;
  12003. FnextHopGateway:=AValue;
  12004. MarkPropertyChanged(AIndex);
  12005. end;
  12006. Procedure TRoute.SetnextHopInstance(AIndex : Integer; const AValue : String);
  12007. begin
  12008. If (FnextHopInstance=AValue) then exit;
  12009. FnextHopInstance:=AValue;
  12010. MarkPropertyChanged(AIndex);
  12011. end;
  12012. Procedure TRoute.SetnextHopIp(AIndex : Integer; const AValue : String);
  12013. begin
  12014. If (FnextHopIp=AValue) then exit;
  12015. FnextHopIp:=AValue;
  12016. MarkPropertyChanged(AIndex);
  12017. end;
  12018. Procedure TRoute.SetnextHopNetwork(AIndex : Integer; const AValue : String);
  12019. begin
  12020. If (FnextHopNetwork=AValue) then exit;
  12021. FnextHopNetwork:=AValue;
  12022. MarkPropertyChanged(AIndex);
  12023. end;
  12024. Procedure TRoute.SetnextHopVpnTunnel(AIndex : Integer; const AValue : String);
  12025. begin
  12026. If (FnextHopVpnTunnel=AValue) then exit;
  12027. FnextHopVpnTunnel:=AValue;
  12028. MarkPropertyChanged(AIndex);
  12029. end;
  12030. Procedure TRoute.Setpriority(AIndex : Integer; const AValue : integer);
  12031. begin
  12032. If (Fpriority=AValue) then exit;
  12033. Fpriority:=AValue;
  12034. MarkPropertyChanged(AIndex);
  12035. end;
  12036. Procedure TRoute.SetselfLink(AIndex : Integer; const AValue : String);
  12037. begin
  12038. If (FselfLink=AValue) then exit;
  12039. FselfLink:=AValue;
  12040. MarkPropertyChanged(AIndex);
  12041. end;
  12042. Procedure TRoute.Settags(AIndex : Integer; const AValue : TStringArray);
  12043. begin
  12044. If (Ftags=AValue) then exit;
  12045. Ftags:=AValue;
  12046. MarkPropertyChanged(AIndex);
  12047. end;
  12048. Procedure TRoute.Setwarnings(AIndex : Integer; const AValue : TRouteTypewarningsArray);
  12049. begin
  12050. If (Fwarnings=AValue) then exit;
  12051. Fwarnings:=AValue;
  12052. MarkPropertyChanged(AIndex);
  12053. end;
  12054. //2.6.4. bug workaround
  12055. {$IFDEF VER2_6}
  12056. Procedure TRoute.SetArrayLength(Const AName : String; ALength : Longint);
  12057. begin
  12058. Case AName of
  12059. 'tags' : SetLength(Ftags,ALength);
  12060. 'warnings' : SetLength(Fwarnings,ALength);
  12061. else
  12062. Inherited SetArrayLength(AName,ALength);
  12063. end;
  12064. end;
  12065. {$ENDIF VER2_6}
  12066. { --------------------------------------------------------------------
  12067. TRouteList
  12068. --------------------------------------------------------------------}
  12069. Procedure TRouteList.Setid(AIndex : Integer; const AValue : String);
  12070. begin
  12071. If (Fid=AValue) then exit;
  12072. Fid:=AValue;
  12073. MarkPropertyChanged(AIndex);
  12074. end;
  12075. Procedure TRouteList.Setitems(AIndex : Integer; const AValue : TRouteListTypeitemsArray);
  12076. begin
  12077. If (Fitems=AValue) then exit;
  12078. Fitems:=AValue;
  12079. MarkPropertyChanged(AIndex);
  12080. end;
  12081. Procedure TRouteList.Setkind(AIndex : Integer; const AValue : String);
  12082. begin
  12083. If (Fkind=AValue) then exit;
  12084. Fkind:=AValue;
  12085. MarkPropertyChanged(AIndex);
  12086. end;
  12087. Procedure TRouteList.SetnextPageToken(AIndex : Integer; const AValue : String);
  12088. begin
  12089. If (FnextPageToken=AValue) then exit;
  12090. FnextPageToken:=AValue;
  12091. MarkPropertyChanged(AIndex);
  12092. end;
  12093. Procedure TRouteList.SetselfLink(AIndex : Integer; const AValue : String);
  12094. begin
  12095. If (FselfLink=AValue) then exit;
  12096. FselfLink:=AValue;
  12097. MarkPropertyChanged(AIndex);
  12098. end;
  12099. //2.6.4. bug workaround
  12100. {$IFDEF VER2_6}
  12101. Procedure TRouteList.SetArrayLength(Const AName : String; ALength : Longint);
  12102. begin
  12103. Case AName of
  12104. 'items' : SetLength(Fitems,ALength);
  12105. else
  12106. Inherited SetArrayLength(AName,ALength);
  12107. end;
  12108. end;
  12109. {$ENDIF VER2_6}
  12110. { --------------------------------------------------------------------
  12111. TScheduling
  12112. --------------------------------------------------------------------}
  12113. Procedure TScheduling.SetautomaticRestart(AIndex : Integer; const AValue : boolean);
  12114. begin
  12115. If (FautomaticRestart=AValue) then exit;
  12116. FautomaticRestart:=AValue;
  12117. MarkPropertyChanged(AIndex);
  12118. end;
  12119. Procedure TScheduling.SetonHostMaintenance(AIndex : Integer; const AValue : String);
  12120. begin
  12121. If (FonHostMaintenance=AValue) then exit;
  12122. FonHostMaintenance:=AValue;
  12123. MarkPropertyChanged(AIndex);
  12124. end;
  12125. Procedure TScheduling.Setpreemptible(AIndex : Integer; const AValue : boolean);
  12126. begin
  12127. If (Fpreemptible=AValue) then exit;
  12128. Fpreemptible:=AValue;
  12129. MarkPropertyChanged(AIndex);
  12130. end;
  12131. { --------------------------------------------------------------------
  12132. TSerialPortOutput
  12133. --------------------------------------------------------------------}
  12134. Procedure TSerialPortOutput.Setcontents(AIndex : Integer; const AValue : String);
  12135. begin
  12136. If (Fcontents=AValue) then exit;
  12137. Fcontents:=AValue;
  12138. MarkPropertyChanged(AIndex);
  12139. end;
  12140. Procedure TSerialPortOutput.Setkind(AIndex : Integer; const AValue : String);
  12141. begin
  12142. If (Fkind=AValue) then exit;
  12143. Fkind:=AValue;
  12144. MarkPropertyChanged(AIndex);
  12145. end;
  12146. Procedure TSerialPortOutput.SetselfLink(AIndex : Integer; const AValue : String);
  12147. begin
  12148. If (FselfLink=AValue) then exit;
  12149. FselfLink:=AValue;
  12150. MarkPropertyChanged(AIndex);
  12151. end;
  12152. { --------------------------------------------------------------------
  12153. TServiceAccount
  12154. --------------------------------------------------------------------}
  12155. Procedure TServiceAccount.Setemail(AIndex : Integer; const AValue : String);
  12156. begin
  12157. If (Femail=AValue) then exit;
  12158. Femail:=AValue;
  12159. MarkPropertyChanged(AIndex);
  12160. end;
  12161. Procedure TServiceAccount.Setscopes(AIndex : Integer; const AValue : TStringArray);
  12162. begin
  12163. If (Fscopes=AValue) then exit;
  12164. Fscopes:=AValue;
  12165. MarkPropertyChanged(AIndex);
  12166. end;
  12167. //2.6.4. bug workaround
  12168. {$IFDEF VER2_6}
  12169. Procedure TServiceAccount.SetArrayLength(Const AName : String; ALength : Longint);
  12170. begin
  12171. Case AName of
  12172. 'scopes' : SetLength(Fscopes,ALength);
  12173. else
  12174. Inherited SetArrayLength(AName,ALength);
  12175. end;
  12176. end;
  12177. {$ENDIF VER2_6}
  12178. { --------------------------------------------------------------------
  12179. TSnapshot
  12180. --------------------------------------------------------------------}
  12181. Procedure TSnapshot.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  12182. begin
  12183. If (FcreationTimestamp=AValue) then exit;
  12184. FcreationTimestamp:=AValue;
  12185. MarkPropertyChanged(AIndex);
  12186. end;
  12187. Procedure TSnapshot.Setdescription(AIndex : Integer; const AValue : String);
  12188. begin
  12189. If (Fdescription=AValue) then exit;
  12190. Fdescription:=AValue;
  12191. MarkPropertyChanged(AIndex);
  12192. end;
  12193. Procedure TSnapshot.SetdiskSizeGb(AIndex : Integer; const AValue : String);
  12194. begin
  12195. If (FdiskSizeGb=AValue) then exit;
  12196. FdiskSizeGb:=AValue;
  12197. MarkPropertyChanged(AIndex);
  12198. end;
  12199. Procedure TSnapshot.Setid(AIndex : Integer; const AValue : String);
  12200. begin
  12201. If (Fid=AValue) then exit;
  12202. Fid:=AValue;
  12203. MarkPropertyChanged(AIndex);
  12204. end;
  12205. Procedure TSnapshot.Setkind(AIndex : Integer; const AValue : String);
  12206. begin
  12207. If (Fkind=AValue) then exit;
  12208. Fkind:=AValue;
  12209. MarkPropertyChanged(AIndex);
  12210. end;
  12211. Procedure TSnapshot.Setlicenses(AIndex : Integer; const AValue : TStringArray);
  12212. begin
  12213. If (Flicenses=AValue) then exit;
  12214. Flicenses:=AValue;
  12215. MarkPropertyChanged(AIndex);
  12216. end;
  12217. Procedure TSnapshot.Setname(AIndex : Integer; const AValue : String);
  12218. begin
  12219. If (Fname=AValue) then exit;
  12220. Fname:=AValue;
  12221. MarkPropertyChanged(AIndex);
  12222. end;
  12223. Procedure TSnapshot.SetselfLink(AIndex : Integer; const AValue : String);
  12224. begin
  12225. If (FselfLink=AValue) then exit;
  12226. FselfLink:=AValue;
  12227. MarkPropertyChanged(AIndex);
  12228. end;
  12229. Procedure TSnapshot.SetsourceDisk(AIndex : Integer; const AValue : String);
  12230. begin
  12231. If (FsourceDisk=AValue) then exit;
  12232. FsourceDisk:=AValue;
  12233. MarkPropertyChanged(AIndex);
  12234. end;
  12235. Procedure TSnapshot.SetsourceDiskId(AIndex : Integer; const AValue : String);
  12236. begin
  12237. If (FsourceDiskId=AValue) then exit;
  12238. FsourceDiskId:=AValue;
  12239. MarkPropertyChanged(AIndex);
  12240. end;
  12241. Procedure TSnapshot.Setstatus(AIndex : Integer; const AValue : String);
  12242. begin
  12243. If (Fstatus=AValue) then exit;
  12244. Fstatus:=AValue;
  12245. MarkPropertyChanged(AIndex);
  12246. end;
  12247. Procedure TSnapshot.SetstorageBytes(AIndex : Integer; const AValue : String);
  12248. begin
  12249. If (FstorageBytes=AValue) then exit;
  12250. FstorageBytes:=AValue;
  12251. MarkPropertyChanged(AIndex);
  12252. end;
  12253. Procedure TSnapshot.SetstorageBytesStatus(AIndex : Integer; const AValue : String);
  12254. begin
  12255. If (FstorageBytesStatus=AValue) then exit;
  12256. FstorageBytesStatus:=AValue;
  12257. MarkPropertyChanged(AIndex);
  12258. end;
  12259. //2.6.4. bug workaround
  12260. {$IFDEF VER2_6}
  12261. Procedure TSnapshot.SetArrayLength(Const AName : String; ALength : Longint);
  12262. begin
  12263. Case AName of
  12264. 'licenses' : SetLength(Flicenses,ALength);
  12265. else
  12266. Inherited SetArrayLength(AName,ALength);
  12267. end;
  12268. end;
  12269. {$ENDIF VER2_6}
  12270. { --------------------------------------------------------------------
  12271. TSnapshotList
  12272. --------------------------------------------------------------------}
  12273. Procedure TSnapshotList.Setid(AIndex : Integer; const AValue : String);
  12274. begin
  12275. If (Fid=AValue) then exit;
  12276. Fid:=AValue;
  12277. MarkPropertyChanged(AIndex);
  12278. end;
  12279. Procedure TSnapshotList.Setitems(AIndex : Integer; const AValue : TSnapshotListTypeitemsArray);
  12280. begin
  12281. If (Fitems=AValue) then exit;
  12282. Fitems:=AValue;
  12283. MarkPropertyChanged(AIndex);
  12284. end;
  12285. Procedure TSnapshotList.Setkind(AIndex : Integer; const AValue : String);
  12286. begin
  12287. If (Fkind=AValue) then exit;
  12288. Fkind:=AValue;
  12289. MarkPropertyChanged(AIndex);
  12290. end;
  12291. Procedure TSnapshotList.SetnextPageToken(AIndex : Integer; const AValue : String);
  12292. begin
  12293. If (FnextPageToken=AValue) then exit;
  12294. FnextPageToken:=AValue;
  12295. MarkPropertyChanged(AIndex);
  12296. end;
  12297. Procedure TSnapshotList.SetselfLink(AIndex : Integer; const AValue : String);
  12298. begin
  12299. If (FselfLink=AValue) then exit;
  12300. FselfLink:=AValue;
  12301. MarkPropertyChanged(AIndex);
  12302. end;
  12303. //2.6.4. bug workaround
  12304. {$IFDEF VER2_6}
  12305. Procedure TSnapshotList.SetArrayLength(Const AName : String; ALength : Longint);
  12306. begin
  12307. Case AName of
  12308. 'items' : SetLength(Fitems,ALength);
  12309. else
  12310. Inherited SetArrayLength(AName,ALength);
  12311. end;
  12312. end;
  12313. {$ENDIF VER2_6}
  12314. { --------------------------------------------------------------------
  12315. TSslCertificate
  12316. --------------------------------------------------------------------}
  12317. Procedure TSslCertificate.Setcertificate(AIndex : Integer; const AValue : String);
  12318. begin
  12319. If (Fcertificate=AValue) then exit;
  12320. Fcertificate:=AValue;
  12321. MarkPropertyChanged(AIndex);
  12322. end;
  12323. Procedure TSslCertificate.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  12324. begin
  12325. If (FcreationTimestamp=AValue) then exit;
  12326. FcreationTimestamp:=AValue;
  12327. MarkPropertyChanged(AIndex);
  12328. end;
  12329. Procedure TSslCertificate.Setdescription(AIndex : Integer; const AValue : String);
  12330. begin
  12331. If (Fdescription=AValue) then exit;
  12332. Fdescription:=AValue;
  12333. MarkPropertyChanged(AIndex);
  12334. end;
  12335. Procedure TSslCertificate.Setid(AIndex : Integer; const AValue : String);
  12336. begin
  12337. If (Fid=AValue) then exit;
  12338. Fid:=AValue;
  12339. MarkPropertyChanged(AIndex);
  12340. end;
  12341. Procedure TSslCertificate.Setkind(AIndex : Integer; const AValue : String);
  12342. begin
  12343. If (Fkind=AValue) then exit;
  12344. Fkind:=AValue;
  12345. MarkPropertyChanged(AIndex);
  12346. end;
  12347. Procedure TSslCertificate.Setname(AIndex : Integer; const AValue : String);
  12348. begin
  12349. If (Fname=AValue) then exit;
  12350. Fname:=AValue;
  12351. MarkPropertyChanged(AIndex);
  12352. end;
  12353. Procedure TSslCertificate.SetprivateKey(AIndex : Integer; const AValue : String);
  12354. begin
  12355. If (FprivateKey=AValue) then exit;
  12356. FprivateKey:=AValue;
  12357. MarkPropertyChanged(AIndex);
  12358. end;
  12359. Procedure TSslCertificate.SetselfLink(AIndex : Integer; const AValue : String);
  12360. begin
  12361. If (FselfLink=AValue) then exit;
  12362. FselfLink:=AValue;
  12363. MarkPropertyChanged(AIndex);
  12364. end;
  12365. { --------------------------------------------------------------------
  12366. TSslCertificateList
  12367. --------------------------------------------------------------------}
  12368. Procedure TSslCertificateList.Setid(AIndex : Integer; const AValue : String);
  12369. begin
  12370. If (Fid=AValue) then exit;
  12371. Fid:=AValue;
  12372. MarkPropertyChanged(AIndex);
  12373. end;
  12374. Procedure TSslCertificateList.Setitems(AIndex : Integer; const AValue : TSslCertificateListTypeitemsArray);
  12375. begin
  12376. If (Fitems=AValue) then exit;
  12377. Fitems:=AValue;
  12378. MarkPropertyChanged(AIndex);
  12379. end;
  12380. Procedure TSslCertificateList.Setkind(AIndex : Integer; const AValue : String);
  12381. begin
  12382. If (Fkind=AValue) then exit;
  12383. Fkind:=AValue;
  12384. MarkPropertyChanged(AIndex);
  12385. end;
  12386. Procedure TSslCertificateList.SetnextPageToken(AIndex : Integer; const AValue : String);
  12387. begin
  12388. If (FnextPageToken=AValue) then exit;
  12389. FnextPageToken:=AValue;
  12390. MarkPropertyChanged(AIndex);
  12391. end;
  12392. Procedure TSslCertificateList.SetselfLink(AIndex : Integer; const AValue : String);
  12393. begin
  12394. If (FselfLink=AValue) then exit;
  12395. FselfLink:=AValue;
  12396. MarkPropertyChanged(AIndex);
  12397. end;
  12398. //2.6.4. bug workaround
  12399. {$IFDEF VER2_6}
  12400. Procedure TSslCertificateList.SetArrayLength(Const AName : String; ALength : Longint);
  12401. begin
  12402. Case AName of
  12403. 'items' : SetLength(Fitems,ALength);
  12404. else
  12405. Inherited SetArrayLength(AName,ALength);
  12406. end;
  12407. end;
  12408. {$ENDIF VER2_6}
  12409. { --------------------------------------------------------------------
  12410. TSubnetwork
  12411. --------------------------------------------------------------------}
  12412. Procedure TSubnetwork.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  12413. begin
  12414. If (FcreationTimestamp=AValue) then exit;
  12415. FcreationTimestamp:=AValue;
  12416. MarkPropertyChanged(AIndex);
  12417. end;
  12418. Procedure TSubnetwork.Setdescription(AIndex : Integer; const AValue : String);
  12419. begin
  12420. If (Fdescription=AValue) then exit;
  12421. Fdescription:=AValue;
  12422. MarkPropertyChanged(AIndex);
  12423. end;
  12424. Procedure TSubnetwork.SetgatewayAddress(AIndex : Integer; const AValue : String);
  12425. begin
  12426. If (FgatewayAddress=AValue) then exit;
  12427. FgatewayAddress:=AValue;
  12428. MarkPropertyChanged(AIndex);
  12429. end;
  12430. Procedure TSubnetwork.Setid(AIndex : Integer; const AValue : String);
  12431. begin
  12432. If (Fid=AValue) then exit;
  12433. Fid:=AValue;
  12434. MarkPropertyChanged(AIndex);
  12435. end;
  12436. Procedure TSubnetwork.SetipCidrRange(AIndex : Integer; const AValue : String);
  12437. begin
  12438. If (FipCidrRange=AValue) then exit;
  12439. FipCidrRange:=AValue;
  12440. MarkPropertyChanged(AIndex);
  12441. end;
  12442. Procedure TSubnetwork.Setkind(AIndex : Integer; const AValue : String);
  12443. begin
  12444. If (Fkind=AValue) then exit;
  12445. Fkind:=AValue;
  12446. MarkPropertyChanged(AIndex);
  12447. end;
  12448. Procedure TSubnetwork.Setname(AIndex : Integer; const AValue : String);
  12449. begin
  12450. If (Fname=AValue) then exit;
  12451. Fname:=AValue;
  12452. MarkPropertyChanged(AIndex);
  12453. end;
  12454. Procedure TSubnetwork.Setnetwork(AIndex : Integer; const AValue : String);
  12455. begin
  12456. If (Fnetwork=AValue) then exit;
  12457. Fnetwork:=AValue;
  12458. MarkPropertyChanged(AIndex);
  12459. end;
  12460. Procedure TSubnetwork.Setregion(AIndex : Integer; const AValue : String);
  12461. begin
  12462. If (Fregion=AValue) then exit;
  12463. Fregion:=AValue;
  12464. MarkPropertyChanged(AIndex);
  12465. end;
  12466. Procedure TSubnetwork.SetselfLink(AIndex : Integer; const AValue : String);
  12467. begin
  12468. If (FselfLink=AValue) then exit;
  12469. FselfLink:=AValue;
  12470. MarkPropertyChanged(AIndex);
  12471. end;
  12472. { --------------------------------------------------------------------
  12473. TSubnetworkAggregatedListTypeitems
  12474. --------------------------------------------------------------------}
  12475. Class Function TSubnetworkAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  12476. begin
  12477. Result:=True;
  12478. end;
  12479. { --------------------------------------------------------------------
  12480. TSubnetworkAggregatedList
  12481. --------------------------------------------------------------------}
  12482. Procedure TSubnetworkAggregatedList.Setid(AIndex : Integer; const AValue : String);
  12483. begin
  12484. If (Fid=AValue) then exit;
  12485. Fid:=AValue;
  12486. MarkPropertyChanged(AIndex);
  12487. end;
  12488. Procedure TSubnetworkAggregatedList.Setitems(AIndex : Integer; const AValue : TSubnetworkAggregatedListTypeitems);
  12489. begin
  12490. If (Fitems=AValue) then exit;
  12491. Fitems:=AValue;
  12492. MarkPropertyChanged(AIndex);
  12493. end;
  12494. Procedure TSubnetworkAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  12495. begin
  12496. If (Fkind=AValue) then exit;
  12497. Fkind:=AValue;
  12498. MarkPropertyChanged(AIndex);
  12499. end;
  12500. Procedure TSubnetworkAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  12501. begin
  12502. If (FnextPageToken=AValue) then exit;
  12503. FnextPageToken:=AValue;
  12504. MarkPropertyChanged(AIndex);
  12505. end;
  12506. Procedure TSubnetworkAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  12507. begin
  12508. If (FselfLink=AValue) then exit;
  12509. FselfLink:=AValue;
  12510. MarkPropertyChanged(AIndex);
  12511. end;
  12512. { --------------------------------------------------------------------
  12513. TSubnetworkList
  12514. --------------------------------------------------------------------}
  12515. Procedure TSubnetworkList.Setid(AIndex : Integer; const AValue : String);
  12516. begin
  12517. If (Fid=AValue) then exit;
  12518. Fid:=AValue;
  12519. MarkPropertyChanged(AIndex);
  12520. end;
  12521. Procedure TSubnetworkList.Setitems(AIndex : Integer; const AValue : TSubnetworkListTypeitemsArray);
  12522. begin
  12523. If (Fitems=AValue) then exit;
  12524. Fitems:=AValue;
  12525. MarkPropertyChanged(AIndex);
  12526. end;
  12527. Procedure TSubnetworkList.Setkind(AIndex : Integer; const AValue : String);
  12528. begin
  12529. If (Fkind=AValue) then exit;
  12530. Fkind:=AValue;
  12531. MarkPropertyChanged(AIndex);
  12532. end;
  12533. Procedure TSubnetworkList.SetnextPageToken(AIndex : Integer; const AValue : String);
  12534. begin
  12535. If (FnextPageToken=AValue) then exit;
  12536. FnextPageToken:=AValue;
  12537. MarkPropertyChanged(AIndex);
  12538. end;
  12539. Procedure TSubnetworkList.SetselfLink(AIndex : Integer; const AValue : String);
  12540. begin
  12541. If (FselfLink=AValue) then exit;
  12542. FselfLink:=AValue;
  12543. MarkPropertyChanged(AIndex);
  12544. end;
  12545. //2.6.4. bug workaround
  12546. {$IFDEF VER2_6}
  12547. Procedure TSubnetworkList.SetArrayLength(Const AName : String; ALength : Longint);
  12548. begin
  12549. Case AName of
  12550. 'items' : SetLength(Fitems,ALength);
  12551. else
  12552. Inherited SetArrayLength(AName,ALength);
  12553. end;
  12554. end;
  12555. {$ENDIF VER2_6}
  12556. { --------------------------------------------------------------------
  12557. TSubnetworksScopedListTypewarningTypedataItem
  12558. --------------------------------------------------------------------}
  12559. Procedure TSubnetworksScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  12560. begin
  12561. If (Fkey=AValue) then exit;
  12562. Fkey:=AValue;
  12563. MarkPropertyChanged(AIndex);
  12564. end;
  12565. Procedure TSubnetworksScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  12566. begin
  12567. If (Fvalue=AValue) then exit;
  12568. Fvalue:=AValue;
  12569. MarkPropertyChanged(AIndex);
  12570. end;
  12571. { --------------------------------------------------------------------
  12572. TSubnetworksScopedListTypewarning
  12573. --------------------------------------------------------------------}
  12574. Procedure TSubnetworksScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  12575. begin
  12576. If (Fcode=AValue) then exit;
  12577. Fcode:=AValue;
  12578. MarkPropertyChanged(AIndex);
  12579. end;
  12580. Procedure TSubnetworksScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TSubnetworksScopedListTypewarningTypedataArray);
  12581. begin
  12582. If (Fdata=AValue) then exit;
  12583. Fdata:=AValue;
  12584. MarkPropertyChanged(AIndex);
  12585. end;
  12586. Procedure TSubnetworksScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  12587. begin
  12588. If (Fmessage=AValue) then exit;
  12589. Fmessage:=AValue;
  12590. MarkPropertyChanged(AIndex);
  12591. end;
  12592. //2.6.4. bug workaround
  12593. {$IFDEF VER2_6}
  12594. Procedure TSubnetworksScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  12595. begin
  12596. Case AName of
  12597. 'data' : SetLength(Fdata,ALength);
  12598. else
  12599. Inherited SetArrayLength(AName,ALength);
  12600. end;
  12601. end;
  12602. {$ENDIF VER2_6}
  12603. { --------------------------------------------------------------------
  12604. TSubnetworksScopedList
  12605. --------------------------------------------------------------------}
  12606. Procedure TSubnetworksScopedList.Setsubnetworks(AIndex : Integer; const AValue : TSubnetworksScopedListTypesubnetworksArray);
  12607. begin
  12608. If (Fsubnetworks=AValue) then exit;
  12609. Fsubnetworks:=AValue;
  12610. MarkPropertyChanged(AIndex);
  12611. end;
  12612. Procedure TSubnetworksScopedList.Setwarning(AIndex : Integer; const AValue : TSubnetworksScopedListTypewarning);
  12613. begin
  12614. If (Fwarning=AValue) then exit;
  12615. Fwarning:=AValue;
  12616. MarkPropertyChanged(AIndex);
  12617. end;
  12618. //2.6.4. bug workaround
  12619. {$IFDEF VER2_6}
  12620. Procedure TSubnetworksScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  12621. begin
  12622. Case AName of
  12623. 'subnetworks' : SetLength(Fsubnetworks,ALength);
  12624. else
  12625. Inherited SetArrayLength(AName,ALength);
  12626. end;
  12627. end;
  12628. {$ENDIF VER2_6}
  12629. { --------------------------------------------------------------------
  12630. TTags
  12631. --------------------------------------------------------------------}
  12632. Procedure TTags.Setfingerprint(AIndex : Integer; const AValue : String);
  12633. begin
  12634. If (Ffingerprint=AValue) then exit;
  12635. Ffingerprint:=AValue;
  12636. MarkPropertyChanged(AIndex);
  12637. end;
  12638. Procedure TTags.Setitems(AIndex : Integer; const AValue : TStringArray);
  12639. begin
  12640. If (Fitems=AValue) then exit;
  12641. Fitems:=AValue;
  12642. MarkPropertyChanged(AIndex);
  12643. end;
  12644. //2.6.4. bug workaround
  12645. {$IFDEF VER2_6}
  12646. Procedure TTags.SetArrayLength(Const AName : String; ALength : Longint);
  12647. begin
  12648. Case AName of
  12649. 'items' : SetLength(Fitems,ALength);
  12650. else
  12651. Inherited SetArrayLength(AName,ALength);
  12652. end;
  12653. end;
  12654. {$ENDIF VER2_6}
  12655. { --------------------------------------------------------------------
  12656. TTargetHttpProxy
  12657. --------------------------------------------------------------------}
  12658. Procedure TTargetHttpProxy.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  12659. begin
  12660. If (FcreationTimestamp=AValue) then exit;
  12661. FcreationTimestamp:=AValue;
  12662. MarkPropertyChanged(AIndex);
  12663. end;
  12664. Procedure TTargetHttpProxy.Setdescription(AIndex : Integer; const AValue : String);
  12665. begin
  12666. If (Fdescription=AValue) then exit;
  12667. Fdescription:=AValue;
  12668. MarkPropertyChanged(AIndex);
  12669. end;
  12670. Procedure TTargetHttpProxy.Setid(AIndex : Integer; const AValue : String);
  12671. begin
  12672. If (Fid=AValue) then exit;
  12673. Fid:=AValue;
  12674. MarkPropertyChanged(AIndex);
  12675. end;
  12676. Procedure TTargetHttpProxy.Setkind(AIndex : Integer; const AValue : String);
  12677. begin
  12678. If (Fkind=AValue) then exit;
  12679. Fkind:=AValue;
  12680. MarkPropertyChanged(AIndex);
  12681. end;
  12682. Procedure TTargetHttpProxy.Setname(AIndex : Integer; const AValue : String);
  12683. begin
  12684. If (Fname=AValue) then exit;
  12685. Fname:=AValue;
  12686. MarkPropertyChanged(AIndex);
  12687. end;
  12688. Procedure TTargetHttpProxy.SetselfLink(AIndex : Integer; const AValue : String);
  12689. begin
  12690. If (FselfLink=AValue) then exit;
  12691. FselfLink:=AValue;
  12692. MarkPropertyChanged(AIndex);
  12693. end;
  12694. Procedure TTargetHttpProxy.SeturlMap(AIndex : Integer; const AValue : String);
  12695. begin
  12696. If (FurlMap=AValue) then exit;
  12697. FurlMap:=AValue;
  12698. MarkPropertyChanged(AIndex);
  12699. end;
  12700. { --------------------------------------------------------------------
  12701. TTargetHttpProxyList
  12702. --------------------------------------------------------------------}
  12703. Procedure TTargetHttpProxyList.Setid(AIndex : Integer; const AValue : String);
  12704. begin
  12705. If (Fid=AValue) then exit;
  12706. Fid:=AValue;
  12707. MarkPropertyChanged(AIndex);
  12708. end;
  12709. Procedure TTargetHttpProxyList.Setitems(AIndex : Integer; const AValue : TTargetHttpProxyListTypeitemsArray);
  12710. begin
  12711. If (Fitems=AValue) then exit;
  12712. Fitems:=AValue;
  12713. MarkPropertyChanged(AIndex);
  12714. end;
  12715. Procedure TTargetHttpProxyList.Setkind(AIndex : Integer; const AValue : String);
  12716. begin
  12717. If (Fkind=AValue) then exit;
  12718. Fkind:=AValue;
  12719. MarkPropertyChanged(AIndex);
  12720. end;
  12721. Procedure TTargetHttpProxyList.SetnextPageToken(AIndex : Integer; const AValue : String);
  12722. begin
  12723. If (FnextPageToken=AValue) then exit;
  12724. FnextPageToken:=AValue;
  12725. MarkPropertyChanged(AIndex);
  12726. end;
  12727. Procedure TTargetHttpProxyList.SetselfLink(AIndex : Integer; const AValue : String);
  12728. begin
  12729. If (FselfLink=AValue) then exit;
  12730. FselfLink:=AValue;
  12731. MarkPropertyChanged(AIndex);
  12732. end;
  12733. //2.6.4. bug workaround
  12734. {$IFDEF VER2_6}
  12735. Procedure TTargetHttpProxyList.SetArrayLength(Const AName : String; ALength : Longint);
  12736. begin
  12737. Case AName of
  12738. 'items' : SetLength(Fitems,ALength);
  12739. else
  12740. Inherited SetArrayLength(AName,ALength);
  12741. end;
  12742. end;
  12743. {$ENDIF VER2_6}
  12744. { --------------------------------------------------------------------
  12745. TTargetHttpsProxiesSetSslCertificatesRequest
  12746. --------------------------------------------------------------------}
  12747. Procedure TTargetHttpsProxiesSetSslCertificatesRequest.SetsslCertificates(AIndex : Integer; const AValue : TStringArray);
  12748. begin
  12749. If (FsslCertificates=AValue) then exit;
  12750. FsslCertificates:=AValue;
  12751. MarkPropertyChanged(AIndex);
  12752. end;
  12753. //2.6.4. bug workaround
  12754. {$IFDEF VER2_6}
  12755. Procedure TTargetHttpsProxiesSetSslCertificatesRequest.SetArrayLength(Const AName : String; ALength : Longint);
  12756. begin
  12757. Case AName of
  12758. 'sslcertificates' : SetLength(FsslCertificates,ALength);
  12759. else
  12760. Inherited SetArrayLength(AName,ALength);
  12761. end;
  12762. end;
  12763. {$ENDIF VER2_6}
  12764. { --------------------------------------------------------------------
  12765. TTargetHttpsProxy
  12766. --------------------------------------------------------------------}
  12767. Procedure TTargetHttpsProxy.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  12768. begin
  12769. If (FcreationTimestamp=AValue) then exit;
  12770. FcreationTimestamp:=AValue;
  12771. MarkPropertyChanged(AIndex);
  12772. end;
  12773. Procedure TTargetHttpsProxy.Setdescription(AIndex : Integer; const AValue : String);
  12774. begin
  12775. If (Fdescription=AValue) then exit;
  12776. Fdescription:=AValue;
  12777. MarkPropertyChanged(AIndex);
  12778. end;
  12779. Procedure TTargetHttpsProxy.Setid(AIndex : Integer; const AValue : String);
  12780. begin
  12781. If (Fid=AValue) then exit;
  12782. Fid:=AValue;
  12783. MarkPropertyChanged(AIndex);
  12784. end;
  12785. Procedure TTargetHttpsProxy.Setkind(AIndex : Integer; const AValue : String);
  12786. begin
  12787. If (Fkind=AValue) then exit;
  12788. Fkind:=AValue;
  12789. MarkPropertyChanged(AIndex);
  12790. end;
  12791. Procedure TTargetHttpsProxy.Setname(AIndex : Integer; const AValue : String);
  12792. begin
  12793. If (Fname=AValue) then exit;
  12794. Fname:=AValue;
  12795. MarkPropertyChanged(AIndex);
  12796. end;
  12797. Procedure TTargetHttpsProxy.SetselfLink(AIndex : Integer; const AValue : String);
  12798. begin
  12799. If (FselfLink=AValue) then exit;
  12800. FselfLink:=AValue;
  12801. MarkPropertyChanged(AIndex);
  12802. end;
  12803. Procedure TTargetHttpsProxy.SetsslCertificates(AIndex : Integer; const AValue : TStringArray);
  12804. begin
  12805. If (FsslCertificates=AValue) then exit;
  12806. FsslCertificates:=AValue;
  12807. MarkPropertyChanged(AIndex);
  12808. end;
  12809. Procedure TTargetHttpsProxy.SeturlMap(AIndex : Integer; const AValue : String);
  12810. begin
  12811. If (FurlMap=AValue) then exit;
  12812. FurlMap:=AValue;
  12813. MarkPropertyChanged(AIndex);
  12814. end;
  12815. //2.6.4. bug workaround
  12816. {$IFDEF VER2_6}
  12817. Procedure TTargetHttpsProxy.SetArrayLength(Const AName : String; ALength : Longint);
  12818. begin
  12819. Case AName of
  12820. 'sslcertificates' : SetLength(FsslCertificates,ALength);
  12821. else
  12822. Inherited SetArrayLength(AName,ALength);
  12823. end;
  12824. end;
  12825. {$ENDIF VER2_6}
  12826. { --------------------------------------------------------------------
  12827. TTargetHttpsProxyList
  12828. --------------------------------------------------------------------}
  12829. Procedure TTargetHttpsProxyList.Setid(AIndex : Integer; const AValue : String);
  12830. begin
  12831. If (Fid=AValue) then exit;
  12832. Fid:=AValue;
  12833. MarkPropertyChanged(AIndex);
  12834. end;
  12835. Procedure TTargetHttpsProxyList.Setitems(AIndex : Integer; const AValue : TTargetHttpsProxyListTypeitemsArray);
  12836. begin
  12837. If (Fitems=AValue) then exit;
  12838. Fitems:=AValue;
  12839. MarkPropertyChanged(AIndex);
  12840. end;
  12841. Procedure TTargetHttpsProxyList.Setkind(AIndex : Integer; const AValue : String);
  12842. begin
  12843. If (Fkind=AValue) then exit;
  12844. Fkind:=AValue;
  12845. MarkPropertyChanged(AIndex);
  12846. end;
  12847. Procedure TTargetHttpsProxyList.SetnextPageToken(AIndex : Integer; const AValue : String);
  12848. begin
  12849. If (FnextPageToken=AValue) then exit;
  12850. FnextPageToken:=AValue;
  12851. MarkPropertyChanged(AIndex);
  12852. end;
  12853. Procedure TTargetHttpsProxyList.SetselfLink(AIndex : Integer; const AValue : String);
  12854. begin
  12855. If (FselfLink=AValue) then exit;
  12856. FselfLink:=AValue;
  12857. MarkPropertyChanged(AIndex);
  12858. end;
  12859. //2.6.4. bug workaround
  12860. {$IFDEF VER2_6}
  12861. Procedure TTargetHttpsProxyList.SetArrayLength(Const AName : String; ALength : Longint);
  12862. begin
  12863. Case AName of
  12864. 'items' : SetLength(Fitems,ALength);
  12865. else
  12866. Inherited SetArrayLength(AName,ALength);
  12867. end;
  12868. end;
  12869. {$ENDIF VER2_6}
  12870. { --------------------------------------------------------------------
  12871. TTargetInstance
  12872. --------------------------------------------------------------------}
  12873. Procedure TTargetInstance.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  12874. begin
  12875. If (FcreationTimestamp=AValue) then exit;
  12876. FcreationTimestamp:=AValue;
  12877. MarkPropertyChanged(AIndex);
  12878. end;
  12879. Procedure TTargetInstance.Setdescription(AIndex : Integer; const AValue : String);
  12880. begin
  12881. If (Fdescription=AValue) then exit;
  12882. Fdescription:=AValue;
  12883. MarkPropertyChanged(AIndex);
  12884. end;
  12885. Procedure TTargetInstance.Setid(AIndex : Integer; const AValue : String);
  12886. begin
  12887. If (Fid=AValue) then exit;
  12888. Fid:=AValue;
  12889. MarkPropertyChanged(AIndex);
  12890. end;
  12891. Procedure TTargetInstance.Setinstance(AIndex : Integer; const AValue : String);
  12892. begin
  12893. If (Finstance=AValue) then exit;
  12894. Finstance:=AValue;
  12895. MarkPropertyChanged(AIndex);
  12896. end;
  12897. Procedure TTargetInstance.Setkind(AIndex : Integer; const AValue : String);
  12898. begin
  12899. If (Fkind=AValue) then exit;
  12900. Fkind:=AValue;
  12901. MarkPropertyChanged(AIndex);
  12902. end;
  12903. Procedure TTargetInstance.Setname(AIndex : Integer; const AValue : String);
  12904. begin
  12905. If (Fname=AValue) then exit;
  12906. Fname:=AValue;
  12907. MarkPropertyChanged(AIndex);
  12908. end;
  12909. Procedure TTargetInstance.SetnatPolicy(AIndex : Integer; const AValue : String);
  12910. begin
  12911. If (FnatPolicy=AValue) then exit;
  12912. FnatPolicy:=AValue;
  12913. MarkPropertyChanged(AIndex);
  12914. end;
  12915. Procedure TTargetInstance.SetselfLink(AIndex : Integer; const AValue : String);
  12916. begin
  12917. If (FselfLink=AValue) then exit;
  12918. FselfLink:=AValue;
  12919. MarkPropertyChanged(AIndex);
  12920. end;
  12921. Procedure TTargetInstance.Setzone(AIndex : Integer; const AValue : String);
  12922. begin
  12923. If (Fzone=AValue) then exit;
  12924. Fzone:=AValue;
  12925. MarkPropertyChanged(AIndex);
  12926. end;
  12927. { --------------------------------------------------------------------
  12928. TTargetInstanceAggregatedListTypeitems
  12929. --------------------------------------------------------------------}
  12930. Class Function TTargetInstanceAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  12931. begin
  12932. Result:=True;
  12933. end;
  12934. { --------------------------------------------------------------------
  12935. TTargetInstanceAggregatedList
  12936. --------------------------------------------------------------------}
  12937. Procedure TTargetInstanceAggregatedList.Setid(AIndex : Integer; const AValue : String);
  12938. begin
  12939. If (Fid=AValue) then exit;
  12940. Fid:=AValue;
  12941. MarkPropertyChanged(AIndex);
  12942. end;
  12943. Procedure TTargetInstanceAggregatedList.Setitems(AIndex : Integer; const AValue : TTargetInstanceAggregatedListTypeitems);
  12944. begin
  12945. If (Fitems=AValue) then exit;
  12946. Fitems:=AValue;
  12947. MarkPropertyChanged(AIndex);
  12948. end;
  12949. Procedure TTargetInstanceAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  12950. begin
  12951. If (Fkind=AValue) then exit;
  12952. Fkind:=AValue;
  12953. MarkPropertyChanged(AIndex);
  12954. end;
  12955. Procedure TTargetInstanceAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  12956. begin
  12957. If (FnextPageToken=AValue) then exit;
  12958. FnextPageToken:=AValue;
  12959. MarkPropertyChanged(AIndex);
  12960. end;
  12961. Procedure TTargetInstanceAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  12962. begin
  12963. If (FselfLink=AValue) then exit;
  12964. FselfLink:=AValue;
  12965. MarkPropertyChanged(AIndex);
  12966. end;
  12967. { --------------------------------------------------------------------
  12968. TTargetInstanceList
  12969. --------------------------------------------------------------------}
  12970. Procedure TTargetInstanceList.Setid(AIndex : Integer; const AValue : String);
  12971. begin
  12972. If (Fid=AValue) then exit;
  12973. Fid:=AValue;
  12974. MarkPropertyChanged(AIndex);
  12975. end;
  12976. Procedure TTargetInstanceList.Setitems(AIndex : Integer; const AValue : TTargetInstanceListTypeitemsArray);
  12977. begin
  12978. If (Fitems=AValue) then exit;
  12979. Fitems:=AValue;
  12980. MarkPropertyChanged(AIndex);
  12981. end;
  12982. Procedure TTargetInstanceList.Setkind(AIndex : Integer; const AValue : String);
  12983. begin
  12984. If (Fkind=AValue) then exit;
  12985. Fkind:=AValue;
  12986. MarkPropertyChanged(AIndex);
  12987. end;
  12988. Procedure TTargetInstanceList.SetnextPageToken(AIndex : Integer; const AValue : String);
  12989. begin
  12990. If (FnextPageToken=AValue) then exit;
  12991. FnextPageToken:=AValue;
  12992. MarkPropertyChanged(AIndex);
  12993. end;
  12994. Procedure TTargetInstanceList.SetselfLink(AIndex : Integer; const AValue : String);
  12995. begin
  12996. If (FselfLink=AValue) then exit;
  12997. FselfLink:=AValue;
  12998. MarkPropertyChanged(AIndex);
  12999. end;
  13000. //2.6.4. bug workaround
  13001. {$IFDEF VER2_6}
  13002. Procedure TTargetInstanceList.SetArrayLength(Const AName : String; ALength : Longint);
  13003. begin
  13004. Case AName of
  13005. 'items' : SetLength(Fitems,ALength);
  13006. else
  13007. Inherited SetArrayLength(AName,ALength);
  13008. end;
  13009. end;
  13010. {$ENDIF VER2_6}
  13011. { --------------------------------------------------------------------
  13012. TTargetInstancesScopedListTypewarningTypedataItem
  13013. --------------------------------------------------------------------}
  13014. Procedure TTargetInstancesScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  13015. begin
  13016. If (Fkey=AValue) then exit;
  13017. Fkey:=AValue;
  13018. MarkPropertyChanged(AIndex);
  13019. end;
  13020. Procedure TTargetInstancesScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  13021. begin
  13022. If (Fvalue=AValue) then exit;
  13023. Fvalue:=AValue;
  13024. MarkPropertyChanged(AIndex);
  13025. end;
  13026. { --------------------------------------------------------------------
  13027. TTargetInstancesScopedListTypewarning
  13028. --------------------------------------------------------------------}
  13029. Procedure TTargetInstancesScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  13030. begin
  13031. If (Fcode=AValue) then exit;
  13032. Fcode:=AValue;
  13033. MarkPropertyChanged(AIndex);
  13034. end;
  13035. Procedure TTargetInstancesScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TTargetInstancesScopedListTypewarningTypedataArray);
  13036. begin
  13037. If (Fdata=AValue) then exit;
  13038. Fdata:=AValue;
  13039. MarkPropertyChanged(AIndex);
  13040. end;
  13041. Procedure TTargetInstancesScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  13042. begin
  13043. If (Fmessage=AValue) then exit;
  13044. Fmessage:=AValue;
  13045. MarkPropertyChanged(AIndex);
  13046. end;
  13047. //2.6.4. bug workaround
  13048. {$IFDEF VER2_6}
  13049. Procedure TTargetInstancesScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  13050. begin
  13051. Case AName of
  13052. 'data' : SetLength(Fdata,ALength);
  13053. else
  13054. Inherited SetArrayLength(AName,ALength);
  13055. end;
  13056. end;
  13057. {$ENDIF VER2_6}
  13058. { --------------------------------------------------------------------
  13059. TTargetInstancesScopedList
  13060. --------------------------------------------------------------------}
  13061. Procedure TTargetInstancesScopedList.SettargetInstances(AIndex : Integer; const AValue : TTargetInstancesScopedListTypetargetInstancesArray);
  13062. begin
  13063. If (FtargetInstances=AValue) then exit;
  13064. FtargetInstances:=AValue;
  13065. MarkPropertyChanged(AIndex);
  13066. end;
  13067. Procedure TTargetInstancesScopedList.Setwarning(AIndex : Integer; const AValue : TTargetInstancesScopedListTypewarning);
  13068. begin
  13069. If (Fwarning=AValue) then exit;
  13070. Fwarning:=AValue;
  13071. MarkPropertyChanged(AIndex);
  13072. end;
  13073. //2.6.4. bug workaround
  13074. {$IFDEF VER2_6}
  13075. Procedure TTargetInstancesScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  13076. begin
  13077. Case AName of
  13078. 'targetinstances' : SetLength(FtargetInstances,ALength);
  13079. else
  13080. Inherited SetArrayLength(AName,ALength);
  13081. end;
  13082. end;
  13083. {$ENDIF VER2_6}
  13084. { --------------------------------------------------------------------
  13085. TTargetPool
  13086. --------------------------------------------------------------------}
  13087. Procedure TTargetPool.SetbackupPool(AIndex : Integer; const AValue : String);
  13088. begin
  13089. If (FbackupPool=AValue) then exit;
  13090. FbackupPool:=AValue;
  13091. MarkPropertyChanged(AIndex);
  13092. end;
  13093. Procedure TTargetPool.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  13094. begin
  13095. If (FcreationTimestamp=AValue) then exit;
  13096. FcreationTimestamp:=AValue;
  13097. MarkPropertyChanged(AIndex);
  13098. end;
  13099. Procedure TTargetPool.Setdescription(AIndex : Integer; const AValue : String);
  13100. begin
  13101. If (Fdescription=AValue) then exit;
  13102. Fdescription:=AValue;
  13103. MarkPropertyChanged(AIndex);
  13104. end;
  13105. Procedure TTargetPool.SetfailoverRatio(AIndex : Integer; const AValue : integer);
  13106. begin
  13107. If (FfailoverRatio=AValue) then exit;
  13108. FfailoverRatio:=AValue;
  13109. MarkPropertyChanged(AIndex);
  13110. end;
  13111. Procedure TTargetPool.SethealthChecks(AIndex : Integer; const AValue : TStringArray);
  13112. begin
  13113. If (FhealthChecks=AValue) then exit;
  13114. FhealthChecks:=AValue;
  13115. MarkPropertyChanged(AIndex);
  13116. end;
  13117. Procedure TTargetPool.Setid(AIndex : Integer; const AValue : String);
  13118. begin
  13119. If (Fid=AValue) then exit;
  13120. Fid:=AValue;
  13121. MarkPropertyChanged(AIndex);
  13122. end;
  13123. Procedure TTargetPool.Setinstances(AIndex : Integer; const AValue : TStringArray);
  13124. begin
  13125. If (Finstances=AValue) then exit;
  13126. Finstances:=AValue;
  13127. MarkPropertyChanged(AIndex);
  13128. end;
  13129. Procedure TTargetPool.Setkind(AIndex : Integer; const AValue : String);
  13130. begin
  13131. If (Fkind=AValue) then exit;
  13132. Fkind:=AValue;
  13133. MarkPropertyChanged(AIndex);
  13134. end;
  13135. Procedure TTargetPool.Setname(AIndex : Integer; const AValue : String);
  13136. begin
  13137. If (Fname=AValue) then exit;
  13138. Fname:=AValue;
  13139. MarkPropertyChanged(AIndex);
  13140. end;
  13141. Procedure TTargetPool.Setregion(AIndex : Integer; const AValue : String);
  13142. begin
  13143. If (Fregion=AValue) then exit;
  13144. Fregion:=AValue;
  13145. MarkPropertyChanged(AIndex);
  13146. end;
  13147. Procedure TTargetPool.SetselfLink(AIndex : Integer; const AValue : String);
  13148. begin
  13149. If (FselfLink=AValue) then exit;
  13150. FselfLink:=AValue;
  13151. MarkPropertyChanged(AIndex);
  13152. end;
  13153. Procedure TTargetPool.SetsessionAffinity(AIndex : Integer; const AValue : String);
  13154. begin
  13155. If (FsessionAffinity=AValue) then exit;
  13156. FsessionAffinity:=AValue;
  13157. MarkPropertyChanged(AIndex);
  13158. end;
  13159. //2.6.4. bug workaround
  13160. {$IFDEF VER2_6}
  13161. Procedure TTargetPool.SetArrayLength(Const AName : String; ALength : Longint);
  13162. begin
  13163. Case AName of
  13164. 'healthchecks' : SetLength(FhealthChecks,ALength);
  13165. 'instances' : SetLength(Finstances,ALength);
  13166. else
  13167. Inherited SetArrayLength(AName,ALength);
  13168. end;
  13169. end;
  13170. {$ENDIF VER2_6}
  13171. { --------------------------------------------------------------------
  13172. TTargetPoolAggregatedListTypeitems
  13173. --------------------------------------------------------------------}
  13174. Class Function TTargetPoolAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  13175. begin
  13176. Result:=True;
  13177. end;
  13178. { --------------------------------------------------------------------
  13179. TTargetPoolAggregatedList
  13180. --------------------------------------------------------------------}
  13181. Procedure TTargetPoolAggregatedList.Setid(AIndex : Integer; const AValue : String);
  13182. begin
  13183. If (Fid=AValue) then exit;
  13184. Fid:=AValue;
  13185. MarkPropertyChanged(AIndex);
  13186. end;
  13187. Procedure TTargetPoolAggregatedList.Setitems(AIndex : Integer; const AValue : TTargetPoolAggregatedListTypeitems);
  13188. begin
  13189. If (Fitems=AValue) then exit;
  13190. Fitems:=AValue;
  13191. MarkPropertyChanged(AIndex);
  13192. end;
  13193. Procedure TTargetPoolAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  13194. begin
  13195. If (Fkind=AValue) then exit;
  13196. Fkind:=AValue;
  13197. MarkPropertyChanged(AIndex);
  13198. end;
  13199. Procedure TTargetPoolAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  13200. begin
  13201. If (FnextPageToken=AValue) then exit;
  13202. FnextPageToken:=AValue;
  13203. MarkPropertyChanged(AIndex);
  13204. end;
  13205. Procedure TTargetPoolAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  13206. begin
  13207. If (FselfLink=AValue) then exit;
  13208. FselfLink:=AValue;
  13209. MarkPropertyChanged(AIndex);
  13210. end;
  13211. { --------------------------------------------------------------------
  13212. TTargetPoolInstanceHealth
  13213. --------------------------------------------------------------------}
  13214. Procedure TTargetPoolInstanceHealth.SethealthStatus(AIndex : Integer; const AValue : TTargetPoolInstanceHealthTypehealthStatusArray);
  13215. begin
  13216. If (FhealthStatus=AValue) then exit;
  13217. FhealthStatus:=AValue;
  13218. MarkPropertyChanged(AIndex);
  13219. end;
  13220. Procedure TTargetPoolInstanceHealth.Setkind(AIndex : Integer; const AValue : String);
  13221. begin
  13222. If (Fkind=AValue) then exit;
  13223. Fkind:=AValue;
  13224. MarkPropertyChanged(AIndex);
  13225. end;
  13226. //2.6.4. bug workaround
  13227. {$IFDEF VER2_6}
  13228. Procedure TTargetPoolInstanceHealth.SetArrayLength(Const AName : String; ALength : Longint);
  13229. begin
  13230. Case AName of
  13231. 'healthstatus' : SetLength(FhealthStatus,ALength);
  13232. else
  13233. Inherited SetArrayLength(AName,ALength);
  13234. end;
  13235. end;
  13236. {$ENDIF VER2_6}
  13237. { --------------------------------------------------------------------
  13238. TTargetPoolList
  13239. --------------------------------------------------------------------}
  13240. Procedure TTargetPoolList.Setid(AIndex : Integer; const AValue : String);
  13241. begin
  13242. If (Fid=AValue) then exit;
  13243. Fid:=AValue;
  13244. MarkPropertyChanged(AIndex);
  13245. end;
  13246. Procedure TTargetPoolList.Setitems(AIndex : Integer; const AValue : TTargetPoolListTypeitemsArray);
  13247. begin
  13248. If (Fitems=AValue) then exit;
  13249. Fitems:=AValue;
  13250. MarkPropertyChanged(AIndex);
  13251. end;
  13252. Procedure TTargetPoolList.Setkind(AIndex : Integer; const AValue : String);
  13253. begin
  13254. If (Fkind=AValue) then exit;
  13255. Fkind:=AValue;
  13256. MarkPropertyChanged(AIndex);
  13257. end;
  13258. Procedure TTargetPoolList.SetnextPageToken(AIndex : Integer; const AValue : String);
  13259. begin
  13260. If (FnextPageToken=AValue) then exit;
  13261. FnextPageToken:=AValue;
  13262. MarkPropertyChanged(AIndex);
  13263. end;
  13264. Procedure TTargetPoolList.SetselfLink(AIndex : Integer; const AValue : String);
  13265. begin
  13266. If (FselfLink=AValue) then exit;
  13267. FselfLink:=AValue;
  13268. MarkPropertyChanged(AIndex);
  13269. end;
  13270. //2.6.4. bug workaround
  13271. {$IFDEF VER2_6}
  13272. Procedure TTargetPoolList.SetArrayLength(Const AName : String; ALength : Longint);
  13273. begin
  13274. Case AName of
  13275. 'items' : SetLength(Fitems,ALength);
  13276. else
  13277. Inherited SetArrayLength(AName,ALength);
  13278. end;
  13279. end;
  13280. {$ENDIF VER2_6}
  13281. { --------------------------------------------------------------------
  13282. TTargetPoolsAddHealthCheckRequest
  13283. --------------------------------------------------------------------}
  13284. Procedure TTargetPoolsAddHealthCheckRequest.SethealthChecks(AIndex : Integer; const AValue : TTargetPoolsAddHealthCheckRequestTypehealthChecksArray);
  13285. begin
  13286. If (FhealthChecks=AValue) then exit;
  13287. FhealthChecks:=AValue;
  13288. MarkPropertyChanged(AIndex);
  13289. end;
  13290. //2.6.4. bug workaround
  13291. {$IFDEF VER2_6}
  13292. Procedure TTargetPoolsAddHealthCheckRequest.SetArrayLength(Const AName : String; ALength : Longint);
  13293. begin
  13294. Case AName of
  13295. 'healthchecks' : SetLength(FhealthChecks,ALength);
  13296. else
  13297. Inherited SetArrayLength(AName,ALength);
  13298. end;
  13299. end;
  13300. {$ENDIF VER2_6}
  13301. { --------------------------------------------------------------------
  13302. TTargetPoolsAddInstanceRequest
  13303. --------------------------------------------------------------------}
  13304. Procedure TTargetPoolsAddInstanceRequest.Setinstances(AIndex : Integer; const AValue : TTargetPoolsAddInstanceRequestTypeinstancesArray);
  13305. begin
  13306. If (Finstances=AValue) then exit;
  13307. Finstances:=AValue;
  13308. MarkPropertyChanged(AIndex);
  13309. end;
  13310. //2.6.4. bug workaround
  13311. {$IFDEF VER2_6}
  13312. Procedure TTargetPoolsAddInstanceRequest.SetArrayLength(Const AName : String; ALength : Longint);
  13313. begin
  13314. Case AName of
  13315. 'instances' : SetLength(Finstances,ALength);
  13316. else
  13317. Inherited SetArrayLength(AName,ALength);
  13318. end;
  13319. end;
  13320. {$ENDIF VER2_6}
  13321. { --------------------------------------------------------------------
  13322. TTargetPoolsRemoveHealthCheckRequest
  13323. --------------------------------------------------------------------}
  13324. Procedure TTargetPoolsRemoveHealthCheckRequest.SethealthChecks(AIndex : Integer; const AValue : TTargetPoolsRemoveHealthCheckRequestTypehealthChecksArray);
  13325. begin
  13326. If (FhealthChecks=AValue) then exit;
  13327. FhealthChecks:=AValue;
  13328. MarkPropertyChanged(AIndex);
  13329. end;
  13330. //2.6.4. bug workaround
  13331. {$IFDEF VER2_6}
  13332. Procedure TTargetPoolsRemoveHealthCheckRequest.SetArrayLength(Const AName : String; ALength : Longint);
  13333. begin
  13334. Case AName of
  13335. 'healthchecks' : SetLength(FhealthChecks,ALength);
  13336. else
  13337. Inherited SetArrayLength(AName,ALength);
  13338. end;
  13339. end;
  13340. {$ENDIF VER2_6}
  13341. { --------------------------------------------------------------------
  13342. TTargetPoolsRemoveInstanceRequest
  13343. --------------------------------------------------------------------}
  13344. Procedure TTargetPoolsRemoveInstanceRequest.Setinstances(AIndex : Integer; const AValue : TTargetPoolsRemoveInstanceRequestTypeinstancesArray);
  13345. begin
  13346. If (Finstances=AValue) then exit;
  13347. Finstances:=AValue;
  13348. MarkPropertyChanged(AIndex);
  13349. end;
  13350. //2.6.4. bug workaround
  13351. {$IFDEF VER2_6}
  13352. Procedure TTargetPoolsRemoveInstanceRequest.SetArrayLength(Const AName : String; ALength : Longint);
  13353. begin
  13354. Case AName of
  13355. 'instances' : SetLength(Finstances,ALength);
  13356. else
  13357. Inherited SetArrayLength(AName,ALength);
  13358. end;
  13359. end;
  13360. {$ENDIF VER2_6}
  13361. { --------------------------------------------------------------------
  13362. TTargetPoolsScopedListTypewarningTypedataItem
  13363. --------------------------------------------------------------------}
  13364. Procedure TTargetPoolsScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  13365. begin
  13366. If (Fkey=AValue) then exit;
  13367. Fkey:=AValue;
  13368. MarkPropertyChanged(AIndex);
  13369. end;
  13370. Procedure TTargetPoolsScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  13371. begin
  13372. If (Fvalue=AValue) then exit;
  13373. Fvalue:=AValue;
  13374. MarkPropertyChanged(AIndex);
  13375. end;
  13376. { --------------------------------------------------------------------
  13377. TTargetPoolsScopedListTypewarning
  13378. --------------------------------------------------------------------}
  13379. Procedure TTargetPoolsScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  13380. begin
  13381. If (Fcode=AValue) then exit;
  13382. Fcode:=AValue;
  13383. MarkPropertyChanged(AIndex);
  13384. end;
  13385. Procedure TTargetPoolsScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TTargetPoolsScopedListTypewarningTypedataArray);
  13386. begin
  13387. If (Fdata=AValue) then exit;
  13388. Fdata:=AValue;
  13389. MarkPropertyChanged(AIndex);
  13390. end;
  13391. Procedure TTargetPoolsScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  13392. begin
  13393. If (Fmessage=AValue) then exit;
  13394. Fmessage:=AValue;
  13395. MarkPropertyChanged(AIndex);
  13396. end;
  13397. //2.6.4. bug workaround
  13398. {$IFDEF VER2_6}
  13399. Procedure TTargetPoolsScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  13400. begin
  13401. Case AName of
  13402. 'data' : SetLength(Fdata,ALength);
  13403. else
  13404. Inherited SetArrayLength(AName,ALength);
  13405. end;
  13406. end;
  13407. {$ENDIF VER2_6}
  13408. { --------------------------------------------------------------------
  13409. TTargetPoolsScopedList
  13410. --------------------------------------------------------------------}
  13411. Procedure TTargetPoolsScopedList.SettargetPools(AIndex : Integer; const AValue : TTargetPoolsScopedListTypetargetPoolsArray);
  13412. begin
  13413. If (FtargetPools=AValue) then exit;
  13414. FtargetPools:=AValue;
  13415. MarkPropertyChanged(AIndex);
  13416. end;
  13417. Procedure TTargetPoolsScopedList.Setwarning(AIndex : Integer; const AValue : TTargetPoolsScopedListTypewarning);
  13418. begin
  13419. If (Fwarning=AValue) then exit;
  13420. Fwarning:=AValue;
  13421. MarkPropertyChanged(AIndex);
  13422. end;
  13423. //2.6.4. bug workaround
  13424. {$IFDEF VER2_6}
  13425. Procedure TTargetPoolsScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  13426. begin
  13427. Case AName of
  13428. 'targetpools' : SetLength(FtargetPools,ALength);
  13429. else
  13430. Inherited SetArrayLength(AName,ALength);
  13431. end;
  13432. end;
  13433. {$ENDIF VER2_6}
  13434. { --------------------------------------------------------------------
  13435. TTargetReference
  13436. --------------------------------------------------------------------}
  13437. Procedure TTargetReference.Settarget(AIndex : Integer; const AValue : String);
  13438. begin
  13439. If (Ftarget=AValue) then exit;
  13440. Ftarget:=AValue;
  13441. MarkPropertyChanged(AIndex);
  13442. end;
  13443. { --------------------------------------------------------------------
  13444. TTargetVpnGateway
  13445. --------------------------------------------------------------------}
  13446. Procedure TTargetVpnGateway.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  13447. begin
  13448. If (FcreationTimestamp=AValue) then exit;
  13449. FcreationTimestamp:=AValue;
  13450. MarkPropertyChanged(AIndex);
  13451. end;
  13452. Procedure TTargetVpnGateway.Setdescription(AIndex : Integer; const AValue : String);
  13453. begin
  13454. If (Fdescription=AValue) then exit;
  13455. Fdescription:=AValue;
  13456. MarkPropertyChanged(AIndex);
  13457. end;
  13458. Procedure TTargetVpnGateway.SetforwardingRules(AIndex : Integer; const AValue : TStringArray);
  13459. begin
  13460. If (FforwardingRules=AValue) then exit;
  13461. FforwardingRules:=AValue;
  13462. MarkPropertyChanged(AIndex);
  13463. end;
  13464. Procedure TTargetVpnGateway.Setid(AIndex : Integer; const AValue : String);
  13465. begin
  13466. If (Fid=AValue) then exit;
  13467. Fid:=AValue;
  13468. MarkPropertyChanged(AIndex);
  13469. end;
  13470. Procedure TTargetVpnGateway.Setkind(AIndex : Integer; const AValue : String);
  13471. begin
  13472. If (Fkind=AValue) then exit;
  13473. Fkind:=AValue;
  13474. MarkPropertyChanged(AIndex);
  13475. end;
  13476. Procedure TTargetVpnGateway.Setname(AIndex : Integer; const AValue : String);
  13477. begin
  13478. If (Fname=AValue) then exit;
  13479. Fname:=AValue;
  13480. MarkPropertyChanged(AIndex);
  13481. end;
  13482. Procedure TTargetVpnGateway.Setnetwork(AIndex : Integer; const AValue : String);
  13483. begin
  13484. If (Fnetwork=AValue) then exit;
  13485. Fnetwork:=AValue;
  13486. MarkPropertyChanged(AIndex);
  13487. end;
  13488. Procedure TTargetVpnGateway.Setregion(AIndex : Integer; const AValue : String);
  13489. begin
  13490. If (Fregion=AValue) then exit;
  13491. Fregion:=AValue;
  13492. MarkPropertyChanged(AIndex);
  13493. end;
  13494. Procedure TTargetVpnGateway.SetselfLink(AIndex : Integer; const AValue : String);
  13495. begin
  13496. If (FselfLink=AValue) then exit;
  13497. FselfLink:=AValue;
  13498. MarkPropertyChanged(AIndex);
  13499. end;
  13500. Procedure TTargetVpnGateway.Setstatus(AIndex : Integer; const AValue : String);
  13501. begin
  13502. If (Fstatus=AValue) then exit;
  13503. Fstatus:=AValue;
  13504. MarkPropertyChanged(AIndex);
  13505. end;
  13506. Procedure TTargetVpnGateway.Settunnels(AIndex : Integer; const AValue : TStringArray);
  13507. begin
  13508. If (Ftunnels=AValue) then exit;
  13509. Ftunnels:=AValue;
  13510. MarkPropertyChanged(AIndex);
  13511. end;
  13512. //2.6.4. bug workaround
  13513. {$IFDEF VER2_6}
  13514. Procedure TTargetVpnGateway.SetArrayLength(Const AName : String; ALength : Longint);
  13515. begin
  13516. Case AName of
  13517. 'forwardingrules' : SetLength(FforwardingRules,ALength);
  13518. 'tunnels' : SetLength(Ftunnels,ALength);
  13519. else
  13520. Inherited SetArrayLength(AName,ALength);
  13521. end;
  13522. end;
  13523. {$ENDIF VER2_6}
  13524. { --------------------------------------------------------------------
  13525. TTargetVpnGatewayAggregatedListTypeitems
  13526. --------------------------------------------------------------------}
  13527. Class Function TTargetVpnGatewayAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  13528. begin
  13529. Result:=True;
  13530. end;
  13531. { --------------------------------------------------------------------
  13532. TTargetVpnGatewayAggregatedList
  13533. --------------------------------------------------------------------}
  13534. Procedure TTargetVpnGatewayAggregatedList.Setid(AIndex : Integer; const AValue : String);
  13535. begin
  13536. If (Fid=AValue) then exit;
  13537. Fid:=AValue;
  13538. MarkPropertyChanged(AIndex);
  13539. end;
  13540. Procedure TTargetVpnGatewayAggregatedList.Setitems(AIndex : Integer; const AValue : TTargetVpnGatewayAggregatedListTypeitems);
  13541. begin
  13542. If (Fitems=AValue) then exit;
  13543. Fitems:=AValue;
  13544. MarkPropertyChanged(AIndex);
  13545. end;
  13546. Procedure TTargetVpnGatewayAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  13547. begin
  13548. If (Fkind=AValue) then exit;
  13549. Fkind:=AValue;
  13550. MarkPropertyChanged(AIndex);
  13551. end;
  13552. Procedure TTargetVpnGatewayAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  13553. begin
  13554. If (FnextPageToken=AValue) then exit;
  13555. FnextPageToken:=AValue;
  13556. MarkPropertyChanged(AIndex);
  13557. end;
  13558. Procedure TTargetVpnGatewayAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  13559. begin
  13560. If (FselfLink=AValue) then exit;
  13561. FselfLink:=AValue;
  13562. MarkPropertyChanged(AIndex);
  13563. end;
  13564. { --------------------------------------------------------------------
  13565. TTargetVpnGatewayList
  13566. --------------------------------------------------------------------}
  13567. Procedure TTargetVpnGatewayList.Setid(AIndex : Integer; const AValue : String);
  13568. begin
  13569. If (Fid=AValue) then exit;
  13570. Fid:=AValue;
  13571. MarkPropertyChanged(AIndex);
  13572. end;
  13573. Procedure TTargetVpnGatewayList.Setitems(AIndex : Integer; const AValue : TTargetVpnGatewayListTypeitemsArray);
  13574. begin
  13575. If (Fitems=AValue) then exit;
  13576. Fitems:=AValue;
  13577. MarkPropertyChanged(AIndex);
  13578. end;
  13579. Procedure TTargetVpnGatewayList.Setkind(AIndex : Integer; const AValue : String);
  13580. begin
  13581. If (Fkind=AValue) then exit;
  13582. Fkind:=AValue;
  13583. MarkPropertyChanged(AIndex);
  13584. end;
  13585. Procedure TTargetVpnGatewayList.SetnextPageToken(AIndex : Integer; const AValue : String);
  13586. begin
  13587. If (FnextPageToken=AValue) then exit;
  13588. FnextPageToken:=AValue;
  13589. MarkPropertyChanged(AIndex);
  13590. end;
  13591. Procedure TTargetVpnGatewayList.SetselfLink(AIndex : Integer; const AValue : String);
  13592. begin
  13593. If (FselfLink=AValue) then exit;
  13594. FselfLink:=AValue;
  13595. MarkPropertyChanged(AIndex);
  13596. end;
  13597. //2.6.4. bug workaround
  13598. {$IFDEF VER2_6}
  13599. Procedure TTargetVpnGatewayList.SetArrayLength(Const AName : String; ALength : Longint);
  13600. begin
  13601. Case AName of
  13602. 'items' : SetLength(Fitems,ALength);
  13603. else
  13604. Inherited SetArrayLength(AName,ALength);
  13605. end;
  13606. end;
  13607. {$ENDIF VER2_6}
  13608. { --------------------------------------------------------------------
  13609. TTargetVpnGatewaysScopedListTypewarningTypedataItem
  13610. --------------------------------------------------------------------}
  13611. Procedure TTargetVpnGatewaysScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  13612. begin
  13613. If (Fkey=AValue) then exit;
  13614. Fkey:=AValue;
  13615. MarkPropertyChanged(AIndex);
  13616. end;
  13617. Procedure TTargetVpnGatewaysScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  13618. begin
  13619. If (Fvalue=AValue) then exit;
  13620. Fvalue:=AValue;
  13621. MarkPropertyChanged(AIndex);
  13622. end;
  13623. { --------------------------------------------------------------------
  13624. TTargetVpnGatewaysScopedListTypewarning
  13625. --------------------------------------------------------------------}
  13626. Procedure TTargetVpnGatewaysScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  13627. begin
  13628. If (Fcode=AValue) then exit;
  13629. Fcode:=AValue;
  13630. MarkPropertyChanged(AIndex);
  13631. end;
  13632. Procedure TTargetVpnGatewaysScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TTargetVpnGatewaysScopedListTypewarningTypedataArray);
  13633. begin
  13634. If (Fdata=AValue) then exit;
  13635. Fdata:=AValue;
  13636. MarkPropertyChanged(AIndex);
  13637. end;
  13638. Procedure TTargetVpnGatewaysScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  13639. begin
  13640. If (Fmessage=AValue) then exit;
  13641. Fmessage:=AValue;
  13642. MarkPropertyChanged(AIndex);
  13643. end;
  13644. //2.6.4. bug workaround
  13645. {$IFDEF VER2_6}
  13646. Procedure TTargetVpnGatewaysScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  13647. begin
  13648. Case AName of
  13649. 'data' : SetLength(Fdata,ALength);
  13650. else
  13651. Inherited SetArrayLength(AName,ALength);
  13652. end;
  13653. end;
  13654. {$ENDIF VER2_6}
  13655. { --------------------------------------------------------------------
  13656. TTargetVpnGatewaysScopedList
  13657. --------------------------------------------------------------------}
  13658. Procedure TTargetVpnGatewaysScopedList.SettargetVpnGateways(AIndex : Integer; const AValue : TTargetVpnGatewaysScopedListTypetargetVpnGatewaysArray);
  13659. begin
  13660. If (FtargetVpnGateways=AValue) then exit;
  13661. FtargetVpnGateways:=AValue;
  13662. MarkPropertyChanged(AIndex);
  13663. end;
  13664. Procedure TTargetVpnGatewaysScopedList.Setwarning(AIndex : Integer; const AValue : TTargetVpnGatewaysScopedListTypewarning);
  13665. begin
  13666. If (Fwarning=AValue) then exit;
  13667. Fwarning:=AValue;
  13668. MarkPropertyChanged(AIndex);
  13669. end;
  13670. //2.6.4. bug workaround
  13671. {$IFDEF VER2_6}
  13672. Procedure TTargetVpnGatewaysScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  13673. begin
  13674. Case AName of
  13675. 'targetvpngateways' : SetLength(FtargetVpnGateways,ALength);
  13676. else
  13677. Inherited SetArrayLength(AName,ALength);
  13678. end;
  13679. end;
  13680. {$ENDIF VER2_6}
  13681. { --------------------------------------------------------------------
  13682. TTestFailure
  13683. --------------------------------------------------------------------}
  13684. Procedure TTestFailure.SetactualService(AIndex : Integer; const AValue : String);
  13685. begin
  13686. If (FactualService=AValue) then exit;
  13687. FactualService:=AValue;
  13688. MarkPropertyChanged(AIndex);
  13689. end;
  13690. Procedure TTestFailure.SetexpectedService(AIndex : Integer; const AValue : String);
  13691. begin
  13692. If (FexpectedService=AValue) then exit;
  13693. FexpectedService:=AValue;
  13694. MarkPropertyChanged(AIndex);
  13695. end;
  13696. Procedure TTestFailure.Sethost(AIndex : Integer; const AValue : String);
  13697. begin
  13698. If (Fhost=AValue) then exit;
  13699. Fhost:=AValue;
  13700. MarkPropertyChanged(AIndex);
  13701. end;
  13702. Procedure TTestFailure.Setpath(AIndex : Integer; const AValue : String);
  13703. begin
  13704. If (Fpath=AValue) then exit;
  13705. Fpath:=AValue;
  13706. MarkPropertyChanged(AIndex);
  13707. end;
  13708. { --------------------------------------------------------------------
  13709. TUrlMap
  13710. --------------------------------------------------------------------}
  13711. Procedure TUrlMap.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  13712. begin
  13713. If (FcreationTimestamp=AValue) then exit;
  13714. FcreationTimestamp:=AValue;
  13715. MarkPropertyChanged(AIndex);
  13716. end;
  13717. Procedure TUrlMap.SetdefaultService(AIndex : Integer; const AValue : String);
  13718. begin
  13719. If (FdefaultService=AValue) then exit;
  13720. FdefaultService:=AValue;
  13721. MarkPropertyChanged(AIndex);
  13722. end;
  13723. Procedure TUrlMap.Setdescription(AIndex : Integer; const AValue : String);
  13724. begin
  13725. If (Fdescription=AValue) then exit;
  13726. Fdescription:=AValue;
  13727. MarkPropertyChanged(AIndex);
  13728. end;
  13729. Procedure TUrlMap.Setfingerprint(AIndex : Integer; const AValue : String);
  13730. begin
  13731. If (Ffingerprint=AValue) then exit;
  13732. Ffingerprint:=AValue;
  13733. MarkPropertyChanged(AIndex);
  13734. end;
  13735. Procedure TUrlMap.SethostRules(AIndex : Integer; const AValue : TUrlMapTypehostRulesArray);
  13736. begin
  13737. If (FhostRules=AValue) then exit;
  13738. FhostRules:=AValue;
  13739. MarkPropertyChanged(AIndex);
  13740. end;
  13741. Procedure TUrlMap.Setid(AIndex : Integer; const AValue : String);
  13742. begin
  13743. If (Fid=AValue) then exit;
  13744. Fid:=AValue;
  13745. MarkPropertyChanged(AIndex);
  13746. end;
  13747. Procedure TUrlMap.Setkind(AIndex : Integer; const AValue : String);
  13748. begin
  13749. If (Fkind=AValue) then exit;
  13750. Fkind:=AValue;
  13751. MarkPropertyChanged(AIndex);
  13752. end;
  13753. Procedure TUrlMap.Setname(AIndex : Integer; const AValue : String);
  13754. begin
  13755. If (Fname=AValue) then exit;
  13756. Fname:=AValue;
  13757. MarkPropertyChanged(AIndex);
  13758. end;
  13759. Procedure TUrlMap.SetpathMatchers(AIndex : Integer; const AValue : TUrlMapTypepathMatchersArray);
  13760. begin
  13761. If (FpathMatchers=AValue) then exit;
  13762. FpathMatchers:=AValue;
  13763. MarkPropertyChanged(AIndex);
  13764. end;
  13765. Procedure TUrlMap.SetselfLink(AIndex : Integer; const AValue : String);
  13766. begin
  13767. If (FselfLink=AValue) then exit;
  13768. FselfLink:=AValue;
  13769. MarkPropertyChanged(AIndex);
  13770. end;
  13771. Procedure TUrlMap.Settests(AIndex : Integer; const AValue : TUrlMapTypetestsArray);
  13772. begin
  13773. If (Ftests=AValue) then exit;
  13774. Ftests:=AValue;
  13775. MarkPropertyChanged(AIndex);
  13776. end;
  13777. //2.6.4. bug workaround
  13778. {$IFDEF VER2_6}
  13779. Procedure TUrlMap.SetArrayLength(Const AName : String; ALength : Longint);
  13780. begin
  13781. Case AName of
  13782. 'hostrules' : SetLength(FhostRules,ALength);
  13783. 'pathmatchers' : SetLength(FpathMatchers,ALength);
  13784. 'tests' : SetLength(Ftests,ALength);
  13785. else
  13786. Inherited SetArrayLength(AName,ALength);
  13787. end;
  13788. end;
  13789. {$ENDIF VER2_6}
  13790. { --------------------------------------------------------------------
  13791. TUrlMapList
  13792. --------------------------------------------------------------------}
  13793. Procedure TUrlMapList.Setid(AIndex : Integer; const AValue : String);
  13794. begin
  13795. If (Fid=AValue) then exit;
  13796. Fid:=AValue;
  13797. MarkPropertyChanged(AIndex);
  13798. end;
  13799. Procedure TUrlMapList.Setitems(AIndex : Integer; const AValue : TUrlMapListTypeitemsArray);
  13800. begin
  13801. If (Fitems=AValue) then exit;
  13802. Fitems:=AValue;
  13803. MarkPropertyChanged(AIndex);
  13804. end;
  13805. Procedure TUrlMapList.Setkind(AIndex : Integer; const AValue : String);
  13806. begin
  13807. If (Fkind=AValue) then exit;
  13808. Fkind:=AValue;
  13809. MarkPropertyChanged(AIndex);
  13810. end;
  13811. Procedure TUrlMapList.SetnextPageToken(AIndex : Integer; const AValue : String);
  13812. begin
  13813. If (FnextPageToken=AValue) then exit;
  13814. FnextPageToken:=AValue;
  13815. MarkPropertyChanged(AIndex);
  13816. end;
  13817. Procedure TUrlMapList.SetselfLink(AIndex : Integer; const AValue : String);
  13818. begin
  13819. If (FselfLink=AValue) then exit;
  13820. FselfLink:=AValue;
  13821. MarkPropertyChanged(AIndex);
  13822. end;
  13823. //2.6.4. bug workaround
  13824. {$IFDEF VER2_6}
  13825. Procedure TUrlMapList.SetArrayLength(Const AName : String; ALength : Longint);
  13826. begin
  13827. Case AName of
  13828. 'items' : SetLength(Fitems,ALength);
  13829. else
  13830. Inherited SetArrayLength(AName,ALength);
  13831. end;
  13832. end;
  13833. {$ENDIF VER2_6}
  13834. { --------------------------------------------------------------------
  13835. TUrlMapReference
  13836. --------------------------------------------------------------------}
  13837. Procedure TUrlMapReference.SeturlMap(AIndex : Integer; const AValue : String);
  13838. begin
  13839. If (FurlMap=AValue) then exit;
  13840. FurlMap:=AValue;
  13841. MarkPropertyChanged(AIndex);
  13842. end;
  13843. { --------------------------------------------------------------------
  13844. TUrlMapTest
  13845. --------------------------------------------------------------------}
  13846. Procedure TUrlMapTest.Setdescription(AIndex : Integer; const AValue : String);
  13847. begin
  13848. If (Fdescription=AValue) then exit;
  13849. Fdescription:=AValue;
  13850. MarkPropertyChanged(AIndex);
  13851. end;
  13852. Procedure TUrlMapTest.Sethost(AIndex : Integer; const AValue : String);
  13853. begin
  13854. If (Fhost=AValue) then exit;
  13855. Fhost:=AValue;
  13856. MarkPropertyChanged(AIndex);
  13857. end;
  13858. Procedure TUrlMapTest.Setpath(AIndex : Integer; const AValue : String);
  13859. begin
  13860. If (Fpath=AValue) then exit;
  13861. Fpath:=AValue;
  13862. MarkPropertyChanged(AIndex);
  13863. end;
  13864. Procedure TUrlMapTest.Setservice(AIndex : Integer; const AValue : String);
  13865. begin
  13866. If (Fservice=AValue) then exit;
  13867. Fservice:=AValue;
  13868. MarkPropertyChanged(AIndex);
  13869. end;
  13870. { --------------------------------------------------------------------
  13871. TUrlMapValidationResult
  13872. --------------------------------------------------------------------}
  13873. Procedure TUrlMapValidationResult.SetloadErrors(AIndex : Integer; const AValue : TStringArray);
  13874. begin
  13875. If (FloadErrors=AValue) then exit;
  13876. FloadErrors:=AValue;
  13877. MarkPropertyChanged(AIndex);
  13878. end;
  13879. Procedure TUrlMapValidationResult.SetloadSucceeded(AIndex : Integer; const AValue : boolean);
  13880. begin
  13881. If (FloadSucceeded=AValue) then exit;
  13882. FloadSucceeded:=AValue;
  13883. MarkPropertyChanged(AIndex);
  13884. end;
  13885. Procedure TUrlMapValidationResult.SettestFailures(AIndex : Integer; const AValue : TUrlMapValidationResultTypetestFailuresArray);
  13886. begin
  13887. If (FtestFailures=AValue) then exit;
  13888. FtestFailures:=AValue;
  13889. MarkPropertyChanged(AIndex);
  13890. end;
  13891. Procedure TUrlMapValidationResult.SettestPassed(AIndex : Integer; const AValue : boolean);
  13892. begin
  13893. If (FtestPassed=AValue) then exit;
  13894. FtestPassed:=AValue;
  13895. MarkPropertyChanged(AIndex);
  13896. end;
  13897. //2.6.4. bug workaround
  13898. {$IFDEF VER2_6}
  13899. Procedure TUrlMapValidationResult.SetArrayLength(Const AName : String; ALength : Longint);
  13900. begin
  13901. Case AName of
  13902. 'loaderrors' : SetLength(FloadErrors,ALength);
  13903. 'testfailures' : SetLength(FtestFailures,ALength);
  13904. else
  13905. Inherited SetArrayLength(AName,ALength);
  13906. end;
  13907. end;
  13908. {$ENDIF VER2_6}
  13909. { --------------------------------------------------------------------
  13910. TUrlMapsValidateRequest
  13911. --------------------------------------------------------------------}
  13912. Procedure TUrlMapsValidateRequest.Setresource(AIndex : Integer; const AValue : TUrlMap);
  13913. begin
  13914. If (Fresource=AValue) then exit;
  13915. Fresource:=AValue;
  13916. MarkPropertyChanged(AIndex);
  13917. end;
  13918. { --------------------------------------------------------------------
  13919. TUrlMapsValidateResponse
  13920. --------------------------------------------------------------------}
  13921. Procedure TUrlMapsValidateResponse.Setresult(AIndex : Integer; const AValue : TUrlMapValidationResult);
  13922. begin
  13923. If (Fresult=AValue) then exit;
  13924. Fresult:=AValue;
  13925. MarkPropertyChanged(AIndex);
  13926. end;
  13927. { --------------------------------------------------------------------
  13928. TUsageExportLocation
  13929. --------------------------------------------------------------------}
  13930. Procedure TUsageExportLocation.SetbucketName(AIndex : Integer; const AValue : String);
  13931. begin
  13932. If (FbucketName=AValue) then exit;
  13933. FbucketName:=AValue;
  13934. MarkPropertyChanged(AIndex);
  13935. end;
  13936. Procedure TUsageExportLocation.SetreportNamePrefix(AIndex : Integer; const AValue : String);
  13937. begin
  13938. If (FreportNamePrefix=AValue) then exit;
  13939. FreportNamePrefix:=AValue;
  13940. MarkPropertyChanged(AIndex);
  13941. end;
  13942. { --------------------------------------------------------------------
  13943. TVpnTunnel
  13944. --------------------------------------------------------------------}
  13945. Procedure TVpnTunnel.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  13946. begin
  13947. If (FcreationTimestamp=AValue) then exit;
  13948. FcreationTimestamp:=AValue;
  13949. MarkPropertyChanged(AIndex);
  13950. end;
  13951. Procedure TVpnTunnel.Setdescription(AIndex : Integer; const AValue : String);
  13952. begin
  13953. If (Fdescription=AValue) then exit;
  13954. Fdescription:=AValue;
  13955. MarkPropertyChanged(AIndex);
  13956. end;
  13957. Procedure TVpnTunnel.SetdetailedStatus(AIndex : Integer; const AValue : String);
  13958. begin
  13959. If (FdetailedStatus=AValue) then exit;
  13960. FdetailedStatus:=AValue;
  13961. MarkPropertyChanged(AIndex);
  13962. end;
  13963. Procedure TVpnTunnel.Setid(AIndex : Integer; const AValue : String);
  13964. begin
  13965. If (Fid=AValue) then exit;
  13966. Fid:=AValue;
  13967. MarkPropertyChanged(AIndex);
  13968. end;
  13969. Procedure TVpnTunnel.SetikeVersion(AIndex : Integer; const AValue : integer);
  13970. begin
  13971. If (FikeVersion=AValue) then exit;
  13972. FikeVersion:=AValue;
  13973. MarkPropertyChanged(AIndex);
  13974. end;
  13975. Procedure TVpnTunnel.Setkind(AIndex : Integer; const AValue : String);
  13976. begin
  13977. If (Fkind=AValue) then exit;
  13978. Fkind:=AValue;
  13979. MarkPropertyChanged(AIndex);
  13980. end;
  13981. Procedure TVpnTunnel.SetlocalTrafficSelector(AIndex : Integer; const AValue : TStringArray);
  13982. begin
  13983. If (FlocalTrafficSelector=AValue) then exit;
  13984. FlocalTrafficSelector:=AValue;
  13985. MarkPropertyChanged(AIndex);
  13986. end;
  13987. Procedure TVpnTunnel.Setname(AIndex : Integer; const AValue : String);
  13988. begin
  13989. If (Fname=AValue) then exit;
  13990. Fname:=AValue;
  13991. MarkPropertyChanged(AIndex);
  13992. end;
  13993. Procedure TVpnTunnel.SetpeerIp(AIndex : Integer; const AValue : String);
  13994. begin
  13995. If (FpeerIp=AValue) then exit;
  13996. FpeerIp:=AValue;
  13997. MarkPropertyChanged(AIndex);
  13998. end;
  13999. Procedure TVpnTunnel.Setregion(AIndex : Integer; const AValue : String);
  14000. begin
  14001. If (Fregion=AValue) then exit;
  14002. Fregion:=AValue;
  14003. MarkPropertyChanged(AIndex);
  14004. end;
  14005. Procedure TVpnTunnel.SetselfLink(AIndex : Integer; const AValue : String);
  14006. begin
  14007. If (FselfLink=AValue) then exit;
  14008. FselfLink:=AValue;
  14009. MarkPropertyChanged(AIndex);
  14010. end;
  14011. Procedure TVpnTunnel.SetsharedSecret(AIndex : Integer; const AValue : String);
  14012. begin
  14013. If (FsharedSecret=AValue) then exit;
  14014. FsharedSecret:=AValue;
  14015. MarkPropertyChanged(AIndex);
  14016. end;
  14017. Procedure TVpnTunnel.SetsharedSecretHash(AIndex : Integer; const AValue : String);
  14018. begin
  14019. If (FsharedSecretHash=AValue) then exit;
  14020. FsharedSecretHash:=AValue;
  14021. MarkPropertyChanged(AIndex);
  14022. end;
  14023. Procedure TVpnTunnel.Setstatus(AIndex : Integer; const AValue : String);
  14024. begin
  14025. If (Fstatus=AValue) then exit;
  14026. Fstatus:=AValue;
  14027. MarkPropertyChanged(AIndex);
  14028. end;
  14029. Procedure TVpnTunnel.SettargetVpnGateway(AIndex : Integer; const AValue : String);
  14030. begin
  14031. If (FtargetVpnGateway=AValue) then exit;
  14032. FtargetVpnGateway:=AValue;
  14033. MarkPropertyChanged(AIndex);
  14034. end;
  14035. //2.6.4. bug workaround
  14036. {$IFDEF VER2_6}
  14037. Procedure TVpnTunnel.SetArrayLength(Const AName : String; ALength : Longint);
  14038. begin
  14039. Case AName of
  14040. 'localtrafficselector' : SetLength(FlocalTrafficSelector,ALength);
  14041. else
  14042. Inherited SetArrayLength(AName,ALength);
  14043. end;
  14044. end;
  14045. {$ENDIF VER2_6}
  14046. { --------------------------------------------------------------------
  14047. TVpnTunnelAggregatedListTypeitems
  14048. --------------------------------------------------------------------}
  14049. Class Function TVpnTunnelAggregatedListTypeitems.AllowAdditionalProperties : Boolean;
  14050. begin
  14051. Result:=True;
  14052. end;
  14053. { --------------------------------------------------------------------
  14054. TVpnTunnelAggregatedList
  14055. --------------------------------------------------------------------}
  14056. Procedure TVpnTunnelAggregatedList.Setid(AIndex : Integer; const AValue : String);
  14057. begin
  14058. If (Fid=AValue) then exit;
  14059. Fid:=AValue;
  14060. MarkPropertyChanged(AIndex);
  14061. end;
  14062. Procedure TVpnTunnelAggregatedList.Setitems(AIndex : Integer; const AValue : TVpnTunnelAggregatedListTypeitems);
  14063. begin
  14064. If (Fitems=AValue) then exit;
  14065. Fitems:=AValue;
  14066. MarkPropertyChanged(AIndex);
  14067. end;
  14068. Procedure TVpnTunnelAggregatedList.Setkind(AIndex : Integer; const AValue : String);
  14069. begin
  14070. If (Fkind=AValue) then exit;
  14071. Fkind:=AValue;
  14072. MarkPropertyChanged(AIndex);
  14073. end;
  14074. Procedure TVpnTunnelAggregatedList.SetnextPageToken(AIndex : Integer; const AValue : String);
  14075. begin
  14076. If (FnextPageToken=AValue) then exit;
  14077. FnextPageToken:=AValue;
  14078. MarkPropertyChanged(AIndex);
  14079. end;
  14080. Procedure TVpnTunnelAggregatedList.SetselfLink(AIndex : Integer; const AValue : String);
  14081. begin
  14082. If (FselfLink=AValue) then exit;
  14083. FselfLink:=AValue;
  14084. MarkPropertyChanged(AIndex);
  14085. end;
  14086. { --------------------------------------------------------------------
  14087. TVpnTunnelList
  14088. --------------------------------------------------------------------}
  14089. Procedure TVpnTunnelList.Setid(AIndex : Integer; const AValue : String);
  14090. begin
  14091. If (Fid=AValue) then exit;
  14092. Fid:=AValue;
  14093. MarkPropertyChanged(AIndex);
  14094. end;
  14095. Procedure TVpnTunnelList.Setitems(AIndex : Integer; const AValue : TVpnTunnelListTypeitemsArray);
  14096. begin
  14097. If (Fitems=AValue) then exit;
  14098. Fitems:=AValue;
  14099. MarkPropertyChanged(AIndex);
  14100. end;
  14101. Procedure TVpnTunnelList.Setkind(AIndex : Integer; const AValue : String);
  14102. begin
  14103. If (Fkind=AValue) then exit;
  14104. Fkind:=AValue;
  14105. MarkPropertyChanged(AIndex);
  14106. end;
  14107. Procedure TVpnTunnelList.SetnextPageToken(AIndex : Integer; const AValue : String);
  14108. begin
  14109. If (FnextPageToken=AValue) then exit;
  14110. FnextPageToken:=AValue;
  14111. MarkPropertyChanged(AIndex);
  14112. end;
  14113. Procedure TVpnTunnelList.SetselfLink(AIndex : Integer; const AValue : String);
  14114. begin
  14115. If (FselfLink=AValue) then exit;
  14116. FselfLink:=AValue;
  14117. MarkPropertyChanged(AIndex);
  14118. end;
  14119. //2.6.4. bug workaround
  14120. {$IFDEF VER2_6}
  14121. Procedure TVpnTunnelList.SetArrayLength(Const AName : String; ALength : Longint);
  14122. begin
  14123. Case AName of
  14124. 'items' : SetLength(Fitems,ALength);
  14125. else
  14126. Inherited SetArrayLength(AName,ALength);
  14127. end;
  14128. end;
  14129. {$ENDIF VER2_6}
  14130. { --------------------------------------------------------------------
  14131. TVpnTunnelsScopedListTypewarningTypedataItem
  14132. --------------------------------------------------------------------}
  14133. Procedure TVpnTunnelsScopedListTypewarningTypedataItem.Setkey(AIndex : Integer; const AValue : String);
  14134. begin
  14135. If (Fkey=AValue) then exit;
  14136. Fkey:=AValue;
  14137. MarkPropertyChanged(AIndex);
  14138. end;
  14139. Procedure TVpnTunnelsScopedListTypewarningTypedataItem.Setvalue(AIndex : Integer; const AValue : String);
  14140. begin
  14141. If (Fvalue=AValue) then exit;
  14142. Fvalue:=AValue;
  14143. MarkPropertyChanged(AIndex);
  14144. end;
  14145. { --------------------------------------------------------------------
  14146. TVpnTunnelsScopedListTypewarning
  14147. --------------------------------------------------------------------}
  14148. Procedure TVpnTunnelsScopedListTypewarning.Setcode(AIndex : Integer; const AValue : String);
  14149. begin
  14150. If (Fcode=AValue) then exit;
  14151. Fcode:=AValue;
  14152. MarkPropertyChanged(AIndex);
  14153. end;
  14154. Procedure TVpnTunnelsScopedListTypewarning.Setdata(AIndex : Integer; const AValue : TVpnTunnelsScopedListTypewarningTypedataArray);
  14155. begin
  14156. If (Fdata=AValue) then exit;
  14157. Fdata:=AValue;
  14158. MarkPropertyChanged(AIndex);
  14159. end;
  14160. Procedure TVpnTunnelsScopedListTypewarning.Setmessage(AIndex : Integer; const AValue : String);
  14161. begin
  14162. If (Fmessage=AValue) then exit;
  14163. Fmessage:=AValue;
  14164. MarkPropertyChanged(AIndex);
  14165. end;
  14166. //2.6.4. bug workaround
  14167. {$IFDEF VER2_6}
  14168. Procedure TVpnTunnelsScopedListTypewarning.SetArrayLength(Const AName : String; ALength : Longint);
  14169. begin
  14170. Case AName of
  14171. 'data' : SetLength(Fdata,ALength);
  14172. else
  14173. Inherited SetArrayLength(AName,ALength);
  14174. end;
  14175. end;
  14176. {$ENDIF VER2_6}
  14177. { --------------------------------------------------------------------
  14178. TVpnTunnelsScopedList
  14179. --------------------------------------------------------------------}
  14180. Procedure TVpnTunnelsScopedList.SetvpnTunnels(AIndex : Integer; const AValue : TVpnTunnelsScopedListTypevpnTunnelsArray);
  14181. begin
  14182. If (FvpnTunnels=AValue) then exit;
  14183. FvpnTunnels:=AValue;
  14184. MarkPropertyChanged(AIndex);
  14185. end;
  14186. Procedure TVpnTunnelsScopedList.Setwarning(AIndex : Integer; const AValue : TVpnTunnelsScopedListTypewarning);
  14187. begin
  14188. If (Fwarning=AValue) then exit;
  14189. Fwarning:=AValue;
  14190. MarkPropertyChanged(AIndex);
  14191. end;
  14192. //2.6.4. bug workaround
  14193. {$IFDEF VER2_6}
  14194. Procedure TVpnTunnelsScopedList.SetArrayLength(Const AName : String; ALength : Longint);
  14195. begin
  14196. Case AName of
  14197. 'vpntunnels' : SetLength(FvpnTunnels,ALength);
  14198. else
  14199. Inherited SetArrayLength(AName,ALength);
  14200. end;
  14201. end;
  14202. {$ENDIF VER2_6}
  14203. { --------------------------------------------------------------------
  14204. TZone
  14205. --------------------------------------------------------------------}
  14206. Procedure TZone.SetcreationTimestamp(AIndex : Integer; const AValue : String);
  14207. begin
  14208. If (FcreationTimestamp=AValue) then exit;
  14209. FcreationTimestamp:=AValue;
  14210. MarkPropertyChanged(AIndex);
  14211. end;
  14212. Procedure TZone.Setdeprecated(AIndex : Integer; const AValue : TDeprecationStatus);
  14213. begin
  14214. If (Fdeprecated=AValue) then exit;
  14215. Fdeprecated:=AValue;
  14216. MarkPropertyChanged(AIndex);
  14217. end;
  14218. Procedure TZone.Setdescription(AIndex : Integer; const AValue : String);
  14219. begin
  14220. If (Fdescription=AValue) then exit;
  14221. Fdescription:=AValue;
  14222. MarkPropertyChanged(AIndex);
  14223. end;
  14224. Procedure TZone.Setid(AIndex : Integer; const AValue : String);
  14225. begin
  14226. If (Fid=AValue) then exit;
  14227. Fid:=AValue;
  14228. MarkPropertyChanged(AIndex);
  14229. end;
  14230. Procedure TZone.Setkind(AIndex : Integer; const AValue : String);
  14231. begin
  14232. If (Fkind=AValue) then exit;
  14233. Fkind:=AValue;
  14234. MarkPropertyChanged(AIndex);
  14235. end;
  14236. Procedure TZone.Setname(AIndex : Integer; const AValue : String);
  14237. begin
  14238. If (Fname=AValue) then exit;
  14239. Fname:=AValue;
  14240. MarkPropertyChanged(AIndex);
  14241. end;
  14242. Procedure TZone.Setregion(AIndex : Integer; const AValue : String);
  14243. begin
  14244. If (Fregion=AValue) then exit;
  14245. Fregion:=AValue;
  14246. MarkPropertyChanged(AIndex);
  14247. end;
  14248. Procedure TZone.SetselfLink(AIndex : Integer; const AValue : String);
  14249. begin
  14250. If (FselfLink=AValue) then exit;
  14251. FselfLink:=AValue;
  14252. MarkPropertyChanged(AIndex);
  14253. end;
  14254. Procedure TZone.Setstatus(AIndex : Integer; const AValue : String);
  14255. begin
  14256. If (Fstatus=AValue) then exit;
  14257. Fstatus:=AValue;
  14258. MarkPropertyChanged(AIndex);
  14259. end;
  14260. { --------------------------------------------------------------------
  14261. TZoneList
  14262. --------------------------------------------------------------------}
  14263. Procedure TZoneList.Setid(AIndex : Integer; const AValue : String);
  14264. begin
  14265. If (Fid=AValue) then exit;
  14266. Fid:=AValue;
  14267. MarkPropertyChanged(AIndex);
  14268. end;
  14269. Procedure TZoneList.Setitems(AIndex : Integer; const AValue : TZoneListTypeitemsArray);
  14270. begin
  14271. If (Fitems=AValue) then exit;
  14272. Fitems:=AValue;
  14273. MarkPropertyChanged(AIndex);
  14274. end;
  14275. Procedure TZoneList.Setkind(AIndex : Integer; const AValue : String);
  14276. begin
  14277. If (Fkind=AValue) then exit;
  14278. Fkind:=AValue;
  14279. MarkPropertyChanged(AIndex);
  14280. end;
  14281. Procedure TZoneList.SetnextPageToken(AIndex : Integer; const AValue : String);
  14282. begin
  14283. If (FnextPageToken=AValue) then exit;
  14284. FnextPageToken:=AValue;
  14285. MarkPropertyChanged(AIndex);
  14286. end;
  14287. Procedure TZoneList.SetselfLink(AIndex : Integer; const AValue : String);
  14288. begin
  14289. If (FselfLink=AValue) then exit;
  14290. FselfLink:=AValue;
  14291. MarkPropertyChanged(AIndex);
  14292. end;
  14293. //2.6.4. bug workaround
  14294. {$IFDEF VER2_6}
  14295. Procedure TZoneList.SetArrayLength(Const AName : String; ALength : Longint);
  14296. begin
  14297. Case AName of
  14298. 'items' : SetLength(Fitems,ALength);
  14299. else
  14300. Inherited SetArrayLength(AName,ALength);
  14301. end;
  14302. end;
  14303. {$ENDIF VER2_6}
  14304. { --------------------------------------------------------------------
  14305. TAddressesResource
  14306. --------------------------------------------------------------------}
  14307. Class Function TAddressesResource.ResourceName : String;
  14308. begin
  14309. Result:='addresses';
  14310. end;
  14311. Class Function TAddressesResource.DefaultAPI : TGoogleAPIClass;
  14312. begin
  14313. Result:=TcomputeAPI;
  14314. end;
  14315. Function TAddressesResource.AggregatedList(project: string; AQuery : string = '') : TAddressAggregatedList;
  14316. Const
  14317. _HTTPMethod = 'GET';
  14318. _Path = '{project}/aggregated/addresses';
  14319. _Methodid = 'compute.addresses.aggregatedList';
  14320. Var
  14321. _P : String;
  14322. begin
  14323. _P:=SubstitutePath(_Path,['project',project]);
  14324. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAddressAggregatedList) as TAddressAggregatedList;
  14325. end;
  14326. Function TAddressesResource.AggregatedList(project: string; AQuery : TAddressesaggregatedListOptions) : TAddressAggregatedList;
  14327. Var
  14328. _Q : String;
  14329. begin
  14330. _Q:='';
  14331. AddToQuery(_Q,'filter',AQuery.filter);
  14332. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  14333. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  14334. Result:=AggregatedList(project,_Q);
  14335. end;
  14336. Function TAddressesResource.Delete(address: string; project: string; region: string) : TOperation;
  14337. Const
  14338. _HTTPMethod = 'DELETE';
  14339. _Path = '{project}/regions/{region}/addresses/{address}';
  14340. _Methodid = 'compute.addresses.delete';
  14341. Var
  14342. _P : String;
  14343. begin
  14344. _P:=SubstitutePath(_Path,['address',address,'project',project,'region',region]);
  14345. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  14346. end;
  14347. Function TAddressesResource.Get(address: string; project: string; region: string) : TAddress;
  14348. Const
  14349. _HTTPMethod = 'GET';
  14350. _Path = '{project}/regions/{region}/addresses/{address}';
  14351. _Methodid = 'compute.addresses.get';
  14352. Var
  14353. _P : String;
  14354. begin
  14355. _P:=SubstitutePath(_Path,['address',address,'project',project,'region',region]);
  14356. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAddress) as TAddress;
  14357. end;
  14358. Function TAddressesResource.Insert(project: string; region: string; aAddress : TAddress) : TOperation;
  14359. Const
  14360. _HTTPMethod = 'POST';
  14361. _Path = '{project}/regions/{region}/addresses';
  14362. _Methodid = 'compute.addresses.insert';
  14363. Var
  14364. _P : String;
  14365. begin
  14366. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  14367. Result:=ServiceCall(_HTTPMethod,_P,'',aAddress,TOperation) as TOperation;
  14368. end;
  14369. Function TAddressesResource.List(project: string; region: string; AQuery : string = '') : TAddressList;
  14370. Const
  14371. _HTTPMethod = 'GET';
  14372. _Path = '{project}/regions/{region}/addresses';
  14373. _Methodid = 'compute.addresses.list';
  14374. Var
  14375. _P : String;
  14376. begin
  14377. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  14378. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAddressList) as TAddressList;
  14379. end;
  14380. Function TAddressesResource.List(project: string; region: string; AQuery : TAddresseslistOptions) : TAddressList;
  14381. Var
  14382. _Q : String;
  14383. begin
  14384. _Q:='';
  14385. AddToQuery(_Q,'filter',AQuery.filter);
  14386. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  14387. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  14388. Result:=List(project,region,_Q);
  14389. end;
  14390. { --------------------------------------------------------------------
  14391. TAutoscalersResource
  14392. --------------------------------------------------------------------}
  14393. Class Function TAutoscalersResource.ResourceName : String;
  14394. begin
  14395. Result:='autoscalers';
  14396. end;
  14397. Class Function TAutoscalersResource.DefaultAPI : TGoogleAPIClass;
  14398. begin
  14399. Result:=TcomputeAPI;
  14400. end;
  14401. Function TAutoscalersResource.AggregatedList(project: string; AQuery : string = '') : TAutoscalerAggregatedList;
  14402. Const
  14403. _HTTPMethod = 'GET';
  14404. _Path = '{project}/aggregated/autoscalers';
  14405. _Methodid = 'compute.autoscalers.aggregatedList';
  14406. Var
  14407. _P : String;
  14408. begin
  14409. _P:=SubstitutePath(_Path,['project',project]);
  14410. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAutoscalerAggregatedList) as TAutoscalerAggregatedList;
  14411. end;
  14412. Function TAutoscalersResource.AggregatedList(project: string; AQuery : TAutoscalersaggregatedListOptions) : TAutoscalerAggregatedList;
  14413. Var
  14414. _Q : String;
  14415. begin
  14416. _Q:='';
  14417. AddToQuery(_Q,'filter',AQuery.filter);
  14418. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  14419. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  14420. Result:=AggregatedList(project,_Q);
  14421. end;
  14422. Function TAutoscalersResource.Delete(autoscaler: string; project: string; zone: string) : TOperation;
  14423. Const
  14424. _HTTPMethod = 'DELETE';
  14425. _Path = '{project}/zones/{zone}/autoscalers/{autoscaler}';
  14426. _Methodid = 'compute.autoscalers.delete';
  14427. Var
  14428. _P : String;
  14429. begin
  14430. _P:=SubstitutePath(_Path,['autoscaler',autoscaler,'project',project,'zone',zone]);
  14431. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  14432. end;
  14433. Function TAutoscalersResource.Get(autoscaler: string; project: string; zone: string) : TAutoscaler;
  14434. Const
  14435. _HTTPMethod = 'GET';
  14436. _Path = '{project}/zones/{zone}/autoscalers/{autoscaler}';
  14437. _Methodid = 'compute.autoscalers.get';
  14438. Var
  14439. _P : String;
  14440. begin
  14441. _P:=SubstitutePath(_Path,['autoscaler',autoscaler,'project',project,'zone',zone]);
  14442. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAutoscaler) as TAutoscaler;
  14443. end;
  14444. Function TAutoscalersResource.Insert(project: string; zone: string; aAutoscaler : TAutoscaler) : TOperation;
  14445. Const
  14446. _HTTPMethod = 'POST';
  14447. _Path = '{project}/zones/{zone}/autoscalers';
  14448. _Methodid = 'compute.autoscalers.insert';
  14449. Var
  14450. _P : String;
  14451. begin
  14452. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  14453. Result:=ServiceCall(_HTTPMethod,_P,'',aAutoscaler,TOperation) as TOperation;
  14454. end;
  14455. Function TAutoscalersResource.List(project: string; zone: string; AQuery : string = '') : TAutoscalerList;
  14456. Const
  14457. _HTTPMethod = 'GET';
  14458. _Path = '{project}/zones/{zone}/autoscalers';
  14459. _Methodid = 'compute.autoscalers.list';
  14460. Var
  14461. _P : String;
  14462. begin
  14463. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  14464. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAutoscalerList) as TAutoscalerList;
  14465. end;
  14466. Function TAutoscalersResource.List(project: string; zone: string; AQuery : TAutoscalerslistOptions) : TAutoscalerList;
  14467. Var
  14468. _Q : String;
  14469. begin
  14470. _Q:='';
  14471. AddToQuery(_Q,'filter',AQuery.filter);
  14472. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  14473. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  14474. Result:=List(project,zone,_Q);
  14475. end;
  14476. Function TAutoscalersResource.Patch(project: string; zone: string; aAutoscaler : TAutoscaler; AQuery : string = '') : TOperation;
  14477. Const
  14478. _HTTPMethod = 'PATCH';
  14479. _Path = '{project}/zones/{zone}/autoscalers';
  14480. _Methodid = 'compute.autoscalers.patch';
  14481. Var
  14482. _P : String;
  14483. begin
  14484. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  14485. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aAutoscaler,TOperation) as TOperation;
  14486. end;
  14487. Function TAutoscalersResource.Patch(project: string; zone: string; aAutoscaler : TAutoscaler; AQuery : TAutoscalerspatchOptions) : TOperation;
  14488. Var
  14489. _Q : String;
  14490. begin
  14491. _Q:='';
  14492. AddToQuery(_Q,'autoscaler',AQuery.autoscaler);
  14493. Result:=Patch(project,zone,aAutoscaler,_Q);
  14494. end;
  14495. Function TAutoscalersResource.Update(project: string; zone: string; aAutoscaler : TAutoscaler; AQuery : string = '') : TOperation;
  14496. Const
  14497. _HTTPMethod = 'PUT';
  14498. _Path = '{project}/zones/{zone}/autoscalers';
  14499. _Methodid = 'compute.autoscalers.update';
  14500. Var
  14501. _P : String;
  14502. begin
  14503. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  14504. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aAutoscaler,TOperation) as TOperation;
  14505. end;
  14506. Function TAutoscalersResource.Update(project: string; zone: string; aAutoscaler : TAutoscaler; AQuery : TAutoscalersupdateOptions) : TOperation;
  14507. Var
  14508. _Q : String;
  14509. begin
  14510. _Q:='';
  14511. AddToQuery(_Q,'autoscaler',AQuery.autoscaler);
  14512. Result:=Update(project,zone,aAutoscaler,_Q);
  14513. end;
  14514. { --------------------------------------------------------------------
  14515. TBackendServicesResource
  14516. --------------------------------------------------------------------}
  14517. Class Function TBackendServicesResource.ResourceName : String;
  14518. begin
  14519. Result:='backendServices';
  14520. end;
  14521. Class Function TBackendServicesResource.DefaultAPI : TGoogleAPIClass;
  14522. begin
  14523. Result:=TcomputeAPI;
  14524. end;
  14525. Function TBackendServicesResource.Delete(backendService: string; project: string) : TOperation;
  14526. Const
  14527. _HTTPMethod = 'DELETE';
  14528. _Path = '{project}/global/backendServices/{backendService}';
  14529. _Methodid = 'compute.backendServices.delete';
  14530. Var
  14531. _P : String;
  14532. begin
  14533. _P:=SubstitutePath(_Path,['backendService',backendService,'project',project]);
  14534. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  14535. end;
  14536. Function TBackendServicesResource.Get(backendService: string; project: string) : TBackendService;
  14537. Const
  14538. _HTTPMethod = 'GET';
  14539. _Path = '{project}/global/backendServices/{backendService}';
  14540. _Methodid = 'compute.backendServices.get';
  14541. Var
  14542. _P : String;
  14543. begin
  14544. _P:=SubstitutePath(_Path,['backendService',backendService,'project',project]);
  14545. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TBackendService) as TBackendService;
  14546. end;
  14547. Function TBackendServicesResource.GetHealth(backendService: string; project: string; aResourceGroupReference : TResourceGroupReference) : TBackendServiceGroupHealth;
  14548. Const
  14549. _HTTPMethod = 'POST';
  14550. _Path = '{project}/global/backendServices/{backendService}/getHealth';
  14551. _Methodid = 'compute.backendServices.getHealth';
  14552. Var
  14553. _P : String;
  14554. begin
  14555. _P:=SubstitutePath(_Path,['backendService',backendService,'project',project]);
  14556. Result:=ServiceCall(_HTTPMethod,_P,'',aResourceGroupReference,TBackendServiceGroupHealth) as TBackendServiceGroupHealth;
  14557. end;
  14558. Function TBackendServicesResource.Insert(project: string; aBackendService : TBackendService) : TOperation;
  14559. Const
  14560. _HTTPMethod = 'POST';
  14561. _Path = '{project}/global/backendServices';
  14562. _Methodid = 'compute.backendServices.insert';
  14563. Var
  14564. _P : String;
  14565. begin
  14566. _P:=SubstitutePath(_Path,['project',project]);
  14567. Result:=ServiceCall(_HTTPMethod,_P,'',aBackendService,TOperation) as TOperation;
  14568. end;
  14569. Function TBackendServicesResource.List(project: string; AQuery : string = '') : TBackendServiceList;
  14570. Const
  14571. _HTTPMethod = 'GET';
  14572. _Path = '{project}/global/backendServices';
  14573. _Methodid = 'compute.backendServices.list';
  14574. Var
  14575. _P : String;
  14576. begin
  14577. _P:=SubstitutePath(_Path,['project',project]);
  14578. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TBackendServiceList) as TBackendServiceList;
  14579. end;
  14580. Function TBackendServicesResource.List(project: string; AQuery : TBackendServiceslistOptions) : TBackendServiceList;
  14581. Var
  14582. _Q : String;
  14583. begin
  14584. _Q:='';
  14585. AddToQuery(_Q,'filter',AQuery.filter);
  14586. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  14587. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  14588. Result:=List(project,_Q);
  14589. end;
  14590. Function TBackendServicesResource.Patch(backendService: string; project: string; aBackendService : TBackendService) : TOperation;
  14591. Const
  14592. _HTTPMethod = 'PATCH';
  14593. _Path = '{project}/global/backendServices/{backendService}';
  14594. _Methodid = 'compute.backendServices.patch';
  14595. Var
  14596. _P : String;
  14597. begin
  14598. _P:=SubstitutePath(_Path,['backendService',backendService,'project',project]);
  14599. Result:=ServiceCall(_HTTPMethod,_P,'',aBackendService,TOperation) as TOperation;
  14600. end;
  14601. Function TBackendServicesResource.Update(backendService: string; project: string; aBackendService : TBackendService) : TOperation;
  14602. Const
  14603. _HTTPMethod = 'PUT';
  14604. _Path = '{project}/global/backendServices/{backendService}';
  14605. _Methodid = 'compute.backendServices.update';
  14606. Var
  14607. _P : String;
  14608. begin
  14609. _P:=SubstitutePath(_Path,['backendService',backendService,'project',project]);
  14610. Result:=ServiceCall(_HTTPMethod,_P,'',aBackendService,TOperation) as TOperation;
  14611. end;
  14612. { --------------------------------------------------------------------
  14613. TDiskTypesResource
  14614. --------------------------------------------------------------------}
  14615. Class Function TDiskTypesResource.ResourceName : String;
  14616. begin
  14617. Result:='diskTypes';
  14618. end;
  14619. Class Function TDiskTypesResource.DefaultAPI : TGoogleAPIClass;
  14620. begin
  14621. Result:=TcomputeAPI;
  14622. end;
  14623. Function TDiskTypesResource.AggregatedList(project: string; AQuery : string = '') : TDiskTypeAggregatedList;
  14624. Const
  14625. _HTTPMethod = 'GET';
  14626. _Path = '{project}/aggregated/diskTypes';
  14627. _Methodid = 'compute.diskTypes.aggregatedList';
  14628. Var
  14629. _P : String;
  14630. begin
  14631. _P:=SubstitutePath(_Path,['project',project]);
  14632. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TDiskTypeAggregatedList) as TDiskTypeAggregatedList;
  14633. end;
  14634. Function TDiskTypesResource.AggregatedList(project: string; AQuery : TDiskTypesaggregatedListOptions) : TDiskTypeAggregatedList;
  14635. Var
  14636. _Q : String;
  14637. begin
  14638. _Q:='';
  14639. AddToQuery(_Q,'filter',AQuery.filter);
  14640. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  14641. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  14642. Result:=AggregatedList(project,_Q);
  14643. end;
  14644. Function TDiskTypesResource.Get(diskType: string; project: string; zone: string) : TDiskType;
  14645. Const
  14646. _HTTPMethod = 'GET';
  14647. _Path = '{project}/zones/{zone}/diskTypes/{diskType}';
  14648. _Methodid = 'compute.diskTypes.get';
  14649. Var
  14650. _P : String;
  14651. begin
  14652. _P:=SubstitutePath(_Path,['diskType',diskType,'project',project,'zone',zone]);
  14653. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TDiskType) as TDiskType;
  14654. end;
  14655. Function TDiskTypesResource.List(project: string; zone: string; AQuery : string = '') : TDiskTypeList;
  14656. Const
  14657. _HTTPMethod = 'GET';
  14658. _Path = '{project}/zones/{zone}/diskTypes';
  14659. _Methodid = 'compute.diskTypes.list';
  14660. Var
  14661. _P : String;
  14662. begin
  14663. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  14664. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TDiskTypeList) as TDiskTypeList;
  14665. end;
  14666. Function TDiskTypesResource.List(project: string; zone: string; AQuery : TDiskTypeslistOptions) : TDiskTypeList;
  14667. Var
  14668. _Q : String;
  14669. begin
  14670. _Q:='';
  14671. AddToQuery(_Q,'filter',AQuery.filter);
  14672. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  14673. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  14674. Result:=List(project,zone,_Q);
  14675. end;
  14676. { --------------------------------------------------------------------
  14677. TDisksResource
  14678. --------------------------------------------------------------------}
  14679. Class Function TDisksResource.ResourceName : String;
  14680. begin
  14681. Result:='disks';
  14682. end;
  14683. Class Function TDisksResource.DefaultAPI : TGoogleAPIClass;
  14684. begin
  14685. Result:=TcomputeAPI;
  14686. end;
  14687. Function TDisksResource.AggregatedList(project: string; AQuery : string = '') : TDiskAggregatedList;
  14688. Const
  14689. _HTTPMethod = 'GET';
  14690. _Path = '{project}/aggregated/disks';
  14691. _Methodid = 'compute.disks.aggregatedList';
  14692. Var
  14693. _P : String;
  14694. begin
  14695. _P:=SubstitutePath(_Path,['project',project]);
  14696. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TDiskAggregatedList) as TDiskAggregatedList;
  14697. end;
  14698. Function TDisksResource.AggregatedList(project: string; AQuery : TDisksaggregatedListOptions) : TDiskAggregatedList;
  14699. Var
  14700. _Q : String;
  14701. begin
  14702. _Q:='';
  14703. AddToQuery(_Q,'filter',AQuery.filter);
  14704. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  14705. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  14706. Result:=AggregatedList(project,_Q);
  14707. end;
  14708. Function TDisksResource.CreateSnapshot(disk: string; project: string; zone: string; aSnapshot : TSnapshot) : TOperation;
  14709. Const
  14710. _HTTPMethod = 'POST';
  14711. _Path = '{project}/zones/{zone}/disks/{disk}/createSnapshot';
  14712. _Methodid = 'compute.disks.createSnapshot';
  14713. Var
  14714. _P : String;
  14715. begin
  14716. _P:=SubstitutePath(_Path,['disk',disk,'project',project,'zone',zone]);
  14717. Result:=ServiceCall(_HTTPMethod,_P,'',aSnapshot,TOperation) as TOperation;
  14718. end;
  14719. Function TDisksResource.Delete(disk: string; project: string; zone: string) : TOperation;
  14720. Const
  14721. _HTTPMethod = 'DELETE';
  14722. _Path = '{project}/zones/{zone}/disks/{disk}';
  14723. _Methodid = 'compute.disks.delete';
  14724. Var
  14725. _P : String;
  14726. begin
  14727. _P:=SubstitutePath(_Path,['disk',disk,'project',project,'zone',zone]);
  14728. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  14729. end;
  14730. Function TDisksResource.Get(disk: string; project: string; zone: string) : TDisk;
  14731. Const
  14732. _HTTPMethod = 'GET';
  14733. _Path = '{project}/zones/{zone}/disks/{disk}';
  14734. _Methodid = 'compute.disks.get';
  14735. Var
  14736. _P : String;
  14737. begin
  14738. _P:=SubstitutePath(_Path,['disk',disk,'project',project,'zone',zone]);
  14739. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TDisk) as TDisk;
  14740. end;
  14741. Function TDisksResource.Insert(project: string; zone: string; aDisk : TDisk; AQuery : string = '') : TOperation;
  14742. Const
  14743. _HTTPMethod = 'POST';
  14744. _Path = '{project}/zones/{zone}/disks';
  14745. _Methodid = 'compute.disks.insert';
  14746. Var
  14747. _P : String;
  14748. begin
  14749. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  14750. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aDisk,TOperation) as TOperation;
  14751. end;
  14752. Function TDisksResource.Insert(project: string; zone: string; aDisk : TDisk; AQuery : TDisksinsertOptions) : TOperation;
  14753. Var
  14754. _Q : String;
  14755. begin
  14756. _Q:='';
  14757. AddToQuery(_Q,'sourceImage',AQuery.sourceImage);
  14758. Result:=Insert(project,zone,aDisk,_Q);
  14759. end;
  14760. Function TDisksResource.List(project: string; zone: string; AQuery : string = '') : TDiskList;
  14761. Const
  14762. _HTTPMethod = 'GET';
  14763. _Path = '{project}/zones/{zone}/disks';
  14764. _Methodid = 'compute.disks.list';
  14765. Var
  14766. _P : String;
  14767. begin
  14768. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  14769. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TDiskList) as TDiskList;
  14770. end;
  14771. Function TDisksResource.List(project: string; zone: string; AQuery : TDiskslistOptions) : TDiskList;
  14772. Var
  14773. _Q : String;
  14774. begin
  14775. _Q:='';
  14776. AddToQuery(_Q,'filter',AQuery.filter);
  14777. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  14778. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  14779. Result:=List(project,zone,_Q);
  14780. end;
  14781. Function TDisksResource.Resize(disk: string; project: string; zone: string; aDisksResizeRequest : TDisksResizeRequest) : TOperation;
  14782. Const
  14783. _HTTPMethod = 'POST';
  14784. _Path = '{project}/zones/{zone}/disks/{disk}/resize';
  14785. _Methodid = 'compute.disks.resize';
  14786. Var
  14787. _P : String;
  14788. begin
  14789. _P:=SubstitutePath(_Path,['disk',disk,'project',project,'zone',zone]);
  14790. Result:=ServiceCall(_HTTPMethod,_P,'',aDisksResizeRequest,TOperation) as TOperation;
  14791. end;
  14792. { --------------------------------------------------------------------
  14793. TFirewallsResource
  14794. --------------------------------------------------------------------}
  14795. Class Function TFirewallsResource.ResourceName : String;
  14796. begin
  14797. Result:='firewalls';
  14798. end;
  14799. Class Function TFirewallsResource.DefaultAPI : TGoogleAPIClass;
  14800. begin
  14801. Result:=TcomputeAPI;
  14802. end;
  14803. Function TFirewallsResource.Delete(firewall: string; project: string) : TOperation;
  14804. Const
  14805. _HTTPMethod = 'DELETE';
  14806. _Path = '{project}/global/firewalls/{firewall}';
  14807. _Methodid = 'compute.firewalls.delete';
  14808. Var
  14809. _P : String;
  14810. begin
  14811. _P:=SubstitutePath(_Path,['firewall',firewall,'project',project]);
  14812. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  14813. end;
  14814. Function TFirewallsResource.Get(firewall: string; project: string) : TFirewall;
  14815. Const
  14816. _HTTPMethod = 'GET';
  14817. _Path = '{project}/global/firewalls/{firewall}';
  14818. _Methodid = 'compute.firewalls.get';
  14819. Var
  14820. _P : String;
  14821. begin
  14822. _P:=SubstitutePath(_Path,['firewall',firewall,'project',project]);
  14823. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TFirewall) as TFirewall;
  14824. end;
  14825. Function TFirewallsResource.Insert(project: string; aFirewall : TFirewall) : TOperation;
  14826. Const
  14827. _HTTPMethod = 'POST';
  14828. _Path = '{project}/global/firewalls';
  14829. _Methodid = 'compute.firewalls.insert';
  14830. Var
  14831. _P : String;
  14832. begin
  14833. _P:=SubstitutePath(_Path,['project',project]);
  14834. Result:=ServiceCall(_HTTPMethod,_P,'',aFirewall,TOperation) as TOperation;
  14835. end;
  14836. Function TFirewallsResource.List(project: string; AQuery : string = '') : TFirewallList;
  14837. Const
  14838. _HTTPMethod = 'GET';
  14839. _Path = '{project}/global/firewalls';
  14840. _Methodid = 'compute.firewalls.list';
  14841. Var
  14842. _P : String;
  14843. begin
  14844. _P:=SubstitutePath(_Path,['project',project]);
  14845. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TFirewallList) as TFirewallList;
  14846. end;
  14847. Function TFirewallsResource.List(project: string; AQuery : TFirewallslistOptions) : TFirewallList;
  14848. Var
  14849. _Q : String;
  14850. begin
  14851. _Q:='';
  14852. AddToQuery(_Q,'filter',AQuery.filter);
  14853. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  14854. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  14855. Result:=List(project,_Q);
  14856. end;
  14857. Function TFirewallsResource.Patch(firewall: string; project: string; aFirewall : TFirewall) : TOperation;
  14858. Const
  14859. _HTTPMethod = 'PATCH';
  14860. _Path = '{project}/global/firewalls/{firewall}';
  14861. _Methodid = 'compute.firewalls.patch';
  14862. Var
  14863. _P : String;
  14864. begin
  14865. _P:=SubstitutePath(_Path,['firewall',firewall,'project',project]);
  14866. Result:=ServiceCall(_HTTPMethod,_P,'',aFirewall,TOperation) as TOperation;
  14867. end;
  14868. Function TFirewallsResource.Update(firewall: string; project: string; aFirewall : TFirewall) : TOperation;
  14869. Const
  14870. _HTTPMethod = 'PUT';
  14871. _Path = '{project}/global/firewalls/{firewall}';
  14872. _Methodid = 'compute.firewalls.update';
  14873. Var
  14874. _P : String;
  14875. begin
  14876. _P:=SubstitutePath(_Path,['firewall',firewall,'project',project]);
  14877. Result:=ServiceCall(_HTTPMethod,_P,'',aFirewall,TOperation) as TOperation;
  14878. end;
  14879. { --------------------------------------------------------------------
  14880. TForwardingRulesResource
  14881. --------------------------------------------------------------------}
  14882. Class Function TForwardingRulesResource.ResourceName : String;
  14883. begin
  14884. Result:='forwardingRules';
  14885. end;
  14886. Class Function TForwardingRulesResource.DefaultAPI : TGoogleAPIClass;
  14887. begin
  14888. Result:=TcomputeAPI;
  14889. end;
  14890. Function TForwardingRulesResource.AggregatedList(project: string; AQuery : string = '') : TForwardingRuleAggregatedList;
  14891. Const
  14892. _HTTPMethod = 'GET';
  14893. _Path = '{project}/aggregated/forwardingRules';
  14894. _Methodid = 'compute.forwardingRules.aggregatedList';
  14895. Var
  14896. _P : String;
  14897. begin
  14898. _P:=SubstitutePath(_Path,['project',project]);
  14899. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TForwardingRuleAggregatedList) as TForwardingRuleAggregatedList;
  14900. end;
  14901. Function TForwardingRulesResource.AggregatedList(project: string; AQuery : TForwardingRulesaggregatedListOptions) : TForwardingRuleAggregatedList;
  14902. Var
  14903. _Q : String;
  14904. begin
  14905. _Q:='';
  14906. AddToQuery(_Q,'filter',AQuery.filter);
  14907. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  14908. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  14909. Result:=AggregatedList(project,_Q);
  14910. end;
  14911. Function TForwardingRulesResource.Delete(forwardingRule: string; project: string; region: string) : TOperation;
  14912. Const
  14913. _HTTPMethod = 'DELETE';
  14914. _Path = '{project}/regions/{region}/forwardingRules/{forwardingRule}';
  14915. _Methodid = 'compute.forwardingRules.delete';
  14916. Var
  14917. _P : String;
  14918. begin
  14919. _P:=SubstitutePath(_Path,['forwardingRule',forwardingRule,'project',project,'region',region]);
  14920. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  14921. end;
  14922. Function TForwardingRulesResource.Get(forwardingRule: string; project: string; region: string) : TForwardingRule;
  14923. Const
  14924. _HTTPMethod = 'GET';
  14925. _Path = '{project}/regions/{region}/forwardingRules/{forwardingRule}';
  14926. _Methodid = 'compute.forwardingRules.get';
  14927. Var
  14928. _P : String;
  14929. begin
  14930. _P:=SubstitutePath(_Path,['forwardingRule',forwardingRule,'project',project,'region',region]);
  14931. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TForwardingRule) as TForwardingRule;
  14932. end;
  14933. Function TForwardingRulesResource.Insert(project: string; region: string; aForwardingRule : TForwardingRule) : TOperation;
  14934. Const
  14935. _HTTPMethod = 'POST';
  14936. _Path = '{project}/regions/{region}/forwardingRules';
  14937. _Methodid = 'compute.forwardingRules.insert';
  14938. Var
  14939. _P : String;
  14940. begin
  14941. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  14942. Result:=ServiceCall(_HTTPMethod,_P,'',aForwardingRule,TOperation) as TOperation;
  14943. end;
  14944. Function TForwardingRulesResource.List(project: string; region: string; AQuery : string = '') : TForwardingRuleList;
  14945. Const
  14946. _HTTPMethod = 'GET';
  14947. _Path = '{project}/regions/{region}/forwardingRules';
  14948. _Methodid = 'compute.forwardingRules.list';
  14949. Var
  14950. _P : String;
  14951. begin
  14952. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  14953. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TForwardingRuleList) as TForwardingRuleList;
  14954. end;
  14955. Function TForwardingRulesResource.List(project: string; region: string; AQuery : TForwardingRuleslistOptions) : TForwardingRuleList;
  14956. Var
  14957. _Q : String;
  14958. begin
  14959. _Q:='';
  14960. AddToQuery(_Q,'filter',AQuery.filter);
  14961. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  14962. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  14963. Result:=List(project,region,_Q);
  14964. end;
  14965. Function TForwardingRulesResource.SetTarget(forwardingRule: string; project: string; region: string; aTargetReference : TTargetReference) : TOperation;
  14966. Const
  14967. _HTTPMethod = 'POST';
  14968. _Path = '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget';
  14969. _Methodid = 'compute.forwardingRules.setTarget';
  14970. Var
  14971. _P : String;
  14972. begin
  14973. _P:=SubstitutePath(_Path,['forwardingRule',forwardingRule,'project',project,'region',region]);
  14974. Result:=ServiceCall(_HTTPMethod,_P,'',aTargetReference,TOperation) as TOperation;
  14975. end;
  14976. { --------------------------------------------------------------------
  14977. TGlobalAddressesResource
  14978. --------------------------------------------------------------------}
  14979. Class Function TGlobalAddressesResource.ResourceName : String;
  14980. begin
  14981. Result:='globalAddresses';
  14982. end;
  14983. Class Function TGlobalAddressesResource.DefaultAPI : TGoogleAPIClass;
  14984. begin
  14985. Result:=TcomputeAPI;
  14986. end;
  14987. Function TGlobalAddressesResource.Delete(address: string; project: string) : TOperation;
  14988. Const
  14989. _HTTPMethod = 'DELETE';
  14990. _Path = '{project}/global/addresses/{address}';
  14991. _Methodid = 'compute.globalAddresses.delete';
  14992. Var
  14993. _P : String;
  14994. begin
  14995. _P:=SubstitutePath(_Path,['address',address,'project',project]);
  14996. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  14997. end;
  14998. Function TGlobalAddressesResource.Get(address: string; project: string) : TAddress;
  14999. Const
  15000. _HTTPMethod = 'GET';
  15001. _Path = '{project}/global/addresses/{address}';
  15002. _Methodid = 'compute.globalAddresses.get';
  15003. Var
  15004. _P : String;
  15005. begin
  15006. _P:=SubstitutePath(_Path,['address',address,'project',project]);
  15007. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TAddress) as TAddress;
  15008. end;
  15009. Function TGlobalAddressesResource.Insert(project: string; aAddress : TAddress) : TOperation;
  15010. Const
  15011. _HTTPMethod = 'POST';
  15012. _Path = '{project}/global/addresses';
  15013. _Methodid = 'compute.globalAddresses.insert';
  15014. Var
  15015. _P : String;
  15016. begin
  15017. _P:=SubstitutePath(_Path,['project',project]);
  15018. Result:=ServiceCall(_HTTPMethod,_P,'',aAddress,TOperation) as TOperation;
  15019. end;
  15020. Function TGlobalAddressesResource.List(project: string; AQuery : string = '') : TAddressList;
  15021. Const
  15022. _HTTPMethod = 'GET';
  15023. _Path = '{project}/global/addresses';
  15024. _Methodid = 'compute.globalAddresses.list';
  15025. Var
  15026. _P : String;
  15027. begin
  15028. _P:=SubstitutePath(_Path,['project',project]);
  15029. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TAddressList) as TAddressList;
  15030. end;
  15031. Function TGlobalAddressesResource.List(project: string; AQuery : TGlobalAddresseslistOptions) : TAddressList;
  15032. Var
  15033. _Q : String;
  15034. begin
  15035. _Q:='';
  15036. AddToQuery(_Q,'filter',AQuery.filter);
  15037. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15038. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15039. Result:=List(project,_Q);
  15040. end;
  15041. { --------------------------------------------------------------------
  15042. TGlobalForwardingRulesResource
  15043. --------------------------------------------------------------------}
  15044. Class Function TGlobalForwardingRulesResource.ResourceName : String;
  15045. begin
  15046. Result:='globalForwardingRules';
  15047. end;
  15048. Class Function TGlobalForwardingRulesResource.DefaultAPI : TGoogleAPIClass;
  15049. begin
  15050. Result:=TcomputeAPI;
  15051. end;
  15052. Function TGlobalForwardingRulesResource.Delete(forwardingRule: string; project: string) : TOperation;
  15053. Const
  15054. _HTTPMethod = 'DELETE';
  15055. _Path = '{project}/global/forwardingRules/{forwardingRule}';
  15056. _Methodid = 'compute.globalForwardingRules.delete';
  15057. Var
  15058. _P : String;
  15059. begin
  15060. _P:=SubstitutePath(_Path,['forwardingRule',forwardingRule,'project',project]);
  15061. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  15062. end;
  15063. Function TGlobalForwardingRulesResource.Get(forwardingRule: string; project: string) : TForwardingRule;
  15064. Const
  15065. _HTTPMethod = 'GET';
  15066. _Path = '{project}/global/forwardingRules/{forwardingRule}';
  15067. _Methodid = 'compute.globalForwardingRules.get';
  15068. Var
  15069. _P : String;
  15070. begin
  15071. _P:=SubstitutePath(_Path,['forwardingRule',forwardingRule,'project',project]);
  15072. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TForwardingRule) as TForwardingRule;
  15073. end;
  15074. Function TGlobalForwardingRulesResource.Insert(project: string; aForwardingRule : TForwardingRule) : TOperation;
  15075. Const
  15076. _HTTPMethod = 'POST';
  15077. _Path = '{project}/global/forwardingRules';
  15078. _Methodid = 'compute.globalForwardingRules.insert';
  15079. Var
  15080. _P : String;
  15081. begin
  15082. _P:=SubstitutePath(_Path,['project',project]);
  15083. Result:=ServiceCall(_HTTPMethod,_P,'',aForwardingRule,TOperation) as TOperation;
  15084. end;
  15085. Function TGlobalForwardingRulesResource.List(project: string; AQuery : string = '') : TForwardingRuleList;
  15086. Const
  15087. _HTTPMethod = 'GET';
  15088. _Path = '{project}/global/forwardingRules';
  15089. _Methodid = 'compute.globalForwardingRules.list';
  15090. Var
  15091. _P : String;
  15092. begin
  15093. _P:=SubstitutePath(_Path,['project',project]);
  15094. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TForwardingRuleList) as TForwardingRuleList;
  15095. end;
  15096. Function TGlobalForwardingRulesResource.List(project: string; AQuery : TGlobalForwardingRuleslistOptions) : TForwardingRuleList;
  15097. Var
  15098. _Q : String;
  15099. begin
  15100. _Q:='';
  15101. AddToQuery(_Q,'filter',AQuery.filter);
  15102. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15103. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15104. Result:=List(project,_Q);
  15105. end;
  15106. Function TGlobalForwardingRulesResource.SetTarget(forwardingRule: string; project: string; aTargetReference : TTargetReference) : TOperation;
  15107. Const
  15108. _HTTPMethod = 'POST';
  15109. _Path = '{project}/global/forwardingRules/{forwardingRule}/setTarget';
  15110. _Methodid = 'compute.globalForwardingRules.setTarget';
  15111. Var
  15112. _P : String;
  15113. begin
  15114. _P:=SubstitutePath(_Path,['forwardingRule',forwardingRule,'project',project]);
  15115. Result:=ServiceCall(_HTTPMethod,_P,'',aTargetReference,TOperation) as TOperation;
  15116. end;
  15117. { --------------------------------------------------------------------
  15118. TGlobalOperationsResource
  15119. --------------------------------------------------------------------}
  15120. Class Function TGlobalOperationsResource.ResourceName : String;
  15121. begin
  15122. Result:='globalOperations';
  15123. end;
  15124. Class Function TGlobalOperationsResource.DefaultAPI : TGoogleAPIClass;
  15125. begin
  15126. Result:=TcomputeAPI;
  15127. end;
  15128. Function TGlobalOperationsResource.AggregatedList(project: string; AQuery : string = '') : TOperationAggregatedList;
  15129. Const
  15130. _HTTPMethod = 'GET';
  15131. _Path = '{project}/aggregated/operations';
  15132. _Methodid = 'compute.globalOperations.aggregatedList';
  15133. Var
  15134. _P : String;
  15135. begin
  15136. _P:=SubstitutePath(_Path,['project',project]);
  15137. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TOperationAggregatedList) as TOperationAggregatedList;
  15138. end;
  15139. Function TGlobalOperationsResource.AggregatedList(project: string; AQuery : TGlobalOperationsaggregatedListOptions) : TOperationAggregatedList;
  15140. Var
  15141. _Q : String;
  15142. begin
  15143. _Q:='';
  15144. AddToQuery(_Q,'filter',AQuery.filter);
  15145. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15146. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15147. Result:=AggregatedList(project,_Q);
  15148. end;
  15149. Procedure TGlobalOperationsResource.Delete(operation: string; project: string);
  15150. Const
  15151. _HTTPMethod = 'DELETE';
  15152. _Path = '{project}/global/operations/{operation}';
  15153. _Methodid = 'compute.globalOperations.delete';
  15154. Var
  15155. _P : String;
  15156. begin
  15157. _P:=SubstitutePath(_Path,['operation',operation,'project',project]);
  15158. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  15159. end;
  15160. Function TGlobalOperationsResource.Get(operation: string; project: string) : TOperation;
  15161. Const
  15162. _HTTPMethod = 'GET';
  15163. _Path = '{project}/global/operations/{operation}';
  15164. _Methodid = 'compute.globalOperations.get';
  15165. Var
  15166. _P : String;
  15167. begin
  15168. _P:=SubstitutePath(_Path,['operation',operation,'project',project]);
  15169. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  15170. end;
  15171. Function TGlobalOperationsResource.List(project: string; AQuery : string = '') : TOperationList;
  15172. Const
  15173. _HTTPMethod = 'GET';
  15174. _Path = '{project}/global/operations';
  15175. _Methodid = 'compute.globalOperations.list';
  15176. Var
  15177. _P : String;
  15178. begin
  15179. _P:=SubstitutePath(_Path,['project',project]);
  15180. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TOperationList) as TOperationList;
  15181. end;
  15182. Function TGlobalOperationsResource.List(project: string; AQuery : TGlobalOperationslistOptions) : TOperationList;
  15183. Var
  15184. _Q : String;
  15185. begin
  15186. _Q:='';
  15187. AddToQuery(_Q,'filter',AQuery.filter);
  15188. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15189. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15190. Result:=List(project,_Q);
  15191. end;
  15192. { --------------------------------------------------------------------
  15193. THttpHealthChecksResource
  15194. --------------------------------------------------------------------}
  15195. Class Function THttpHealthChecksResource.ResourceName : String;
  15196. begin
  15197. Result:='httpHealthChecks';
  15198. end;
  15199. Class Function THttpHealthChecksResource.DefaultAPI : TGoogleAPIClass;
  15200. begin
  15201. Result:=TcomputeAPI;
  15202. end;
  15203. Function THttpHealthChecksResource.Delete(httpHealthCheck: string; project: string) : TOperation;
  15204. Const
  15205. _HTTPMethod = 'DELETE';
  15206. _Path = '{project}/global/httpHealthChecks/{httpHealthCheck}';
  15207. _Methodid = 'compute.httpHealthChecks.delete';
  15208. Var
  15209. _P : String;
  15210. begin
  15211. _P:=SubstitutePath(_Path,['httpHealthCheck',httpHealthCheck,'project',project]);
  15212. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  15213. end;
  15214. Function THttpHealthChecksResource.Get(httpHealthCheck: string; project: string) : THttpHealthCheck;
  15215. Const
  15216. _HTTPMethod = 'GET';
  15217. _Path = '{project}/global/httpHealthChecks/{httpHealthCheck}';
  15218. _Methodid = 'compute.httpHealthChecks.get';
  15219. Var
  15220. _P : String;
  15221. begin
  15222. _P:=SubstitutePath(_Path,['httpHealthCheck',httpHealthCheck,'project',project]);
  15223. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,THttpHealthCheck) as THttpHealthCheck;
  15224. end;
  15225. Function THttpHealthChecksResource.Insert(project: string; aHttpHealthCheck : THttpHealthCheck) : TOperation;
  15226. Const
  15227. _HTTPMethod = 'POST';
  15228. _Path = '{project}/global/httpHealthChecks';
  15229. _Methodid = 'compute.httpHealthChecks.insert';
  15230. Var
  15231. _P : String;
  15232. begin
  15233. _P:=SubstitutePath(_Path,['project',project]);
  15234. Result:=ServiceCall(_HTTPMethod,_P,'',aHttpHealthCheck,TOperation) as TOperation;
  15235. end;
  15236. Function THttpHealthChecksResource.List(project: string; AQuery : string = '') : THttpHealthCheckList;
  15237. Const
  15238. _HTTPMethod = 'GET';
  15239. _Path = '{project}/global/httpHealthChecks';
  15240. _Methodid = 'compute.httpHealthChecks.list';
  15241. Var
  15242. _P : String;
  15243. begin
  15244. _P:=SubstitutePath(_Path,['project',project]);
  15245. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,THttpHealthCheckList) as THttpHealthCheckList;
  15246. end;
  15247. Function THttpHealthChecksResource.List(project: string; AQuery : THttpHealthCheckslistOptions) : THttpHealthCheckList;
  15248. Var
  15249. _Q : String;
  15250. begin
  15251. _Q:='';
  15252. AddToQuery(_Q,'filter',AQuery.filter);
  15253. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15254. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15255. Result:=List(project,_Q);
  15256. end;
  15257. Function THttpHealthChecksResource.Patch(httpHealthCheck: string; project: string; aHttpHealthCheck : THttpHealthCheck) : TOperation;
  15258. Const
  15259. _HTTPMethod = 'PATCH';
  15260. _Path = '{project}/global/httpHealthChecks/{httpHealthCheck}';
  15261. _Methodid = 'compute.httpHealthChecks.patch';
  15262. Var
  15263. _P : String;
  15264. begin
  15265. _P:=SubstitutePath(_Path,['httpHealthCheck',httpHealthCheck,'project',project]);
  15266. Result:=ServiceCall(_HTTPMethod,_P,'',aHttpHealthCheck,TOperation) as TOperation;
  15267. end;
  15268. Function THttpHealthChecksResource.Update(httpHealthCheck: string; project: string; aHttpHealthCheck : THttpHealthCheck) : TOperation;
  15269. Const
  15270. _HTTPMethod = 'PUT';
  15271. _Path = '{project}/global/httpHealthChecks/{httpHealthCheck}';
  15272. _Methodid = 'compute.httpHealthChecks.update';
  15273. Var
  15274. _P : String;
  15275. begin
  15276. _P:=SubstitutePath(_Path,['httpHealthCheck',httpHealthCheck,'project',project]);
  15277. Result:=ServiceCall(_HTTPMethod,_P,'',aHttpHealthCheck,TOperation) as TOperation;
  15278. end;
  15279. { --------------------------------------------------------------------
  15280. THttpsHealthChecksResource
  15281. --------------------------------------------------------------------}
  15282. Class Function THttpsHealthChecksResource.ResourceName : String;
  15283. begin
  15284. Result:='httpsHealthChecks';
  15285. end;
  15286. Class Function THttpsHealthChecksResource.DefaultAPI : TGoogleAPIClass;
  15287. begin
  15288. Result:=TcomputeAPI;
  15289. end;
  15290. Function THttpsHealthChecksResource.Delete(httpsHealthCheck: string; project: string) : TOperation;
  15291. Const
  15292. _HTTPMethod = 'DELETE';
  15293. _Path = '{project}/global/httpsHealthChecks/{httpsHealthCheck}';
  15294. _Methodid = 'compute.httpsHealthChecks.delete';
  15295. Var
  15296. _P : String;
  15297. begin
  15298. _P:=SubstitutePath(_Path,['httpsHealthCheck',httpsHealthCheck,'project',project]);
  15299. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  15300. end;
  15301. Function THttpsHealthChecksResource.Get(httpsHealthCheck: string; project: string) : THttpsHealthCheck;
  15302. Const
  15303. _HTTPMethod = 'GET';
  15304. _Path = '{project}/global/httpsHealthChecks/{httpsHealthCheck}';
  15305. _Methodid = 'compute.httpsHealthChecks.get';
  15306. Var
  15307. _P : String;
  15308. begin
  15309. _P:=SubstitutePath(_Path,['httpsHealthCheck',httpsHealthCheck,'project',project]);
  15310. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,THttpsHealthCheck) as THttpsHealthCheck;
  15311. end;
  15312. Function THttpsHealthChecksResource.Insert(project: string; aHttpsHealthCheck : THttpsHealthCheck) : TOperation;
  15313. Const
  15314. _HTTPMethod = 'POST';
  15315. _Path = '{project}/global/httpsHealthChecks';
  15316. _Methodid = 'compute.httpsHealthChecks.insert';
  15317. Var
  15318. _P : String;
  15319. begin
  15320. _P:=SubstitutePath(_Path,['project',project]);
  15321. Result:=ServiceCall(_HTTPMethod,_P,'',aHttpsHealthCheck,TOperation) as TOperation;
  15322. end;
  15323. Function THttpsHealthChecksResource.List(project: string; AQuery : string = '') : THttpsHealthCheckList;
  15324. Const
  15325. _HTTPMethod = 'GET';
  15326. _Path = '{project}/global/httpsHealthChecks';
  15327. _Methodid = 'compute.httpsHealthChecks.list';
  15328. Var
  15329. _P : String;
  15330. begin
  15331. _P:=SubstitutePath(_Path,['project',project]);
  15332. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,THttpsHealthCheckList) as THttpsHealthCheckList;
  15333. end;
  15334. Function THttpsHealthChecksResource.List(project: string; AQuery : THttpsHealthCheckslistOptions) : THttpsHealthCheckList;
  15335. Var
  15336. _Q : String;
  15337. begin
  15338. _Q:='';
  15339. AddToQuery(_Q,'filter',AQuery.filter);
  15340. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15341. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15342. Result:=List(project,_Q);
  15343. end;
  15344. Function THttpsHealthChecksResource.Patch(httpsHealthCheck: string; project: string; aHttpsHealthCheck : THttpsHealthCheck) : TOperation;
  15345. Const
  15346. _HTTPMethod = 'PATCH';
  15347. _Path = '{project}/global/httpsHealthChecks/{httpsHealthCheck}';
  15348. _Methodid = 'compute.httpsHealthChecks.patch';
  15349. Var
  15350. _P : String;
  15351. begin
  15352. _P:=SubstitutePath(_Path,['httpsHealthCheck',httpsHealthCheck,'project',project]);
  15353. Result:=ServiceCall(_HTTPMethod,_P,'',aHttpsHealthCheck,TOperation) as TOperation;
  15354. end;
  15355. Function THttpsHealthChecksResource.Update(httpsHealthCheck: string; project: string; aHttpsHealthCheck : THttpsHealthCheck) : TOperation;
  15356. Const
  15357. _HTTPMethod = 'PUT';
  15358. _Path = '{project}/global/httpsHealthChecks/{httpsHealthCheck}';
  15359. _Methodid = 'compute.httpsHealthChecks.update';
  15360. Var
  15361. _P : String;
  15362. begin
  15363. _P:=SubstitutePath(_Path,['httpsHealthCheck',httpsHealthCheck,'project',project]);
  15364. Result:=ServiceCall(_HTTPMethod,_P,'',aHttpsHealthCheck,TOperation) as TOperation;
  15365. end;
  15366. { --------------------------------------------------------------------
  15367. TImagesResource
  15368. --------------------------------------------------------------------}
  15369. Class Function TImagesResource.ResourceName : String;
  15370. begin
  15371. Result:='images';
  15372. end;
  15373. Class Function TImagesResource.DefaultAPI : TGoogleAPIClass;
  15374. begin
  15375. Result:=TcomputeAPI;
  15376. end;
  15377. Function TImagesResource.Delete(image: string; project: string) : TOperation;
  15378. Const
  15379. _HTTPMethod = 'DELETE';
  15380. _Path = '{project}/global/images/{image}';
  15381. _Methodid = 'compute.images.delete';
  15382. Var
  15383. _P : String;
  15384. begin
  15385. _P:=SubstitutePath(_Path,['image',image,'project',project]);
  15386. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  15387. end;
  15388. Function TImagesResource.Deprecate(image: string; project: string; aDeprecationStatus : TDeprecationStatus) : TOperation;
  15389. Const
  15390. _HTTPMethod = 'POST';
  15391. _Path = '{project}/global/images/{image}/deprecate';
  15392. _Methodid = 'compute.images.deprecate';
  15393. Var
  15394. _P : String;
  15395. begin
  15396. _P:=SubstitutePath(_Path,['image',image,'project',project]);
  15397. Result:=ServiceCall(_HTTPMethod,_P,'',aDeprecationStatus,TOperation) as TOperation;
  15398. end;
  15399. Function TImagesResource.Get(image: string; project: string) : TImage;
  15400. Const
  15401. _HTTPMethod = 'GET';
  15402. _Path = '{project}/global/images/{image}';
  15403. _Methodid = 'compute.images.get';
  15404. Var
  15405. _P : String;
  15406. begin
  15407. _P:=SubstitutePath(_Path,['image',image,'project',project]);
  15408. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TImage) as TImage;
  15409. end;
  15410. Function TImagesResource.GetFromFamily(family: string; project: string) : TImage;
  15411. Const
  15412. _HTTPMethod = 'GET';
  15413. _Path = '{project}/global/images/family/{family}';
  15414. _Methodid = 'compute.images.getFromFamily';
  15415. Var
  15416. _P : String;
  15417. begin
  15418. _P:=SubstitutePath(_Path,['family',family,'project',project]);
  15419. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TImage) as TImage;
  15420. end;
  15421. Function TImagesResource.Insert(project: string; aImage : TImage) : TOperation;
  15422. Const
  15423. _HTTPMethod = 'POST';
  15424. _Path = '{project}/global/images';
  15425. _Methodid = 'compute.images.insert';
  15426. Var
  15427. _P : String;
  15428. begin
  15429. _P:=SubstitutePath(_Path,['project',project]);
  15430. Result:=ServiceCall(_HTTPMethod,_P,'',aImage,TOperation) as TOperation;
  15431. end;
  15432. Function TImagesResource.List(project: string; AQuery : string = '') : TImageList;
  15433. Const
  15434. _HTTPMethod = 'GET';
  15435. _Path = '{project}/global/images';
  15436. _Methodid = 'compute.images.list';
  15437. Var
  15438. _P : String;
  15439. begin
  15440. _P:=SubstitutePath(_Path,['project',project]);
  15441. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TImageList) as TImageList;
  15442. end;
  15443. Function TImagesResource.List(project: string; AQuery : TImageslistOptions) : TImageList;
  15444. Var
  15445. _Q : String;
  15446. begin
  15447. _Q:='';
  15448. AddToQuery(_Q,'filter',AQuery.filter);
  15449. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15450. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15451. Result:=List(project,_Q);
  15452. end;
  15453. { --------------------------------------------------------------------
  15454. TInstanceGroupManagersResource
  15455. --------------------------------------------------------------------}
  15456. Class Function TInstanceGroupManagersResource.ResourceName : String;
  15457. begin
  15458. Result:='instanceGroupManagers';
  15459. end;
  15460. Class Function TInstanceGroupManagersResource.DefaultAPI : TGoogleAPIClass;
  15461. begin
  15462. Result:=TcomputeAPI;
  15463. end;
  15464. Function TInstanceGroupManagersResource.AbandonInstances(instanceGroupManager: string; project: string; zone: string; aInstanceGroupManagersAbandonInstancesRequest : TInstanceGroupManagersAbandonInstancesRequest) : TOperation;
  15465. Const
  15466. _HTTPMethod = 'POST';
  15467. _Path = '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances';
  15468. _Methodid = 'compute.instanceGroupManagers.abandonInstances';
  15469. Var
  15470. _P : String;
  15471. begin
  15472. _P:=SubstitutePath(_Path,['instanceGroupManager',instanceGroupManager,'project',project,'zone',zone]);
  15473. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceGroupManagersAbandonInstancesRequest,TOperation) as TOperation;
  15474. end;
  15475. Function TInstanceGroupManagersResource.AggregatedList(project: string; AQuery : string = '') : TInstanceGroupManagerAggregatedList;
  15476. Const
  15477. _HTTPMethod = 'GET';
  15478. _Path = '{project}/aggregated/instanceGroupManagers';
  15479. _Methodid = 'compute.instanceGroupManagers.aggregatedList';
  15480. Var
  15481. _P : String;
  15482. begin
  15483. _P:=SubstitutePath(_Path,['project',project]);
  15484. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TInstanceGroupManagerAggregatedList) as TInstanceGroupManagerAggregatedList;
  15485. end;
  15486. Function TInstanceGroupManagersResource.AggregatedList(project: string; AQuery : TInstanceGroupManagersaggregatedListOptions) : TInstanceGroupManagerAggregatedList;
  15487. Var
  15488. _Q : String;
  15489. begin
  15490. _Q:='';
  15491. AddToQuery(_Q,'filter',AQuery.filter);
  15492. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15493. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15494. Result:=AggregatedList(project,_Q);
  15495. end;
  15496. Function TInstanceGroupManagersResource.Delete(instanceGroupManager: string; project: string; zone: string) : TOperation;
  15497. Const
  15498. _HTTPMethod = 'DELETE';
  15499. _Path = '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}';
  15500. _Methodid = 'compute.instanceGroupManagers.delete';
  15501. Var
  15502. _P : String;
  15503. begin
  15504. _P:=SubstitutePath(_Path,['instanceGroupManager',instanceGroupManager,'project',project,'zone',zone]);
  15505. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  15506. end;
  15507. Function TInstanceGroupManagersResource.DeleteInstances(instanceGroupManager: string; project: string; zone: string; aInstanceGroupManagersDeleteInstancesRequest : TInstanceGroupManagersDeleteInstancesRequest) : TOperation;
  15508. Const
  15509. _HTTPMethod = 'POST';
  15510. _Path = '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances';
  15511. _Methodid = 'compute.instanceGroupManagers.deleteInstances';
  15512. Var
  15513. _P : String;
  15514. begin
  15515. _P:=SubstitutePath(_Path,['instanceGroupManager',instanceGroupManager,'project',project,'zone',zone]);
  15516. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceGroupManagersDeleteInstancesRequest,TOperation) as TOperation;
  15517. end;
  15518. Function TInstanceGroupManagersResource.Get(instanceGroupManager: string; project: string; zone: string) : TInstanceGroupManager;
  15519. Const
  15520. _HTTPMethod = 'GET';
  15521. _Path = '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}';
  15522. _Methodid = 'compute.instanceGroupManagers.get';
  15523. Var
  15524. _P : String;
  15525. begin
  15526. _P:=SubstitutePath(_Path,['instanceGroupManager',instanceGroupManager,'project',project,'zone',zone]);
  15527. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TInstanceGroupManager) as TInstanceGroupManager;
  15528. end;
  15529. Function TInstanceGroupManagersResource.Insert(project: string; zone: string; aInstanceGroupManager : TInstanceGroupManager) : TOperation;
  15530. Const
  15531. _HTTPMethod = 'POST';
  15532. _Path = '{project}/zones/{zone}/instanceGroupManagers';
  15533. _Methodid = 'compute.instanceGroupManagers.insert';
  15534. Var
  15535. _P : String;
  15536. begin
  15537. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  15538. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceGroupManager,TOperation) as TOperation;
  15539. end;
  15540. Function TInstanceGroupManagersResource.List(project: string; zone: string; AQuery : string = '') : TInstanceGroupManagerList;
  15541. Const
  15542. _HTTPMethod = 'GET';
  15543. _Path = '{project}/zones/{zone}/instanceGroupManagers';
  15544. _Methodid = 'compute.instanceGroupManagers.list';
  15545. Var
  15546. _P : String;
  15547. begin
  15548. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  15549. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TInstanceGroupManagerList) as TInstanceGroupManagerList;
  15550. end;
  15551. Function TInstanceGroupManagersResource.List(project: string; zone: string; AQuery : TInstanceGroupManagerslistOptions) : TInstanceGroupManagerList;
  15552. Var
  15553. _Q : String;
  15554. begin
  15555. _Q:='';
  15556. AddToQuery(_Q,'filter',AQuery.filter);
  15557. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15558. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15559. Result:=List(project,zone,_Q);
  15560. end;
  15561. Function TInstanceGroupManagersResource.ListManagedInstances(instanceGroupManager: string; project: string; zone: string) : TInstanceGroupManagersListManagedInstancesResponse;
  15562. Const
  15563. _HTTPMethod = 'POST';
  15564. _Path = '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances';
  15565. _Methodid = 'compute.instanceGroupManagers.listManagedInstances';
  15566. Var
  15567. _P : String;
  15568. begin
  15569. _P:=SubstitutePath(_Path,['instanceGroupManager',instanceGroupManager,'project',project,'zone',zone]);
  15570. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TInstanceGroupManagersListManagedInstancesResponse) as TInstanceGroupManagersListManagedInstancesResponse;
  15571. end;
  15572. Function TInstanceGroupManagersResource.RecreateInstances(instanceGroupManager: string; project: string; zone: string; aInstanceGroupManagersRecreateInstancesRequest : TInstanceGroupManagersRecreateInstancesRequest) : TOperation;
  15573. Const
  15574. _HTTPMethod = 'POST';
  15575. _Path = '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances';
  15576. _Methodid = 'compute.instanceGroupManagers.recreateInstances';
  15577. Var
  15578. _P : String;
  15579. begin
  15580. _P:=SubstitutePath(_Path,['instanceGroupManager',instanceGroupManager,'project',project,'zone',zone]);
  15581. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceGroupManagersRecreateInstancesRequest,TOperation) as TOperation;
  15582. end;
  15583. Function TInstanceGroupManagersResource.Resize(instanceGroupManager: string; project: string; zone: string; AQuery : string = '') : TOperation;
  15584. Const
  15585. _HTTPMethod = 'POST';
  15586. _Path = '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize';
  15587. _Methodid = 'compute.instanceGroupManagers.resize';
  15588. Var
  15589. _P : String;
  15590. begin
  15591. _P:=SubstitutePath(_Path,['instanceGroupManager',instanceGroupManager,'project',project,'zone',zone]);
  15592. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TOperation) as TOperation;
  15593. end;
  15594. Function TInstanceGroupManagersResource.Resize(instanceGroupManager: string; project: string; zone: string; AQuery : TInstanceGroupManagersresizeOptions) : TOperation;
  15595. Var
  15596. _Q : String;
  15597. begin
  15598. _Q:='';
  15599. AddToQuery(_Q,'size',AQuery.size);
  15600. Result:=Resize(instanceGroupManager,project,zone,_Q);
  15601. end;
  15602. Function TInstanceGroupManagersResource.SetInstanceTemplate(instanceGroupManager: string; project: string; zone: string; aInstanceGroupManagersSetInstanceTemplateRequest : TInstanceGroupManagersSetInstanceTemplateRequest) : TOperation;
  15603. Const
  15604. _HTTPMethod = 'POST';
  15605. _Path = '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate';
  15606. _Methodid = 'compute.instanceGroupManagers.setInstanceTemplate';
  15607. Var
  15608. _P : String;
  15609. begin
  15610. _P:=SubstitutePath(_Path,['instanceGroupManager',instanceGroupManager,'project',project,'zone',zone]);
  15611. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceGroupManagersSetInstanceTemplateRequest,TOperation) as TOperation;
  15612. end;
  15613. Function TInstanceGroupManagersResource.SetTargetPools(instanceGroupManager: string; project: string; zone: string; aInstanceGroupManagersSetTargetPoolsRequest : TInstanceGroupManagersSetTargetPoolsRequest) : TOperation;
  15614. Const
  15615. _HTTPMethod = 'POST';
  15616. _Path = '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools';
  15617. _Methodid = 'compute.instanceGroupManagers.setTargetPools';
  15618. Var
  15619. _P : String;
  15620. begin
  15621. _P:=SubstitutePath(_Path,['instanceGroupManager',instanceGroupManager,'project',project,'zone',zone]);
  15622. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceGroupManagersSetTargetPoolsRequest,TOperation) as TOperation;
  15623. end;
  15624. { --------------------------------------------------------------------
  15625. TInstanceGroupsResource
  15626. --------------------------------------------------------------------}
  15627. Class Function TInstanceGroupsResource.ResourceName : String;
  15628. begin
  15629. Result:='instanceGroups';
  15630. end;
  15631. Class Function TInstanceGroupsResource.DefaultAPI : TGoogleAPIClass;
  15632. begin
  15633. Result:=TcomputeAPI;
  15634. end;
  15635. Function TInstanceGroupsResource.AddInstances(instanceGroup: string; project: string; zone: string; aInstanceGroupsAddInstancesRequest : TInstanceGroupsAddInstancesRequest) : TOperation;
  15636. Const
  15637. _HTTPMethod = 'POST';
  15638. _Path = '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances';
  15639. _Methodid = 'compute.instanceGroups.addInstances';
  15640. Var
  15641. _P : String;
  15642. begin
  15643. _P:=SubstitutePath(_Path,['instanceGroup',instanceGroup,'project',project,'zone',zone]);
  15644. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceGroupsAddInstancesRequest,TOperation) as TOperation;
  15645. end;
  15646. Function TInstanceGroupsResource.AggregatedList(project: string; AQuery : string = '') : TInstanceGroupAggregatedList;
  15647. Const
  15648. _HTTPMethod = 'GET';
  15649. _Path = '{project}/aggregated/instanceGroups';
  15650. _Methodid = 'compute.instanceGroups.aggregatedList';
  15651. Var
  15652. _P : String;
  15653. begin
  15654. _P:=SubstitutePath(_Path,['project',project]);
  15655. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TInstanceGroupAggregatedList) as TInstanceGroupAggregatedList;
  15656. end;
  15657. Function TInstanceGroupsResource.AggregatedList(project: string; AQuery : TInstanceGroupsaggregatedListOptions) : TInstanceGroupAggregatedList;
  15658. Var
  15659. _Q : String;
  15660. begin
  15661. _Q:='';
  15662. AddToQuery(_Q,'filter',AQuery.filter);
  15663. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15664. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15665. Result:=AggregatedList(project,_Q);
  15666. end;
  15667. Function TInstanceGroupsResource.Delete(instanceGroup: string; project: string; zone: string) : TOperation;
  15668. Const
  15669. _HTTPMethod = 'DELETE';
  15670. _Path = '{project}/zones/{zone}/instanceGroups/{instanceGroup}';
  15671. _Methodid = 'compute.instanceGroups.delete';
  15672. Var
  15673. _P : String;
  15674. begin
  15675. _P:=SubstitutePath(_Path,['instanceGroup',instanceGroup,'project',project,'zone',zone]);
  15676. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  15677. end;
  15678. Function TInstanceGroupsResource.Get(instanceGroup: string; project: string; zone: string) : TInstanceGroup;
  15679. Const
  15680. _HTTPMethod = 'GET';
  15681. _Path = '{project}/zones/{zone}/instanceGroups/{instanceGroup}';
  15682. _Methodid = 'compute.instanceGroups.get';
  15683. Var
  15684. _P : String;
  15685. begin
  15686. _P:=SubstitutePath(_Path,['instanceGroup',instanceGroup,'project',project,'zone',zone]);
  15687. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TInstanceGroup) as TInstanceGroup;
  15688. end;
  15689. Function TInstanceGroupsResource.Insert(project: string; zone: string; aInstanceGroup : TInstanceGroup) : TOperation;
  15690. Const
  15691. _HTTPMethod = 'POST';
  15692. _Path = '{project}/zones/{zone}/instanceGroups';
  15693. _Methodid = 'compute.instanceGroups.insert';
  15694. Var
  15695. _P : String;
  15696. begin
  15697. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  15698. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceGroup,TOperation) as TOperation;
  15699. end;
  15700. Function TInstanceGroupsResource.List(project: string; zone: string; AQuery : string = '') : TInstanceGroupList;
  15701. Const
  15702. _HTTPMethod = 'GET';
  15703. _Path = '{project}/zones/{zone}/instanceGroups';
  15704. _Methodid = 'compute.instanceGroups.list';
  15705. Var
  15706. _P : String;
  15707. begin
  15708. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  15709. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TInstanceGroupList) as TInstanceGroupList;
  15710. end;
  15711. Function TInstanceGroupsResource.List(project: string; zone: string; AQuery : TInstanceGroupslistOptions) : TInstanceGroupList;
  15712. Var
  15713. _Q : String;
  15714. begin
  15715. _Q:='';
  15716. AddToQuery(_Q,'filter',AQuery.filter);
  15717. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15718. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15719. Result:=List(project,zone,_Q);
  15720. end;
  15721. Function TInstanceGroupsResource.ListInstances(instanceGroup: string; project: string; zone: string; aInstanceGroupsListInstancesRequest : TInstanceGroupsListInstancesRequest; AQuery : string = '') : TInstanceGroupsListInstances;
  15722. Const
  15723. _HTTPMethod = 'POST';
  15724. _Path = '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances';
  15725. _Methodid = 'compute.instanceGroups.listInstances';
  15726. Var
  15727. _P : String;
  15728. begin
  15729. _P:=SubstitutePath(_Path,['instanceGroup',instanceGroup,'project',project,'zone',zone]);
  15730. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aInstanceGroupsListInstancesRequest,TInstanceGroupsListInstances) as TInstanceGroupsListInstances;
  15731. end;
  15732. Function TInstanceGroupsResource.ListInstances(instanceGroup: string; project: string; zone: string; aInstanceGroupsListInstancesRequest : TInstanceGroupsListInstancesRequest; AQuery : TInstanceGroupslistInstancesOptions) : TInstanceGroupsListInstances;
  15733. Var
  15734. _Q : String;
  15735. begin
  15736. _Q:='';
  15737. AddToQuery(_Q,'filter',AQuery.filter);
  15738. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15739. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15740. Result:=ListInstances(instanceGroup,project,zone,aInstanceGroupsListInstancesRequest,_Q);
  15741. end;
  15742. Function TInstanceGroupsResource.RemoveInstances(instanceGroup: string; project: string; zone: string; aInstanceGroupsRemoveInstancesRequest : TInstanceGroupsRemoveInstancesRequest) : TOperation;
  15743. Const
  15744. _HTTPMethod = 'POST';
  15745. _Path = '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances';
  15746. _Methodid = 'compute.instanceGroups.removeInstances';
  15747. Var
  15748. _P : String;
  15749. begin
  15750. _P:=SubstitutePath(_Path,['instanceGroup',instanceGroup,'project',project,'zone',zone]);
  15751. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceGroupsRemoveInstancesRequest,TOperation) as TOperation;
  15752. end;
  15753. Function TInstanceGroupsResource.SetNamedPorts(instanceGroup: string; project: string; zone: string; aInstanceGroupsSetNamedPortsRequest : TInstanceGroupsSetNamedPortsRequest) : TOperation;
  15754. Const
  15755. _HTTPMethod = 'POST';
  15756. _Path = '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts';
  15757. _Methodid = 'compute.instanceGroups.setNamedPorts';
  15758. Var
  15759. _P : String;
  15760. begin
  15761. _P:=SubstitutePath(_Path,['instanceGroup',instanceGroup,'project',project,'zone',zone]);
  15762. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceGroupsSetNamedPortsRequest,TOperation) as TOperation;
  15763. end;
  15764. { --------------------------------------------------------------------
  15765. TInstanceTemplatesResource
  15766. --------------------------------------------------------------------}
  15767. Class Function TInstanceTemplatesResource.ResourceName : String;
  15768. begin
  15769. Result:='instanceTemplates';
  15770. end;
  15771. Class Function TInstanceTemplatesResource.DefaultAPI : TGoogleAPIClass;
  15772. begin
  15773. Result:=TcomputeAPI;
  15774. end;
  15775. Function TInstanceTemplatesResource.Delete(instanceTemplate: string; project: string) : TOperation;
  15776. Const
  15777. _HTTPMethod = 'DELETE';
  15778. _Path = '{project}/global/instanceTemplates/{instanceTemplate}';
  15779. _Methodid = 'compute.instanceTemplates.delete';
  15780. Var
  15781. _P : String;
  15782. begin
  15783. _P:=SubstitutePath(_Path,['instanceTemplate',instanceTemplate,'project',project]);
  15784. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  15785. end;
  15786. Function TInstanceTemplatesResource.Get(instanceTemplate: string; project: string) : TInstanceTemplate;
  15787. Const
  15788. _HTTPMethod = 'GET';
  15789. _Path = '{project}/global/instanceTemplates/{instanceTemplate}';
  15790. _Methodid = 'compute.instanceTemplates.get';
  15791. Var
  15792. _P : String;
  15793. begin
  15794. _P:=SubstitutePath(_Path,['instanceTemplate',instanceTemplate,'project',project]);
  15795. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TInstanceTemplate) as TInstanceTemplate;
  15796. end;
  15797. Function TInstanceTemplatesResource.Insert(project: string; aInstanceTemplate : TInstanceTemplate) : TOperation;
  15798. Const
  15799. _HTTPMethod = 'POST';
  15800. _Path = '{project}/global/instanceTemplates';
  15801. _Methodid = 'compute.instanceTemplates.insert';
  15802. Var
  15803. _P : String;
  15804. begin
  15805. _P:=SubstitutePath(_Path,['project',project]);
  15806. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceTemplate,TOperation) as TOperation;
  15807. end;
  15808. Function TInstanceTemplatesResource.List(project: string; AQuery : string = '') : TInstanceTemplateList;
  15809. Const
  15810. _HTTPMethod = 'GET';
  15811. _Path = '{project}/global/instanceTemplates';
  15812. _Methodid = 'compute.instanceTemplates.list';
  15813. Var
  15814. _P : String;
  15815. begin
  15816. _P:=SubstitutePath(_Path,['project',project]);
  15817. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TInstanceTemplateList) as TInstanceTemplateList;
  15818. end;
  15819. Function TInstanceTemplatesResource.List(project: string; AQuery : TInstanceTemplateslistOptions) : TInstanceTemplateList;
  15820. Var
  15821. _Q : String;
  15822. begin
  15823. _Q:='';
  15824. AddToQuery(_Q,'filter',AQuery.filter);
  15825. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15826. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15827. Result:=List(project,_Q);
  15828. end;
  15829. { --------------------------------------------------------------------
  15830. TInstancesResource
  15831. --------------------------------------------------------------------}
  15832. Class Function TInstancesResource.ResourceName : String;
  15833. begin
  15834. Result:='instances';
  15835. end;
  15836. Class Function TInstancesResource.DefaultAPI : TGoogleAPIClass;
  15837. begin
  15838. Result:=TcomputeAPI;
  15839. end;
  15840. Function TInstancesResource.AddAccessConfig(instance: string; project: string; zone: string; aAccessConfig : TAccessConfig; AQuery : string = '') : TOperation;
  15841. Const
  15842. _HTTPMethod = 'POST';
  15843. _Path = '{project}/zones/{zone}/instances/{instance}/addAccessConfig';
  15844. _Methodid = 'compute.instances.addAccessConfig';
  15845. Var
  15846. _P : String;
  15847. begin
  15848. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  15849. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aAccessConfig,TOperation) as TOperation;
  15850. end;
  15851. Function TInstancesResource.AddAccessConfig(instance: string; project: string; zone: string; aAccessConfig : TAccessConfig; AQuery : TInstancesaddAccessConfigOptions) : TOperation;
  15852. Var
  15853. _Q : String;
  15854. begin
  15855. _Q:='';
  15856. AddToQuery(_Q,'networkInterface',AQuery.networkInterface);
  15857. Result:=AddAccessConfig(instance,project,zone,aAccessConfig,_Q);
  15858. end;
  15859. Function TInstancesResource.AggregatedList(project: string; AQuery : string = '') : TInstanceAggregatedList;
  15860. Const
  15861. _HTTPMethod = 'GET';
  15862. _Path = '{project}/aggregated/instances';
  15863. _Methodid = 'compute.instances.aggregatedList';
  15864. Var
  15865. _P : String;
  15866. begin
  15867. _P:=SubstitutePath(_Path,['project',project]);
  15868. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TInstanceAggregatedList) as TInstanceAggregatedList;
  15869. end;
  15870. Function TInstancesResource.AggregatedList(project: string; AQuery : TInstancesaggregatedListOptions) : TInstanceAggregatedList;
  15871. Var
  15872. _Q : String;
  15873. begin
  15874. _Q:='';
  15875. AddToQuery(_Q,'filter',AQuery.filter);
  15876. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  15877. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  15878. Result:=AggregatedList(project,_Q);
  15879. end;
  15880. Function TInstancesResource.AttachDisk(instance: string; project: string; zone: string; aAttachedDisk : TAttachedDisk) : TOperation;
  15881. Const
  15882. _HTTPMethod = 'POST';
  15883. _Path = '{project}/zones/{zone}/instances/{instance}/attachDisk';
  15884. _Methodid = 'compute.instances.attachDisk';
  15885. Var
  15886. _P : String;
  15887. begin
  15888. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  15889. Result:=ServiceCall(_HTTPMethod,_P,'',aAttachedDisk,TOperation) as TOperation;
  15890. end;
  15891. Function TInstancesResource.Delete(instance: string; project: string; zone: string) : TOperation;
  15892. Const
  15893. _HTTPMethod = 'DELETE';
  15894. _Path = '{project}/zones/{zone}/instances/{instance}';
  15895. _Methodid = 'compute.instances.delete';
  15896. Var
  15897. _P : String;
  15898. begin
  15899. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  15900. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  15901. end;
  15902. Function TInstancesResource.DeleteAccessConfig(instance: string; project: string; zone: string; AQuery : string = '') : TOperation;
  15903. Const
  15904. _HTTPMethod = 'POST';
  15905. _Path = '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig';
  15906. _Methodid = 'compute.instances.deleteAccessConfig';
  15907. Var
  15908. _P : String;
  15909. begin
  15910. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  15911. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TOperation) as TOperation;
  15912. end;
  15913. Function TInstancesResource.DeleteAccessConfig(instance: string; project: string; zone: string; AQuery : TInstancesdeleteAccessConfigOptions) : TOperation;
  15914. Var
  15915. _Q : String;
  15916. begin
  15917. _Q:='';
  15918. AddToQuery(_Q,'accessConfig',AQuery.accessConfig);
  15919. AddToQuery(_Q,'networkInterface',AQuery.networkInterface);
  15920. Result:=DeleteAccessConfig(instance,project,zone,_Q);
  15921. end;
  15922. Function TInstancesResource.DetachDisk(instance: string; project: string; zone: string; AQuery : string = '') : TOperation;
  15923. Const
  15924. _HTTPMethod = 'POST';
  15925. _Path = '{project}/zones/{zone}/instances/{instance}/detachDisk';
  15926. _Methodid = 'compute.instances.detachDisk';
  15927. Var
  15928. _P : String;
  15929. begin
  15930. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  15931. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TOperation) as TOperation;
  15932. end;
  15933. Function TInstancesResource.DetachDisk(instance: string; project: string; zone: string; AQuery : TInstancesdetachDiskOptions) : TOperation;
  15934. Var
  15935. _Q : String;
  15936. begin
  15937. _Q:='';
  15938. AddToQuery(_Q,'deviceName',AQuery.deviceName);
  15939. Result:=DetachDisk(instance,project,zone,_Q);
  15940. end;
  15941. Function TInstancesResource.Get(instance: string; project: string; zone: string) : TInstance;
  15942. Const
  15943. _HTTPMethod = 'GET';
  15944. _Path = '{project}/zones/{zone}/instances/{instance}';
  15945. _Methodid = 'compute.instances.get';
  15946. Var
  15947. _P : String;
  15948. begin
  15949. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  15950. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TInstance) as TInstance;
  15951. end;
  15952. Function TInstancesResource.GetSerialPortOutput(instance: string; project: string; zone: string; AQuery : string = '') : TSerialPortOutput;
  15953. Const
  15954. _HTTPMethod = 'GET';
  15955. _Path = '{project}/zones/{zone}/instances/{instance}/serialPort';
  15956. _Methodid = 'compute.instances.getSerialPortOutput';
  15957. Var
  15958. _P : String;
  15959. begin
  15960. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  15961. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TSerialPortOutput) as TSerialPortOutput;
  15962. end;
  15963. Function TInstancesResource.GetSerialPortOutput(instance: string; project: string; zone: string; AQuery : TInstancesgetSerialPortOutputOptions) : TSerialPortOutput;
  15964. Var
  15965. _Q : String;
  15966. begin
  15967. _Q:='';
  15968. AddToQuery(_Q,'port',AQuery.port);
  15969. Result:=GetSerialPortOutput(instance,project,zone,_Q);
  15970. end;
  15971. Function TInstancesResource.Insert(project: string; zone: string; aInstance : TInstance) : TOperation;
  15972. Const
  15973. _HTTPMethod = 'POST';
  15974. _Path = '{project}/zones/{zone}/instances';
  15975. _Methodid = 'compute.instances.insert';
  15976. Var
  15977. _P : String;
  15978. begin
  15979. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  15980. Result:=ServiceCall(_HTTPMethod,_P,'',aInstance,TOperation) as TOperation;
  15981. end;
  15982. Function TInstancesResource.List(project: string; zone: string; AQuery : string = '') : TInstanceList;
  15983. Const
  15984. _HTTPMethod = 'GET';
  15985. _Path = '{project}/zones/{zone}/instances';
  15986. _Methodid = 'compute.instances.list';
  15987. Var
  15988. _P : String;
  15989. begin
  15990. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  15991. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TInstanceList) as TInstanceList;
  15992. end;
  15993. Function TInstancesResource.List(project: string; zone: string; AQuery : TInstanceslistOptions) : TInstanceList;
  15994. Var
  15995. _Q : String;
  15996. begin
  15997. _Q:='';
  15998. AddToQuery(_Q,'filter',AQuery.filter);
  15999. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16000. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16001. Result:=List(project,zone,_Q);
  16002. end;
  16003. Function TInstancesResource.Reset(instance: string; project: string; zone: string) : TOperation;
  16004. Const
  16005. _HTTPMethod = 'POST';
  16006. _Path = '{project}/zones/{zone}/instances/{instance}/reset';
  16007. _Methodid = 'compute.instances.reset';
  16008. Var
  16009. _P : String;
  16010. begin
  16011. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  16012. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16013. end;
  16014. Function TInstancesResource.SetDiskAutoDelete(instance: string; project: string; zone: string; AQuery : string = '') : TOperation;
  16015. Const
  16016. _HTTPMethod = 'POST';
  16017. _Path = '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete';
  16018. _Methodid = 'compute.instances.setDiskAutoDelete';
  16019. Var
  16020. _P : String;
  16021. begin
  16022. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  16023. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TOperation) as TOperation;
  16024. end;
  16025. Function TInstancesResource.SetDiskAutoDelete(instance: string; project: string; zone: string; AQuery : TInstancessetDiskAutoDeleteOptions) : TOperation;
  16026. Var
  16027. _Q : String;
  16028. begin
  16029. _Q:='';
  16030. AddToQuery(_Q,'autoDelete',AQuery.autoDelete);
  16031. AddToQuery(_Q,'deviceName',AQuery.deviceName);
  16032. Result:=SetDiskAutoDelete(instance,project,zone,_Q);
  16033. end;
  16034. Function TInstancesResource.SetMachineType(instance: string; project: string; zone: string; aInstancesSetMachineTypeRequest : TInstancesSetMachineTypeRequest) : TOperation;
  16035. Const
  16036. _HTTPMethod = 'POST';
  16037. _Path = '{project}/zones/{zone}/instances/{instance}/setMachineType';
  16038. _Methodid = 'compute.instances.setMachineType';
  16039. Var
  16040. _P : String;
  16041. begin
  16042. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  16043. Result:=ServiceCall(_HTTPMethod,_P,'',aInstancesSetMachineTypeRequest,TOperation) as TOperation;
  16044. end;
  16045. Function TInstancesResource.SetMetadata(instance: string; project: string; zone: string; aMetadata : TMetadata) : TOperation;
  16046. Const
  16047. _HTTPMethod = 'POST';
  16048. _Path = '{project}/zones/{zone}/instances/{instance}/setMetadata';
  16049. _Methodid = 'compute.instances.setMetadata';
  16050. Var
  16051. _P : String;
  16052. begin
  16053. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  16054. Result:=ServiceCall(_HTTPMethod,_P,'',aMetadata,TOperation) as TOperation;
  16055. end;
  16056. Function TInstancesResource.SetScheduling(instance: string; project: string; zone: string; aScheduling : TScheduling) : TOperation;
  16057. Const
  16058. _HTTPMethod = 'POST';
  16059. _Path = '{project}/zones/{zone}/instances/{instance}/setScheduling';
  16060. _Methodid = 'compute.instances.setScheduling';
  16061. Var
  16062. _P : String;
  16063. begin
  16064. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  16065. Result:=ServiceCall(_HTTPMethod,_P,'',aScheduling,TOperation) as TOperation;
  16066. end;
  16067. Function TInstancesResource.SetTags(instance: string; project: string; zone: string; aTags : TTags) : TOperation;
  16068. Const
  16069. _HTTPMethod = 'POST';
  16070. _Path = '{project}/zones/{zone}/instances/{instance}/setTags';
  16071. _Methodid = 'compute.instances.setTags';
  16072. Var
  16073. _P : String;
  16074. begin
  16075. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  16076. Result:=ServiceCall(_HTTPMethod,_P,'',aTags,TOperation) as TOperation;
  16077. end;
  16078. Function TInstancesResource.Start(instance: string; project: string; zone: string) : TOperation;
  16079. Const
  16080. _HTTPMethod = 'POST';
  16081. _Path = '{project}/zones/{zone}/instances/{instance}/start';
  16082. _Methodid = 'compute.instances.start';
  16083. Var
  16084. _P : String;
  16085. begin
  16086. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  16087. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16088. end;
  16089. Function TInstancesResource.Stop(instance: string; project: string; zone: string) : TOperation;
  16090. Const
  16091. _HTTPMethod = 'POST';
  16092. _Path = '{project}/zones/{zone}/instances/{instance}/stop';
  16093. _Methodid = 'compute.instances.stop';
  16094. Var
  16095. _P : String;
  16096. begin
  16097. _P:=SubstitutePath(_Path,['instance',instance,'project',project,'zone',zone]);
  16098. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16099. end;
  16100. { --------------------------------------------------------------------
  16101. TLicensesResource
  16102. --------------------------------------------------------------------}
  16103. Class Function TLicensesResource.ResourceName : String;
  16104. begin
  16105. Result:='licenses';
  16106. end;
  16107. Class Function TLicensesResource.DefaultAPI : TGoogleAPIClass;
  16108. begin
  16109. Result:=TcomputeAPI;
  16110. end;
  16111. Function TLicensesResource.Get(license: string; project: string) : TLicense;
  16112. Const
  16113. _HTTPMethod = 'GET';
  16114. _Path = '{project}/global/licenses/{license}';
  16115. _Methodid = 'compute.licenses.get';
  16116. Var
  16117. _P : String;
  16118. begin
  16119. _P:=SubstitutePath(_Path,['license',license,'project',project]);
  16120. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TLicense) as TLicense;
  16121. end;
  16122. { --------------------------------------------------------------------
  16123. TMachineTypesResource
  16124. --------------------------------------------------------------------}
  16125. Class Function TMachineTypesResource.ResourceName : String;
  16126. begin
  16127. Result:='machineTypes';
  16128. end;
  16129. Class Function TMachineTypesResource.DefaultAPI : TGoogleAPIClass;
  16130. begin
  16131. Result:=TcomputeAPI;
  16132. end;
  16133. Function TMachineTypesResource.AggregatedList(project: string; AQuery : string = '') : TMachineTypeAggregatedList;
  16134. Const
  16135. _HTTPMethod = 'GET';
  16136. _Path = '{project}/aggregated/machineTypes';
  16137. _Methodid = 'compute.machineTypes.aggregatedList';
  16138. Var
  16139. _P : String;
  16140. begin
  16141. _P:=SubstitutePath(_Path,['project',project]);
  16142. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TMachineTypeAggregatedList) as TMachineTypeAggregatedList;
  16143. end;
  16144. Function TMachineTypesResource.AggregatedList(project: string; AQuery : TMachineTypesaggregatedListOptions) : TMachineTypeAggregatedList;
  16145. Var
  16146. _Q : String;
  16147. begin
  16148. _Q:='';
  16149. AddToQuery(_Q,'filter',AQuery.filter);
  16150. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16151. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16152. Result:=AggregatedList(project,_Q);
  16153. end;
  16154. Function TMachineTypesResource.Get(machineType: string; project: string; zone: string) : TMachineType;
  16155. Const
  16156. _HTTPMethod = 'GET';
  16157. _Path = '{project}/zones/{zone}/machineTypes/{machineType}';
  16158. _Methodid = 'compute.machineTypes.get';
  16159. Var
  16160. _P : String;
  16161. begin
  16162. _P:=SubstitutePath(_Path,['machineType',machineType,'project',project,'zone',zone]);
  16163. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TMachineType) as TMachineType;
  16164. end;
  16165. Function TMachineTypesResource.List(project: string; zone: string; AQuery : string = '') : TMachineTypeList;
  16166. Const
  16167. _HTTPMethod = 'GET';
  16168. _Path = '{project}/zones/{zone}/machineTypes';
  16169. _Methodid = 'compute.machineTypes.list';
  16170. Var
  16171. _P : String;
  16172. begin
  16173. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  16174. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TMachineTypeList) as TMachineTypeList;
  16175. end;
  16176. Function TMachineTypesResource.List(project: string; zone: string; AQuery : TMachineTypeslistOptions) : TMachineTypeList;
  16177. Var
  16178. _Q : String;
  16179. begin
  16180. _Q:='';
  16181. AddToQuery(_Q,'filter',AQuery.filter);
  16182. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16183. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16184. Result:=List(project,zone,_Q);
  16185. end;
  16186. { --------------------------------------------------------------------
  16187. TNetworksResource
  16188. --------------------------------------------------------------------}
  16189. Class Function TNetworksResource.ResourceName : String;
  16190. begin
  16191. Result:='networks';
  16192. end;
  16193. Class Function TNetworksResource.DefaultAPI : TGoogleAPIClass;
  16194. begin
  16195. Result:=TcomputeAPI;
  16196. end;
  16197. Function TNetworksResource.Delete(network: string; project: string) : TOperation;
  16198. Const
  16199. _HTTPMethod = 'DELETE';
  16200. _Path = '{project}/global/networks/{network}';
  16201. _Methodid = 'compute.networks.delete';
  16202. Var
  16203. _P : String;
  16204. begin
  16205. _P:=SubstitutePath(_Path,['network',network,'project',project]);
  16206. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16207. end;
  16208. Function TNetworksResource.Get(network: string; project: string) : TNetwork;
  16209. Const
  16210. _HTTPMethod = 'GET';
  16211. _Path = '{project}/global/networks/{network}';
  16212. _Methodid = 'compute.networks.get';
  16213. Var
  16214. _P : String;
  16215. begin
  16216. _P:=SubstitutePath(_Path,['network',network,'project',project]);
  16217. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TNetwork) as TNetwork;
  16218. end;
  16219. Function TNetworksResource.Insert(project: string; aNetwork : TNetwork) : TOperation;
  16220. Const
  16221. _HTTPMethod = 'POST';
  16222. _Path = '{project}/global/networks';
  16223. _Methodid = 'compute.networks.insert';
  16224. Var
  16225. _P : String;
  16226. begin
  16227. _P:=SubstitutePath(_Path,['project',project]);
  16228. Result:=ServiceCall(_HTTPMethod,_P,'',aNetwork,TOperation) as TOperation;
  16229. end;
  16230. Function TNetworksResource.List(project: string; AQuery : string = '') : TNetworkList;
  16231. Const
  16232. _HTTPMethod = 'GET';
  16233. _Path = '{project}/global/networks';
  16234. _Methodid = 'compute.networks.list';
  16235. Var
  16236. _P : String;
  16237. begin
  16238. _P:=SubstitutePath(_Path,['project',project]);
  16239. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TNetworkList) as TNetworkList;
  16240. end;
  16241. Function TNetworksResource.List(project: string; AQuery : TNetworkslistOptions) : TNetworkList;
  16242. Var
  16243. _Q : String;
  16244. begin
  16245. _Q:='';
  16246. AddToQuery(_Q,'filter',AQuery.filter);
  16247. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16248. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16249. Result:=List(project,_Q);
  16250. end;
  16251. { --------------------------------------------------------------------
  16252. TProjectsResource
  16253. --------------------------------------------------------------------}
  16254. Class Function TProjectsResource.ResourceName : String;
  16255. begin
  16256. Result:='projects';
  16257. end;
  16258. Class Function TProjectsResource.DefaultAPI : TGoogleAPIClass;
  16259. begin
  16260. Result:=TcomputeAPI;
  16261. end;
  16262. Function TProjectsResource.Get(project: string) : TProject;
  16263. Const
  16264. _HTTPMethod = 'GET';
  16265. _Path = '{project}';
  16266. _Methodid = 'compute.projects.get';
  16267. Var
  16268. _P : String;
  16269. begin
  16270. _P:=SubstitutePath(_Path,['project',project]);
  16271. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TProject) as TProject;
  16272. end;
  16273. Function TProjectsResource.MoveDisk(project: string; aDiskMoveRequest : TDiskMoveRequest) : TOperation;
  16274. Const
  16275. _HTTPMethod = 'POST';
  16276. _Path = '{project}/moveDisk';
  16277. _Methodid = 'compute.projects.moveDisk';
  16278. Var
  16279. _P : String;
  16280. begin
  16281. _P:=SubstitutePath(_Path,['project',project]);
  16282. Result:=ServiceCall(_HTTPMethod,_P,'',aDiskMoveRequest,TOperation) as TOperation;
  16283. end;
  16284. Function TProjectsResource.MoveInstance(project: string; aInstanceMoveRequest : TInstanceMoveRequest) : TOperation;
  16285. Const
  16286. _HTTPMethod = 'POST';
  16287. _Path = '{project}/moveInstance';
  16288. _Methodid = 'compute.projects.moveInstance';
  16289. Var
  16290. _P : String;
  16291. begin
  16292. _P:=SubstitutePath(_Path,['project',project]);
  16293. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceMoveRequest,TOperation) as TOperation;
  16294. end;
  16295. Function TProjectsResource.SetCommonInstanceMetadata(project: string; aMetadata : TMetadata) : TOperation;
  16296. Const
  16297. _HTTPMethod = 'POST';
  16298. _Path = '{project}/setCommonInstanceMetadata';
  16299. _Methodid = 'compute.projects.setCommonInstanceMetadata';
  16300. Var
  16301. _P : String;
  16302. begin
  16303. _P:=SubstitutePath(_Path,['project',project]);
  16304. Result:=ServiceCall(_HTTPMethod,_P,'',aMetadata,TOperation) as TOperation;
  16305. end;
  16306. Function TProjectsResource.SetUsageExportBucket(project: string; aUsageExportLocation : TUsageExportLocation) : TOperation;
  16307. Const
  16308. _HTTPMethod = 'POST';
  16309. _Path = '{project}/setUsageExportBucket';
  16310. _Methodid = 'compute.projects.setUsageExportBucket';
  16311. Var
  16312. _P : String;
  16313. begin
  16314. _P:=SubstitutePath(_Path,['project',project]);
  16315. Result:=ServiceCall(_HTTPMethod,_P,'',aUsageExportLocation,TOperation) as TOperation;
  16316. end;
  16317. { --------------------------------------------------------------------
  16318. TRegionOperationsResource
  16319. --------------------------------------------------------------------}
  16320. Class Function TRegionOperationsResource.ResourceName : String;
  16321. begin
  16322. Result:='regionOperations';
  16323. end;
  16324. Class Function TRegionOperationsResource.DefaultAPI : TGoogleAPIClass;
  16325. begin
  16326. Result:=TcomputeAPI;
  16327. end;
  16328. Procedure TRegionOperationsResource.Delete(operation: string; project: string; region: string);
  16329. Const
  16330. _HTTPMethod = 'DELETE';
  16331. _Path = '{project}/regions/{region}/operations/{operation}';
  16332. _Methodid = 'compute.regionOperations.delete';
  16333. Var
  16334. _P : String;
  16335. begin
  16336. _P:=SubstitutePath(_Path,['operation',operation,'project',project,'region',region]);
  16337. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  16338. end;
  16339. Function TRegionOperationsResource.Get(operation: string; project: string; region: string) : TOperation;
  16340. Const
  16341. _HTTPMethod = 'GET';
  16342. _Path = '{project}/regions/{region}/operations/{operation}';
  16343. _Methodid = 'compute.regionOperations.get';
  16344. Var
  16345. _P : String;
  16346. begin
  16347. _P:=SubstitutePath(_Path,['operation',operation,'project',project,'region',region]);
  16348. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16349. end;
  16350. Function TRegionOperationsResource.List(project: string; region: string; AQuery : string = '') : TOperationList;
  16351. Const
  16352. _HTTPMethod = 'GET';
  16353. _Path = '{project}/regions/{region}/operations';
  16354. _Methodid = 'compute.regionOperations.list';
  16355. Var
  16356. _P : String;
  16357. begin
  16358. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  16359. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TOperationList) as TOperationList;
  16360. end;
  16361. Function TRegionOperationsResource.List(project: string; region: string; AQuery : TRegionOperationslistOptions) : TOperationList;
  16362. Var
  16363. _Q : String;
  16364. begin
  16365. _Q:='';
  16366. AddToQuery(_Q,'filter',AQuery.filter);
  16367. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16368. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16369. Result:=List(project,region,_Q);
  16370. end;
  16371. { --------------------------------------------------------------------
  16372. TRegionsResource
  16373. --------------------------------------------------------------------}
  16374. Class Function TRegionsResource.ResourceName : String;
  16375. begin
  16376. Result:='regions';
  16377. end;
  16378. Class Function TRegionsResource.DefaultAPI : TGoogleAPIClass;
  16379. begin
  16380. Result:=TcomputeAPI;
  16381. end;
  16382. Function TRegionsResource.Get(project: string; region: string) : TRegion;
  16383. Const
  16384. _HTTPMethod = 'GET';
  16385. _Path = '{project}/regions/{region}';
  16386. _Methodid = 'compute.regions.get';
  16387. Var
  16388. _P : String;
  16389. begin
  16390. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  16391. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TRegion) as TRegion;
  16392. end;
  16393. Function TRegionsResource.List(project: string; AQuery : string = '') : TRegionList;
  16394. Const
  16395. _HTTPMethod = 'GET';
  16396. _Path = '{project}/regions';
  16397. _Methodid = 'compute.regions.list';
  16398. Var
  16399. _P : String;
  16400. begin
  16401. _P:=SubstitutePath(_Path,['project',project]);
  16402. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TRegionList) as TRegionList;
  16403. end;
  16404. Function TRegionsResource.List(project: string; AQuery : TRegionslistOptions) : TRegionList;
  16405. Var
  16406. _Q : String;
  16407. begin
  16408. _Q:='';
  16409. AddToQuery(_Q,'filter',AQuery.filter);
  16410. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16411. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16412. Result:=List(project,_Q);
  16413. end;
  16414. { --------------------------------------------------------------------
  16415. TRoutesResource
  16416. --------------------------------------------------------------------}
  16417. Class Function TRoutesResource.ResourceName : String;
  16418. begin
  16419. Result:='routes';
  16420. end;
  16421. Class Function TRoutesResource.DefaultAPI : TGoogleAPIClass;
  16422. begin
  16423. Result:=TcomputeAPI;
  16424. end;
  16425. Function TRoutesResource.Delete(project: string; route: string) : TOperation;
  16426. Const
  16427. _HTTPMethod = 'DELETE';
  16428. _Path = '{project}/global/routes/{route}';
  16429. _Methodid = 'compute.routes.delete';
  16430. Var
  16431. _P : String;
  16432. begin
  16433. _P:=SubstitutePath(_Path,['project',project,'route',route]);
  16434. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16435. end;
  16436. Function TRoutesResource.Get(project: string; route: string) : TRoute;
  16437. Const
  16438. _HTTPMethod = 'GET';
  16439. _Path = '{project}/global/routes/{route}';
  16440. _Methodid = 'compute.routes.get';
  16441. Var
  16442. _P : String;
  16443. begin
  16444. _P:=SubstitutePath(_Path,['project',project,'route',route]);
  16445. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TRoute) as TRoute;
  16446. end;
  16447. Function TRoutesResource.Insert(project: string; aRoute : TRoute) : TOperation;
  16448. Const
  16449. _HTTPMethod = 'POST';
  16450. _Path = '{project}/global/routes';
  16451. _Methodid = 'compute.routes.insert';
  16452. Var
  16453. _P : String;
  16454. begin
  16455. _P:=SubstitutePath(_Path,['project',project]);
  16456. Result:=ServiceCall(_HTTPMethod,_P,'',aRoute,TOperation) as TOperation;
  16457. end;
  16458. Function TRoutesResource.List(project: string; AQuery : string = '') : TRouteList;
  16459. Const
  16460. _HTTPMethod = 'GET';
  16461. _Path = '{project}/global/routes';
  16462. _Methodid = 'compute.routes.list';
  16463. Var
  16464. _P : String;
  16465. begin
  16466. _P:=SubstitutePath(_Path,['project',project]);
  16467. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TRouteList) as TRouteList;
  16468. end;
  16469. Function TRoutesResource.List(project: string; AQuery : TRouteslistOptions) : TRouteList;
  16470. Var
  16471. _Q : String;
  16472. begin
  16473. _Q:='';
  16474. AddToQuery(_Q,'filter',AQuery.filter);
  16475. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16476. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16477. Result:=List(project,_Q);
  16478. end;
  16479. { --------------------------------------------------------------------
  16480. TSnapshotsResource
  16481. --------------------------------------------------------------------}
  16482. Class Function TSnapshotsResource.ResourceName : String;
  16483. begin
  16484. Result:='snapshots';
  16485. end;
  16486. Class Function TSnapshotsResource.DefaultAPI : TGoogleAPIClass;
  16487. begin
  16488. Result:=TcomputeAPI;
  16489. end;
  16490. Function TSnapshotsResource.Delete(project: string; snapshot: string) : TOperation;
  16491. Const
  16492. _HTTPMethod = 'DELETE';
  16493. _Path = '{project}/global/snapshots/{snapshot}';
  16494. _Methodid = 'compute.snapshots.delete';
  16495. Var
  16496. _P : String;
  16497. begin
  16498. _P:=SubstitutePath(_Path,['project',project,'snapshot',snapshot]);
  16499. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16500. end;
  16501. Function TSnapshotsResource.Get(project: string; snapshot: string) : TSnapshot;
  16502. Const
  16503. _HTTPMethod = 'GET';
  16504. _Path = '{project}/global/snapshots/{snapshot}';
  16505. _Methodid = 'compute.snapshots.get';
  16506. Var
  16507. _P : String;
  16508. begin
  16509. _P:=SubstitutePath(_Path,['project',project,'snapshot',snapshot]);
  16510. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TSnapshot) as TSnapshot;
  16511. end;
  16512. Function TSnapshotsResource.List(project: string; AQuery : string = '') : TSnapshotList;
  16513. Const
  16514. _HTTPMethod = 'GET';
  16515. _Path = '{project}/global/snapshots';
  16516. _Methodid = 'compute.snapshots.list';
  16517. Var
  16518. _P : String;
  16519. begin
  16520. _P:=SubstitutePath(_Path,['project',project]);
  16521. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TSnapshotList) as TSnapshotList;
  16522. end;
  16523. Function TSnapshotsResource.List(project: string; AQuery : TSnapshotslistOptions) : TSnapshotList;
  16524. Var
  16525. _Q : String;
  16526. begin
  16527. _Q:='';
  16528. AddToQuery(_Q,'filter',AQuery.filter);
  16529. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16530. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16531. Result:=List(project,_Q);
  16532. end;
  16533. { --------------------------------------------------------------------
  16534. TSslCertificatesResource
  16535. --------------------------------------------------------------------}
  16536. Class Function TSslCertificatesResource.ResourceName : String;
  16537. begin
  16538. Result:='sslCertificates';
  16539. end;
  16540. Class Function TSslCertificatesResource.DefaultAPI : TGoogleAPIClass;
  16541. begin
  16542. Result:=TcomputeAPI;
  16543. end;
  16544. Function TSslCertificatesResource.Delete(project: string; sslCertificate: string) : TOperation;
  16545. Const
  16546. _HTTPMethod = 'DELETE';
  16547. _Path = '{project}/global/sslCertificates/{sslCertificate}';
  16548. _Methodid = 'compute.sslCertificates.delete';
  16549. Var
  16550. _P : String;
  16551. begin
  16552. _P:=SubstitutePath(_Path,['project',project,'sslCertificate',sslCertificate]);
  16553. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16554. end;
  16555. Function TSslCertificatesResource.Get(project: string; sslCertificate: string) : TSslCertificate;
  16556. Const
  16557. _HTTPMethod = 'GET';
  16558. _Path = '{project}/global/sslCertificates/{sslCertificate}';
  16559. _Methodid = 'compute.sslCertificates.get';
  16560. Var
  16561. _P : String;
  16562. begin
  16563. _P:=SubstitutePath(_Path,['project',project,'sslCertificate',sslCertificate]);
  16564. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TSslCertificate) as TSslCertificate;
  16565. end;
  16566. Function TSslCertificatesResource.Insert(project: string; aSslCertificate : TSslCertificate) : TOperation;
  16567. Const
  16568. _HTTPMethod = 'POST';
  16569. _Path = '{project}/global/sslCertificates';
  16570. _Methodid = 'compute.sslCertificates.insert';
  16571. Var
  16572. _P : String;
  16573. begin
  16574. _P:=SubstitutePath(_Path,['project',project]);
  16575. Result:=ServiceCall(_HTTPMethod,_P,'',aSslCertificate,TOperation) as TOperation;
  16576. end;
  16577. Function TSslCertificatesResource.List(project: string; AQuery : string = '') : TSslCertificateList;
  16578. Const
  16579. _HTTPMethod = 'GET';
  16580. _Path = '{project}/global/sslCertificates';
  16581. _Methodid = 'compute.sslCertificates.list';
  16582. Var
  16583. _P : String;
  16584. begin
  16585. _P:=SubstitutePath(_Path,['project',project]);
  16586. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TSslCertificateList) as TSslCertificateList;
  16587. end;
  16588. Function TSslCertificatesResource.List(project: string; AQuery : TSslCertificateslistOptions) : TSslCertificateList;
  16589. Var
  16590. _Q : String;
  16591. begin
  16592. _Q:='';
  16593. AddToQuery(_Q,'filter',AQuery.filter);
  16594. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16595. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16596. Result:=List(project,_Q);
  16597. end;
  16598. { --------------------------------------------------------------------
  16599. TSubnetworksResource
  16600. --------------------------------------------------------------------}
  16601. Class Function TSubnetworksResource.ResourceName : String;
  16602. begin
  16603. Result:='subnetworks';
  16604. end;
  16605. Class Function TSubnetworksResource.DefaultAPI : TGoogleAPIClass;
  16606. begin
  16607. Result:=TcomputeAPI;
  16608. end;
  16609. Function TSubnetworksResource.AggregatedList(project: string; AQuery : string = '') : TSubnetworkAggregatedList;
  16610. Const
  16611. _HTTPMethod = 'GET';
  16612. _Path = '{project}/aggregated/subnetworks';
  16613. _Methodid = 'compute.subnetworks.aggregatedList';
  16614. Var
  16615. _P : String;
  16616. begin
  16617. _P:=SubstitutePath(_Path,['project',project]);
  16618. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TSubnetworkAggregatedList) as TSubnetworkAggregatedList;
  16619. end;
  16620. Function TSubnetworksResource.AggregatedList(project: string; AQuery : TSubnetworksaggregatedListOptions) : TSubnetworkAggregatedList;
  16621. Var
  16622. _Q : String;
  16623. begin
  16624. _Q:='';
  16625. AddToQuery(_Q,'filter',AQuery.filter);
  16626. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16627. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16628. Result:=AggregatedList(project,_Q);
  16629. end;
  16630. Function TSubnetworksResource.Delete(project: string; region: string; subnetwork: string) : TOperation;
  16631. Const
  16632. _HTTPMethod = 'DELETE';
  16633. _Path = '{project}/regions/{region}/subnetworks/{subnetwork}';
  16634. _Methodid = 'compute.subnetworks.delete';
  16635. Var
  16636. _P : String;
  16637. begin
  16638. _P:=SubstitutePath(_Path,['project',project,'region',region,'subnetwork',subnetwork]);
  16639. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16640. end;
  16641. Function TSubnetworksResource.Get(project: string; region: string; subnetwork: string) : TSubnetwork;
  16642. Const
  16643. _HTTPMethod = 'GET';
  16644. _Path = '{project}/regions/{region}/subnetworks/{subnetwork}';
  16645. _Methodid = 'compute.subnetworks.get';
  16646. Var
  16647. _P : String;
  16648. begin
  16649. _P:=SubstitutePath(_Path,['project',project,'region',region,'subnetwork',subnetwork]);
  16650. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TSubnetwork) as TSubnetwork;
  16651. end;
  16652. Function TSubnetworksResource.Insert(project: string; region: string; aSubnetwork : TSubnetwork) : TOperation;
  16653. Const
  16654. _HTTPMethod = 'POST';
  16655. _Path = '{project}/regions/{region}/subnetworks';
  16656. _Methodid = 'compute.subnetworks.insert';
  16657. Var
  16658. _P : String;
  16659. begin
  16660. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  16661. Result:=ServiceCall(_HTTPMethod,_P,'',aSubnetwork,TOperation) as TOperation;
  16662. end;
  16663. Function TSubnetworksResource.List(project: string; region: string; AQuery : string = '') : TSubnetworkList;
  16664. Const
  16665. _HTTPMethod = 'GET';
  16666. _Path = '{project}/regions/{region}/subnetworks';
  16667. _Methodid = 'compute.subnetworks.list';
  16668. Var
  16669. _P : String;
  16670. begin
  16671. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  16672. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TSubnetworkList) as TSubnetworkList;
  16673. end;
  16674. Function TSubnetworksResource.List(project: string; region: string; AQuery : TSubnetworkslistOptions) : TSubnetworkList;
  16675. Var
  16676. _Q : String;
  16677. begin
  16678. _Q:='';
  16679. AddToQuery(_Q,'filter',AQuery.filter);
  16680. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16681. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16682. Result:=List(project,region,_Q);
  16683. end;
  16684. { --------------------------------------------------------------------
  16685. TTargetHttpProxiesResource
  16686. --------------------------------------------------------------------}
  16687. Class Function TTargetHttpProxiesResource.ResourceName : String;
  16688. begin
  16689. Result:='targetHttpProxies';
  16690. end;
  16691. Class Function TTargetHttpProxiesResource.DefaultAPI : TGoogleAPIClass;
  16692. begin
  16693. Result:=TcomputeAPI;
  16694. end;
  16695. Function TTargetHttpProxiesResource.Delete(project: string; targetHttpProxy: string) : TOperation;
  16696. Const
  16697. _HTTPMethod = 'DELETE';
  16698. _Path = '{project}/global/targetHttpProxies/{targetHttpProxy}';
  16699. _Methodid = 'compute.targetHttpProxies.delete';
  16700. Var
  16701. _P : String;
  16702. begin
  16703. _P:=SubstitutePath(_Path,['project',project,'targetHttpProxy',targetHttpProxy]);
  16704. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16705. end;
  16706. Function TTargetHttpProxiesResource.Get(project: string; targetHttpProxy: string) : TTargetHttpProxy;
  16707. Const
  16708. _HTTPMethod = 'GET';
  16709. _Path = '{project}/global/targetHttpProxies/{targetHttpProxy}';
  16710. _Methodid = 'compute.targetHttpProxies.get';
  16711. Var
  16712. _P : String;
  16713. begin
  16714. _P:=SubstitutePath(_Path,['project',project,'targetHttpProxy',targetHttpProxy]);
  16715. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TTargetHttpProxy) as TTargetHttpProxy;
  16716. end;
  16717. Function TTargetHttpProxiesResource.Insert(project: string; aTargetHttpProxy : TTargetHttpProxy) : TOperation;
  16718. Const
  16719. _HTTPMethod = 'POST';
  16720. _Path = '{project}/global/targetHttpProxies';
  16721. _Methodid = 'compute.targetHttpProxies.insert';
  16722. Var
  16723. _P : String;
  16724. begin
  16725. _P:=SubstitutePath(_Path,['project',project]);
  16726. Result:=ServiceCall(_HTTPMethod,_P,'',aTargetHttpProxy,TOperation) as TOperation;
  16727. end;
  16728. Function TTargetHttpProxiesResource.List(project: string; AQuery : string = '') : TTargetHttpProxyList;
  16729. Const
  16730. _HTTPMethod = 'GET';
  16731. _Path = '{project}/global/targetHttpProxies';
  16732. _Methodid = 'compute.targetHttpProxies.list';
  16733. Var
  16734. _P : String;
  16735. begin
  16736. _P:=SubstitutePath(_Path,['project',project]);
  16737. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TTargetHttpProxyList) as TTargetHttpProxyList;
  16738. end;
  16739. Function TTargetHttpProxiesResource.List(project: string; AQuery : TTargetHttpProxieslistOptions) : TTargetHttpProxyList;
  16740. Var
  16741. _Q : String;
  16742. begin
  16743. _Q:='';
  16744. AddToQuery(_Q,'filter',AQuery.filter);
  16745. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16746. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16747. Result:=List(project,_Q);
  16748. end;
  16749. Function TTargetHttpProxiesResource.SetUrlMap(project: string; targetHttpProxy: string; aUrlMapReference : TUrlMapReference) : TOperation;
  16750. Const
  16751. _HTTPMethod = 'POST';
  16752. _Path = '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap';
  16753. _Methodid = 'compute.targetHttpProxies.setUrlMap';
  16754. Var
  16755. _P : String;
  16756. begin
  16757. _P:=SubstitutePath(_Path,['project',project,'targetHttpProxy',targetHttpProxy]);
  16758. Result:=ServiceCall(_HTTPMethod,_P,'',aUrlMapReference,TOperation) as TOperation;
  16759. end;
  16760. { --------------------------------------------------------------------
  16761. TTargetHttpsProxiesResource
  16762. --------------------------------------------------------------------}
  16763. Class Function TTargetHttpsProxiesResource.ResourceName : String;
  16764. begin
  16765. Result:='targetHttpsProxies';
  16766. end;
  16767. Class Function TTargetHttpsProxiesResource.DefaultAPI : TGoogleAPIClass;
  16768. begin
  16769. Result:=TcomputeAPI;
  16770. end;
  16771. Function TTargetHttpsProxiesResource.Delete(project: string; targetHttpsProxy: string) : TOperation;
  16772. Const
  16773. _HTTPMethod = 'DELETE';
  16774. _Path = '{project}/global/targetHttpsProxies/{targetHttpsProxy}';
  16775. _Methodid = 'compute.targetHttpsProxies.delete';
  16776. Var
  16777. _P : String;
  16778. begin
  16779. _P:=SubstitutePath(_Path,['project',project,'targetHttpsProxy',targetHttpsProxy]);
  16780. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16781. end;
  16782. Function TTargetHttpsProxiesResource.Get(project: string; targetHttpsProxy: string) : TTargetHttpsProxy;
  16783. Const
  16784. _HTTPMethod = 'GET';
  16785. _Path = '{project}/global/targetHttpsProxies/{targetHttpsProxy}';
  16786. _Methodid = 'compute.targetHttpsProxies.get';
  16787. Var
  16788. _P : String;
  16789. begin
  16790. _P:=SubstitutePath(_Path,['project',project,'targetHttpsProxy',targetHttpsProxy]);
  16791. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TTargetHttpsProxy) as TTargetHttpsProxy;
  16792. end;
  16793. Function TTargetHttpsProxiesResource.Insert(project: string; aTargetHttpsProxy : TTargetHttpsProxy) : TOperation;
  16794. Const
  16795. _HTTPMethod = 'POST';
  16796. _Path = '{project}/global/targetHttpsProxies';
  16797. _Methodid = 'compute.targetHttpsProxies.insert';
  16798. Var
  16799. _P : String;
  16800. begin
  16801. _P:=SubstitutePath(_Path,['project',project]);
  16802. Result:=ServiceCall(_HTTPMethod,_P,'',aTargetHttpsProxy,TOperation) as TOperation;
  16803. end;
  16804. Function TTargetHttpsProxiesResource.List(project: string; AQuery : string = '') : TTargetHttpsProxyList;
  16805. Const
  16806. _HTTPMethod = 'GET';
  16807. _Path = '{project}/global/targetHttpsProxies';
  16808. _Methodid = 'compute.targetHttpsProxies.list';
  16809. Var
  16810. _P : String;
  16811. begin
  16812. _P:=SubstitutePath(_Path,['project',project]);
  16813. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TTargetHttpsProxyList) as TTargetHttpsProxyList;
  16814. end;
  16815. Function TTargetHttpsProxiesResource.List(project: string; AQuery : TTargetHttpsProxieslistOptions) : TTargetHttpsProxyList;
  16816. Var
  16817. _Q : String;
  16818. begin
  16819. _Q:='';
  16820. AddToQuery(_Q,'filter',AQuery.filter);
  16821. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16822. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16823. Result:=List(project,_Q);
  16824. end;
  16825. Function TTargetHttpsProxiesResource.SetSslCertificates(project: string; targetHttpsProxy: string; aTargetHttpsProxiesSetSslCertificatesRequest : TTargetHttpsProxiesSetSslCertificatesRequest) : TOperation;
  16826. Const
  16827. _HTTPMethod = 'POST';
  16828. _Path = '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates';
  16829. _Methodid = 'compute.targetHttpsProxies.setSslCertificates';
  16830. Var
  16831. _P : String;
  16832. begin
  16833. _P:=SubstitutePath(_Path,['project',project,'targetHttpsProxy',targetHttpsProxy]);
  16834. Result:=ServiceCall(_HTTPMethod,_P,'',aTargetHttpsProxiesSetSslCertificatesRequest,TOperation) as TOperation;
  16835. end;
  16836. Function TTargetHttpsProxiesResource.SetUrlMap(project: string; targetHttpsProxy: string; aUrlMapReference : TUrlMapReference) : TOperation;
  16837. Const
  16838. _HTTPMethod = 'POST';
  16839. _Path = '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap';
  16840. _Methodid = 'compute.targetHttpsProxies.setUrlMap';
  16841. Var
  16842. _P : String;
  16843. begin
  16844. _P:=SubstitutePath(_Path,['project',project,'targetHttpsProxy',targetHttpsProxy]);
  16845. Result:=ServiceCall(_HTTPMethod,_P,'',aUrlMapReference,TOperation) as TOperation;
  16846. end;
  16847. { --------------------------------------------------------------------
  16848. TTargetInstancesResource
  16849. --------------------------------------------------------------------}
  16850. Class Function TTargetInstancesResource.ResourceName : String;
  16851. begin
  16852. Result:='targetInstances';
  16853. end;
  16854. Class Function TTargetInstancesResource.DefaultAPI : TGoogleAPIClass;
  16855. begin
  16856. Result:=TcomputeAPI;
  16857. end;
  16858. Function TTargetInstancesResource.AggregatedList(project: string; AQuery : string = '') : TTargetInstanceAggregatedList;
  16859. Const
  16860. _HTTPMethod = 'GET';
  16861. _Path = '{project}/aggregated/targetInstances';
  16862. _Methodid = 'compute.targetInstances.aggregatedList';
  16863. Var
  16864. _P : String;
  16865. begin
  16866. _P:=SubstitutePath(_Path,['project',project]);
  16867. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TTargetInstanceAggregatedList) as TTargetInstanceAggregatedList;
  16868. end;
  16869. Function TTargetInstancesResource.AggregatedList(project: string; AQuery : TTargetInstancesaggregatedListOptions) : TTargetInstanceAggregatedList;
  16870. Var
  16871. _Q : String;
  16872. begin
  16873. _Q:='';
  16874. AddToQuery(_Q,'filter',AQuery.filter);
  16875. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16876. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16877. Result:=AggregatedList(project,_Q);
  16878. end;
  16879. Function TTargetInstancesResource.Delete(project: string; targetInstance: string; zone: string) : TOperation;
  16880. Const
  16881. _HTTPMethod = 'DELETE';
  16882. _Path = '{project}/zones/{zone}/targetInstances/{targetInstance}';
  16883. _Methodid = 'compute.targetInstances.delete';
  16884. Var
  16885. _P : String;
  16886. begin
  16887. _P:=SubstitutePath(_Path,['project',project,'targetInstance',targetInstance,'zone',zone]);
  16888. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16889. end;
  16890. Function TTargetInstancesResource.Get(project: string; targetInstance: string; zone: string) : TTargetInstance;
  16891. Const
  16892. _HTTPMethod = 'GET';
  16893. _Path = '{project}/zones/{zone}/targetInstances/{targetInstance}';
  16894. _Methodid = 'compute.targetInstances.get';
  16895. Var
  16896. _P : String;
  16897. begin
  16898. _P:=SubstitutePath(_Path,['project',project,'targetInstance',targetInstance,'zone',zone]);
  16899. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TTargetInstance) as TTargetInstance;
  16900. end;
  16901. Function TTargetInstancesResource.Insert(project: string; zone: string; aTargetInstance : TTargetInstance) : TOperation;
  16902. Const
  16903. _HTTPMethod = 'POST';
  16904. _Path = '{project}/zones/{zone}/targetInstances';
  16905. _Methodid = 'compute.targetInstances.insert';
  16906. Var
  16907. _P : String;
  16908. begin
  16909. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  16910. Result:=ServiceCall(_HTTPMethod,_P,'',aTargetInstance,TOperation) as TOperation;
  16911. end;
  16912. Function TTargetInstancesResource.List(project: string; zone: string; AQuery : string = '') : TTargetInstanceList;
  16913. Const
  16914. _HTTPMethod = 'GET';
  16915. _Path = '{project}/zones/{zone}/targetInstances';
  16916. _Methodid = 'compute.targetInstances.list';
  16917. Var
  16918. _P : String;
  16919. begin
  16920. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  16921. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TTargetInstanceList) as TTargetInstanceList;
  16922. end;
  16923. Function TTargetInstancesResource.List(project: string; zone: string; AQuery : TTargetInstanceslistOptions) : TTargetInstanceList;
  16924. Var
  16925. _Q : String;
  16926. begin
  16927. _Q:='';
  16928. AddToQuery(_Q,'filter',AQuery.filter);
  16929. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16930. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16931. Result:=List(project,zone,_Q);
  16932. end;
  16933. { --------------------------------------------------------------------
  16934. TTargetPoolsResource
  16935. --------------------------------------------------------------------}
  16936. Class Function TTargetPoolsResource.ResourceName : String;
  16937. begin
  16938. Result:='targetPools';
  16939. end;
  16940. Class Function TTargetPoolsResource.DefaultAPI : TGoogleAPIClass;
  16941. begin
  16942. Result:=TcomputeAPI;
  16943. end;
  16944. Function TTargetPoolsResource.AddHealthCheck(project: string; region: string; targetPool: string; aTargetPoolsAddHealthCheckRequest : TTargetPoolsAddHealthCheckRequest) : TOperation;
  16945. Const
  16946. _HTTPMethod = 'POST';
  16947. _Path = '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck';
  16948. _Methodid = 'compute.targetPools.addHealthCheck';
  16949. Var
  16950. _P : String;
  16951. begin
  16952. _P:=SubstitutePath(_Path,['project',project,'region',region,'targetPool',targetPool]);
  16953. Result:=ServiceCall(_HTTPMethod,_P,'',aTargetPoolsAddHealthCheckRequest,TOperation) as TOperation;
  16954. end;
  16955. Function TTargetPoolsResource.AddInstance(project: string; region: string; targetPool: string; aTargetPoolsAddInstanceRequest : TTargetPoolsAddInstanceRequest) : TOperation;
  16956. Const
  16957. _HTTPMethod = 'POST';
  16958. _Path = '{project}/regions/{region}/targetPools/{targetPool}/addInstance';
  16959. _Methodid = 'compute.targetPools.addInstance';
  16960. Var
  16961. _P : String;
  16962. begin
  16963. _P:=SubstitutePath(_Path,['project',project,'region',region,'targetPool',targetPool]);
  16964. Result:=ServiceCall(_HTTPMethod,_P,'',aTargetPoolsAddInstanceRequest,TOperation) as TOperation;
  16965. end;
  16966. Function TTargetPoolsResource.AggregatedList(project: string; AQuery : string = '') : TTargetPoolAggregatedList;
  16967. Const
  16968. _HTTPMethod = 'GET';
  16969. _Path = '{project}/aggregated/targetPools';
  16970. _Methodid = 'compute.targetPools.aggregatedList';
  16971. Var
  16972. _P : String;
  16973. begin
  16974. _P:=SubstitutePath(_Path,['project',project]);
  16975. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TTargetPoolAggregatedList) as TTargetPoolAggregatedList;
  16976. end;
  16977. Function TTargetPoolsResource.AggregatedList(project: string; AQuery : TTargetPoolsaggregatedListOptions) : TTargetPoolAggregatedList;
  16978. Var
  16979. _Q : String;
  16980. begin
  16981. _Q:='';
  16982. AddToQuery(_Q,'filter',AQuery.filter);
  16983. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  16984. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  16985. Result:=AggregatedList(project,_Q);
  16986. end;
  16987. Function TTargetPoolsResource.Delete(project: string; region: string; targetPool: string) : TOperation;
  16988. Const
  16989. _HTTPMethod = 'DELETE';
  16990. _Path = '{project}/regions/{region}/targetPools/{targetPool}';
  16991. _Methodid = 'compute.targetPools.delete';
  16992. Var
  16993. _P : String;
  16994. begin
  16995. _P:=SubstitutePath(_Path,['project',project,'region',region,'targetPool',targetPool]);
  16996. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  16997. end;
  16998. Function TTargetPoolsResource.Get(project: string; region: string; targetPool: string) : TTargetPool;
  16999. Const
  17000. _HTTPMethod = 'GET';
  17001. _Path = '{project}/regions/{region}/targetPools/{targetPool}';
  17002. _Methodid = 'compute.targetPools.get';
  17003. Var
  17004. _P : String;
  17005. begin
  17006. _P:=SubstitutePath(_Path,['project',project,'region',region,'targetPool',targetPool]);
  17007. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TTargetPool) as TTargetPool;
  17008. end;
  17009. Function TTargetPoolsResource.GetHealth(project: string; region: string; targetPool: string; aInstanceReference : TInstanceReference) : TTargetPoolInstanceHealth;
  17010. Const
  17011. _HTTPMethod = 'POST';
  17012. _Path = '{project}/regions/{region}/targetPools/{targetPool}/getHealth';
  17013. _Methodid = 'compute.targetPools.getHealth';
  17014. Var
  17015. _P : String;
  17016. begin
  17017. _P:=SubstitutePath(_Path,['project',project,'region',region,'targetPool',targetPool]);
  17018. Result:=ServiceCall(_HTTPMethod,_P,'',aInstanceReference,TTargetPoolInstanceHealth) as TTargetPoolInstanceHealth;
  17019. end;
  17020. Function TTargetPoolsResource.Insert(project: string; region: string; aTargetPool : TTargetPool) : TOperation;
  17021. Const
  17022. _HTTPMethod = 'POST';
  17023. _Path = '{project}/regions/{region}/targetPools';
  17024. _Methodid = 'compute.targetPools.insert';
  17025. Var
  17026. _P : String;
  17027. begin
  17028. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  17029. Result:=ServiceCall(_HTTPMethod,_P,'',aTargetPool,TOperation) as TOperation;
  17030. end;
  17031. Function TTargetPoolsResource.List(project: string; region: string; AQuery : string = '') : TTargetPoolList;
  17032. Const
  17033. _HTTPMethod = 'GET';
  17034. _Path = '{project}/regions/{region}/targetPools';
  17035. _Methodid = 'compute.targetPools.list';
  17036. Var
  17037. _P : String;
  17038. begin
  17039. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  17040. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TTargetPoolList) as TTargetPoolList;
  17041. end;
  17042. Function TTargetPoolsResource.List(project: string; region: string; AQuery : TTargetPoolslistOptions) : TTargetPoolList;
  17043. Var
  17044. _Q : String;
  17045. begin
  17046. _Q:='';
  17047. AddToQuery(_Q,'filter',AQuery.filter);
  17048. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  17049. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  17050. Result:=List(project,region,_Q);
  17051. end;
  17052. Function TTargetPoolsResource.RemoveHealthCheck(project: string; region: string; targetPool: string; aTargetPoolsRemoveHealthCheckRequest : TTargetPoolsRemoveHealthCheckRequest) : TOperation;
  17053. Const
  17054. _HTTPMethod = 'POST';
  17055. _Path = '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck';
  17056. _Methodid = 'compute.targetPools.removeHealthCheck';
  17057. Var
  17058. _P : String;
  17059. begin
  17060. _P:=SubstitutePath(_Path,['project',project,'region',region,'targetPool',targetPool]);
  17061. Result:=ServiceCall(_HTTPMethod,_P,'',aTargetPoolsRemoveHealthCheckRequest,TOperation) as TOperation;
  17062. end;
  17063. Function TTargetPoolsResource.RemoveInstance(project: string; region: string; targetPool: string; aTargetPoolsRemoveInstanceRequest : TTargetPoolsRemoveInstanceRequest) : TOperation;
  17064. Const
  17065. _HTTPMethod = 'POST';
  17066. _Path = '{project}/regions/{region}/targetPools/{targetPool}/removeInstance';
  17067. _Methodid = 'compute.targetPools.removeInstance';
  17068. Var
  17069. _P : String;
  17070. begin
  17071. _P:=SubstitutePath(_Path,['project',project,'region',region,'targetPool',targetPool]);
  17072. Result:=ServiceCall(_HTTPMethod,_P,'',aTargetPoolsRemoveInstanceRequest,TOperation) as TOperation;
  17073. end;
  17074. Function TTargetPoolsResource.SetBackup(project: string; region: string; targetPool: string; aTargetReference : TTargetReference; AQuery : string = '') : TOperation;
  17075. Const
  17076. _HTTPMethod = 'POST';
  17077. _Path = '{project}/regions/{region}/targetPools/{targetPool}/setBackup';
  17078. _Methodid = 'compute.targetPools.setBackup';
  17079. Var
  17080. _P : String;
  17081. begin
  17082. _P:=SubstitutePath(_Path,['project',project,'region',region,'targetPool',targetPool]);
  17083. Result:=ServiceCall(_HTTPMethod,_P,AQuery,aTargetReference,TOperation) as TOperation;
  17084. end;
  17085. Function TTargetPoolsResource.SetBackup(project: string; region: string; targetPool: string; aTargetReference : TTargetReference; AQuery : TTargetPoolssetBackupOptions) : TOperation;
  17086. Var
  17087. _Q : String;
  17088. begin
  17089. _Q:='';
  17090. AddToQuery(_Q,'failoverRatio',AQuery.failoverRatio);
  17091. Result:=SetBackup(project,region,targetPool,aTargetReference,_Q);
  17092. end;
  17093. { --------------------------------------------------------------------
  17094. TTargetVpnGatewaysResource
  17095. --------------------------------------------------------------------}
  17096. Class Function TTargetVpnGatewaysResource.ResourceName : String;
  17097. begin
  17098. Result:='targetVpnGateways';
  17099. end;
  17100. Class Function TTargetVpnGatewaysResource.DefaultAPI : TGoogleAPIClass;
  17101. begin
  17102. Result:=TcomputeAPI;
  17103. end;
  17104. Function TTargetVpnGatewaysResource.AggregatedList(project: string; AQuery : string = '') : TTargetVpnGatewayAggregatedList;
  17105. Const
  17106. _HTTPMethod = 'GET';
  17107. _Path = '{project}/aggregated/targetVpnGateways';
  17108. _Methodid = 'compute.targetVpnGateways.aggregatedList';
  17109. Var
  17110. _P : String;
  17111. begin
  17112. _P:=SubstitutePath(_Path,['project',project]);
  17113. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TTargetVpnGatewayAggregatedList) as TTargetVpnGatewayAggregatedList;
  17114. end;
  17115. Function TTargetVpnGatewaysResource.AggregatedList(project: string; AQuery : TTargetVpnGatewaysaggregatedListOptions) : TTargetVpnGatewayAggregatedList;
  17116. Var
  17117. _Q : String;
  17118. begin
  17119. _Q:='';
  17120. AddToQuery(_Q,'filter',AQuery.filter);
  17121. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  17122. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  17123. Result:=AggregatedList(project,_Q);
  17124. end;
  17125. Function TTargetVpnGatewaysResource.Delete(project: string; region: string; targetVpnGateway: string) : TOperation;
  17126. Const
  17127. _HTTPMethod = 'DELETE';
  17128. _Path = '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}';
  17129. _Methodid = 'compute.targetVpnGateways.delete';
  17130. Var
  17131. _P : String;
  17132. begin
  17133. _P:=SubstitutePath(_Path,['project',project,'region',region,'targetVpnGateway',targetVpnGateway]);
  17134. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  17135. end;
  17136. Function TTargetVpnGatewaysResource.Get(project: string; region: string; targetVpnGateway: string) : TTargetVpnGateway;
  17137. Const
  17138. _HTTPMethod = 'GET';
  17139. _Path = '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}';
  17140. _Methodid = 'compute.targetVpnGateways.get';
  17141. Var
  17142. _P : String;
  17143. begin
  17144. _P:=SubstitutePath(_Path,['project',project,'region',region,'targetVpnGateway',targetVpnGateway]);
  17145. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TTargetVpnGateway) as TTargetVpnGateway;
  17146. end;
  17147. Function TTargetVpnGatewaysResource.Insert(project: string; region: string; aTargetVpnGateway : TTargetVpnGateway) : TOperation;
  17148. Const
  17149. _HTTPMethod = 'POST';
  17150. _Path = '{project}/regions/{region}/targetVpnGateways';
  17151. _Methodid = 'compute.targetVpnGateways.insert';
  17152. Var
  17153. _P : String;
  17154. begin
  17155. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  17156. Result:=ServiceCall(_HTTPMethod,_P,'',aTargetVpnGateway,TOperation) as TOperation;
  17157. end;
  17158. Function TTargetVpnGatewaysResource.List(project: string; region: string; AQuery : string = '') : TTargetVpnGatewayList;
  17159. Const
  17160. _HTTPMethod = 'GET';
  17161. _Path = '{project}/regions/{region}/targetVpnGateways';
  17162. _Methodid = 'compute.targetVpnGateways.list';
  17163. Var
  17164. _P : String;
  17165. begin
  17166. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  17167. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TTargetVpnGatewayList) as TTargetVpnGatewayList;
  17168. end;
  17169. Function TTargetVpnGatewaysResource.List(project: string; region: string; AQuery : TTargetVpnGatewayslistOptions) : TTargetVpnGatewayList;
  17170. Var
  17171. _Q : String;
  17172. begin
  17173. _Q:='';
  17174. AddToQuery(_Q,'filter',AQuery.filter);
  17175. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  17176. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  17177. Result:=List(project,region,_Q);
  17178. end;
  17179. { --------------------------------------------------------------------
  17180. TUrlMapsResource
  17181. --------------------------------------------------------------------}
  17182. Class Function TUrlMapsResource.ResourceName : String;
  17183. begin
  17184. Result:='urlMaps';
  17185. end;
  17186. Class Function TUrlMapsResource.DefaultAPI : TGoogleAPIClass;
  17187. begin
  17188. Result:=TcomputeAPI;
  17189. end;
  17190. Function TUrlMapsResource.Delete(project: string; urlMap: string) : TOperation;
  17191. Const
  17192. _HTTPMethod = 'DELETE';
  17193. _Path = '{project}/global/urlMaps/{urlMap}';
  17194. _Methodid = 'compute.urlMaps.delete';
  17195. Var
  17196. _P : String;
  17197. begin
  17198. _P:=SubstitutePath(_Path,['project',project,'urlMap',urlMap]);
  17199. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  17200. end;
  17201. Function TUrlMapsResource.Get(project: string; urlMap: string) : TUrlMap;
  17202. Const
  17203. _HTTPMethod = 'GET';
  17204. _Path = '{project}/global/urlMaps/{urlMap}';
  17205. _Methodid = 'compute.urlMaps.get';
  17206. Var
  17207. _P : String;
  17208. begin
  17209. _P:=SubstitutePath(_Path,['project',project,'urlMap',urlMap]);
  17210. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TUrlMap) as TUrlMap;
  17211. end;
  17212. Function TUrlMapsResource.Insert(project: string; aUrlMap : TUrlMap) : TOperation;
  17213. Const
  17214. _HTTPMethod = 'POST';
  17215. _Path = '{project}/global/urlMaps';
  17216. _Methodid = 'compute.urlMaps.insert';
  17217. Var
  17218. _P : String;
  17219. begin
  17220. _P:=SubstitutePath(_Path,['project',project]);
  17221. Result:=ServiceCall(_HTTPMethod,_P,'',aUrlMap,TOperation) as TOperation;
  17222. end;
  17223. Function TUrlMapsResource.List(project: string; AQuery : string = '') : TUrlMapList;
  17224. Const
  17225. _HTTPMethod = 'GET';
  17226. _Path = '{project}/global/urlMaps';
  17227. _Methodid = 'compute.urlMaps.list';
  17228. Var
  17229. _P : String;
  17230. begin
  17231. _P:=SubstitutePath(_Path,['project',project]);
  17232. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TUrlMapList) as TUrlMapList;
  17233. end;
  17234. Function TUrlMapsResource.List(project: string; AQuery : TUrlMapslistOptions) : TUrlMapList;
  17235. Var
  17236. _Q : String;
  17237. begin
  17238. _Q:='';
  17239. AddToQuery(_Q,'filter',AQuery.filter);
  17240. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  17241. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  17242. Result:=List(project,_Q);
  17243. end;
  17244. Function TUrlMapsResource.Patch(project: string; urlMap: string; aUrlMap : TUrlMap) : TOperation;
  17245. Const
  17246. _HTTPMethod = 'PATCH';
  17247. _Path = '{project}/global/urlMaps/{urlMap}';
  17248. _Methodid = 'compute.urlMaps.patch';
  17249. Var
  17250. _P : String;
  17251. begin
  17252. _P:=SubstitutePath(_Path,['project',project,'urlMap',urlMap]);
  17253. Result:=ServiceCall(_HTTPMethod,_P,'',aUrlMap,TOperation) as TOperation;
  17254. end;
  17255. Function TUrlMapsResource.Update(project: string; urlMap: string; aUrlMap : TUrlMap) : TOperation;
  17256. Const
  17257. _HTTPMethod = 'PUT';
  17258. _Path = '{project}/global/urlMaps/{urlMap}';
  17259. _Methodid = 'compute.urlMaps.update';
  17260. Var
  17261. _P : String;
  17262. begin
  17263. _P:=SubstitutePath(_Path,['project',project,'urlMap',urlMap]);
  17264. Result:=ServiceCall(_HTTPMethod,_P,'',aUrlMap,TOperation) as TOperation;
  17265. end;
  17266. Function TUrlMapsResource.Validate(project: string; urlMap: string; aUrlMapsValidateRequest : TUrlMapsValidateRequest) : TUrlMapsValidateResponse;
  17267. Const
  17268. _HTTPMethod = 'POST';
  17269. _Path = '{project}/global/urlMaps/{urlMap}/validate';
  17270. _Methodid = 'compute.urlMaps.validate';
  17271. Var
  17272. _P : String;
  17273. begin
  17274. _P:=SubstitutePath(_Path,['project',project,'urlMap',urlMap]);
  17275. Result:=ServiceCall(_HTTPMethod,_P,'',aUrlMapsValidateRequest,TUrlMapsValidateResponse) as TUrlMapsValidateResponse;
  17276. end;
  17277. { --------------------------------------------------------------------
  17278. TVpnTunnelsResource
  17279. --------------------------------------------------------------------}
  17280. Class Function TVpnTunnelsResource.ResourceName : String;
  17281. begin
  17282. Result:='vpnTunnels';
  17283. end;
  17284. Class Function TVpnTunnelsResource.DefaultAPI : TGoogleAPIClass;
  17285. begin
  17286. Result:=TcomputeAPI;
  17287. end;
  17288. Function TVpnTunnelsResource.AggregatedList(project: string; AQuery : string = '') : TVpnTunnelAggregatedList;
  17289. Const
  17290. _HTTPMethod = 'GET';
  17291. _Path = '{project}/aggregated/vpnTunnels';
  17292. _Methodid = 'compute.vpnTunnels.aggregatedList';
  17293. Var
  17294. _P : String;
  17295. begin
  17296. _P:=SubstitutePath(_Path,['project',project]);
  17297. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TVpnTunnelAggregatedList) as TVpnTunnelAggregatedList;
  17298. end;
  17299. Function TVpnTunnelsResource.AggregatedList(project: string; AQuery : TVpnTunnelsaggregatedListOptions) : TVpnTunnelAggregatedList;
  17300. Var
  17301. _Q : String;
  17302. begin
  17303. _Q:='';
  17304. AddToQuery(_Q,'filter',AQuery.filter);
  17305. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  17306. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  17307. Result:=AggregatedList(project,_Q);
  17308. end;
  17309. Function TVpnTunnelsResource.Delete(project: string; region: string; vpnTunnel: string) : TOperation;
  17310. Const
  17311. _HTTPMethod = 'DELETE';
  17312. _Path = '{project}/regions/{region}/vpnTunnels/{vpnTunnel}';
  17313. _Methodid = 'compute.vpnTunnels.delete';
  17314. Var
  17315. _P : String;
  17316. begin
  17317. _P:=SubstitutePath(_Path,['project',project,'region',region,'vpnTunnel',vpnTunnel]);
  17318. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  17319. end;
  17320. Function TVpnTunnelsResource.Get(project: string; region: string; vpnTunnel: string) : TVpnTunnel;
  17321. Const
  17322. _HTTPMethod = 'GET';
  17323. _Path = '{project}/regions/{region}/vpnTunnels/{vpnTunnel}';
  17324. _Methodid = 'compute.vpnTunnels.get';
  17325. Var
  17326. _P : String;
  17327. begin
  17328. _P:=SubstitutePath(_Path,['project',project,'region',region,'vpnTunnel',vpnTunnel]);
  17329. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TVpnTunnel) as TVpnTunnel;
  17330. end;
  17331. Function TVpnTunnelsResource.Insert(project: string; region: string; aVpnTunnel : TVpnTunnel) : TOperation;
  17332. Const
  17333. _HTTPMethod = 'POST';
  17334. _Path = '{project}/regions/{region}/vpnTunnels';
  17335. _Methodid = 'compute.vpnTunnels.insert';
  17336. Var
  17337. _P : String;
  17338. begin
  17339. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  17340. Result:=ServiceCall(_HTTPMethod,_P,'',aVpnTunnel,TOperation) as TOperation;
  17341. end;
  17342. Function TVpnTunnelsResource.List(project: string; region: string; AQuery : string = '') : TVpnTunnelList;
  17343. Const
  17344. _HTTPMethod = 'GET';
  17345. _Path = '{project}/regions/{region}/vpnTunnels';
  17346. _Methodid = 'compute.vpnTunnels.list';
  17347. Var
  17348. _P : String;
  17349. begin
  17350. _P:=SubstitutePath(_Path,['project',project,'region',region]);
  17351. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TVpnTunnelList) as TVpnTunnelList;
  17352. end;
  17353. Function TVpnTunnelsResource.List(project: string; region: string; AQuery : TVpnTunnelslistOptions) : TVpnTunnelList;
  17354. Var
  17355. _Q : String;
  17356. begin
  17357. _Q:='';
  17358. AddToQuery(_Q,'filter',AQuery.filter);
  17359. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  17360. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  17361. Result:=List(project,region,_Q);
  17362. end;
  17363. { --------------------------------------------------------------------
  17364. TZoneOperationsResource
  17365. --------------------------------------------------------------------}
  17366. Class Function TZoneOperationsResource.ResourceName : String;
  17367. begin
  17368. Result:='zoneOperations';
  17369. end;
  17370. Class Function TZoneOperationsResource.DefaultAPI : TGoogleAPIClass;
  17371. begin
  17372. Result:=TcomputeAPI;
  17373. end;
  17374. Procedure TZoneOperationsResource.Delete(operation: string; project: string; zone: string);
  17375. Const
  17376. _HTTPMethod = 'DELETE';
  17377. _Path = '{project}/zones/{zone}/operations/{operation}';
  17378. _Methodid = 'compute.zoneOperations.delete';
  17379. Var
  17380. _P : String;
  17381. begin
  17382. _P:=SubstitutePath(_Path,['operation',operation,'project',project,'zone',zone]);
  17383. ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
  17384. end;
  17385. Function TZoneOperationsResource.Get(operation: string; project: string; zone: string) : TOperation;
  17386. Const
  17387. _HTTPMethod = 'GET';
  17388. _Path = '{project}/zones/{zone}/operations/{operation}';
  17389. _Methodid = 'compute.zoneOperations.get';
  17390. Var
  17391. _P : String;
  17392. begin
  17393. _P:=SubstitutePath(_Path,['operation',operation,'project',project,'zone',zone]);
  17394. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TOperation) as TOperation;
  17395. end;
  17396. Function TZoneOperationsResource.List(project: string; zone: string; AQuery : string = '') : TOperationList;
  17397. Const
  17398. _HTTPMethod = 'GET';
  17399. _Path = '{project}/zones/{zone}/operations';
  17400. _Methodid = 'compute.zoneOperations.list';
  17401. Var
  17402. _P : String;
  17403. begin
  17404. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  17405. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TOperationList) as TOperationList;
  17406. end;
  17407. Function TZoneOperationsResource.List(project: string; zone: string; AQuery : TZoneOperationslistOptions) : TOperationList;
  17408. Var
  17409. _Q : String;
  17410. begin
  17411. _Q:='';
  17412. AddToQuery(_Q,'filter',AQuery.filter);
  17413. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  17414. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  17415. Result:=List(project,zone,_Q);
  17416. end;
  17417. { --------------------------------------------------------------------
  17418. TZonesResource
  17419. --------------------------------------------------------------------}
  17420. Class Function TZonesResource.ResourceName : String;
  17421. begin
  17422. Result:='zones';
  17423. end;
  17424. Class Function TZonesResource.DefaultAPI : TGoogleAPIClass;
  17425. begin
  17426. Result:=TcomputeAPI;
  17427. end;
  17428. Function TZonesResource.Get(project: string; zone: string) : TZone;
  17429. Const
  17430. _HTTPMethod = 'GET';
  17431. _Path = '{project}/zones/{zone}';
  17432. _Methodid = 'compute.zones.get';
  17433. Var
  17434. _P : String;
  17435. begin
  17436. _P:=SubstitutePath(_Path,['project',project,'zone',zone]);
  17437. Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TZone) as TZone;
  17438. end;
  17439. Function TZonesResource.List(project: string; AQuery : string = '') : TZoneList;
  17440. Const
  17441. _HTTPMethod = 'GET';
  17442. _Path = '{project}/zones';
  17443. _Methodid = 'compute.zones.list';
  17444. Var
  17445. _P : String;
  17446. begin
  17447. _P:=SubstitutePath(_Path,['project',project]);
  17448. Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TZoneList) as TZoneList;
  17449. end;
  17450. Function TZonesResource.List(project: string; AQuery : TZoneslistOptions) : TZoneList;
  17451. Var
  17452. _Q : String;
  17453. begin
  17454. _Q:='';
  17455. AddToQuery(_Q,'filter',AQuery.filter);
  17456. AddToQuery(_Q,'maxResults',AQuery.maxResults);
  17457. AddToQuery(_Q,'pageToken',AQuery.pageToken);
  17458. Result:=List(project,_Q);
  17459. end;
  17460. { --------------------------------------------------------------------
  17461. TComputeAPI
  17462. --------------------------------------------------------------------}
  17463. Class Function TComputeAPI.APIName : String;
  17464. begin
  17465. Result:='compute';
  17466. end;
  17467. Class Function TComputeAPI.APIVersion : String;
  17468. begin
  17469. Result:='v1';
  17470. end;
  17471. Class Function TComputeAPI.APIRevision : String;
  17472. begin
  17473. Result:='20160509';
  17474. end;
  17475. Class Function TComputeAPI.APIID : String;
  17476. begin
  17477. Result:='compute:v1';
  17478. end;
  17479. Class Function TComputeAPI.APITitle : String;
  17480. begin
  17481. Result:='Compute Engine API';
  17482. end;
  17483. Class Function TComputeAPI.APIDescription : String;
  17484. begin
  17485. Result:='Creates and runs virtual machines on Google Cloud Platform.';
  17486. end;
  17487. Class Function TComputeAPI.APIOwnerDomain : String;
  17488. begin
  17489. Result:='google.com';
  17490. end;
  17491. Class Function TComputeAPI.APIOwnerName : String;
  17492. begin
  17493. Result:='Google';
  17494. end;
  17495. Class Function TComputeAPI.APIIcon16 : String;
  17496. begin
  17497. Result:='https://www.google.com/images/icons/product/compute_engine-16.png';
  17498. end;
  17499. Class Function TComputeAPI.APIIcon32 : String;
  17500. begin
  17501. Result:='https://www.google.com/images/icons/product/compute_engine-32.png';
  17502. end;
  17503. Class Function TComputeAPI.APIdocumentationLink : String;
  17504. begin
  17505. Result:='https://developers.google.com/compute/docs/reference/latest/';
  17506. end;
  17507. Class Function TComputeAPI.APIrootUrl : string;
  17508. begin
  17509. Result:='https://www.googleapis.com/';
  17510. end;
  17511. Class Function TComputeAPI.APIbasePath : string;
  17512. begin
  17513. Result:='/compute/v1/projects/';
  17514. end;
  17515. Class Function TComputeAPI.APIbaseURL : String;
  17516. begin
  17517. Result:='https://www.googleapis.com/compute/v1/projects/';
  17518. end;
  17519. Class Function TComputeAPI.APIProtocol : string;
  17520. begin
  17521. Result:='rest';
  17522. end;
  17523. Class Function TComputeAPI.APIservicePath : string;
  17524. begin
  17525. Result:='compute/v1/projects/';
  17526. end;
  17527. Class Function TComputeAPI.APIbatchPath : String;
  17528. begin
  17529. Result:='batch';
  17530. end;
  17531. Class Function TComputeAPI.APIAuthScopes : TScopeInfoArray;
  17532. begin
  17533. SetLength(Result,6);
  17534. Result[0].Name:='https://www.googleapis.com/auth/cloud-platform';
  17535. Result[0].Description:='View and manage your data across Google Cloud Platform services';
  17536. Result[1].Name:='https://www.googleapis.com/auth/compute';
  17537. Result[1].Description:='View and manage your Google Compute Engine resources';
  17538. Result[2].Name:='https://www.googleapis.com/auth/compute.readonly';
  17539. Result[2].Description:='View your Google Compute Engine resources';
  17540. Result[3].Name:='https://www.googleapis.com/auth/devstorage.full_control';
  17541. Result[3].Description:='Manage your data and permissions in Google Cloud Storage';
  17542. Result[4].Name:='https://www.googleapis.com/auth/devstorage.read_only';
  17543. Result[4].Description:='View your data in Google Cloud Storage';
  17544. Result[5].Name:='https://www.googleapis.com/auth/devstorage.read_write';
  17545. Result[5].Description:='Manage your data in Google Cloud Storage';
  17546. end;
  17547. Class Function TComputeAPI.APINeedsAuth : Boolean;
  17548. begin
  17549. Result:=True;
  17550. end;
  17551. Class Procedure TComputeAPI.RegisterAPIResources;
  17552. begin
  17553. TAccessConfig.RegisterObject;
  17554. TAddress.RegisterObject;
  17555. TAddressAggregatedListTypeitems.RegisterObject;
  17556. TAddressAggregatedList.RegisterObject;
  17557. TAddressList.RegisterObject;
  17558. TAddressesScopedListTypewarningTypedataItem.RegisterObject;
  17559. TAddressesScopedListTypewarning.RegisterObject;
  17560. TAddressesScopedList.RegisterObject;
  17561. TAttachedDisk.RegisterObject;
  17562. TAttachedDiskInitializeParams.RegisterObject;
  17563. TAutoscaler.RegisterObject;
  17564. TAutoscalerAggregatedListTypeitems.RegisterObject;
  17565. TAutoscalerAggregatedList.RegisterObject;
  17566. TAutoscalerList.RegisterObject;
  17567. TAutoscalersScopedListTypewarningTypedataItem.RegisterObject;
  17568. TAutoscalersScopedListTypewarning.RegisterObject;
  17569. TAutoscalersScopedList.RegisterObject;
  17570. TAutoscalingPolicy.RegisterObject;
  17571. TAutoscalingPolicyCpuUtilization.RegisterObject;
  17572. TAutoscalingPolicyCustomMetricUtilization.RegisterObject;
  17573. TAutoscalingPolicyLoadBalancingUtilization.RegisterObject;
  17574. TBackend.RegisterObject;
  17575. TBackendService.RegisterObject;
  17576. TBackendServiceGroupHealth.RegisterObject;
  17577. TBackendServiceList.RegisterObject;
  17578. TDeprecationStatus.RegisterObject;
  17579. TDisk.RegisterObject;
  17580. TDiskAggregatedListTypeitems.RegisterObject;
  17581. TDiskAggregatedList.RegisterObject;
  17582. TDiskList.RegisterObject;
  17583. TDiskMoveRequest.RegisterObject;
  17584. TDiskType.RegisterObject;
  17585. TDiskTypeAggregatedListTypeitems.RegisterObject;
  17586. TDiskTypeAggregatedList.RegisterObject;
  17587. TDiskTypeList.RegisterObject;
  17588. TDiskTypesScopedListTypewarningTypedataItem.RegisterObject;
  17589. TDiskTypesScopedListTypewarning.RegisterObject;
  17590. TDiskTypesScopedList.RegisterObject;
  17591. TDisksResizeRequest.RegisterObject;
  17592. TDisksScopedListTypewarningTypedataItem.RegisterObject;
  17593. TDisksScopedListTypewarning.RegisterObject;
  17594. TDisksScopedList.RegisterObject;
  17595. TFirewallTypeallowedItem.RegisterObject;
  17596. TFirewall.RegisterObject;
  17597. TFirewallList.RegisterObject;
  17598. TForwardingRule.RegisterObject;
  17599. TForwardingRuleAggregatedListTypeitems.RegisterObject;
  17600. TForwardingRuleAggregatedList.RegisterObject;
  17601. TForwardingRuleList.RegisterObject;
  17602. TForwardingRulesScopedListTypewarningTypedataItem.RegisterObject;
  17603. TForwardingRulesScopedListTypewarning.RegisterObject;
  17604. TForwardingRulesScopedList.RegisterObject;
  17605. THealthCheckReference.RegisterObject;
  17606. THealthStatus.RegisterObject;
  17607. THostRule.RegisterObject;
  17608. THttpHealthCheck.RegisterObject;
  17609. THttpHealthCheckList.RegisterObject;
  17610. THttpsHealthCheck.RegisterObject;
  17611. THttpsHealthCheckList.RegisterObject;
  17612. TImageTyperawDisk.RegisterObject;
  17613. TImage.RegisterObject;
  17614. TImageList.RegisterObject;
  17615. TInstance.RegisterObject;
  17616. TInstanceAggregatedListTypeitems.RegisterObject;
  17617. TInstanceAggregatedList.RegisterObject;
  17618. TInstanceGroup.RegisterObject;
  17619. TInstanceGroupAggregatedListTypeitems.RegisterObject;
  17620. TInstanceGroupAggregatedList.RegisterObject;
  17621. TInstanceGroupList.RegisterObject;
  17622. TInstanceGroupManager.RegisterObject;
  17623. TInstanceGroupManagerActionsSummary.RegisterObject;
  17624. TInstanceGroupManagerAggregatedListTypeitems.RegisterObject;
  17625. TInstanceGroupManagerAggregatedList.RegisterObject;
  17626. TInstanceGroupManagerList.RegisterObject;
  17627. TInstanceGroupManagersAbandonInstancesRequest.RegisterObject;
  17628. TInstanceGroupManagersDeleteInstancesRequest.RegisterObject;
  17629. TInstanceGroupManagersListManagedInstancesResponse.RegisterObject;
  17630. TInstanceGroupManagersRecreateInstancesRequest.RegisterObject;
  17631. TInstanceGroupManagersScopedListTypewarningTypedataItem.RegisterObject;
  17632. TInstanceGroupManagersScopedListTypewarning.RegisterObject;
  17633. TInstanceGroupManagersScopedList.RegisterObject;
  17634. TInstanceGroupManagersSetInstanceTemplateRequest.RegisterObject;
  17635. TInstanceGroupManagersSetTargetPoolsRequest.RegisterObject;
  17636. TInstanceGroupsAddInstancesRequest.RegisterObject;
  17637. TInstanceGroupsListInstances.RegisterObject;
  17638. TInstanceGroupsListInstancesRequest.RegisterObject;
  17639. TInstanceGroupsRemoveInstancesRequest.RegisterObject;
  17640. TInstanceGroupsScopedListTypewarningTypedataItem.RegisterObject;
  17641. TInstanceGroupsScopedListTypewarning.RegisterObject;
  17642. TInstanceGroupsScopedList.RegisterObject;
  17643. TInstanceGroupsSetNamedPortsRequest.RegisterObject;
  17644. TInstanceList.RegisterObject;
  17645. TInstanceMoveRequest.RegisterObject;
  17646. TInstanceProperties.RegisterObject;
  17647. TInstanceReference.RegisterObject;
  17648. TInstanceTemplate.RegisterObject;
  17649. TInstanceTemplateList.RegisterObject;
  17650. TInstanceWithNamedPorts.RegisterObject;
  17651. TInstancesScopedListTypewarningTypedataItem.RegisterObject;
  17652. TInstancesScopedListTypewarning.RegisterObject;
  17653. TInstancesScopedList.RegisterObject;
  17654. TInstancesSetMachineTypeRequest.RegisterObject;
  17655. TLicense.RegisterObject;
  17656. TMachineTypeTypescratchDisksItem.RegisterObject;
  17657. TMachineType.RegisterObject;
  17658. TMachineTypeAggregatedListTypeitems.RegisterObject;
  17659. TMachineTypeAggregatedList.RegisterObject;
  17660. TMachineTypeList.RegisterObject;
  17661. TMachineTypesScopedListTypewarningTypedataItem.RegisterObject;
  17662. TMachineTypesScopedListTypewarning.RegisterObject;
  17663. TMachineTypesScopedList.RegisterObject;
  17664. TManagedInstance.RegisterObject;
  17665. TManagedInstanceLastAttemptTypeerrorsTypeerrorsItem.RegisterObject;
  17666. TManagedInstanceLastAttemptTypeerrors.RegisterObject;
  17667. TManagedInstanceLastAttempt.RegisterObject;
  17668. TMetadataTypeitemsItem.RegisterObject;
  17669. TMetadata.RegisterObject;
  17670. TNamedPort.RegisterObject;
  17671. TNetwork.RegisterObject;
  17672. TNetworkInterface.RegisterObject;
  17673. TNetworkList.RegisterObject;
  17674. TOperationTypeerrorTypeerrorsItem.RegisterObject;
  17675. TOperationTypeerror.RegisterObject;
  17676. TOperationTypewarningsItemTypedataItem.RegisterObject;
  17677. TOperationTypewarningsItem.RegisterObject;
  17678. TOperation.RegisterObject;
  17679. TOperationAggregatedListTypeitems.RegisterObject;
  17680. TOperationAggregatedList.RegisterObject;
  17681. TOperationList.RegisterObject;
  17682. TOperationsScopedListTypewarningTypedataItem.RegisterObject;
  17683. TOperationsScopedListTypewarning.RegisterObject;
  17684. TOperationsScopedList.RegisterObject;
  17685. TPathMatcher.RegisterObject;
  17686. TPathRule.RegisterObject;
  17687. TProject.RegisterObject;
  17688. TQuota.RegisterObject;
  17689. TRegion.RegisterObject;
  17690. TRegionList.RegisterObject;
  17691. TResourceGroupReference.RegisterObject;
  17692. TRouteTypewarningsItemTypedataItem.RegisterObject;
  17693. TRouteTypewarningsItem.RegisterObject;
  17694. TRoute.RegisterObject;
  17695. TRouteList.RegisterObject;
  17696. TScheduling.RegisterObject;
  17697. TSerialPortOutput.RegisterObject;
  17698. TServiceAccount.RegisterObject;
  17699. TSnapshot.RegisterObject;
  17700. TSnapshotList.RegisterObject;
  17701. TSslCertificate.RegisterObject;
  17702. TSslCertificateList.RegisterObject;
  17703. TSubnetwork.RegisterObject;
  17704. TSubnetworkAggregatedListTypeitems.RegisterObject;
  17705. TSubnetworkAggregatedList.RegisterObject;
  17706. TSubnetworkList.RegisterObject;
  17707. TSubnetworksScopedListTypewarningTypedataItem.RegisterObject;
  17708. TSubnetworksScopedListTypewarning.RegisterObject;
  17709. TSubnetworksScopedList.RegisterObject;
  17710. TTags.RegisterObject;
  17711. TTargetHttpProxy.RegisterObject;
  17712. TTargetHttpProxyList.RegisterObject;
  17713. TTargetHttpsProxiesSetSslCertificatesRequest.RegisterObject;
  17714. TTargetHttpsProxy.RegisterObject;
  17715. TTargetHttpsProxyList.RegisterObject;
  17716. TTargetInstance.RegisterObject;
  17717. TTargetInstanceAggregatedListTypeitems.RegisterObject;
  17718. TTargetInstanceAggregatedList.RegisterObject;
  17719. TTargetInstanceList.RegisterObject;
  17720. TTargetInstancesScopedListTypewarningTypedataItem.RegisterObject;
  17721. TTargetInstancesScopedListTypewarning.RegisterObject;
  17722. TTargetInstancesScopedList.RegisterObject;
  17723. TTargetPool.RegisterObject;
  17724. TTargetPoolAggregatedListTypeitems.RegisterObject;
  17725. TTargetPoolAggregatedList.RegisterObject;
  17726. TTargetPoolInstanceHealth.RegisterObject;
  17727. TTargetPoolList.RegisterObject;
  17728. TTargetPoolsAddHealthCheckRequest.RegisterObject;
  17729. TTargetPoolsAddInstanceRequest.RegisterObject;
  17730. TTargetPoolsRemoveHealthCheckRequest.RegisterObject;
  17731. TTargetPoolsRemoveInstanceRequest.RegisterObject;
  17732. TTargetPoolsScopedListTypewarningTypedataItem.RegisterObject;
  17733. TTargetPoolsScopedListTypewarning.RegisterObject;
  17734. TTargetPoolsScopedList.RegisterObject;
  17735. TTargetReference.RegisterObject;
  17736. TTargetVpnGateway.RegisterObject;
  17737. TTargetVpnGatewayAggregatedListTypeitems.RegisterObject;
  17738. TTargetVpnGatewayAggregatedList.RegisterObject;
  17739. TTargetVpnGatewayList.RegisterObject;
  17740. TTargetVpnGatewaysScopedListTypewarningTypedataItem.RegisterObject;
  17741. TTargetVpnGatewaysScopedListTypewarning.RegisterObject;
  17742. TTargetVpnGatewaysScopedList.RegisterObject;
  17743. TTestFailure.RegisterObject;
  17744. TUrlMap.RegisterObject;
  17745. TUrlMapList.RegisterObject;
  17746. TUrlMapReference.RegisterObject;
  17747. TUrlMapTest.RegisterObject;
  17748. TUrlMapValidationResult.RegisterObject;
  17749. TUrlMapsValidateRequest.RegisterObject;
  17750. TUrlMapsValidateResponse.RegisterObject;
  17751. TUsageExportLocation.RegisterObject;
  17752. TVpnTunnel.RegisterObject;
  17753. TVpnTunnelAggregatedListTypeitems.RegisterObject;
  17754. TVpnTunnelAggregatedList.RegisterObject;
  17755. TVpnTunnelList.RegisterObject;
  17756. TVpnTunnelsScopedListTypewarningTypedataItem.RegisterObject;
  17757. TVpnTunnelsScopedListTypewarning.RegisterObject;
  17758. TVpnTunnelsScopedList.RegisterObject;
  17759. TZone.RegisterObject;
  17760. TZoneList.RegisterObject;
  17761. end;
  17762. Function TComputeAPI.GetAddressesInstance : TAddressesResource;
  17763. begin
  17764. if (FAddressesInstance=Nil) then
  17765. FAddressesInstance:=CreateAddressesResource;
  17766. Result:=FAddressesInstance;
  17767. end;
  17768. Function TComputeAPI.CreateAddressesResource : TAddressesResource;
  17769. begin
  17770. Result:=CreateAddressesResource(Self);
  17771. end;
  17772. Function TComputeAPI.CreateAddressesResource(AOwner : TComponent) : TAddressesResource;
  17773. begin
  17774. Result:=TAddressesResource.Create(AOwner);
  17775. Result.API:=Self.API;
  17776. end;
  17777. Function TComputeAPI.GetAutoscalersInstance : TAutoscalersResource;
  17778. begin
  17779. if (FAutoscalersInstance=Nil) then
  17780. FAutoscalersInstance:=CreateAutoscalersResource;
  17781. Result:=FAutoscalersInstance;
  17782. end;
  17783. Function TComputeAPI.CreateAutoscalersResource : TAutoscalersResource;
  17784. begin
  17785. Result:=CreateAutoscalersResource(Self);
  17786. end;
  17787. Function TComputeAPI.CreateAutoscalersResource(AOwner : TComponent) : TAutoscalersResource;
  17788. begin
  17789. Result:=TAutoscalersResource.Create(AOwner);
  17790. Result.API:=Self.API;
  17791. end;
  17792. Function TComputeAPI.GetBackendServicesInstance : TBackendServicesResource;
  17793. begin
  17794. if (FBackendServicesInstance=Nil) then
  17795. FBackendServicesInstance:=CreateBackendServicesResource;
  17796. Result:=FBackendServicesInstance;
  17797. end;
  17798. Function TComputeAPI.CreateBackendServicesResource : TBackendServicesResource;
  17799. begin
  17800. Result:=CreateBackendServicesResource(Self);
  17801. end;
  17802. Function TComputeAPI.CreateBackendServicesResource(AOwner : TComponent) : TBackendServicesResource;
  17803. begin
  17804. Result:=TBackendServicesResource.Create(AOwner);
  17805. Result.API:=Self.API;
  17806. end;
  17807. Function TComputeAPI.GetDiskTypesInstance : TDiskTypesResource;
  17808. begin
  17809. if (FDiskTypesInstance=Nil) then
  17810. FDiskTypesInstance:=CreateDiskTypesResource;
  17811. Result:=FDiskTypesInstance;
  17812. end;
  17813. Function TComputeAPI.CreateDiskTypesResource : TDiskTypesResource;
  17814. begin
  17815. Result:=CreateDiskTypesResource(Self);
  17816. end;
  17817. Function TComputeAPI.CreateDiskTypesResource(AOwner : TComponent) : TDiskTypesResource;
  17818. begin
  17819. Result:=TDiskTypesResource.Create(AOwner);
  17820. Result.API:=Self.API;
  17821. end;
  17822. Function TComputeAPI.GetDisksInstance : TDisksResource;
  17823. begin
  17824. if (FDisksInstance=Nil) then
  17825. FDisksInstance:=CreateDisksResource;
  17826. Result:=FDisksInstance;
  17827. end;
  17828. Function TComputeAPI.CreateDisksResource : TDisksResource;
  17829. begin
  17830. Result:=CreateDisksResource(Self);
  17831. end;
  17832. Function TComputeAPI.CreateDisksResource(AOwner : TComponent) : TDisksResource;
  17833. begin
  17834. Result:=TDisksResource.Create(AOwner);
  17835. Result.API:=Self.API;
  17836. end;
  17837. Function TComputeAPI.GetFirewallsInstance : TFirewallsResource;
  17838. begin
  17839. if (FFirewallsInstance=Nil) then
  17840. FFirewallsInstance:=CreateFirewallsResource;
  17841. Result:=FFirewallsInstance;
  17842. end;
  17843. Function TComputeAPI.CreateFirewallsResource : TFirewallsResource;
  17844. begin
  17845. Result:=CreateFirewallsResource(Self);
  17846. end;
  17847. Function TComputeAPI.CreateFirewallsResource(AOwner : TComponent) : TFirewallsResource;
  17848. begin
  17849. Result:=TFirewallsResource.Create(AOwner);
  17850. Result.API:=Self.API;
  17851. end;
  17852. Function TComputeAPI.GetForwardingRulesInstance : TForwardingRulesResource;
  17853. begin
  17854. if (FForwardingRulesInstance=Nil) then
  17855. FForwardingRulesInstance:=CreateForwardingRulesResource;
  17856. Result:=FForwardingRulesInstance;
  17857. end;
  17858. Function TComputeAPI.CreateForwardingRulesResource : TForwardingRulesResource;
  17859. begin
  17860. Result:=CreateForwardingRulesResource(Self);
  17861. end;
  17862. Function TComputeAPI.CreateForwardingRulesResource(AOwner : TComponent) : TForwardingRulesResource;
  17863. begin
  17864. Result:=TForwardingRulesResource.Create(AOwner);
  17865. Result.API:=Self.API;
  17866. end;
  17867. Function TComputeAPI.GetGlobalAddressesInstance : TGlobalAddressesResource;
  17868. begin
  17869. if (FGlobalAddressesInstance=Nil) then
  17870. FGlobalAddressesInstance:=CreateGlobalAddressesResource;
  17871. Result:=FGlobalAddressesInstance;
  17872. end;
  17873. Function TComputeAPI.CreateGlobalAddressesResource : TGlobalAddressesResource;
  17874. begin
  17875. Result:=CreateGlobalAddressesResource(Self);
  17876. end;
  17877. Function TComputeAPI.CreateGlobalAddressesResource(AOwner : TComponent) : TGlobalAddressesResource;
  17878. begin
  17879. Result:=TGlobalAddressesResource.Create(AOwner);
  17880. Result.API:=Self.API;
  17881. end;
  17882. Function TComputeAPI.GetGlobalForwardingRulesInstance : TGlobalForwardingRulesResource;
  17883. begin
  17884. if (FGlobalForwardingRulesInstance=Nil) then
  17885. FGlobalForwardingRulesInstance:=CreateGlobalForwardingRulesResource;
  17886. Result:=FGlobalForwardingRulesInstance;
  17887. end;
  17888. Function TComputeAPI.CreateGlobalForwardingRulesResource : TGlobalForwardingRulesResource;
  17889. begin
  17890. Result:=CreateGlobalForwardingRulesResource(Self);
  17891. end;
  17892. Function TComputeAPI.CreateGlobalForwardingRulesResource(AOwner : TComponent) : TGlobalForwardingRulesResource;
  17893. begin
  17894. Result:=TGlobalForwardingRulesResource.Create(AOwner);
  17895. Result.API:=Self.API;
  17896. end;
  17897. Function TComputeAPI.GetGlobalOperationsInstance : TGlobalOperationsResource;
  17898. begin
  17899. if (FGlobalOperationsInstance=Nil) then
  17900. FGlobalOperationsInstance:=CreateGlobalOperationsResource;
  17901. Result:=FGlobalOperationsInstance;
  17902. end;
  17903. Function TComputeAPI.CreateGlobalOperationsResource : TGlobalOperationsResource;
  17904. begin
  17905. Result:=CreateGlobalOperationsResource(Self);
  17906. end;
  17907. Function TComputeAPI.CreateGlobalOperationsResource(AOwner : TComponent) : TGlobalOperationsResource;
  17908. begin
  17909. Result:=TGlobalOperationsResource.Create(AOwner);
  17910. Result.API:=Self.API;
  17911. end;
  17912. Function TComputeAPI.GetHttpHealthChecksInstance : THttpHealthChecksResource;
  17913. begin
  17914. if (FHttpHealthChecksInstance=Nil) then
  17915. FHttpHealthChecksInstance:=CreateHttpHealthChecksResource;
  17916. Result:=FHttpHealthChecksInstance;
  17917. end;
  17918. Function TComputeAPI.CreateHttpHealthChecksResource : THttpHealthChecksResource;
  17919. begin
  17920. Result:=CreateHttpHealthChecksResource(Self);
  17921. end;
  17922. Function TComputeAPI.CreateHttpHealthChecksResource(AOwner : TComponent) : THttpHealthChecksResource;
  17923. begin
  17924. Result:=THttpHealthChecksResource.Create(AOwner);
  17925. Result.API:=Self.API;
  17926. end;
  17927. Function TComputeAPI.GetHttpsHealthChecksInstance : THttpsHealthChecksResource;
  17928. begin
  17929. if (FHttpsHealthChecksInstance=Nil) then
  17930. FHttpsHealthChecksInstance:=CreateHttpsHealthChecksResource;
  17931. Result:=FHttpsHealthChecksInstance;
  17932. end;
  17933. Function TComputeAPI.CreateHttpsHealthChecksResource : THttpsHealthChecksResource;
  17934. begin
  17935. Result:=CreateHttpsHealthChecksResource(Self);
  17936. end;
  17937. Function TComputeAPI.CreateHttpsHealthChecksResource(AOwner : TComponent) : THttpsHealthChecksResource;
  17938. begin
  17939. Result:=THttpsHealthChecksResource.Create(AOwner);
  17940. Result.API:=Self.API;
  17941. end;
  17942. Function TComputeAPI.GetImagesInstance : TImagesResource;
  17943. begin
  17944. if (FImagesInstance=Nil) then
  17945. FImagesInstance:=CreateImagesResource;
  17946. Result:=FImagesInstance;
  17947. end;
  17948. Function TComputeAPI.CreateImagesResource : TImagesResource;
  17949. begin
  17950. Result:=CreateImagesResource(Self);
  17951. end;
  17952. Function TComputeAPI.CreateImagesResource(AOwner : TComponent) : TImagesResource;
  17953. begin
  17954. Result:=TImagesResource.Create(AOwner);
  17955. Result.API:=Self.API;
  17956. end;
  17957. Function TComputeAPI.GetInstanceGroupManagersInstance : TInstanceGroupManagersResource;
  17958. begin
  17959. if (FInstanceGroupManagersInstance=Nil) then
  17960. FInstanceGroupManagersInstance:=CreateInstanceGroupManagersResource;
  17961. Result:=FInstanceGroupManagersInstance;
  17962. end;
  17963. Function TComputeAPI.CreateInstanceGroupManagersResource : TInstanceGroupManagersResource;
  17964. begin
  17965. Result:=CreateInstanceGroupManagersResource(Self);
  17966. end;
  17967. Function TComputeAPI.CreateInstanceGroupManagersResource(AOwner : TComponent) : TInstanceGroupManagersResource;
  17968. begin
  17969. Result:=TInstanceGroupManagersResource.Create(AOwner);
  17970. Result.API:=Self.API;
  17971. end;
  17972. Function TComputeAPI.GetInstanceGroupsInstance : TInstanceGroupsResource;
  17973. begin
  17974. if (FInstanceGroupsInstance=Nil) then
  17975. FInstanceGroupsInstance:=CreateInstanceGroupsResource;
  17976. Result:=FInstanceGroupsInstance;
  17977. end;
  17978. Function TComputeAPI.CreateInstanceGroupsResource : TInstanceGroupsResource;
  17979. begin
  17980. Result:=CreateInstanceGroupsResource(Self);
  17981. end;
  17982. Function TComputeAPI.CreateInstanceGroupsResource(AOwner : TComponent) : TInstanceGroupsResource;
  17983. begin
  17984. Result:=TInstanceGroupsResource.Create(AOwner);
  17985. Result.API:=Self.API;
  17986. end;
  17987. Function TComputeAPI.GetInstanceTemplatesInstance : TInstanceTemplatesResource;
  17988. begin
  17989. if (FInstanceTemplatesInstance=Nil) then
  17990. FInstanceTemplatesInstance:=CreateInstanceTemplatesResource;
  17991. Result:=FInstanceTemplatesInstance;
  17992. end;
  17993. Function TComputeAPI.CreateInstanceTemplatesResource : TInstanceTemplatesResource;
  17994. begin
  17995. Result:=CreateInstanceTemplatesResource(Self);
  17996. end;
  17997. Function TComputeAPI.CreateInstanceTemplatesResource(AOwner : TComponent) : TInstanceTemplatesResource;
  17998. begin
  17999. Result:=TInstanceTemplatesResource.Create(AOwner);
  18000. Result.API:=Self.API;
  18001. end;
  18002. Function TComputeAPI.GetInstancesInstance : TInstancesResource;
  18003. begin
  18004. if (FInstancesInstance=Nil) then
  18005. FInstancesInstance:=CreateInstancesResource;
  18006. Result:=FInstancesInstance;
  18007. end;
  18008. Function TComputeAPI.CreateInstancesResource : TInstancesResource;
  18009. begin
  18010. Result:=CreateInstancesResource(Self);
  18011. end;
  18012. Function TComputeAPI.CreateInstancesResource(AOwner : TComponent) : TInstancesResource;
  18013. begin
  18014. Result:=TInstancesResource.Create(AOwner);
  18015. Result.API:=Self.API;
  18016. end;
  18017. Function TComputeAPI.GetLicensesInstance : TLicensesResource;
  18018. begin
  18019. if (FLicensesInstance=Nil) then
  18020. FLicensesInstance:=CreateLicensesResource;
  18021. Result:=FLicensesInstance;
  18022. end;
  18023. Function TComputeAPI.CreateLicensesResource : TLicensesResource;
  18024. begin
  18025. Result:=CreateLicensesResource(Self);
  18026. end;
  18027. Function TComputeAPI.CreateLicensesResource(AOwner : TComponent) : TLicensesResource;
  18028. begin
  18029. Result:=TLicensesResource.Create(AOwner);
  18030. Result.API:=Self.API;
  18031. end;
  18032. Function TComputeAPI.GetMachineTypesInstance : TMachineTypesResource;
  18033. begin
  18034. if (FMachineTypesInstance=Nil) then
  18035. FMachineTypesInstance:=CreateMachineTypesResource;
  18036. Result:=FMachineTypesInstance;
  18037. end;
  18038. Function TComputeAPI.CreateMachineTypesResource : TMachineTypesResource;
  18039. begin
  18040. Result:=CreateMachineTypesResource(Self);
  18041. end;
  18042. Function TComputeAPI.CreateMachineTypesResource(AOwner : TComponent) : TMachineTypesResource;
  18043. begin
  18044. Result:=TMachineTypesResource.Create(AOwner);
  18045. Result.API:=Self.API;
  18046. end;
  18047. Function TComputeAPI.GetNetworksInstance : TNetworksResource;
  18048. begin
  18049. if (FNetworksInstance=Nil) then
  18050. FNetworksInstance:=CreateNetworksResource;
  18051. Result:=FNetworksInstance;
  18052. end;
  18053. Function TComputeAPI.CreateNetworksResource : TNetworksResource;
  18054. begin
  18055. Result:=CreateNetworksResource(Self);
  18056. end;
  18057. Function TComputeAPI.CreateNetworksResource(AOwner : TComponent) : TNetworksResource;
  18058. begin
  18059. Result:=TNetworksResource.Create(AOwner);
  18060. Result.API:=Self.API;
  18061. end;
  18062. Function TComputeAPI.GetProjectsInstance : TProjectsResource;
  18063. begin
  18064. if (FProjectsInstance=Nil) then
  18065. FProjectsInstance:=CreateProjectsResource;
  18066. Result:=FProjectsInstance;
  18067. end;
  18068. Function TComputeAPI.CreateProjectsResource : TProjectsResource;
  18069. begin
  18070. Result:=CreateProjectsResource(Self);
  18071. end;
  18072. Function TComputeAPI.CreateProjectsResource(AOwner : TComponent) : TProjectsResource;
  18073. begin
  18074. Result:=TProjectsResource.Create(AOwner);
  18075. Result.API:=Self.API;
  18076. end;
  18077. Function TComputeAPI.GetRegionOperationsInstance : TRegionOperationsResource;
  18078. begin
  18079. if (FRegionOperationsInstance=Nil) then
  18080. FRegionOperationsInstance:=CreateRegionOperationsResource;
  18081. Result:=FRegionOperationsInstance;
  18082. end;
  18083. Function TComputeAPI.CreateRegionOperationsResource : TRegionOperationsResource;
  18084. begin
  18085. Result:=CreateRegionOperationsResource(Self);
  18086. end;
  18087. Function TComputeAPI.CreateRegionOperationsResource(AOwner : TComponent) : TRegionOperationsResource;
  18088. begin
  18089. Result:=TRegionOperationsResource.Create(AOwner);
  18090. Result.API:=Self.API;
  18091. end;
  18092. Function TComputeAPI.GetRegionsInstance : TRegionsResource;
  18093. begin
  18094. if (FRegionsInstance=Nil) then
  18095. FRegionsInstance:=CreateRegionsResource;
  18096. Result:=FRegionsInstance;
  18097. end;
  18098. Function TComputeAPI.CreateRegionsResource : TRegionsResource;
  18099. begin
  18100. Result:=CreateRegionsResource(Self);
  18101. end;
  18102. Function TComputeAPI.CreateRegionsResource(AOwner : TComponent) : TRegionsResource;
  18103. begin
  18104. Result:=TRegionsResource.Create(AOwner);
  18105. Result.API:=Self.API;
  18106. end;
  18107. Function TComputeAPI.GetRoutesInstance : TRoutesResource;
  18108. begin
  18109. if (FRoutesInstance=Nil) then
  18110. FRoutesInstance:=CreateRoutesResource;
  18111. Result:=FRoutesInstance;
  18112. end;
  18113. Function TComputeAPI.CreateRoutesResource : TRoutesResource;
  18114. begin
  18115. Result:=CreateRoutesResource(Self);
  18116. end;
  18117. Function TComputeAPI.CreateRoutesResource(AOwner : TComponent) : TRoutesResource;
  18118. begin
  18119. Result:=TRoutesResource.Create(AOwner);
  18120. Result.API:=Self.API;
  18121. end;
  18122. Function TComputeAPI.GetSnapshotsInstance : TSnapshotsResource;
  18123. begin
  18124. if (FSnapshotsInstance=Nil) then
  18125. FSnapshotsInstance:=CreateSnapshotsResource;
  18126. Result:=FSnapshotsInstance;
  18127. end;
  18128. Function TComputeAPI.CreateSnapshotsResource : TSnapshotsResource;
  18129. begin
  18130. Result:=CreateSnapshotsResource(Self);
  18131. end;
  18132. Function TComputeAPI.CreateSnapshotsResource(AOwner : TComponent) : TSnapshotsResource;
  18133. begin
  18134. Result:=TSnapshotsResource.Create(AOwner);
  18135. Result.API:=Self.API;
  18136. end;
  18137. Function TComputeAPI.GetSslCertificatesInstance : TSslCertificatesResource;
  18138. begin
  18139. if (FSslCertificatesInstance=Nil) then
  18140. FSslCertificatesInstance:=CreateSslCertificatesResource;
  18141. Result:=FSslCertificatesInstance;
  18142. end;
  18143. Function TComputeAPI.CreateSslCertificatesResource : TSslCertificatesResource;
  18144. begin
  18145. Result:=CreateSslCertificatesResource(Self);
  18146. end;
  18147. Function TComputeAPI.CreateSslCertificatesResource(AOwner : TComponent) : TSslCertificatesResource;
  18148. begin
  18149. Result:=TSslCertificatesResource.Create(AOwner);
  18150. Result.API:=Self.API;
  18151. end;
  18152. Function TComputeAPI.GetSubnetworksInstance : TSubnetworksResource;
  18153. begin
  18154. if (FSubnetworksInstance=Nil) then
  18155. FSubnetworksInstance:=CreateSubnetworksResource;
  18156. Result:=FSubnetworksInstance;
  18157. end;
  18158. Function TComputeAPI.CreateSubnetworksResource : TSubnetworksResource;
  18159. begin
  18160. Result:=CreateSubnetworksResource(Self);
  18161. end;
  18162. Function TComputeAPI.CreateSubnetworksResource(AOwner : TComponent) : TSubnetworksResource;
  18163. begin
  18164. Result:=TSubnetworksResource.Create(AOwner);
  18165. Result.API:=Self.API;
  18166. end;
  18167. Function TComputeAPI.GetTargetHttpProxiesInstance : TTargetHttpProxiesResource;
  18168. begin
  18169. if (FTargetHttpProxiesInstance=Nil) then
  18170. FTargetHttpProxiesInstance:=CreateTargetHttpProxiesResource;
  18171. Result:=FTargetHttpProxiesInstance;
  18172. end;
  18173. Function TComputeAPI.CreateTargetHttpProxiesResource : TTargetHttpProxiesResource;
  18174. begin
  18175. Result:=CreateTargetHttpProxiesResource(Self);
  18176. end;
  18177. Function TComputeAPI.CreateTargetHttpProxiesResource(AOwner : TComponent) : TTargetHttpProxiesResource;
  18178. begin
  18179. Result:=TTargetHttpProxiesResource.Create(AOwner);
  18180. Result.API:=Self.API;
  18181. end;
  18182. Function TComputeAPI.GetTargetHttpsProxiesInstance : TTargetHttpsProxiesResource;
  18183. begin
  18184. if (FTargetHttpsProxiesInstance=Nil) then
  18185. FTargetHttpsProxiesInstance:=CreateTargetHttpsProxiesResource;
  18186. Result:=FTargetHttpsProxiesInstance;
  18187. end;
  18188. Function TComputeAPI.CreateTargetHttpsProxiesResource : TTargetHttpsProxiesResource;
  18189. begin
  18190. Result:=CreateTargetHttpsProxiesResource(Self);
  18191. end;
  18192. Function TComputeAPI.CreateTargetHttpsProxiesResource(AOwner : TComponent) : TTargetHttpsProxiesResource;
  18193. begin
  18194. Result:=TTargetHttpsProxiesResource.Create(AOwner);
  18195. Result.API:=Self.API;
  18196. end;
  18197. Function TComputeAPI.GetTargetInstancesInstance : TTargetInstancesResource;
  18198. begin
  18199. if (FTargetInstancesInstance=Nil) then
  18200. FTargetInstancesInstance:=CreateTargetInstancesResource;
  18201. Result:=FTargetInstancesInstance;
  18202. end;
  18203. Function TComputeAPI.CreateTargetInstancesResource : TTargetInstancesResource;
  18204. begin
  18205. Result:=CreateTargetInstancesResource(Self);
  18206. end;
  18207. Function TComputeAPI.CreateTargetInstancesResource(AOwner : TComponent) : TTargetInstancesResource;
  18208. begin
  18209. Result:=TTargetInstancesResource.Create(AOwner);
  18210. Result.API:=Self.API;
  18211. end;
  18212. Function TComputeAPI.GetTargetPoolsInstance : TTargetPoolsResource;
  18213. begin
  18214. if (FTargetPoolsInstance=Nil) then
  18215. FTargetPoolsInstance:=CreateTargetPoolsResource;
  18216. Result:=FTargetPoolsInstance;
  18217. end;
  18218. Function TComputeAPI.CreateTargetPoolsResource : TTargetPoolsResource;
  18219. begin
  18220. Result:=CreateTargetPoolsResource(Self);
  18221. end;
  18222. Function TComputeAPI.CreateTargetPoolsResource(AOwner : TComponent) : TTargetPoolsResource;
  18223. begin
  18224. Result:=TTargetPoolsResource.Create(AOwner);
  18225. Result.API:=Self.API;
  18226. end;
  18227. Function TComputeAPI.GetTargetVpnGatewaysInstance : TTargetVpnGatewaysResource;
  18228. begin
  18229. if (FTargetVpnGatewaysInstance=Nil) then
  18230. FTargetVpnGatewaysInstance:=CreateTargetVpnGatewaysResource;
  18231. Result:=FTargetVpnGatewaysInstance;
  18232. end;
  18233. Function TComputeAPI.CreateTargetVpnGatewaysResource : TTargetVpnGatewaysResource;
  18234. begin
  18235. Result:=CreateTargetVpnGatewaysResource(Self);
  18236. end;
  18237. Function TComputeAPI.CreateTargetVpnGatewaysResource(AOwner : TComponent) : TTargetVpnGatewaysResource;
  18238. begin
  18239. Result:=TTargetVpnGatewaysResource.Create(AOwner);
  18240. Result.API:=Self.API;
  18241. end;
  18242. Function TComputeAPI.GetUrlMapsInstance : TUrlMapsResource;
  18243. begin
  18244. if (FUrlMapsInstance=Nil) then
  18245. FUrlMapsInstance:=CreateUrlMapsResource;
  18246. Result:=FUrlMapsInstance;
  18247. end;
  18248. Function TComputeAPI.CreateUrlMapsResource : TUrlMapsResource;
  18249. begin
  18250. Result:=CreateUrlMapsResource(Self);
  18251. end;
  18252. Function TComputeAPI.CreateUrlMapsResource(AOwner : TComponent) : TUrlMapsResource;
  18253. begin
  18254. Result:=TUrlMapsResource.Create(AOwner);
  18255. Result.API:=Self.API;
  18256. end;
  18257. Function TComputeAPI.GetVpnTunnelsInstance : TVpnTunnelsResource;
  18258. begin
  18259. if (FVpnTunnelsInstance=Nil) then
  18260. FVpnTunnelsInstance:=CreateVpnTunnelsResource;
  18261. Result:=FVpnTunnelsInstance;
  18262. end;
  18263. Function TComputeAPI.CreateVpnTunnelsResource : TVpnTunnelsResource;
  18264. begin
  18265. Result:=CreateVpnTunnelsResource(Self);
  18266. end;
  18267. Function TComputeAPI.CreateVpnTunnelsResource(AOwner : TComponent) : TVpnTunnelsResource;
  18268. begin
  18269. Result:=TVpnTunnelsResource.Create(AOwner);
  18270. Result.API:=Self.API;
  18271. end;
  18272. Function TComputeAPI.GetZoneOperationsInstance : TZoneOperationsResource;
  18273. begin
  18274. if (FZoneOperationsInstance=Nil) then
  18275. FZoneOperationsInstance:=CreateZoneOperationsResource;
  18276. Result:=FZoneOperationsInstance;
  18277. end;
  18278. Function TComputeAPI.CreateZoneOperationsResource : TZoneOperationsResource;
  18279. begin
  18280. Result:=CreateZoneOperationsResource(Self);
  18281. end;
  18282. Function TComputeAPI.CreateZoneOperationsResource(AOwner : TComponent) : TZoneOperationsResource;
  18283. begin
  18284. Result:=TZoneOperationsResource.Create(AOwner);
  18285. Result.API:=Self.API;
  18286. end;
  18287. Function TComputeAPI.GetZonesInstance : TZonesResource;
  18288. begin
  18289. if (FZonesInstance=Nil) then
  18290. FZonesInstance:=CreateZonesResource;
  18291. Result:=FZonesInstance;
  18292. end;
  18293. Function TComputeAPI.CreateZonesResource : TZonesResource;
  18294. begin
  18295. Result:=CreateZonesResource(Self);
  18296. end;
  18297. Function TComputeAPI.CreateZonesResource(AOwner : TComponent) : TZonesResource;
  18298. begin
  18299. Result:=TZonesResource.Create(AOwner);
  18300. Result.API:=Self.API;
  18301. end;
  18302. initialization
  18303. TComputeAPI.RegisterAPI;
  18304. end.