1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445 |
- unit googlebigquery;
- {$MODE objfpc}
- {$H+}
- interface
- uses sysutils, classes, googleservice, restbase, googlebase;
- type
-
- //Top-level schema types
- TJsonValue = TJSONSchema;
- TBigtableColumn = Class;
- TBigtableColumnFamily = Class;
- TBigtableOptions = Class;
- TCsvOptions = Class;
- TDataset = Class;
- TDatasetList = Class;
- TDatasetReference = Class;
- TErrorProto = Class;
- TExplainQueryStage = Class;
- TExplainQueryStep = Class;
- TExternalDataConfiguration = Class;
- TGetQueryResultsResponse = Class;
- TGoogleSheetsOptions = Class;
- TJob = Class;
- TJobCancelResponse = Class;
- TJobConfiguration = Class;
- TJobConfigurationExtract = Class;
- TJobConfigurationLoad = Class;
- TJobConfigurationQuery = Class;
- TJobConfigurationTableCopy = Class;
- TJobList = Class;
- TJobReference = Class;
- TJobStatistics = Class;
- TJobStatistics2 = Class;
- TJobStatistics3 = Class;
- TJobStatistics4 = Class;
- TJobStatus = Class;
- TJsonObject = Class;
- TProjectList = Class;
- TProjectReference = Class;
- TQueryRequest = Class;
- TQueryResponse = Class;
- TStreamingbuffer = Class;
- TTable = Class;
- TTableCell = Class;
- TTableDataInsertAllRequest = Class;
- TTableDataInsertAllResponse = Class;
- TTableDataList = Class;
- TTableFieldSchema = Class;
- TTableList = Class;
- TTableReference = Class;
- TTableRow = Class;
- TTableSchema = Class;
- TTimePartitioning = Class;
- TUserDefinedFunctionResource = Class;
- TViewDefinition = Class;
- TBigtableColumnArray = Array of TBigtableColumn;
- TBigtableColumnFamilyArray = Array of TBigtableColumnFamily;
- TBigtableOptionsArray = Array of TBigtableOptions;
- TCsvOptionsArray = Array of TCsvOptions;
- TDatasetArray = Array of TDataset;
- TDatasetListArray = Array of TDatasetList;
- TDatasetReferenceArray = Array of TDatasetReference;
- TErrorProtoArray = Array of TErrorProto;
- TExplainQueryStageArray = Array of TExplainQueryStage;
- TExplainQueryStepArray = Array of TExplainQueryStep;
- TExternalDataConfigurationArray = Array of TExternalDataConfiguration;
- TGetQueryResultsResponseArray = Array of TGetQueryResultsResponse;
- TGoogleSheetsOptionsArray = Array of TGoogleSheetsOptions;
- TJobArray = Array of TJob;
- TJobCancelResponseArray = Array of TJobCancelResponse;
- TJobConfigurationArray = Array of TJobConfiguration;
- TJobConfigurationExtractArray = Array of TJobConfigurationExtract;
- TJobConfigurationLoadArray = Array of TJobConfigurationLoad;
- TJobConfigurationQueryArray = Array of TJobConfigurationQuery;
- TJobConfigurationTableCopyArray = Array of TJobConfigurationTableCopy;
- TJobListArray = Array of TJobList;
- TJobReferenceArray = Array of TJobReference;
- TJobStatisticsArray = Array of TJobStatistics;
- TJobStatistics2Array = Array of TJobStatistics2;
- TJobStatistics3Array = Array of TJobStatistics3;
- TJobStatistics4Array = Array of TJobStatistics4;
- TJobStatusArray = Array of TJobStatus;
- TJsonObjectArray = Array of TJsonObject;
- TProjectListArray = Array of TProjectList;
- TProjectReferenceArray = Array of TProjectReference;
- TQueryRequestArray = Array of TQueryRequest;
- TQueryResponseArray = Array of TQueryResponse;
- TStreamingbufferArray = Array of TStreamingbuffer;
- TTableArray = Array of TTable;
- TTableCellArray = Array of TTableCell;
- TTableDataInsertAllRequestArray = Array of TTableDataInsertAllRequest;
- TTableDataInsertAllResponseArray = Array of TTableDataInsertAllResponse;
- TTableDataListArray = Array of TTableDataList;
- TTableFieldSchemaArray = Array of TTableFieldSchema;
- TTableListArray = Array of TTableList;
- TTableReferenceArray = Array of TTableReference;
- TTableRowArray = Array of TTableRow;
- TTableSchemaArray = Array of TTableSchema;
- TTimePartitioningArray = Array of TTimePartitioning;
- TUserDefinedFunctionResourceArray = Array of TUserDefinedFunctionResource;
- TViewDefinitionArray = Array of TViewDefinition;
- //Anonymous types, using auto-generated names
- TDatasetTypeaccessItem = Class;
- TDatasetListTypedatasetsItem = Class;
- TJobConfigurationQueryTypetableDefinitions = Class;
- TJobListTypejobsItem = Class;
- TProjectListTypeprojectsItem = Class;
- TTableDataInsertAllRequestTyperowsItem = Class;
- TTableDataInsertAllResponseTypeinsertErrorsItem = Class;
- TTableListTypetablesItem = Class;
- TBigtableColumnFamilyTypecolumnsArray = Array of TBigtableColumn;
- TBigtableOptionsTypecolumnFamiliesArray = Array of TBigtableColumnFamily;
- TDatasetTypeaccessArray = Array of TDatasetTypeaccessItem;
- TDatasetListTypedatasetsArray = Array of TDatasetListTypedatasetsItem;
- TExplainQueryStageTypestepsArray = Array of TExplainQueryStep;
- TGetQueryResultsResponseTypeerrorsArray = Array of TErrorProto;
- TGetQueryResultsResponseTyperowsArray = Array of TTableRow;
- TJobConfigurationQueryTypeuserDefinedFunctionResourcesArray = Array of TUserDefinedFunctionResource;
- TJobConfigurationTableCopyTypesourceTablesArray = Array of TTableReference;
- TJobListTypejobsArray = Array of TJobListTypejobsItem;
- TJobStatistics2TypequeryPlanArray = Array of TExplainQueryStage;
- TJobStatistics2TypereferencedTablesArray = Array of TTableReference;
- TJobStatusTypeerrorsArray = Array of TErrorProto;
- TProjectListTypeprojectsArray = Array of TProjectListTypeprojectsItem;
- TQueryResponseTypeerrorsArray = Array of TErrorProto;
- TQueryResponseTyperowsArray = Array of TTableRow;
- TTableDataInsertAllRequestTyperowsArray = Array of TTableDataInsertAllRequestTyperowsItem;
- TTableDataInsertAllResponseTypeinsertErrorsItemTypeerrorsArray = Array of TErrorProto;
- TTableDataInsertAllResponseTypeinsertErrorsArray = Array of TTableDataInsertAllResponseTypeinsertErrorsItem;
- TTableDataListTyperowsArray = Array of TTableRow;
- TTableFieldSchemaTypefieldsArray = Array of TTableFieldSchema;
- TTableListTypetablesArray = Array of TTableListTypetablesItem;
- TTableRowTypefArray = Array of TTableCell;
- TTableSchemaTypefieldsArray = Array of TTableFieldSchema;
- TViewDefinitionTypeuserDefinedFunctionResourcesArray = Array of TUserDefinedFunctionResource;
-
- { --------------------------------------------------------------------
- TBigtableColumn
- --------------------------------------------------------------------}
-
- TBigtableColumn = Class(TGoogleBaseObject)
- Private
- Fencoding : String;
- FfieldName : String;
- FonlyReadLatest : boolean;
- FqualifierEncoded : String;
- FqualifierString : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setencoding(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfieldName(AIndex : Integer; const AValue : String); virtual;
- Procedure SetonlyReadLatest(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetqualifierEncoded(AIndex : Integer; const AValue : String); virtual;
- Procedure SetqualifierString(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property encoding : String Index 0 Read Fencoding Write Setencoding;
- Property fieldName : String Index 8 Read FfieldName Write SetfieldName;
- Property onlyReadLatest : boolean Index 16 Read FonlyReadLatest Write SetonlyReadLatest;
- Property qualifierEncoded : String Index 24 Read FqualifierEncoded Write SetqualifierEncoded;
- Property qualifierString : String Index 32 Read FqualifierString Write SetqualifierString;
- Property _type : String Index 40 Read F_type Write Set_type;
- end;
- TBigtableColumnClass = Class of TBigtableColumn;
-
- { --------------------------------------------------------------------
- TBigtableColumnFamily
- --------------------------------------------------------------------}
-
- TBigtableColumnFamily = Class(TGoogleBaseObject)
- Private
- Fcolumns : TBigtableColumnFamilyTypecolumnsArray;
- Fencoding : String;
- FfamilyId : String;
- FonlyReadLatest : boolean;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setcolumns(AIndex : Integer; const AValue : TBigtableColumnFamilyTypecolumnsArray); virtual;
- Procedure Setencoding(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfamilyId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetonlyReadLatest(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property columns : TBigtableColumnFamilyTypecolumnsArray Index 0 Read Fcolumns Write Setcolumns;
- Property encoding : String Index 8 Read Fencoding Write Setencoding;
- Property familyId : String Index 16 Read FfamilyId Write SetfamilyId;
- Property onlyReadLatest : boolean Index 24 Read FonlyReadLatest Write SetonlyReadLatest;
- Property _type : String Index 32 Read F_type Write Set_type;
- end;
- TBigtableColumnFamilyClass = Class of TBigtableColumnFamily;
-
- { --------------------------------------------------------------------
- TBigtableOptions
- --------------------------------------------------------------------}
-
- TBigtableOptions = Class(TGoogleBaseObject)
- Private
- FcolumnFamilies : TBigtableOptionsTypecolumnFamiliesArray;
- FignoreUnspecifiedColumnFamilies : boolean;
- Protected
- //Property setters
- Procedure SetcolumnFamilies(AIndex : Integer; const AValue : TBigtableOptionsTypecolumnFamiliesArray); virtual;
- Procedure SetignoreUnspecifiedColumnFamilies(AIndex : Integer; const AValue : boolean); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property columnFamilies : TBigtableOptionsTypecolumnFamiliesArray Index 0 Read FcolumnFamilies Write SetcolumnFamilies;
- Property ignoreUnspecifiedColumnFamilies : boolean Index 8 Read FignoreUnspecifiedColumnFamilies Write SetignoreUnspecifiedColumnFamilies;
- end;
- TBigtableOptionsClass = Class of TBigtableOptions;
-
- { --------------------------------------------------------------------
- TCsvOptions
- --------------------------------------------------------------------}
-
- TCsvOptions = Class(TGoogleBaseObject)
- Private
- FallowJaggedRows : boolean;
- FallowQuotedNewlines : boolean;
- Fencoding : String;
- FfieldDelimiter : String;
- Fquote : String;
- FskipLeadingRows : String;
- Protected
- //Property setters
- Procedure SetallowJaggedRows(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetallowQuotedNewlines(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setencoding(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfieldDelimiter(AIndex : Integer; const AValue : String); virtual;
- Procedure Setquote(AIndex : Integer; const AValue : String); virtual;
- Procedure SetskipLeadingRows(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property allowJaggedRows : boolean Index 0 Read FallowJaggedRows Write SetallowJaggedRows;
- Property allowQuotedNewlines : boolean Index 8 Read FallowQuotedNewlines Write SetallowQuotedNewlines;
- Property encoding : String Index 16 Read Fencoding Write Setencoding;
- Property fieldDelimiter : String Index 24 Read FfieldDelimiter Write SetfieldDelimiter;
- Property quote : String Index 32 Read Fquote Write Setquote;
- Property skipLeadingRows : String Index 40 Read FskipLeadingRows Write SetskipLeadingRows;
- end;
- TCsvOptionsClass = Class of TCsvOptions;
-
- { --------------------------------------------------------------------
- TDatasetTypeaccessItem
- --------------------------------------------------------------------}
-
- TDatasetTypeaccessItem = Class(TGoogleBaseObject)
- Private
- Fdomain : String;
- FgroupByEmail : String;
- Frole : String;
- FspecialGroup : String;
- FuserByEmail : String;
- Fview : TTableReference;
- Protected
- //Property setters
- Procedure Setdomain(AIndex : Integer; const AValue : String); virtual;
- Procedure SetgroupByEmail(AIndex : Integer; const AValue : String); virtual;
- Procedure Setrole(AIndex : Integer; const AValue : String); virtual;
- Procedure SetspecialGroup(AIndex : Integer; const AValue : String); virtual;
- Procedure SetuserByEmail(AIndex : Integer; const AValue : String); virtual;
- Procedure Setview(AIndex : Integer; const AValue : TTableReference); virtual;
- Public
- Published
- Property domain : String Index 0 Read Fdomain Write Setdomain;
- Property groupByEmail : String Index 8 Read FgroupByEmail Write SetgroupByEmail;
- Property role : String Index 16 Read Frole Write Setrole;
- Property specialGroup : String Index 24 Read FspecialGroup Write SetspecialGroup;
- Property userByEmail : String Index 32 Read FuserByEmail Write SetuserByEmail;
- Property view : TTableReference Index 40 Read Fview Write Setview;
- end;
- TDatasetTypeaccessItemClass = Class of TDatasetTypeaccessItem;
-
- { --------------------------------------------------------------------
- TDataset
- --------------------------------------------------------------------}
-
- TDataset = Class(TGoogleBaseObject)
- Private
- Faccess : TDatasetTypeaccessArray;
- FcreationTime : String;
- FdatasetReference : TDatasetReference;
- FdefaultTableExpirationMs : String;
- Fdescription : String;
- Fetag : String;
- FfriendlyName : String;
- Fid : String;
- Fkind : String;
- FlastModifiedTime : String;
- Flocation : String;
- FselfLink : String;
- Protected
- //Property setters
- Procedure Setaccess(AIndex : Integer; const AValue : TDatasetTypeaccessArray); virtual;
- Procedure SetcreationTime(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdatasetReference(AIndex : Integer; const AValue : TDatasetReference); virtual;
- Procedure SetdefaultTableExpirationMs(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfriendlyName(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetlastModifiedTime(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlocation(AIndex : Integer; const AValue : String); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property access : TDatasetTypeaccessArray Index 0 Read Faccess Write Setaccess;
- Property creationTime : String Index 8 Read FcreationTime Write SetcreationTime;
- Property datasetReference : TDatasetReference Index 16 Read FdatasetReference Write SetdatasetReference;
- Property defaultTableExpirationMs : String Index 24 Read FdefaultTableExpirationMs Write SetdefaultTableExpirationMs;
- Property description : String Index 32 Read Fdescription Write Setdescription;
- Property etag : String Index 40 Read Fetag Write Setetag;
- Property friendlyName : String Index 48 Read FfriendlyName Write SetfriendlyName;
- Property id : String Index 56 Read Fid Write Setid;
- Property kind : String Index 64 Read Fkind Write Setkind;
- Property lastModifiedTime : String Index 72 Read FlastModifiedTime Write SetlastModifiedTime;
- Property location : String Index 80 Read Flocation Write Setlocation;
- Property selfLink : String Index 88 Read FselfLink Write SetselfLink;
- end;
- TDatasetClass = Class of TDataset;
-
- { --------------------------------------------------------------------
- TDatasetListTypedatasetsItem
- --------------------------------------------------------------------}
-
- TDatasetListTypedatasetsItem = Class(TGoogleBaseObject)
- Private
- FdatasetReference : TDatasetReference;
- FfriendlyName : String;
- Fid : String;
- Fkind : String;
- Protected
- //Property setters
- Procedure SetdatasetReference(AIndex : Integer; const AValue : TDatasetReference); virtual;
- Procedure SetfriendlyName(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property datasetReference : TDatasetReference Index 0 Read FdatasetReference Write SetdatasetReference;
- Property friendlyName : String Index 8 Read FfriendlyName Write SetfriendlyName;
- Property id : String Index 16 Read Fid Write Setid;
- Property kind : String Index 24 Read Fkind Write Setkind;
- end;
- TDatasetListTypedatasetsItemClass = Class of TDatasetListTypedatasetsItem;
-
- { --------------------------------------------------------------------
- TDatasetList
- --------------------------------------------------------------------}
-
- TDatasetList = Class(TGoogleBaseObject)
- Private
- Fdatasets : TDatasetListTypedatasetsArray;
- Fetag : String;
- Fkind : String;
- FnextPageToken : String;
- Protected
- //Property setters
- Procedure Setdatasets(AIndex : Integer; const AValue : TDatasetListTypedatasetsArray); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property datasets : TDatasetListTypedatasetsArray Index 0 Read Fdatasets Write Setdatasets;
- Property etag : String Index 8 Read Fetag Write Setetag;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
- end;
- TDatasetListClass = Class of TDatasetList;
-
- { --------------------------------------------------------------------
- TDatasetReference
- --------------------------------------------------------------------}
-
- TDatasetReference = Class(TGoogleBaseObject)
- Private
- FdatasetId : String;
- FprojectId : String;
- Protected
- //Property setters
- Procedure SetdatasetId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property datasetId : String Index 0 Read FdatasetId Write SetdatasetId;
- Property projectId : String Index 8 Read FprojectId Write SetprojectId;
- end;
- TDatasetReferenceClass = Class of TDatasetReference;
-
- { --------------------------------------------------------------------
- TErrorProto
- --------------------------------------------------------------------}
-
- TErrorProto = Class(TGoogleBaseObject)
- Private
- FdebugInfo : String;
- Flocation : String;
- Fmessage : String;
- Freason : String;
- Protected
- //Property setters
- Procedure SetdebugInfo(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlocation(AIndex : Integer; const AValue : String); virtual;
- Procedure Setmessage(AIndex : Integer; const AValue : String); virtual;
- Procedure Setreason(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property debugInfo : String Index 0 Read FdebugInfo Write SetdebugInfo;
- Property location : String Index 8 Read Flocation Write Setlocation;
- Property message : String Index 16 Read Fmessage Write Setmessage;
- Property reason : String Index 24 Read Freason Write Setreason;
- end;
- TErrorProtoClass = Class of TErrorProto;
-
- { --------------------------------------------------------------------
- TExplainQueryStage
- --------------------------------------------------------------------}
-
- TExplainQueryStage = Class(TGoogleBaseObject)
- Private
- FcomputeRatioAvg : double;
- FcomputeRatioMax : double;
- Fid : String;
- Fname : String;
- FreadRatioAvg : double;
- FreadRatioMax : double;
- FrecordsRead : String;
- FrecordsWritten : String;
- Fsteps : TExplainQueryStageTypestepsArray;
- FwaitRatioAvg : double;
- FwaitRatioMax : double;
- FwriteRatioAvg : double;
- FwriteRatioMax : double;
- Protected
- //Property setters
- Procedure SetcomputeRatioAvg(AIndex : Integer; const AValue : double); virtual;
- Procedure SetcomputeRatioMax(AIndex : Integer; const AValue : double); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure SetreadRatioAvg(AIndex : Integer; const AValue : double); virtual;
- Procedure SetreadRatioMax(AIndex : Integer; const AValue : double); virtual;
- Procedure SetrecordsRead(AIndex : Integer; const AValue : String); virtual;
- Procedure SetrecordsWritten(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsteps(AIndex : Integer; const AValue : TExplainQueryStageTypestepsArray); virtual;
- Procedure SetwaitRatioAvg(AIndex : Integer; const AValue : double); virtual;
- Procedure SetwaitRatioMax(AIndex : Integer; const AValue : double); virtual;
- Procedure SetwriteRatioAvg(AIndex : Integer; const AValue : double); virtual;
- Procedure SetwriteRatioMax(AIndex : Integer; const AValue : double); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property computeRatioAvg : double Index 0 Read FcomputeRatioAvg Write SetcomputeRatioAvg;
- Property computeRatioMax : double Index 8 Read FcomputeRatioMax Write SetcomputeRatioMax;
- Property id : String Index 16 Read Fid Write Setid;
- Property name : String Index 24 Read Fname Write Setname;
- Property readRatioAvg : double Index 32 Read FreadRatioAvg Write SetreadRatioAvg;
- Property readRatioMax : double Index 40 Read FreadRatioMax Write SetreadRatioMax;
- Property recordsRead : String Index 48 Read FrecordsRead Write SetrecordsRead;
- Property recordsWritten : String Index 56 Read FrecordsWritten Write SetrecordsWritten;
- Property steps : TExplainQueryStageTypestepsArray Index 64 Read Fsteps Write Setsteps;
- Property waitRatioAvg : double Index 72 Read FwaitRatioAvg Write SetwaitRatioAvg;
- Property waitRatioMax : double Index 80 Read FwaitRatioMax Write SetwaitRatioMax;
- Property writeRatioAvg : double Index 88 Read FwriteRatioAvg Write SetwriteRatioAvg;
- Property writeRatioMax : double Index 96 Read FwriteRatioMax Write SetwriteRatioMax;
- end;
- TExplainQueryStageClass = Class of TExplainQueryStage;
-
- { --------------------------------------------------------------------
- TExplainQueryStep
- --------------------------------------------------------------------}
-
- TExplainQueryStep = Class(TGoogleBaseObject)
- Private
- Fkind : String;
- Fsubsteps : TStringArray;
- Protected
- //Property setters
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setsubsteps(AIndex : Integer; const AValue : TStringArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property kind : String Index 0 Read Fkind Write Setkind;
- Property substeps : TStringArray Index 8 Read Fsubsteps Write Setsubsteps;
- end;
- TExplainQueryStepClass = Class of TExplainQueryStep;
-
- { --------------------------------------------------------------------
- TExternalDataConfiguration
- --------------------------------------------------------------------}
-
- TExternalDataConfiguration = Class(TGoogleBaseObject)
- Private
- Fautodetect : boolean;
- FbigtableOptions : TBigtableOptions;
- Fcompression : String;
- FcsvOptions : TCsvOptions;
- FgoogleSheetsOptions : TGoogleSheetsOptions;
- FignoreUnknownValues : boolean;
- FmaxBadRecords : integer;
- Fschema : TTableSchema;
- FsourceFormat : String;
- FsourceUris : TStringArray;
- Protected
- //Property setters
- Procedure Setautodetect(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetbigtableOptions(AIndex : Integer; const AValue : TBigtableOptions); virtual;
- Procedure Setcompression(AIndex : Integer; const AValue : String); virtual;
- Procedure SetcsvOptions(AIndex : Integer; const AValue : TCsvOptions); virtual;
- Procedure SetgoogleSheetsOptions(AIndex : Integer; const AValue : TGoogleSheetsOptions); virtual;
- Procedure SetignoreUnknownValues(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetmaxBadRecords(AIndex : Integer; const AValue : integer); virtual;
- Procedure Setschema(AIndex : Integer; const AValue : TTableSchema); virtual;
- Procedure SetsourceFormat(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsourceUris(AIndex : Integer; const AValue : TStringArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property autodetect : boolean Index 0 Read Fautodetect Write Setautodetect;
- Property bigtableOptions : TBigtableOptions Index 8 Read FbigtableOptions Write SetbigtableOptions;
- Property compression : String Index 16 Read Fcompression Write Setcompression;
- Property csvOptions : TCsvOptions Index 24 Read FcsvOptions Write SetcsvOptions;
- Property googleSheetsOptions : TGoogleSheetsOptions Index 32 Read FgoogleSheetsOptions Write SetgoogleSheetsOptions;
- Property ignoreUnknownValues : boolean Index 40 Read FignoreUnknownValues Write SetignoreUnknownValues;
- Property maxBadRecords : integer Index 48 Read FmaxBadRecords Write SetmaxBadRecords;
- Property schema : TTableSchema Index 56 Read Fschema Write Setschema;
- Property sourceFormat : String Index 64 Read FsourceFormat Write SetsourceFormat;
- Property sourceUris : TStringArray Index 72 Read FsourceUris Write SetsourceUris;
- end;
- TExternalDataConfigurationClass = Class of TExternalDataConfiguration;
-
- { --------------------------------------------------------------------
- TGetQueryResultsResponse
- --------------------------------------------------------------------}
-
- TGetQueryResultsResponse = Class(TGoogleBaseObject)
- Private
- FcacheHit : boolean;
- Ferrors : TGetQueryResultsResponseTypeerrorsArray;
- Fetag : String;
- FjobComplete : boolean;
- FjobReference : TJobReference;
- Fkind : String;
- FpageToken : String;
- Frows : TGetQueryResultsResponseTyperowsArray;
- Fschema : TTableSchema;
- FtotalBytesProcessed : String;
- FtotalRows : String;
- Protected
- //Property setters
- Procedure SetcacheHit(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Seterrors(AIndex : Integer; const AValue : TGetQueryResultsResponseTypeerrorsArray); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SetjobComplete(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetjobReference(AIndex : Integer; const AValue : TJobReference); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure Setrows(AIndex : Integer; const AValue : TGetQueryResultsResponseTyperowsArray); virtual;
- Procedure Setschema(AIndex : Integer; const AValue : TTableSchema); virtual;
- Procedure SettotalBytesProcessed(AIndex : Integer; const AValue : String); virtual;
- Procedure SettotalRows(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property cacheHit : boolean Index 0 Read FcacheHit Write SetcacheHit;
- Property errors : TGetQueryResultsResponseTypeerrorsArray Index 8 Read Ferrors Write Seterrors;
- Property etag : String Index 16 Read Fetag Write Setetag;
- Property jobComplete : boolean Index 24 Read FjobComplete Write SetjobComplete;
- Property jobReference : TJobReference Index 32 Read FjobReference Write SetjobReference;
- Property kind : String Index 40 Read Fkind Write Setkind;
- Property pageToken : String Index 48 Read FpageToken Write SetpageToken;
- Property rows : TGetQueryResultsResponseTyperowsArray Index 56 Read Frows Write Setrows;
- Property schema : TTableSchema Index 64 Read Fschema Write Setschema;
- Property totalBytesProcessed : String Index 72 Read FtotalBytesProcessed Write SettotalBytesProcessed;
- Property totalRows : String Index 80 Read FtotalRows Write SettotalRows;
- end;
- TGetQueryResultsResponseClass = Class of TGetQueryResultsResponse;
-
- { --------------------------------------------------------------------
- TGoogleSheetsOptions
- --------------------------------------------------------------------}
-
- TGoogleSheetsOptions = Class(TGoogleBaseObject)
- Private
- FskipLeadingRows : String;
- Protected
- //Property setters
- Procedure SetskipLeadingRows(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property skipLeadingRows : String Index 0 Read FskipLeadingRows Write SetskipLeadingRows;
- end;
- TGoogleSheetsOptionsClass = Class of TGoogleSheetsOptions;
-
- { --------------------------------------------------------------------
- TJob
- --------------------------------------------------------------------}
-
- TJob = Class(TGoogleBaseObject)
- Private
- Fconfiguration : TJobConfiguration;
- Fetag : String;
- Fid : String;
- FjobReference : TJobReference;
- Fkind : String;
- FselfLink : String;
- Fstatistics : TJobStatistics;
- Fstatus : TJobStatus;
- Fuser_email : String;
- Protected
- //Property setters
- Procedure Setconfiguration(AIndex : Integer; const AValue : TJobConfiguration); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetjobReference(AIndex : Integer; const AValue : TJobReference); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstatistics(AIndex : Integer; const AValue : TJobStatistics); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : TJobStatus); virtual;
- Procedure Setuser_email(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property configuration : TJobConfiguration Index 0 Read Fconfiguration Write Setconfiguration;
- Property etag : String Index 8 Read Fetag Write Setetag;
- Property id : String Index 16 Read Fid Write Setid;
- Property jobReference : TJobReference Index 24 Read FjobReference Write SetjobReference;
- Property kind : String Index 32 Read Fkind Write Setkind;
- Property selfLink : String Index 40 Read FselfLink Write SetselfLink;
- Property statistics : TJobStatistics Index 48 Read Fstatistics Write Setstatistics;
- Property status : TJobStatus Index 56 Read Fstatus Write Setstatus;
- Property user_email : String Index 64 Read Fuser_email Write Setuser_email;
- end;
- TJobClass = Class of TJob;
-
- { --------------------------------------------------------------------
- TJobCancelResponse
- --------------------------------------------------------------------}
-
- TJobCancelResponse = Class(TGoogleBaseObject)
- Private
- Fjob : TJob;
- Fkind : String;
- Protected
- //Property setters
- Procedure Setjob(AIndex : Integer; const AValue : TJob); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property job : TJob Index 0 Read Fjob Write Setjob;
- Property kind : String Index 8 Read Fkind Write Setkind;
- end;
- TJobCancelResponseClass = Class of TJobCancelResponse;
-
- { --------------------------------------------------------------------
- TJobConfiguration
- --------------------------------------------------------------------}
-
- TJobConfiguration = Class(TGoogleBaseObject)
- Private
- Fcopy : TJobConfigurationTableCopy;
- FdryRun : boolean;
- Fextract : TJobConfigurationExtract;
- Fload : TJobConfigurationLoad;
- Fquery : TJobConfigurationQuery;
- Protected
- //Property setters
- Procedure Setcopy(AIndex : Integer; const AValue : TJobConfigurationTableCopy); virtual;
- Procedure SetdryRun(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setextract(AIndex : Integer; const AValue : TJobConfigurationExtract); virtual;
- Procedure Setload(AIndex : Integer; const AValue : TJobConfigurationLoad); virtual;
- Procedure Setquery(AIndex : Integer; const AValue : TJobConfigurationQuery); virtual;
- Public
- Published
- Property copy : TJobConfigurationTableCopy Index 0 Read Fcopy Write Setcopy;
- Property dryRun : boolean Index 8 Read FdryRun Write SetdryRun;
- Property extract : TJobConfigurationExtract Index 16 Read Fextract Write Setextract;
- Property load : TJobConfigurationLoad Index 24 Read Fload Write Setload;
- Property query : TJobConfigurationQuery Index 32 Read Fquery Write Setquery;
- end;
- TJobConfigurationClass = Class of TJobConfiguration;
-
- { --------------------------------------------------------------------
- TJobConfigurationExtract
- --------------------------------------------------------------------}
-
- TJobConfigurationExtract = Class(TGoogleBaseObject)
- Private
- Fcompression : String;
- FdestinationFormat : String;
- FdestinationUri : String;
- FdestinationUris : TStringArray;
- FfieldDelimiter : String;
- FprintHeader : boolean;
- FsourceTable : TTableReference;
- Protected
- //Property setters
- Procedure Setcompression(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdestinationFormat(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdestinationUri(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdestinationUris(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetfieldDelimiter(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprintHeader(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetsourceTable(AIndex : Integer; const AValue : TTableReference); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property compression : String Index 0 Read Fcompression Write Setcompression;
- Property destinationFormat : String Index 8 Read FdestinationFormat Write SetdestinationFormat;
- Property destinationUri : String Index 16 Read FdestinationUri Write SetdestinationUri;
- Property destinationUris : TStringArray Index 24 Read FdestinationUris Write SetdestinationUris;
- Property fieldDelimiter : String Index 32 Read FfieldDelimiter Write SetfieldDelimiter;
- Property printHeader : boolean Index 40 Read FprintHeader Write SetprintHeader;
- Property sourceTable : TTableReference Index 48 Read FsourceTable Write SetsourceTable;
- end;
- TJobConfigurationExtractClass = Class of TJobConfigurationExtract;
-
- { --------------------------------------------------------------------
- TJobConfigurationLoad
- --------------------------------------------------------------------}
-
- TJobConfigurationLoad = Class(TGoogleBaseObject)
- Private
- FallowJaggedRows : boolean;
- FallowQuotedNewlines : boolean;
- Fautodetect : boolean;
- FcreateDisposition : String;
- FdestinationTable : TTableReference;
- Fencoding : String;
- FfieldDelimiter : String;
- FignoreUnknownValues : boolean;
- FmaxBadRecords : integer;
- FprojectionFields : TStringArray;
- Fquote : String;
- Fschema : TTableSchema;
- FschemaInline : String;
- FschemaInlineFormat : String;
- FskipLeadingRows : integer;
- FsourceFormat : String;
- FsourceUris : TStringArray;
- FwriteDisposition : String;
- Protected
- //Property setters
- Procedure SetallowJaggedRows(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetallowQuotedNewlines(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setautodetect(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetcreateDisposition(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdestinationTable(AIndex : Integer; const AValue : TTableReference); virtual;
- Procedure Setencoding(AIndex : Integer; const AValue : String); virtual;
- Procedure SetfieldDelimiter(AIndex : Integer; const AValue : String); virtual;
- Procedure SetignoreUnknownValues(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetmaxBadRecords(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetprojectionFields(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure Setquote(AIndex : Integer; const AValue : String); virtual;
- Procedure Setschema(AIndex : Integer; const AValue : TTableSchema); virtual;
- Procedure SetschemaInline(AIndex : Integer; const AValue : String); virtual;
- Procedure SetschemaInlineFormat(AIndex : Integer; const AValue : String); virtual;
- Procedure SetskipLeadingRows(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetsourceFormat(AIndex : Integer; const AValue : String); virtual;
- Procedure SetsourceUris(AIndex : Integer; const AValue : TStringArray); virtual;
- Procedure SetwriteDisposition(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property allowJaggedRows : boolean Index 0 Read FallowJaggedRows Write SetallowJaggedRows;
- Property allowQuotedNewlines : boolean Index 8 Read FallowQuotedNewlines Write SetallowQuotedNewlines;
- Property autodetect : boolean Index 16 Read Fautodetect Write Setautodetect;
- Property createDisposition : String Index 24 Read FcreateDisposition Write SetcreateDisposition;
- Property destinationTable : TTableReference Index 32 Read FdestinationTable Write SetdestinationTable;
- Property encoding : String Index 40 Read Fencoding Write Setencoding;
- Property fieldDelimiter : String Index 48 Read FfieldDelimiter Write SetfieldDelimiter;
- Property ignoreUnknownValues : boolean Index 56 Read FignoreUnknownValues Write SetignoreUnknownValues;
- Property maxBadRecords : integer Index 64 Read FmaxBadRecords Write SetmaxBadRecords;
- Property projectionFields : TStringArray Index 72 Read FprojectionFields Write SetprojectionFields;
- Property quote : String Index 80 Read Fquote Write Setquote;
- Property schema : TTableSchema Index 88 Read Fschema Write Setschema;
- Property schemaInline : String Index 96 Read FschemaInline Write SetschemaInline;
- Property schemaInlineFormat : String Index 104 Read FschemaInlineFormat Write SetschemaInlineFormat;
- Property skipLeadingRows : integer Index 112 Read FskipLeadingRows Write SetskipLeadingRows;
- Property sourceFormat : String Index 120 Read FsourceFormat Write SetsourceFormat;
- Property sourceUris : TStringArray Index 128 Read FsourceUris Write SetsourceUris;
- Property writeDisposition : String Index 136 Read FwriteDisposition Write SetwriteDisposition;
- end;
- TJobConfigurationLoadClass = Class of TJobConfigurationLoad;
-
- { --------------------------------------------------------------------
- TJobConfigurationQueryTypetableDefinitions
- --------------------------------------------------------------------}
-
- TJobConfigurationQueryTypetableDefinitions = Class(TGoogleBaseObject)
- Private
- Protected
- //Property setters
- Public
- Class Function AllowAdditionalProperties : Boolean; override;
- Published
- end;
- TJobConfigurationQueryTypetableDefinitionsClass = Class of TJobConfigurationQueryTypetableDefinitions;
-
- { --------------------------------------------------------------------
- TJobConfigurationQuery
- --------------------------------------------------------------------}
-
- TJobConfigurationQuery = Class(TGoogleBaseObject)
- Private
- FallowLargeResults : boolean;
- FcreateDisposition : String;
- FdefaultDataset : TDatasetReference;
- FdestinationTable : TTableReference;
- FflattenResults : boolean;
- FmaximumBillingTier : integer;
- FpreserveNulls : boolean;
- Fpriority : String;
- Fquery : String;
- FtableDefinitions : TJobConfigurationQueryTypetableDefinitions;
- FuseLegacySql : boolean;
- FuseQueryCache : boolean;
- FuserDefinedFunctionResources : TJobConfigurationQueryTypeuserDefinedFunctionResourcesArray;
- FwriteDisposition : String;
- Protected
- //Property setters
- Procedure SetallowLargeResults(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetcreateDisposition(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdefaultDataset(AIndex : Integer; const AValue : TDatasetReference); virtual;
- Procedure SetdestinationTable(AIndex : Integer; const AValue : TTableReference); virtual;
- Procedure SetflattenResults(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetmaximumBillingTier(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetpreserveNulls(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setpriority(AIndex : Integer; const AValue : String); virtual;
- Procedure Setquery(AIndex : Integer; const AValue : String); virtual;
- Procedure SettableDefinitions(AIndex : Integer; const AValue : TJobConfigurationQueryTypetableDefinitions); virtual;
- Procedure SetuseLegacySql(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetuseQueryCache(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetuserDefinedFunctionResources(AIndex : Integer; const AValue : TJobConfigurationQueryTypeuserDefinedFunctionResourcesArray); virtual;
- Procedure SetwriteDisposition(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property allowLargeResults : boolean Index 0 Read FallowLargeResults Write SetallowLargeResults;
- Property createDisposition : String Index 8 Read FcreateDisposition Write SetcreateDisposition;
- Property defaultDataset : TDatasetReference Index 16 Read FdefaultDataset Write SetdefaultDataset;
- Property destinationTable : TTableReference Index 24 Read FdestinationTable Write SetdestinationTable;
- Property flattenResults : boolean Index 32 Read FflattenResults Write SetflattenResults;
- Property maximumBillingTier : integer Index 40 Read FmaximumBillingTier Write SetmaximumBillingTier;
- Property preserveNulls : boolean Index 48 Read FpreserveNulls Write SetpreserveNulls;
- Property priority : String Index 56 Read Fpriority Write Setpriority;
- Property query : String Index 64 Read Fquery Write Setquery;
- Property tableDefinitions : TJobConfigurationQueryTypetableDefinitions Index 72 Read FtableDefinitions Write SettableDefinitions;
- Property useLegacySql : boolean Index 80 Read FuseLegacySql Write SetuseLegacySql;
- Property useQueryCache : boolean Index 88 Read FuseQueryCache Write SetuseQueryCache;
- Property userDefinedFunctionResources : TJobConfigurationQueryTypeuserDefinedFunctionResourcesArray Index 96 Read FuserDefinedFunctionResources Write SetuserDefinedFunctionResources;
- Property writeDisposition : String Index 104 Read FwriteDisposition Write SetwriteDisposition;
- end;
- TJobConfigurationQueryClass = Class of TJobConfigurationQuery;
-
- { --------------------------------------------------------------------
- TJobConfigurationTableCopy
- --------------------------------------------------------------------}
-
- TJobConfigurationTableCopy = Class(TGoogleBaseObject)
- Private
- FcreateDisposition : String;
- FdestinationTable : TTableReference;
- FsourceTable : TTableReference;
- FsourceTables : TJobConfigurationTableCopyTypesourceTablesArray;
- FwriteDisposition : String;
- Protected
- //Property setters
- Procedure SetcreateDisposition(AIndex : Integer; const AValue : String); virtual;
- Procedure SetdestinationTable(AIndex : Integer; const AValue : TTableReference); virtual;
- Procedure SetsourceTable(AIndex : Integer; const AValue : TTableReference); virtual;
- Procedure SetsourceTables(AIndex : Integer; const AValue : TJobConfigurationTableCopyTypesourceTablesArray); virtual;
- Procedure SetwriteDisposition(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property createDisposition : String Index 0 Read FcreateDisposition Write SetcreateDisposition;
- Property destinationTable : TTableReference Index 8 Read FdestinationTable Write SetdestinationTable;
- Property sourceTable : TTableReference Index 16 Read FsourceTable Write SetsourceTable;
- Property sourceTables : TJobConfigurationTableCopyTypesourceTablesArray Index 24 Read FsourceTables Write SetsourceTables;
- Property writeDisposition : String Index 32 Read FwriteDisposition Write SetwriteDisposition;
- end;
- TJobConfigurationTableCopyClass = Class of TJobConfigurationTableCopy;
-
- { --------------------------------------------------------------------
- TJobListTypejobsItem
- --------------------------------------------------------------------}
-
- TJobListTypejobsItem = Class(TGoogleBaseObject)
- Private
- Fconfiguration : TJobConfiguration;
- FerrorResult : TErrorProto;
- Fid : String;
- FjobReference : TJobReference;
- Fkind : String;
- Fstate : String;
- Fstatistics : TJobStatistics;
- Fstatus : TJobStatus;
- Fuser_email : String;
- Protected
- //Property setters
- Procedure Setconfiguration(AIndex : Integer; const AValue : TJobConfiguration); virtual;
- Procedure SeterrorResult(AIndex : Integer; const AValue : TErrorProto); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure SetjobReference(AIndex : Integer; const AValue : TJobReference); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstate(AIndex : Integer; const AValue : String); virtual;
- Procedure Setstatistics(AIndex : Integer; const AValue : TJobStatistics); virtual;
- Procedure Setstatus(AIndex : Integer; const AValue : TJobStatus); virtual;
- Procedure Setuser_email(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property configuration : TJobConfiguration Index 0 Read Fconfiguration Write Setconfiguration;
- Property errorResult : TErrorProto Index 8 Read FerrorResult Write SeterrorResult;
- Property id : String Index 16 Read Fid Write Setid;
- Property jobReference : TJobReference Index 24 Read FjobReference Write SetjobReference;
- Property kind : String Index 32 Read Fkind Write Setkind;
- Property state : String Index 40 Read Fstate Write Setstate;
- Property statistics : TJobStatistics Index 48 Read Fstatistics Write Setstatistics;
- Property status : TJobStatus Index 56 Read Fstatus Write Setstatus;
- Property user_email : String Index 64 Read Fuser_email Write Setuser_email;
- end;
- TJobListTypejobsItemClass = Class of TJobListTypejobsItem;
-
- { --------------------------------------------------------------------
- TJobList
- --------------------------------------------------------------------}
-
- TJobList = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fjobs : TJobListTypejobsArray;
- Fkind : String;
- FnextPageToken : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setjobs(AIndex : Integer; const AValue : TJobListTypejobsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property jobs : TJobListTypejobsArray Index 8 Read Fjobs Write Setjobs;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property nextPageToken : String Index 24 Read FnextPageToken Write SetnextPageToken;
- end;
- TJobListClass = Class of TJobList;
-
- { --------------------------------------------------------------------
- TJobReference
- --------------------------------------------------------------------}
-
- TJobReference = Class(TGoogleBaseObject)
- Private
- FjobId : String;
- FprojectId : String;
- Protected
- //Property setters
- Procedure SetjobId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property jobId : String Index 0 Read FjobId Write SetjobId;
- Property projectId : String Index 8 Read FprojectId Write SetprojectId;
- end;
- TJobReferenceClass = Class of TJobReference;
-
- { --------------------------------------------------------------------
- TJobStatistics
- --------------------------------------------------------------------}
-
- TJobStatistics = Class(TGoogleBaseObject)
- Private
- FcreationTime : String;
- FendTime : String;
- Fextract : TJobStatistics4;
- Fload : TJobStatistics3;
- Fquery : TJobStatistics2;
- FstartTime : String;
- FtotalBytesProcessed : String;
- Protected
- //Property setters
- Procedure SetcreationTime(AIndex : Integer; const AValue : String); virtual;
- Procedure SetendTime(AIndex : Integer; const AValue : String); virtual;
- Procedure Setextract(AIndex : Integer; const AValue : TJobStatistics4); virtual;
- Procedure Setload(AIndex : Integer; const AValue : TJobStatistics3); virtual;
- Procedure Setquery(AIndex : Integer; const AValue : TJobStatistics2); virtual;
- Procedure SetstartTime(AIndex : Integer; const AValue : String); virtual;
- Procedure SettotalBytesProcessed(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property creationTime : String Index 0 Read FcreationTime Write SetcreationTime;
- Property endTime : String Index 8 Read FendTime Write SetendTime;
- Property extract : TJobStatistics4 Index 16 Read Fextract Write Setextract;
- Property load : TJobStatistics3 Index 24 Read Fload Write Setload;
- Property query : TJobStatistics2 Index 32 Read Fquery Write Setquery;
- Property startTime : String Index 40 Read FstartTime Write SetstartTime;
- Property totalBytesProcessed : String Index 48 Read FtotalBytesProcessed Write SettotalBytesProcessed;
- end;
- TJobStatisticsClass = Class of TJobStatistics;
-
- { --------------------------------------------------------------------
- TJobStatistics2
- --------------------------------------------------------------------}
-
- TJobStatistics2 = Class(TGoogleBaseObject)
- Private
- FbillingTier : integer;
- FcacheHit : boolean;
- FqueryPlan : TJobStatistics2TypequeryPlanArray;
- FreferencedTables : TJobStatistics2TypereferencedTablesArray;
- Fschema : TTableSchema;
- FtotalBytesBilled : String;
- FtotalBytesProcessed : String;
- Protected
- //Property setters
- Procedure SetbillingTier(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetcacheHit(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetqueryPlan(AIndex : Integer; const AValue : TJobStatistics2TypequeryPlanArray); virtual;
- Procedure SetreferencedTables(AIndex : Integer; const AValue : TJobStatistics2TypereferencedTablesArray); virtual;
- Procedure Setschema(AIndex : Integer; const AValue : TTableSchema); virtual;
- Procedure SettotalBytesBilled(AIndex : Integer; const AValue : String); virtual;
- Procedure SettotalBytesProcessed(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property billingTier : integer Index 0 Read FbillingTier Write SetbillingTier;
- Property cacheHit : boolean Index 8 Read FcacheHit Write SetcacheHit;
- Property queryPlan : TJobStatistics2TypequeryPlanArray Index 16 Read FqueryPlan Write SetqueryPlan;
- Property referencedTables : TJobStatistics2TypereferencedTablesArray Index 24 Read FreferencedTables Write SetreferencedTables;
- Property schema : TTableSchema Index 32 Read Fschema Write Setschema;
- Property totalBytesBilled : String Index 40 Read FtotalBytesBilled Write SettotalBytesBilled;
- Property totalBytesProcessed : String Index 48 Read FtotalBytesProcessed Write SettotalBytesProcessed;
- end;
- TJobStatistics2Class = Class of TJobStatistics2;
-
- { --------------------------------------------------------------------
- TJobStatistics3
- --------------------------------------------------------------------}
-
- TJobStatistics3 = Class(TGoogleBaseObject)
- Private
- FinputFileBytes : String;
- FinputFiles : String;
- FoutputBytes : String;
- FoutputRows : String;
- Protected
- //Property setters
- Procedure SetinputFileBytes(AIndex : Integer; const AValue : String); virtual;
- Procedure SetinputFiles(AIndex : Integer; const AValue : String); virtual;
- Procedure SetoutputBytes(AIndex : Integer; const AValue : String); virtual;
- Procedure SetoutputRows(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property inputFileBytes : String Index 0 Read FinputFileBytes Write SetinputFileBytes;
- Property inputFiles : String Index 8 Read FinputFiles Write SetinputFiles;
- Property outputBytes : String Index 16 Read FoutputBytes Write SetoutputBytes;
- Property outputRows : String Index 24 Read FoutputRows Write SetoutputRows;
- end;
- TJobStatistics3Class = Class of TJobStatistics3;
-
- { --------------------------------------------------------------------
- TJobStatistics4
- --------------------------------------------------------------------}
-
- TJobStatistics4 = Class(TGoogleBaseObject)
- Private
- FdestinationUriFileCounts : TStringArray;
- Protected
- //Property setters
- Procedure SetdestinationUriFileCounts(AIndex : Integer; const AValue : TStringArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property destinationUriFileCounts : TStringArray Index 0 Read FdestinationUriFileCounts Write SetdestinationUriFileCounts;
- end;
- TJobStatistics4Class = Class of TJobStatistics4;
-
- { --------------------------------------------------------------------
- TJobStatus
- --------------------------------------------------------------------}
-
- TJobStatus = Class(TGoogleBaseObject)
- Private
- FerrorResult : TErrorProto;
- Ferrors : TJobStatusTypeerrorsArray;
- Fstate : String;
- Protected
- //Property setters
- Procedure SeterrorResult(AIndex : Integer; const AValue : TErrorProto); virtual;
- Procedure Seterrors(AIndex : Integer; const AValue : TJobStatusTypeerrorsArray); virtual;
- Procedure Setstate(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property errorResult : TErrorProto Index 0 Read FerrorResult Write SeterrorResult;
- Property errors : TJobStatusTypeerrorsArray Index 8 Read Ferrors Write Seterrors;
- Property state : String Index 16 Read Fstate Write Setstate;
- end;
- TJobStatusClass = Class of TJobStatus;
-
- { --------------------------------------------------------------------
- TJsonObject
- --------------------------------------------------------------------}
-
- TJsonObject = Class(TGoogleBaseObject)
- Private
- Protected
- //Property setters
- Public
- Class Function AllowAdditionalProperties : Boolean; override;
- Published
- end;
- TJsonObjectClass = Class of TJsonObject;
-
- { --------------------------------------------------------------------
- TProjectListTypeprojectsItem
- --------------------------------------------------------------------}
-
- TProjectListTypeprojectsItem = Class(TGoogleBaseObject)
- Private
- FfriendlyName : String;
- Fid : String;
- Fkind : String;
- FnumericId : String;
- FprojectReference : TProjectReference;
- Protected
- //Property setters
- Procedure SetfriendlyName(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnumericId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprojectReference(AIndex : Integer; const AValue : TProjectReference); virtual;
- Public
- Published
- Property friendlyName : String Index 0 Read FfriendlyName Write SetfriendlyName;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property numericId : String Index 24 Read FnumericId Write SetnumericId;
- Property projectReference : TProjectReference Index 32 Read FprojectReference Write SetprojectReference;
- end;
- TProjectListTypeprojectsItemClass = Class of TProjectListTypeprojectsItem;
-
- { --------------------------------------------------------------------
- TProjectList
- --------------------------------------------------------------------}
-
- TProjectList = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fkind : String;
- FnextPageToken : String;
- Fprojects : TProjectListTypeprojectsArray;
- FtotalItems : integer;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure Setprojects(AIndex : Integer; const AValue : TProjectListTypeprojectsArray); virtual;
- Procedure SettotalItems(AIndex : Integer; const AValue : integer); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property kind : String Index 8 Read Fkind Write Setkind;
- Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
- Property projects : TProjectListTypeprojectsArray Index 24 Read Fprojects Write Setprojects;
- Property totalItems : integer Index 32 Read FtotalItems Write SettotalItems;
- end;
- TProjectListClass = Class of TProjectList;
-
- { --------------------------------------------------------------------
- TProjectReference
- --------------------------------------------------------------------}
-
- TProjectReference = Class(TGoogleBaseObject)
- Private
- FprojectId : String;
- Protected
- //Property setters
- Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property projectId : String Index 0 Read FprojectId Write SetprojectId;
- end;
- TProjectReferenceClass = Class of TProjectReference;
-
- { --------------------------------------------------------------------
- TQueryRequest
- --------------------------------------------------------------------}
-
- TQueryRequest = Class(TGoogleBaseObject)
- Private
- FdefaultDataset : TDatasetReference;
- FdryRun : boolean;
- Fkind : String;
- FmaxResults : integer;
- FpreserveNulls : boolean;
- Fquery : String;
- FtimeoutMs : integer;
- FuseLegacySql : boolean;
- FuseQueryCache : boolean;
- Protected
- //Property setters
- Procedure SetdefaultDataset(AIndex : Integer; const AValue : TDatasetReference); virtual;
- Procedure SetdryRun(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetmaxResults(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetpreserveNulls(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setquery(AIndex : Integer; const AValue : String); virtual;
- Procedure SettimeoutMs(AIndex : Integer; const AValue : integer); virtual;
- Procedure SetuseLegacySql(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetuseQueryCache(AIndex : Integer; const AValue : boolean); virtual;
- Public
- Published
- Property defaultDataset : TDatasetReference Index 0 Read FdefaultDataset Write SetdefaultDataset;
- Property dryRun : boolean Index 8 Read FdryRun Write SetdryRun;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property maxResults : integer Index 24 Read FmaxResults Write SetmaxResults;
- Property preserveNulls : boolean Index 32 Read FpreserveNulls Write SetpreserveNulls;
- Property query : String Index 40 Read Fquery Write Setquery;
- Property timeoutMs : integer Index 48 Read FtimeoutMs Write SettimeoutMs;
- Property useLegacySql : boolean Index 56 Read FuseLegacySql Write SetuseLegacySql;
- Property useQueryCache : boolean Index 64 Read FuseQueryCache Write SetuseQueryCache;
- end;
- TQueryRequestClass = Class of TQueryRequest;
-
- { --------------------------------------------------------------------
- TQueryResponse
- --------------------------------------------------------------------}
-
- TQueryResponse = Class(TGoogleBaseObject)
- Private
- FcacheHit : boolean;
- Ferrors : TQueryResponseTypeerrorsArray;
- FjobComplete : boolean;
- FjobReference : TJobReference;
- Fkind : String;
- FpageToken : String;
- Frows : TQueryResponseTyperowsArray;
- Fschema : TTableSchema;
- FtotalBytesProcessed : String;
- FtotalRows : String;
- Protected
- //Property setters
- Procedure SetcacheHit(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Seterrors(AIndex : Integer; const AValue : TQueryResponseTypeerrorsArray); virtual;
- Procedure SetjobComplete(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SetjobReference(AIndex : Integer; const AValue : TJobReference); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure Setrows(AIndex : Integer; const AValue : TQueryResponseTyperowsArray); virtual;
- Procedure Setschema(AIndex : Integer; const AValue : TTableSchema); virtual;
- Procedure SettotalBytesProcessed(AIndex : Integer; const AValue : String); virtual;
- Procedure SettotalRows(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property cacheHit : boolean Index 0 Read FcacheHit Write SetcacheHit;
- Property errors : TQueryResponseTypeerrorsArray Index 8 Read Ferrors Write Seterrors;
- Property jobComplete : boolean Index 16 Read FjobComplete Write SetjobComplete;
- Property jobReference : TJobReference Index 24 Read FjobReference Write SetjobReference;
- Property kind : String Index 32 Read Fkind Write Setkind;
- Property pageToken : String Index 40 Read FpageToken Write SetpageToken;
- Property rows : TQueryResponseTyperowsArray Index 48 Read Frows Write Setrows;
- Property schema : TTableSchema Index 56 Read Fschema Write Setschema;
- Property totalBytesProcessed : String Index 64 Read FtotalBytesProcessed Write SettotalBytesProcessed;
- Property totalRows : String Index 72 Read FtotalRows Write SettotalRows;
- end;
- TQueryResponseClass = Class of TQueryResponse;
-
- { --------------------------------------------------------------------
- TStreamingbuffer
- --------------------------------------------------------------------}
-
- TStreamingbuffer = Class(TGoogleBaseObject)
- Private
- FestimatedBytes : String;
- FestimatedRows : String;
- FoldestEntryTime : String;
- Protected
- //Property setters
- Procedure SetestimatedBytes(AIndex : Integer; const AValue : String); virtual;
- Procedure SetestimatedRows(AIndex : Integer; const AValue : String); virtual;
- Procedure SetoldestEntryTime(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property estimatedBytes : String Index 0 Read FestimatedBytes Write SetestimatedBytes;
- Property estimatedRows : String Index 8 Read FestimatedRows Write SetestimatedRows;
- Property oldestEntryTime : String Index 16 Read FoldestEntryTime Write SetoldestEntryTime;
- end;
- TStreamingbufferClass = Class of TStreamingbuffer;
-
- { --------------------------------------------------------------------
- TTable
- --------------------------------------------------------------------}
-
- TTable = Class(TGoogleBaseObject)
- Private
- FcreationTime : String;
- Fdescription : String;
- Fetag : String;
- FexpirationTime : String;
- FexternalDataConfiguration : TExternalDataConfiguration;
- FfriendlyName : String;
- Fid : String;
- Fkind : String;
- FlastModifiedTime : String;
- Flocation : String;
- FnumBytes : String;
- FnumLongTermBytes : String;
- FnumRows : String;
- Fschema : TTableSchema;
- FselfLink : String;
- FstreamingBuffer : TStreamingbuffer;
- FtableReference : TTableReference;
- FtimePartitioning : TTimePartitioning;
- F_type : String;
- Fview : TViewDefinition;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetcreationTime(AIndex : Integer; const AValue : String); virtual;
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure SetexpirationTime(AIndex : Integer; const AValue : String); virtual;
- Procedure SetexternalDataConfiguration(AIndex : Integer; const AValue : TExternalDataConfiguration); virtual;
- Procedure SetfriendlyName(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetlastModifiedTime(AIndex : Integer; const AValue : String); virtual;
- Procedure Setlocation(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnumBytes(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnumLongTermBytes(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnumRows(AIndex : Integer; const AValue : String); virtual;
- Procedure Setschema(AIndex : Integer; const AValue : TTableSchema); virtual;
- Procedure SetselfLink(AIndex : Integer; const AValue : String); virtual;
- Procedure SetstreamingBuffer(AIndex : Integer; const AValue : TStreamingbuffer); virtual;
- Procedure SettableReference(AIndex : Integer; const AValue : TTableReference); virtual;
- Procedure SettimePartitioning(AIndex : Integer; const AValue : TTimePartitioning); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Procedure Setview(AIndex : Integer; const AValue : TViewDefinition); virtual;
- Public
- Published
- Property creationTime : String Index 0 Read FcreationTime Write SetcreationTime;
- Property description : String Index 8 Read Fdescription Write Setdescription;
- Property etag : String Index 16 Read Fetag Write Setetag;
- Property expirationTime : String Index 24 Read FexpirationTime Write SetexpirationTime;
- Property externalDataConfiguration : TExternalDataConfiguration Index 32 Read FexternalDataConfiguration Write SetexternalDataConfiguration;
- Property friendlyName : String Index 40 Read FfriendlyName Write SetfriendlyName;
- Property id : String Index 48 Read Fid Write Setid;
- Property kind : String Index 56 Read Fkind Write Setkind;
- Property lastModifiedTime : String Index 64 Read FlastModifiedTime Write SetlastModifiedTime;
- Property location : String Index 72 Read Flocation Write Setlocation;
- Property numBytes : String Index 80 Read FnumBytes Write SetnumBytes;
- Property numLongTermBytes : String Index 88 Read FnumLongTermBytes Write SetnumLongTermBytes;
- Property numRows : String Index 96 Read FnumRows Write SetnumRows;
- Property schema : TTableSchema Index 104 Read Fschema Write Setschema;
- Property selfLink : String Index 112 Read FselfLink Write SetselfLink;
- Property streamingBuffer : TStreamingbuffer Index 120 Read FstreamingBuffer Write SetstreamingBuffer;
- Property tableReference : TTableReference Index 128 Read FtableReference Write SettableReference;
- Property timePartitioning : TTimePartitioning Index 136 Read FtimePartitioning Write SettimePartitioning;
- Property _type : String Index 144 Read F_type Write Set_type;
- Property view : TViewDefinition Index 152 Read Fview Write Setview;
- end;
- TTableClass = Class of TTable;
-
- { --------------------------------------------------------------------
- TTableCell
- --------------------------------------------------------------------}
-
- TTableCell = Class(TGoogleBaseObject)
- Private
- Fv : TJSONSchema;
- Protected
- //Property setters
- Procedure Setv(AIndex : Integer; const AValue : TJSONSchema); virtual;
- Public
- Published
- Property v : TJSONSchema Index 0 Read Fv Write Setv;
- end;
- TTableCellClass = Class of TTableCell;
-
- { --------------------------------------------------------------------
- TTableDataInsertAllRequestTyperowsItem
- --------------------------------------------------------------------}
-
- TTableDataInsertAllRequestTyperowsItem = Class(TGoogleBaseObject)
- Private
- FinsertId : String;
- Fjson : TJsonObject;
- Protected
- //Property setters
- Procedure SetinsertId(AIndex : Integer; const AValue : String); virtual;
- Procedure Setjson(AIndex : Integer; const AValue : TJsonObject); virtual;
- Public
- Published
- Property insertId : String Index 0 Read FinsertId Write SetinsertId;
- Property json : TJsonObject Index 8 Read Fjson Write Setjson;
- end;
- TTableDataInsertAllRequestTyperowsItemClass = Class of TTableDataInsertAllRequestTyperowsItem;
-
- { --------------------------------------------------------------------
- TTableDataInsertAllRequest
- --------------------------------------------------------------------}
-
- TTableDataInsertAllRequest = Class(TGoogleBaseObject)
- Private
- FignoreUnknownValues : boolean;
- Fkind : String;
- Frows : TTableDataInsertAllRequestTyperowsArray;
- FskipInvalidRows : boolean;
- FtemplateSuffix : String;
- Protected
- //Property setters
- Procedure SetignoreUnknownValues(AIndex : Integer; const AValue : boolean); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure Setrows(AIndex : Integer; const AValue : TTableDataInsertAllRequestTyperowsArray); virtual;
- Procedure SetskipInvalidRows(AIndex : Integer; const AValue : boolean); virtual;
- Procedure SettemplateSuffix(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property ignoreUnknownValues : boolean Index 0 Read FignoreUnknownValues Write SetignoreUnknownValues;
- Property kind : String Index 8 Read Fkind Write Setkind;
- Property rows : TTableDataInsertAllRequestTyperowsArray Index 16 Read Frows Write Setrows;
- Property skipInvalidRows : boolean Index 24 Read FskipInvalidRows Write SetskipInvalidRows;
- Property templateSuffix : String Index 32 Read FtemplateSuffix Write SettemplateSuffix;
- end;
- TTableDataInsertAllRequestClass = Class of TTableDataInsertAllRequest;
-
- { --------------------------------------------------------------------
- TTableDataInsertAllResponseTypeinsertErrorsItem
- --------------------------------------------------------------------}
-
- TTableDataInsertAllResponseTypeinsertErrorsItem = Class(TGoogleBaseObject)
- Private
- Ferrors : TTableDataInsertAllResponseTypeinsertErrorsItemTypeerrorsArray;
- Findex : integer;
- Protected
- //Property setters
- Procedure Seterrors(AIndex : Integer; const AValue : TTableDataInsertAllResponseTypeinsertErrorsItemTypeerrorsArray); virtual;
- Procedure Setindex(AIndex : Integer; const AValue : integer); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property errors : TTableDataInsertAllResponseTypeinsertErrorsItemTypeerrorsArray Index 0 Read Ferrors Write Seterrors;
- Property index : integer Index 8 Read Findex Write Setindex;
- end;
- TTableDataInsertAllResponseTypeinsertErrorsItemClass = Class of TTableDataInsertAllResponseTypeinsertErrorsItem;
-
- { --------------------------------------------------------------------
- TTableDataInsertAllResponse
- --------------------------------------------------------------------}
-
- TTableDataInsertAllResponse = Class(TGoogleBaseObject)
- Private
- FinsertErrors : TTableDataInsertAllResponseTypeinsertErrorsArray;
- Fkind : String;
- Protected
- //Property setters
- Procedure SetinsertErrors(AIndex : Integer; const AValue : TTableDataInsertAllResponseTypeinsertErrorsArray); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property insertErrors : TTableDataInsertAllResponseTypeinsertErrorsArray Index 0 Read FinsertErrors Write SetinsertErrors;
- Property kind : String Index 8 Read Fkind Write Setkind;
- end;
- TTableDataInsertAllResponseClass = Class of TTableDataInsertAllResponse;
-
- { --------------------------------------------------------------------
- TTableDataList
- --------------------------------------------------------------------}
-
- TTableDataList = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fkind : String;
- FpageToken : String;
- Frows : TTableDataListTyperowsArray;
- FtotalRows : String;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetpageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure Setrows(AIndex : Integer; const AValue : TTableDataListTyperowsArray); virtual;
- Procedure SettotalRows(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property kind : String Index 8 Read Fkind Write Setkind;
- Property pageToken : String Index 16 Read FpageToken Write SetpageToken;
- Property rows : TTableDataListTyperowsArray Index 24 Read Frows Write Setrows;
- Property totalRows : String Index 32 Read FtotalRows Write SettotalRows;
- end;
- TTableDataListClass = Class of TTableDataList;
-
- { --------------------------------------------------------------------
- TTableFieldSchema
- --------------------------------------------------------------------}
-
- TTableFieldSchema = Class(TGoogleBaseObject)
- Private
- Fdescription : String;
- Ffields : TTableFieldSchemaTypefieldsArray;
- Fmode : String;
- Fname : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure Setdescription(AIndex : Integer; const AValue : String); virtual;
- Procedure Setfields(AIndex : Integer; const AValue : TTableFieldSchemaTypefieldsArray); virtual;
- Procedure Setmode(AIndex : Integer; const AValue : String); virtual;
- Procedure Setname(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property description : String Index 0 Read Fdescription Write Setdescription;
- Property fields : TTableFieldSchemaTypefieldsArray Index 8 Read Ffields Write Setfields;
- Property mode : String Index 16 Read Fmode Write Setmode;
- Property name : String Index 24 Read Fname Write Setname;
- Property _type : String Index 32 Read F_type Write Set_type;
- end;
- TTableFieldSchemaClass = Class of TTableFieldSchema;
-
- { --------------------------------------------------------------------
- TTableListTypetablesItem
- --------------------------------------------------------------------}
-
- TTableListTypetablesItem = Class(TGoogleBaseObject)
- Private
- FfriendlyName : String;
- Fid : String;
- Fkind : String;
- FtableReference : TTableReference;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetfriendlyName(AIndex : Integer; const AValue : String); virtual;
- Procedure Setid(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SettableReference(AIndex : Integer; const AValue : TTableReference); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property friendlyName : String Index 0 Read FfriendlyName Write SetfriendlyName;
- Property id : String Index 8 Read Fid Write Setid;
- Property kind : String Index 16 Read Fkind Write Setkind;
- Property tableReference : TTableReference Index 24 Read FtableReference Write SettableReference;
- Property _type : String Index 32 Read F_type Write Set_type;
- end;
- TTableListTypetablesItemClass = Class of TTableListTypetablesItem;
-
- { --------------------------------------------------------------------
- TTableList
- --------------------------------------------------------------------}
-
- TTableList = Class(TGoogleBaseObject)
- Private
- Fetag : String;
- Fkind : String;
- FnextPageToken : String;
- Ftables : TTableListTypetablesArray;
- FtotalItems : integer;
- Protected
- //Property setters
- Procedure Setetag(AIndex : Integer; const AValue : String); virtual;
- Procedure Setkind(AIndex : Integer; const AValue : String); virtual;
- Procedure SetnextPageToken(AIndex : Integer; const AValue : String); virtual;
- Procedure Settables(AIndex : Integer; const AValue : TTableListTypetablesArray); virtual;
- Procedure SettotalItems(AIndex : Integer; const AValue : integer); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property etag : String Index 0 Read Fetag Write Setetag;
- Property kind : String Index 8 Read Fkind Write Setkind;
- Property nextPageToken : String Index 16 Read FnextPageToken Write SetnextPageToken;
- Property tables : TTableListTypetablesArray Index 24 Read Ftables Write Settables;
- Property totalItems : integer Index 32 Read FtotalItems Write SettotalItems;
- end;
- TTableListClass = Class of TTableList;
-
- { --------------------------------------------------------------------
- TTableReference
- --------------------------------------------------------------------}
-
- TTableReference = Class(TGoogleBaseObject)
- Private
- FdatasetId : String;
- FprojectId : String;
- FtableId : String;
- Protected
- //Property setters
- Procedure SetdatasetId(AIndex : Integer; const AValue : String); virtual;
- Procedure SetprojectId(AIndex : Integer; const AValue : String); virtual;
- Procedure SettableId(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property datasetId : String Index 0 Read FdatasetId Write SetdatasetId;
- Property projectId : String Index 8 Read FprojectId Write SetprojectId;
- Property tableId : String Index 16 Read FtableId Write SettableId;
- end;
- TTableReferenceClass = Class of TTableReference;
-
- { --------------------------------------------------------------------
- TTableRow
- --------------------------------------------------------------------}
-
- TTableRow = Class(TGoogleBaseObject)
- Private
- Ff : TTableRowTypefArray;
- Protected
- //Property setters
- Procedure Setf(AIndex : Integer; const AValue : TTableRowTypefArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property f : TTableRowTypefArray Index 0 Read Ff Write Setf;
- end;
- TTableRowClass = Class of TTableRow;
-
- { --------------------------------------------------------------------
- TTableSchema
- --------------------------------------------------------------------}
-
- TTableSchema = Class(TGoogleBaseObject)
- Private
- Ffields : TTableSchemaTypefieldsArray;
- Protected
- //Property setters
- Procedure Setfields(AIndex : Integer; const AValue : TTableSchemaTypefieldsArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property fields : TTableSchemaTypefieldsArray Index 0 Read Ffields Write Setfields;
- end;
- TTableSchemaClass = Class of TTableSchema;
-
- { --------------------------------------------------------------------
- TTimePartitioning
- --------------------------------------------------------------------}
-
- TTimePartitioning = Class(TGoogleBaseObject)
- Private
- FexpirationMs : String;
- F_type : String;
- Protected
- Class Function ExportPropertyName(Const AName : String) : string; override;
- //Property setters
- Procedure SetexpirationMs(AIndex : Integer; const AValue : String); virtual;
- Procedure Set_type(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property expirationMs : String Index 0 Read FexpirationMs Write SetexpirationMs;
- Property _type : String Index 8 Read F_type Write Set_type;
- end;
- TTimePartitioningClass = Class of TTimePartitioning;
-
- { --------------------------------------------------------------------
- TUserDefinedFunctionResource
- --------------------------------------------------------------------}
-
- TUserDefinedFunctionResource = Class(TGoogleBaseObject)
- Private
- FinlineCode : String;
- FresourceUri : String;
- Protected
- //Property setters
- Procedure SetinlineCode(AIndex : Integer; const AValue : String); virtual;
- Procedure SetresourceUri(AIndex : Integer; const AValue : String); virtual;
- Public
- Published
- Property inlineCode : String Index 0 Read FinlineCode Write SetinlineCode;
- Property resourceUri : String Index 8 Read FresourceUri Write SetresourceUri;
- end;
- TUserDefinedFunctionResourceClass = Class of TUserDefinedFunctionResource;
-
- { --------------------------------------------------------------------
- TViewDefinition
- --------------------------------------------------------------------}
-
- TViewDefinition = Class(TGoogleBaseObject)
- Private
- Fquery : String;
- FuserDefinedFunctionResources : TViewDefinitionTypeuserDefinedFunctionResourcesArray;
- Protected
- //Property setters
- Procedure Setquery(AIndex : Integer; const AValue : String); virtual;
- Procedure SetuserDefinedFunctionResources(AIndex : Integer; const AValue : TViewDefinitionTypeuserDefinedFunctionResourcesArray); virtual;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure SetArrayLength(Const AName : String; ALength : Longint); override;
- {$ENDIF VER2_6}
- Public
- Published
- Property query : String Index 0 Read Fquery Write Setquery;
- Property userDefinedFunctionResources : TViewDefinitionTypeuserDefinedFunctionResourcesArray Index 8 Read FuserDefinedFunctionResources Write SetuserDefinedFunctionResources;
- end;
- TViewDefinitionClass = Class of TViewDefinition;
-
- { --------------------------------------------------------------------
- TDatasetsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TDatasetsResource, method Delete
-
- TDatasetsDeleteOptions = Record
- deleteContents : boolean;
- end;
-
-
- //Optional query Options for TDatasetsResource, method List
-
- TDatasetsListOptions = Record
- all : boolean;
- maxResults : integer;
- pageToken : String;
- end;
-
- TDatasetsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(datasetId: string; projectId: string; AQuery : string = '');
- Procedure Delete(datasetId: string; projectId: string; AQuery : TDatasetsdeleteOptions);
- Function Get(datasetId: string; projectId: string) : TDataset;
- Function Insert(projectId: string; aDataset : TDataset) : TDataset;
- Function List(projectId: string; AQuery : string = '') : TDatasetList;
- Function List(projectId: string; AQuery : TDatasetslistOptions) : TDatasetList;
- Function Patch(datasetId: string; projectId: string; aDataset : TDataset) : TDataset;
- Function Update(datasetId: string; projectId: string; aDataset : TDataset) : TDataset;
- end;
-
-
- { --------------------------------------------------------------------
- TJobsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TJobsResource, method GetQueryResults
-
- TJobsGetQueryResultsOptions = Record
- maxResults : integer;
- pageToken : String;
- startIndex : String;
- timeoutMs : integer;
- end;
-
-
- //Optional query Options for TJobsResource, method List
-
- TJobsListOptions = Record
- allUsers : boolean;
- maxResults : integer;
- pageToken : String;
- projection : String;
- stateFilter : String;
- end;
-
- TJobsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function Cancel(jobId: string; projectId: string) : TJobCancelResponse;
- Function Get(jobId: string; projectId: string) : TJob;
- Function GetQueryResults(jobId: string; projectId: string; AQuery : string = '') : TGetQueryResultsResponse;
- Function GetQueryResults(jobId: string; projectId: string; AQuery : TJobsgetQueryResultsOptions) : TGetQueryResultsResponse;
- Function Insert(projectId: string; aJob : TJob) : TJob;
- Function List(projectId: string; AQuery : string = '') : TJobList;
- Function List(projectId: string; AQuery : TJobslistOptions) : TJobList;
- Function Query(projectId: string; aQueryRequest : TQueryRequest) : TQueryResponse;
- end;
-
-
- { --------------------------------------------------------------------
- TProjectsResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TProjectsResource, method List
-
- TProjectsListOptions = Record
- maxResults : integer;
- pageToken : String;
- end;
-
- TProjectsResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function List(AQuery : string = '') : TProjectList;
- Function List(AQuery : TProjectslistOptions) : TProjectList;
- end;
-
-
- { --------------------------------------------------------------------
- TTabledataResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TTabledataResource, method List
-
- TTabledataListOptions = Record
- maxResults : integer;
- pageToken : String;
- startIndex : String;
- end;
-
- TTabledataResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Function InsertAll(datasetId: string; projectId: string; tableId: string; aTableDataInsertAllRequest : TTableDataInsertAllRequest) : TTableDataInsertAllResponse;
- Function List(datasetId: string; projectId: string; tableId: string; AQuery : string = '') : TTableDataList;
- Function List(datasetId: string; projectId: string; tableId: string; AQuery : TTabledatalistOptions) : TTableDataList;
- end;
-
-
- { --------------------------------------------------------------------
- TTablesResource
- --------------------------------------------------------------------}
-
-
- //Optional query Options for TTablesResource, method List
-
- TTablesListOptions = Record
- maxResults : integer;
- pageToken : String;
- end;
-
- TTablesResource = Class(TGoogleResource)
- Public
- Class Function ResourceName : String; override;
- Class Function DefaultAPI : TGoogleAPIClass; override;
- Procedure Delete(datasetId: string; projectId: string; tableId: string);
- Function Get(datasetId: string; projectId: string; tableId: string) : TTable;
- Function Insert(datasetId: string; projectId: string; aTable : TTable) : TTable;
- Function List(datasetId: string; projectId: string; AQuery : string = '') : TTableList;
- Function List(datasetId: string; projectId: string; AQuery : TTableslistOptions) : TTableList;
- Function Patch(datasetId: string; projectId: string; tableId: string; aTable : TTable) : TTable;
- Function Update(datasetId: string; projectId: string; tableId: string; aTable : TTable) : TTable;
- end;
-
-
- { --------------------------------------------------------------------
- TBigqueryAPI
- --------------------------------------------------------------------}
-
- TBigqueryAPI = Class(TGoogleAPI)
- Private
- FDatasetsInstance : TDatasetsResource;
- FJobsInstance : TJobsResource;
- FProjectsInstance : TProjectsResource;
- FTabledataInstance : TTabledataResource;
- FTablesInstance : TTablesResource;
- Function GetDatasetsInstance : TDatasetsResource;virtual;
- Function GetJobsInstance : TJobsResource;virtual;
- Function GetProjectsInstance : TProjectsResource;virtual;
- Function GetTabledataInstance : TTabledataResource;virtual;
- Function GetTablesInstance : TTablesResource;virtual;
- Public
- //Override class functions with API info
- Class Function APIName : String; override;
- Class Function APIVersion : String; override;
- Class Function APIRevision : String; override;
- Class Function APIID : String; override;
- Class Function APITitle : String; override;
- Class Function APIDescription : String; override;
- Class Function APIOwnerDomain : String; override;
- Class Function APIOwnerName : String; override;
- Class Function APIIcon16 : String; override;
- Class Function APIIcon32 : String; override;
- Class Function APIdocumentationLink : String; override;
- Class Function APIrootUrl : string; override;
- Class Function APIbasePath : string;override;
- Class Function APIbaseURL : String;override;
- Class Function APIProtocol : string;override;
- Class Function APIservicePath : string;override;
- Class Function APIbatchPath : String;override;
- Class Function APIAuthScopes : TScopeInfoArray;override;
- Class Function APINeedsAuth : Boolean;override;
- Class Procedure RegisterAPIResources; override;
- //Add create function for resources
- Function CreateDatasetsResource(AOwner : TComponent) : TDatasetsResource;virtual;overload;
- Function CreateDatasetsResource : TDatasetsResource;virtual;overload;
- Function CreateJobsResource(AOwner : TComponent) : TJobsResource;virtual;overload;
- Function CreateJobsResource : TJobsResource;virtual;overload;
- Function CreateProjectsResource(AOwner : TComponent) : TProjectsResource;virtual;overload;
- Function CreateProjectsResource : TProjectsResource;virtual;overload;
- Function CreateTabledataResource(AOwner : TComponent) : TTabledataResource;virtual;overload;
- Function CreateTabledataResource : TTabledataResource;virtual;overload;
- Function CreateTablesResource(AOwner : TComponent) : TTablesResource;virtual;overload;
- Function CreateTablesResource : TTablesResource;virtual;overload;
- //Add default on-demand instances for resources
- Property DatasetsResource : TDatasetsResource Read GetDatasetsInstance;
- Property JobsResource : TJobsResource Read GetJobsInstance;
- Property ProjectsResource : TProjectsResource Read GetProjectsInstance;
- Property TabledataResource : TTabledataResource Read GetTabledataInstance;
- Property TablesResource : TTablesResource Read GetTablesInstance;
- end;
- implementation
- { --------------------------------------------------------------------
- TBigtableColumn
- --------------------------------------------------------------------}
- Procedure TBigtableColumn.Setencoding(AIndex : Integer; const AValue : String);
- begin
- If (Fencoding=AValue) then exit;
- Fencoding:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TBigtableColumn.SetfieldName(AIndex : Integer; const AValue : String);
- begin
- If (FfieldName=AValue) then exit;
- FfieldName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TBigtableColumn.SetonlyReadLatest(AIndex : Integer; const AValue : boolean);
- begin
- If (FonlyReadLatest=AValue) then exit;
- FonlyReadLatest:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TBigtableColumn.SetqualifierEncoded(AIndex : Integer; const AValue : String);
- begin
- If (FqualifierEncoded=AValue) then exit;
- FqualifierEncoded:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TBigtableColumn.SetqualifierString(AIndex : Integer; const AValue : String);
- begin
- If (FqualifierString=AValue) then exit;
- FqualifierString:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TBigtableColumn.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TBigtableColumn.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TBigtableColumnFamily
- --------------------------------------------------------------------}
- Procedure TBigtableColumnFamily.Setcolumns(AIndex : Integer; const AValue : TBigtableColumnFamilyTypecolumnsArray);
- begin
- If (Fcolumns=AValue) then exit;
- Fcolumns:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TBigtableColumnFamily.Setencoding(AIndex : Integer; const AValue : String);
- begin
- If (Fencoding=AValue) then exit;
- Fencoding:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TBigtableColumnFamily.SetfamilyId(AIndex : Integer; const AValue : String);
- begin
- If (FfamilyId=AValue) then exit;
- FfamilyId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TBigtableColumnFamily.SetonlyReadLatest(AIndex : Integer; const AValue : boolean);
- begin
- If (FonlyReadLatest=AValue) then exit;
- FonlyReadLatest:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TBigtableColumnFamily.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TBigtableColumnFamily.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TBigtableColumnFamily.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'columns' : SetLength(Fcolumns,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TBigtableOptions
- --------------------------------------------------------------------}
- Procedure TBigtableOptions.SetcolumnFamilies(AIndex : Integer; const AValue : TBigtableOptionsTypecolumnFamiliesArray);
- begin
- If (FcolumnFamilies=AValue) then exit;
- FcolumnFamilies:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TBigtableOptions.SetignoreUnspecifiedColumnFamilies(AIndex : Integer; const AValue : boolean);
- begin
- If (FignoreUnspecifiedColumnFamilies=AValue) then exit;
- FignoreUnspecifiedColumnFamilies:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TBigtableOptions.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'columnfamilies' : SetLength(FcolumnFamilies,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TCsvOptions
- --------------------------------------------------------------------}
- Procedure TCsvOptions.SetallowJaggedRows(AIndex : Integer; const AValue : boolean);
- begin
- If (FallowJaggedRows=AValue) then exit;
- FallowJaggedRows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCsvOptions.SetallowQuotedNewlines(AIndex : Integer; const AValue : boolean);
- begin
- If (FallowQuotedNewlines=AValue) then exit;
- FallowQuotedNewlines:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCsvOptions.Setencoding(AIndex : Integer; const AValue : String);
- begin
- If (Fencoding=AValue) then exit;
- Fencoding:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCsvOptions.SetfieldDelimiter(AIndex : Integer; const AValue : String);
- begin
- If (FfieldDelimiter=AValue) then exit;
- FfieldDelimiter:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCsvOptions.Setquote(AIndex : Integer; const AValue : String);
- begin
- If (Fquote=AValue) then exit;
- Fquote:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TCsvOptions.SetskipLeadingRows(AIndex : Integer; const AValue : String);
- begin
- If (FskipLeadingRows=AValue) then exit;
- FskipLeadingRows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TDatasetTypeaccessItem
- --------------------------------------------------------------------}
- Procedure TDatasetTypeaccessItem.Setdomain(AIndex : Integer; const AValue : String);
- begin
- If (Fdomain=AValue) then exit;
- Fdomain:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatasetTypeaccessItem.SetgroupByEmail(AIndex : Integer; const AValue : String);
- begin
- If (FgroupByEmail=AValue) then exit;
- FgroupByEmail:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatasetTypeaccessItem.Setrole(AIndex : Integer; const AValue : String);
- begin
- If (Frole=AValue) then exit;
- Frole:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatasetTypeaccessItem.SetspecialGroup(AIndex : Integer; const AValue : String);
- begin
- If (FspecialGroup=AValue) then exit;
- FspecialGroup:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatasetTypeaccessItem.SetuserByEmail(AIndex : Integer; const AValue : String);
- begin
- If (FuserByEmail=AValue) then exit;
- FuserByEmail:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatasetTypeaccessItem.Setview(AIndex : Integer; const AValue : TTableReference);
- begin
- If (Fview=AValue) then exit;
- Fview:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TDataset
- --------------------------------------------------------------------}
- Procedure TDataset.Setaccess(AIndex : Integer; const AValue : TDatasetTypeaccessArray);
- begin
- If (Faccess=AValue) then exit;
- Faccess:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDataset.SetcreationTime(AIndex : Integer; const AValue : String);
- begin
- If (FcreationTime=AValue) then exit;
- FcreationTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDataset.SetdatasetReference(AIndex : Integer; const AValue : TDatasetReference);
- begin
- If (FdatasetReference=AValue) then exit;
- FdatasetReference:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDataset.SetdefaultTableExpirationMs(AIndex : Integer; const AValue : String);
- begin
- If (FdefaultTableExpirationMs=AValue) then exit;
- FdefaultTableExpirationMs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDataset.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDataset.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDataset.SetfriendlyName(AIndex : Integer; const AValue : String);
- begin
- If (FfriendlyName=AValue) then exit;
- FfriendlyName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDataset.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDataset.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDataset.SetlastModifiedTime(AIndex : Integer; const AValue : String);
- begin
- If (FlastModifiedTime=AValue) then exit;
- FlastModifiedTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDataset.Setlocation(AIndex : Integer; const AValue : String);
- begin
- If (Flocation=AValue) then exit;
- Flocation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDataset.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TDataset.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'access' : SetLength(Faccess,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TDatasetListTypedatasetsItem
- --------------------------------------------------------------------}
- Procedure TDatasetListTypedatasetsItem.SetdatasetReference(AIndex : Integer; const AValue : TDatasetReference);
- begin
- If (FdatasetReference=AValue) then exit;
- FdatasetReference:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatasetListTypedatasetsItem.SetfriendlyName(AIndex : Integer; const AValue : String);
- begin
- If (FfriendlyName=AValue) then exit;
- FfriendlyName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatasetListTypedatasetsItem.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatasetListTypedatasetsItem.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TDatasetList
- --------------------------------------------------------------------}
- Procedure TDatasetList.Setdatasets(AIndex : Integer; const AValue : TDatasetListTypedatasetsArray);
- begin
- If (Fdatasets=AValue) then exit;
- Fdatasets:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatasetList.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatasetList.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatasetList.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TDatasetList.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'datasets' : SetLength(Fdatasets,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TDatasetReference
- --------------------------------------------------------------------}
- Procedure TDatasetReference.SetdatasetId(AIndex : Integer; const AValue : String);
- begin
- If (FdatasetId=AValue) then exit;
- FdatasetId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TDatasetReference.SetprojectId(AIndex : Integer; const AValue : String);
- begin
- If (FprojectId=AValue) then exit;
- FprojectId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TErrorProto
- --------------------------------------------------------------------}
- Procedure TErrorProto.SetdebugInfo(AIndex : Integer; const AValue : String);
- begin
- If (FdebugInfo=AValue) then exit;
- FdebugInfo:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TErrorProto.Setlocation(AIndex : Integer; const AValue : String);
- begin
- If (Flocation=AValue) then exit;
- Flocation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TErrorProto.Setmessage(AIndex : Integer; const AValue : String);
- begin
- If (Fmessage=AValue) then exit;
- Fmessage:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TErrorProto.Setreason(AIndex : Integer; const AValue : String);
- begin
- If (Freason=AValue) then exit;
- Freason:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TExplainQueryStage
- --------------------------------------------------------------------}
- Procedure TExplainQueryStage.SetcomputeRatioAvg(AIndex : Integer; const AValue : double);
- begin
- If (FcomputeRatioAvg=AValue) then exit;
- FcomputeRatioAvg:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStage.SetcomputeRatioMax(AIndex : Integer; const AValue : double);
- begin
- If (FcomputeRatioMax=AValue) then exit;
- FcomputeRatioMax:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStage.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStage.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStage.SetreadRatioAvg(AIndex : Integer; const AValue : double);
- begin
- If (FreadRatioAvg=AValue) then exit;
- FreadRatioAvg:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStage.SetreadRatioMax(AIndex : Integer; const AValue : double);
- begin
- If (FreadRatioMax=AValue) then exit;
- FreadRatioMax:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStage.SetrecordsRead(AIndex : Integer; const AValue : String);
- begin
- If (FrecordsRead=AValue) then exit;
- FrecordsRead:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStage.SetrecordsWritten(AIndex : Integer; const AValue : String);
- begin
- If (FrecordsWritten=AValue) then exit;
- FrecordsWritten:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStage.Setsteps(AIndex : Integer; const AValue : TExplainQueryStageTypestepsArray);
- begin
- If (Fsteps=AValue) then exit;
- Fsteps:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStage.SetwaitRatioAvg(AIndex : Integer; const AValue : double);
- begin
- If (FwaitRatioAvg=AValue) then exit;
- FwaitRatioAvg:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStage.SetwaitRatioMax(AIndex : Integer; const AValue : double);
- begin
- If (FwaitRatioMax=AValue) then exit;
- FwaitRatioMax:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStage.SetwriteRatioAvg(AIndex : Integer; const AValue : double);
- begin
- If (FwriteRatioAvg=AValue) then exit;
- FwriteRatioAvg:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStage.SetwriteRatioMax(AIndex : Integer; const AValue : double);
- begin
- If (FwriteRatioMax=AValue) then exit;
- FwriteRatioMax:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TExplainQueryStage.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'steps' : SetLength(Fsteps,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TExplainQueryStep
- --------------------------------------------------------------------}
- Procedure TExplainQueryStep.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExplainQueryStep.Setsubsteps(AIndex : Integer; const AValue : TStringArray);
- begin
- If (Fsubsteps=AValue) then exit;
- Fsubsteps:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TExplainQueryStep.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'substeps' : SetLength(Fsubsteps,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TExternalDataConfiguration
- --------------------------------------------------------------------}
- Procedure TExternalDataConfiguration.Setautodetect(AIndex : Integer; const AValue : boolean);
- begin
- If (Fautodetect=AValue) then exit;
- Fautodetect:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExternalDataConfiguration.SetbigtableOptions(AIndex : Integer; const AValue : TBigtableOptions);
- begin
- If (FbigtableOptions=AValue) then exit;
- FbigtableOptions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExternalDataConfiguration.Setcompression(AIndex : Integer; const AValue : String);
- begin
- If (Fcompression=AValue) then exit;
- Fcompression:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExternalDataConfiguration.SetcsvOptions(AIndex : Integer; const AValue : TCsvOptions);
- begin
- If (FcsvOptions=AValue) then exit;
- FcsvOptions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExternalDataConfiguration.SetgoogleSheetsOptions(AIndex : Integer; const AValue : TGoogleSheetsOptions);
- begin
- If (FgoogleSheetsOptions=AValue) then exit;
- FgoogleSheetsOptions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExternalDataConfiguration.SetignoreUnknownValues(AIndex : Integer; const AValue : boolean);
- begin
- If (FignoreUnknownValues=AValue) then exit;
- FignoreUnknownValues:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExternalDataConfiguration.SetmaxBadRecords(AIndex : Integer; const AValue : integer);
- begin
- If (FmaxBadRecords=AValue) then exit;
- FmaxBadRecords:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExternalDataConfiguration.Setschema(AIndex : Integer; const AValue : TTableSchema);
- begin
- If (Fschema=AValue) then exit;
- Fschema:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExternalDataConfiguration.SetsourceFormat(AIndex : Integer; const AValue : String);
- begin
- If (FsourceFormat=AValue) then exit;
- FsourceFormat:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TExternalDataConfiguration.SetsourceUris(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FsourceUris=AValue) then exit;
- FsourceUris:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TExternalDataConfiguration.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'sourceuris' : SetLength(FsourceUris,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TGetQueryResultsResponse
- --------------------------------------------------------------------}
- Procedure TGetQueryResultsResponse.SetcacheHit(AIndex : Integer; const AValue : boolean);
- begin
- If (FcacheHit=AValue) then exit;
- FcacheHit:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGetQueryResultsResponse.Seterrors(AIndex : Integer; const AValue : TGetQueryResultsResponseTypeerrorsArray);
- begin
- If (Ferrors=AValue) then exit;
- Ferrors:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGetQueryResultsResponse.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGetQueryResultsResponse.SetjobComplete(AIndex : Integer; const AValue : boolean);
- begin
- If (FjobComplete=AValue) then exit;
- FjobComplete:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGetQueryResultsResponse.SetjobReference(AIndex : Integer; const AValue : TJobReference);
- begin
- If (FjobReference=AValue) then exit;
- FjobReference:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGetQueryResultsResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGetQueryResultsResponse.SetpageToken(AIndex : Integer; const AValue : String);
- begin
- If (FpageToken=AValue) then exit;
- FpageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGetQueryResultsResponse.Setrows(AIndex : Integer; const AValue : TGetQueryResultsResponseTyperowsArray);
- begin
- If (Frows=AValue) then exit;
- Frows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGetQueryResultsResponse.Setschema(AIndex : Integer; const AValue : TTableSchema);
- begin
- If (Fschema=AValue) then exit;
- Fschema:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGetQueryResultsResponse.SettotalBytesProcessed(AIndex : Integer; const AValue : String);
- begin
- If (FtotalBytesProcessed=AValue) then exit;
- FtotalBytesProcessed:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TGetQueryResultsResponse.SettotalRows(AIndex : Integer; const AValue : String);
- begin
- If (FtotalRows=AValue) then exit;
- FtotalRows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TGetQueryResultsResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'errors' : SetLength(Ferrors,ALength);
- 'rows' : SetLength(Frows,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TGoogleSheetsOptions
- --------------------------------------------------------------------}
- Procedure TGoogleSheetsOptions.SetskipLeadingRows(AIndex : Integer; const AValue : String);
- begin
- If (FskipLeadingRows=AValue) then exit;
- FskipLeadingRows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TJob
- --------------------------------------------------------------------}
- Procedure TJob.Setconfiguration(AIndex : Integer; const AValue : TJobConfiguration);
- begin
- If (Fconfiguration=AValue) then exit;
- Fconfiguration:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJob.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJob.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJob.SetjobReference(AIndex : Integer; const AValue : TJobReference);
- begin
- If (FjobReference=AValue) then exit;
- FjobReference:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJob.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJob.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJob.Setstatistics(AIndex : Integer; const AValue : TJobStatistics);
- begin
- If (Fstatistics=AValue) then exit;
- Fstatistics:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJob.Setstatus(AIndex : Integer; const AValue : TJobStatus);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJob.Setuser_email(AIndex : Integer; const AValue : String);
- begin
- If (Fuser_email=AValue) then exit;
- Fuser_email:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TJobCancelResponse
- --------------------------------------------------------------------}
- Procedure TJobCancelResponse.Setjob(AIndex : Integer; const AValue : TJob);
- begin
- If (Fjob=AValue) then exit;
- Fjob:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobCancelResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TJobConfiguration
- --------------------------------------------------------------------}
- Procedure TJobConfiguration.Setcopy(AIndex : Integer; const AValue : TJobConfigurationTableCopy);
- begin
- If (Fcopy=AValue) then exit;
- Fcopy:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfiguration.SetdryRun(AIndex : Integer; const AValue : boolean);
- begin
- If (FdryRun=AValue) then exit;
- FdryRun:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfiguration.Setextract(AIndex : Integer; const AValue : TJobConfigurationExtract);
- begin
- If (Fextract=AValue) then exit;
- Fextract:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfiguration.Setload(AIndex : Integer; const AValue : TJobConfigurationLoad);
- begin
- If (Fload=AValue) then exit;
- Fload:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfiguration.Setquery(AIndex : Integer; const AValue : TJobConfigurationQuery);
- begin
- If (Fquery=AValue) then exit;
- Fquery:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TJobConfigurationExtract
- --------------------------------------------------------------------}
- Procedure TJobConfigurationExtract.Setcompression(AIndex : Integer; const AValue : String);
- begin
- If (Fcompression=AValue) then exit;
- Fcompression:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationExtract.SetdestinationFormat(AIndex : Integer; const AValue : String);
- begin
- If (FdestinationFormat=AValue) then exit;
- FdestinationFormat:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationExtract.SetdestinationUri(AIndex : Integer; const AValue : String);
- begin
- If (FdestinationUri=AValue) then exit;
- FdestinationUri:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationExtract.SetdestinationUris(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FdestinationUris=AValue) then exit;
- FdestinationUris:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationExtract.SetfieldDelimiter(AIndex : Integer; const AValue : String);
- begin
- If (FfieldDelimiter=AValue) then exit;
- FfieldDelimiter:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationExtract.SetprintHeader(AIndex : Integer; const AValue : boolean);
- begin
- If (FprintHeader=AValue) then exit;
- FprintHeader:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationExtract.SetsourceTable(AIndex : Integer; const AValue : TTableReference);
- begin
- If (FsourceTable=AValue) then exit;
- FsourceTable:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TJobConfigurationExtract.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'destinationuris' : SetLength(FdestinationUris,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TJobConfigurationLoad
- --------------------------------------------------------------------}
- Procedure TJobConfigurationLoad.SetallowJaggedRows(AIndex : Integer; const AValue : boolean);
- begin
- If (FallowJaggedRows=AValue) then exit;
- FallowJaggedRows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetallowQuotedNewlines(AIndex : Integer; const AValue : boolean);
- begin
- If (FallowQuotedNewlines=AValue) then exit;
- FallowQuotedNewlines:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.Setautodetect(AIndex : Integer; const AValue : boolean);
- begin
- If (Fautodetect=AValue) then exit;
- Fautodetect:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetcreateDisposition(AIndex : Integer; const AValue : String);
- begin
- If (FcreateDisposition=AValue) then exit;
- FcreateDisposition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetdestinationTable(AIndex : Integer; const AValue : TTableReference);
- begin
- If (FdestinationTable=AValue) then exit;
- FdestinationTable:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.Setencoding(AIndex : Integer; const AValue : String);
- begin
- If (Fencoding=AValue) then exit;
- Fencoding:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetfieldDelimiter(AIndex : Integer; const AValue : String);
- begin
- If (FfieldDelimiter=AValue) then exit;
- FfieldDelimiter:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetignoreUnknownValues(AIndex : Integer; const AValue : boolean);
- begin
- If (FignoreUnknownValues=AValue) then exit;
- FignoreUnknownValues:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetmaxBadRecords(AIndex : Integer; const AValue : integer);
- begin
- If (FmaxBadRecords=AValue) then exit;
- FmaxBadRecords:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetprojectionFields(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FprojectionFields=AValue) then exit;
- FprojectionFields:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.Setquote(AIndex : Integer; const AValue : String);
- begin
- If (Fquote=AValue) then exit;
- Fquote:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.Setschema(AIndex : Integer; const AValue : TTableSchema);
- begin
- If (Fschema=AValue) then exit;
- Fschema:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetschemaInline(AIndex : Integer; const AValue : String);
- begin
- If (FschemaInline=AValue) then exit;
- FschemaInline:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetschemaInlineFormat(AIndex : Integer; const AValue : String);
- begin
- If (FschemaInlineFormat=AValue) then exit;
- FschemaInlineFormat:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetskipLeadingRows(AIndex : Integer; const AValue : integer);
- begin
- If (FskipLeadingRows=AValue) then exit;
- FskipLeadingRows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetsourceFormat(AIndex : Integer; const AValue : String);
- begin
- If (FsourceFormat=AValue) then exit;
- FsourceFormat:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetsourceUris(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FsourceUris=AValue) then exit;
- FsourceUris:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationLoad.SetwriteDisposition(AIndex : Integer; const AValue : String);
- begin
- If (FwriteDisposition=AValue) then exit;
- FwriteDisposition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TJobConfigurationLoad.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'projectionfields' : SetLength(FprojectionFields,ALength);
- 'sourceuris' : SetLength(FsourceUris,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TJobConfigurationQueryTypetableDefinitions
- --------------------------------------------------------------------}
- Class Function TJobConfigurationQueryTypetableDefinitions.AllowAdditionalProperties : Boolean;
- begin
- Result:=True;
- end;
- { --------------------------------------------------------------------
- TJobConfigurationQuery
- --------------------------------------------------------------------}
- Procedure TJobConfigurationQuery.SetallowLargeResults(AIndex : Integer; const AValue : boolean);
- begin
- If (FallowLargeResults=AValue) then exit;
- FallowLargeResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.SetcreateDisposition(AIndex : Integer; const AValue : String);
- begin
- If (FcreateDisposition=AValue) then exit;
- FcreateDisposition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.SetdefaultDataset(AIndex : Integer; const AValue : TDatasetReference);
- begin
- If (FdefaultDataset=AValue) then exit;
- FdefaultDataset:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.SetdestinationTable(AIndex : Integer; const AValue : TTableReference);
- begin
- If (FdestinationTable=AValue) then exit;
- FdestinationTable:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.SetflattenResults(AIndex : Integer; const AValue : boolean);
- begin
- If (FflattenResults=AValue) then exit;
- FflattenResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.SetmaximumBillingTier(AIndex : Integer; const AValue : integer);
- begin
- If (FmaximumBillingTier=AValue) then exit;
- FmaximumBillingTier:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.SetpreserveNulls(AIndex : Integer; const AValue : boolean);
- begin
- If (FpreserveNulls=AValue) then exit;
- FpreserveNulls:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.Setpriority(AIndex : Integer; const AValue : String);
- begin
- If (Fpriority=AValue) then exit;
- Fpriority:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.Setquery(AIndex : Integer; const AValue : String);
- begin
- If (Fquery=AValue) then exit;
- Fquery:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.SettableDefinitions(AIndex : Integer; const AValue : TJobConfigurationQueryTypetableDefinitions);
- begin
- If (FtableDefinitions=AValue) then exit;
- FtableDefinitions:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.SetuseLegacySql(AIndex : Integer; const AValue : boolean);
- begin
- If (FuseLegacySql=AValue) then exit;
- FuseLegacySql:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.SetuseQueryCache(AIndex : Integer; const AValue : boolean);
- begin
- If (FuseQueryCache=AValue) then exit;
- FuseQueryCache:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.SetuserDefinedFunctionResources(AIndex : Integer; const AValue : TJobConfigurationQueryTypeuserDefinedFunctionResourcesArray);
- begin
- If (FuserDefinedFunctionResources=AValue) then exit;
- FuserDefinedFunctionResources:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationQuery.SetwriteDisposition(AIndex : Integer; const AValue : String);
- begin
- If (FwriteDisposition=AValue) then exit;
- FwriteDisposition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TJobConfigurationQuery.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'userdefinedfunctionresources' : SetLength(FuserDefinedFunctionResources,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TJobConfigurationTableCopy
- --------------------------------------------------------------------}
- Procedure TJobConfigurationTableCopy.SetcreateDisposition(AIndex : Integer; const AValue : String);
- begin
- If (FcreateDisposition=AValue) then exit;
- FcreateDisposition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationTableCopy.SetdestinationTable(AIndex : Integer; const AValue : TTableReference);
- begin
- If (FdestinationTable=AValue) then exit;
- FdestinationTable:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationTableCopy.SetsourceTable(AIndex : Integer; const AValue : TTableReference);
- begin
- If (FsourceTable=AValue) then exit;
- FsourceTable:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationTableCopy.SetsourceTables(AIndex : Integer; const AValue : TJobConfigurationTableCopyTypesourceTablesArray);
- begin
- If (FsourceTables=AValue) then exit;
- FsourceTables:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobConfigurationTableCopy.SetwriteDisposition(AIndex : Integer; const AValue : String);
- begin
- If (FwriteDisposition=AValue) then exit;
- FwriteDisposition:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TJobConfigurationTableCopy.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'sourcetables' : SetLength(FsourceTables,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TJobListTypejobsItem
- --------------------------------------------------------------------}
- Procedure TJobListTypejobsItem.Setconfiguration(AIndex : Integer; const AValue : TJobConfiguration);
- begin
- If (Fconfiguration=AValue) then exit;
- Fconfiguration:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobListTypejobsItem.SeterrorResult(AIndex : Integer; const AValue : TErrorProto);
- begin
- If (FerrorResult=AValue) then exit;
- FerrorResult:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobListTypejobsItem.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobListTypejobsItem.SetjobReference(AIndex : Integer; const AValue : TJobReference);
- begin
- If (FjobReference=AValue) then exit;
- FjobReference:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobListTypejobsItem.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobListTypejobsItem.Setstate(AIndex : Integer; const AValue : String);
- begin
- If (Fstate=AValue) then exit;
- Fstate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobListTypejobsItem.Setstatistics(AIndex : Integer; const AValue : TJobStatistics);
- begin
- If (Fstatistics=AValue) then exit;
- Fstatistics:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobListTypejobsItem.Setstatus(AIndex : Integer; const AValue : TJobStatus);
- begin
- If (Fstatus=AValue) then exit;
- Fstatus:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobListTypejobsItem.Setuser_email(AIndex : Integer; const AValue : String);
- begin
- If (Fuser_email=AValue) then exit;
- Fuser_email:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TJobList
- --------------------------------------------------------------------}
- Procedure TJobList.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobList.Setjobs(AIndex : Integer; const AValue : TJobListTypejobsArray);
- begin
- If (Fjobs=AValue) then exit;
- Fjobs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobList.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobList.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TJobList.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'jobs' : SetLength(Fjobs,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TJobReference
- --------------------------------------------------------------------}
- Procedure TJobReference.SetjobId(AIndex : Integer; const AValue : String);
- begin
- If (FjobId=AValue) then exit;
- FjobId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobReference.SetprojectId(AIndex : Integer; const AValue : String);
- begin
- If (FprojectId=AValue) then exit;
- FprojectId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TJobStatistics
- --------------------------------------------------------------------}
- Procedure TJobStatistics.SetcreationTime(AIndex : Integer; const AValue : String);
- begin
- If (FcreationTime=AValue) then exit;
- FcreationTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics.SetendTime(AIndex : Integer; const AValue : String);
- begin
- If (FendTime=AValue) then exit;
- FendTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics.Setextract(AIndex : Integer; const AValue : TJobStatistics4);
- begin
- If (Fextract=AValue) then exit;
- Fextract:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics.Setload(AIndex : Integer; const AValue : TJobStatistics3);
- begin
- If (Fload=AValue) then exit;
- Fload:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics.Setquery(AIndex : Integer; const AValue : TJobStatistics2);
- begin
- If (Fquery=AValue) then exit;
- Fquery:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics.SetstartTime(AIndex : Integer; const AValue : String);
- begin
- If (FstartTime=AValue) then exit;
- FstartTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics.SettotalBytesProcessed(AIndex : Integer; const AValue : String);
- begin
- If (FtotalBytesProcessed=AValue) then exit;
- FtotalBytesProcessed:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TJobStatistics2
- --------------------------------------------------------------------}
- Procedure TJobStatistics2.SetbillingTier(AIndex : Integer; const AValue : integer);
- begin
- If (FbillingTier=AValue) then exit;
- FbillingTier:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics2.SetcacheHit(AIndex : Integer; const AValue : boolean);
- begin
- If (FcacheHit=AValue) then exit;
- FcacheHit:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics2.SetqueryPlan(AIndex : Integer; const AValue : TJobStatistics2TypequeryPlanArray);
- begin
- If (FqueryPlan=AValue) then exit;
- FqueryPlan:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics2.SetreferencedTables(AIndex : Integer; const AValue : TJobStatistics2TypereferencedTablesArray);
- begin
- If (FreferencedTables=AValue) then exit;
- FreferencedTables:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics2.Setschema(AIndex : Integer; const AValue : TTableSchema);
- begin
- If (Fschema=AValue) then exit;
- Fschema:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics2.SettotalBytesBilled(AIndex : Integer; const AValue : String);
- begin
- If (FtotalBytesBilled=AValue) then exit;
- FtotalBytesBilled:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics2.SettotalBytesProcessed(AIndex : Integer; const AValue : String);
- begin
- If (FtotalBytesProcessed=AValue) then exit;
- FtotalBytesProcessed:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TJobStatistics2.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'queryplan' : SetLength(FqueryPlan,ALength);
- 'referencedtables' : SetLength(FreferencedTables,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TJobStatistics3
- --------------------------------------------------------------------}
- Procedure TJobStatistics3.SetinputFileBytes(AIndex : Integer; const AValue : String);
- begin
- If (FinputFileBytes=AValue) then exit;
- FinputFileBytes:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics3.SetinputFiles(AIndex : Integer; const AValue : String);
- begin
- If (FinputFiles=AValue) then exit;
- FinputFiles:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics3.SetoutputBytes(AIndex : Integer; const AValue : String);
- begin
- If (FoutputBytes=AValue) then exit;
- FoutputBytes:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatistics3.SetoutputRows(AIndex : Integer; const AValue : String);
- begin
- If (FoutputRows=AValue) then exit;
- FoutputRows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TJobStatistics4
- --------------------------------------------------------------------}
- Procedure TJobStatistics4.SetdestinationUriFileCounts(AIndex : Integer; const AValue : TStringArray);
- begin
- If (FdestinationUriFileCounts=AValue) then exit;
- FdestinationUriFileCounts:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TJobStatistics4.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'destinationurifilecounts' : SetLength(FdestinationUriFileCounts,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TJobStatus
- --------------------------------------------------------------------}
- Procedure TJobStatus.SeterrorResult(AIndex : Integer; const AValue : TErrorProto);
- begin
- If (FerrorResult=AValue) then exit;
- FerrorResult:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatus.Seterrors(AIndex : Integer; const AValue : TJobStatusTypeerrorsArray);
- begin
- If (Ferrors=AValue) then exit;
- Ferrors:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TJobStatus.Setstate(AIndex : Integer; const AValue : String);
- begin
- If (Fstate=AValue) then exit;
- Fstate:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TJobStatus.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'errors' : SetLength(Ferrors,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TJsonObject
- --------------------------------------------------------------------}
- Class Function TJsonObject.AllowAdditionalProperties : Boolean;
- begin
- Result:=True;
- end;
- { --------------------------------------------------------------------
- TProjectListTypeprojectsItem
- --------------------------------------------------------------------}
- Procedure TProjectListTypeprojectsItem.SetfriendlyName(AIndex : Integer; const AValue : String);
- begin
- If (FfriendlyName=AValue) then exit;
- FfriendlyName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProjectListTypeprojectsItem.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProjectListTypeprojectsItem.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProjectListTypeprojectsItem.SetnumericId(AIndex : Integer; const AValue : String);
- begin
- If (FnumericId=AValue) then exit;
- FnumericId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProjectListTypeprojectsItem.SetprojectReference(AIndex : Integer; const AValue : TProjectReference);
- begin
- If (FprojectReference=AValue) then exit;
- FprojectReference:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TProjectList
- --------------------------------------------------------------------}
- Procedure TProjectList.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProjectList.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProjectList.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProjectList.Setprojects(AIndex : Integer; const AValue : TProjectListTypeprojectsArray);
- begin
- If (Fprojects=AValue) then exit;
- Fprojects:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TProjectList.SettotalItems(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalItems=AValue) then exit;
- FtotalItems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TProjectList.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'projects' : SetLength(Fprojects,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TProjectReference
- --------------------------------------------------------------------}
- Procedure TProjectReference.SetprojectId(AIndex : Integer; const AValue : String);
- begin
- If (FprojectId=AValue) then exit;
- FprojectId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TQueryRequest
- --------------------------------------------------------------------}
- Procedure TQueryRequest.SetdefaultDataset(AIndex : Integer; const AValue : TDatasetReference);
- begin
- If (FdefaultDataset=AValue) then exit;
- FdefaultDataset:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryRequest.SetdryRun(AIndex : Integer; const AValue : boolean);
- begin
- If (FdryRun=AValue) then exit;
- FdryRun:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryRequest.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryRequest.SetmaxResults(AIndex : Integer; const AValue : integer);
- begin
- If (FmaxResults=AValue) then exit;
- FmaxResults:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryRequest.SetpreserveNulls(AIndex : Integer; const AValue : boolean);
- begin
- If (FpreserveNulls=AValue) then exit;
- FpreserveNulls:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryRequest.Setquery(AIndex : Integer; const AValue : String);
- begin
- If (Fquery=AValue) then exit;
- Fquery:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryRequest.SettimeoutMs(AIndex : Integer; const AValue : integer);
- begin
- If (FtimeoutMs=AValue) then exit;
- FtimeoutMs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryRequest.SetuseLegacySql(AIndex : Integer; const AValue : boolean);
- begin
- If (FuseLegacySql=AValue) then exit;
- FuseLegacySql:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryRequest.SetuseQueryCache(AIndex : Integer; const AValue : boolean);
- begin
- If (FuseQueryCache=AValue) then exit;
- FuseQueryCache:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TQueryResponse
- --------------------------------------------------------------------}
- Procedure TQueryResponse.SetcacheHit(AIndex : Integer; const AValue : boolean);
- begin
- If (FcacheHit=AValue) then exit;
- FcacheHit:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryResponse.Seterrors(AIndex : Integer; const AValue : TQueryResponseTypeerrorsArray);
- begin
- If (Ferrors=AValue) then exit;
- Ferrors:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryResponse.SetjobComplete(AIndex : Integer; const AValue : boolean);
- begin
- If (FjobComplete=AValue) then exit;
- FjobComplete:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryResponse.SetjobReference(AIndex : Integer; const AValue : TJobReference);
- begin
- If (FjobReference=AValue) then exit;
- FjobReference:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryResponse.SetpageToken(AIndex : Integer; const AValue : String);
- begin
- If (FpageToken=AValue) then exit;
- FpageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryResponse.Setrows(AIndex : Integer; const AValue : TQueryResponseTyperowsArray);
- begin
- If (Frows=AValue) then exit;
- Frows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryResponse.Setschema(AIndex : Integer; const AValue : TTableSchema);
- begin
- If (Fschema=AValue) then exit;
- Fschema:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryResponse.SettotalBytesProcessed(AIndex : Integer; const AValue : String);
- begin
- If (FtotalBytesProcessed=AValue) then exit;
- FtotalBytesProcessed:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TQueryResponse.SettotalRows(AIndex : Integer; const AValue : String);
- begin
- If (FtotalRows=AValue) then exit;
- FtotalRows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TQueryResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'errors' : SetLength(Ferrors,ALength);
- 'rows' : SetLength(Frows,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TStreamingbuffer
- --------------------------------------------------------------------}
- Procedure TStreamingbuffer.SetestimatedBytes(AIndex : Integer; const AValue : String);
- begin
- If (FestimatedBytes=AValue) then exit;
- FestimatedBytes:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStreamingbuffer.SetestimatedRows(AIndex : Integer; const AValue : String);
- begin
- If (FestimatedRows=AValue) then exit;
- FestimatedRows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TStreamingbuffer.SetoldestEntryTime(AIndex : Integer; const AValue : String);
- begin
- If (FoldestEntryTime=AValue) then exit;
- FoldestEntryTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TTable
- --------------------------------------------------------------------}
- Procedure TTable.SetcreationTime(AIndex : Integer; const AValue : String);
- begin
- If (FcreationTime=AValue) then exit;
- FcreationTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.SetexpirationTime(AIndex : Integer; const AValue : String);
- begin
- If (FexpirationTime=AValue) then exit;
- FexpirationTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.SetexternalDataConfiguration(AIndex : Integer; const AValue : TExternalDataConfiguration);
- begin
- If (FexternalDataConfiguration=AValue) then exit;
- FexternalDataConfiguration:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.SetfriendlyName(AIndex : Integer; const AValue : String);
- begin
- If (FfriendlyName=AValue) then exit;
- FfriendlyName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.SetlastModifiedTime(AIndex : Integer; const AValue : String);
- begin
- If (FlastModifiedTime=AValue) then exit;
- FlastModifiedTime:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.Setlocation(AIndex : Integer; const AValue : String);
- begin
- If (Flocation=AValue) then exit;
- Flocation:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.SetnumBytes(AIndex : Integer; const AValue : String);
- begin
- If (FnumBytes=AValue) then exit;
- FnumBytes:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.SetnumLongTermBytes(AIndex : Integer; const AValue : String);
- begin
- If (FnumLongTermBytes=AValue) then exit;
- FnumLongTermBytes:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.SetnumRows(AIndex : Integer; const AValue : String);
- begin
- If (FnumRows=AValue) then exit;
- FnumRows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.Setschema(AIndex : Integer; const AValue : TTableSchema);
- begin
- If (Fschema=AValue) then exit;
- Fschema:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.SetselfLink(AIndex : Integer; const AValue : String);
- begin
- If (FselfLink=AValue) then exit;
- FselfLink:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.SetstreamingBuffer(AIndex : Integer; const AValue : TStreamingbuffer);
- begin
- If (FstreamingBuffer=AValue) then exit;
- FstreamingBuffer:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.SettableReference(AIndex : Integer; const AValue : TTableReference);
- begin
- If (FtableReference=AValue) then exit;
- FtableReference:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.SettimePartitioning(AIndex : Integer; const AValue : TTimePartitioning);
- begin
- If (FtimePartitioning=AValue) then exit;
- FtimePartitioning:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTable.Setview(AIndex : Integer; const AValue : TViewDefinition);
- begin
- If (Fview=AValue) then exit;
- Fview:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TTable.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TTableCell
- --------------------------------------------------------------------}
- Procedure TTableCell.Setv(AIndex : Integer; const AValue : TJSONSchema);
- begin
- If (Fv=AValue) then exit;
- Fv:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TTableDataInsertAllRequestTyperowsItem
- --------------------------------------------------------------------}
- Procedure TTableDataInsertAllRequestTyperowsItem.SetinsertId(AIndex : Integer; const AValue : String);
- begin
- If (FinsertId=AValue) then exit;
- FinsertId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableDataInsertAllRequestTyperowsItem.Setjson(AIndex : Integer; const AValue : TJsonObject);
- begin
- If (Fjson=AValue) then exit;
- Fjson:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TTableDataInsertAllRequest
- --------------------------------------------------------------------}
- Procedure TTableDataInsertAllRequest.SetignoreUnknownValues(AIndex : Integer; const AValue : boolean);
- begin
- If (FignoreUnknownValues=AValue) then exit;
- FignoreUnknownValues:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableDataInsertAllRequest.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableDataInsertAllRequest.Setrows(AIndex : Integer; const AValue : TTableDataInsertAllRequestTyperowsArray);
- begin
- If (Frows=AValue) then exit;
- Frows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableDataInsertAllRequest.SetskipInvalidRows(AIndex : Integer; const AValue : boolean);
- begin
- If (FskipInvalidRows=AValue) then exit;
- FskipInvalidRows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableDataInsertAllRequest.SettemplateSuffix(AIndex : Integer; const AValue : String);
- begin
- If (FtemplateSuffix=AValue) then exit;
- FtemplateSuffix:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TTableDataInsertAllRequest.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'rows' : SetLength(Frows,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TTableDataInsertAllResponseTypeinsertErrorsItem
- --------------------------------------------------------------------}
- Procedure TTableDataInsertAllResponseTypeinsertErrorsItem.Seterrors(AIndex : Integer; const AValue : TTableDataInsertAllResponseTypeinsertErrorsItemTypeerrorsArray);
- begin
- If (Ferrors=AValue) then exit;
- Ferrors:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableDataInsertAllResponseTypeinsertErrorsItem.Setindex(AIndex : Integer; const AValue : integer);
- begin
- If (Findex=AValue) then exit;
- Findex:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TTableDataInsertAllResponseTypeinsertErrorsItem.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'errors' : SetLength(Ferrors,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TTableDataInsertAllResponse
- --------------------------------------------------------------------}
- Procedure TTableDataInsertAllResponse.SetinsertErrors(AIndex : Integer; const AValue : TTableDataInsertAllResponseTypeinsertErrorsArray);
- begin
- If (FinsertErrors=AValue) then exit;
- FinsertErrors:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableDataInsertAllResponse.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TTableDataInsertAllResponse.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'inserterrors' : SetLength(FinsertErrors,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TTableDataList
- --------------------------------------------------------------------}
- Procedure TTableDataList.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableDataList.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableDataList.SetpageToken(AIndex : Integer; const AValue : String);
- begin
- If (FpageToken=AValue) then exit;
- FpageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableDataList.Setrows(AIndex : Integer; const AValue : TTableDataListTyperowsArray);
- begin
- If (Frows=AValue) then exit;
- Frows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableDataList.SettotalRows(AIndex : Integer; const AValue : String);
- begin
- If (FtotalRows=AValue) then exit;
- FtotalRows:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TTableDataList.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'rows' : SetLength(Frows,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TTableFieldSchema
- --------------------------------------------------------------------}
- Procedure TTableFieldSchema.Setdescription(AIndex : Integer; const AValue : String);
- begin
- If (Fdescription=AValue) then exit;
- Fdescription:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableFieldSchema.Setfields(AIndex : Integer; const AValue : TTableFieldSchemaTypefieldsArray);
- begin
- If (Ffields=AValue) then exit;
- Ffields:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableFieldSchema.Setmode(AIndex : Integer; const AValue : String);
- begin
- If (Fmode=AValue) then exit;
- Fmode:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableFieldSchema.Setname(AIndex : Integer; const AValue : String);
- begin
- If (Fname=AValue) then exit;
- Fname:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableFieldSchema.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TTableFieldSchema.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TTableFieldSchema.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'fields' : SetLength(Ffields,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TTableListTypetablesItem
- --------------------------------------------------------------------}
- Procedure TTableListTypetablesItem.SetfriendlyName(AIndex : Integer; const AValue : String);
- begin
- If (FfriendlyName=AValue) then exit;
- FfriendlyName:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableListTypetablesItem.Setid(AIndex : Integer; const AValue : String);
- begin
- If (Fid=AValue) then exit;
- Fid:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableListTypetablesItem.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableListTypetablesItem.SettableReference(AIndex : Integer; const AValue : TTableReference);
- begin
- If (FtableReference=AValue) then exit;
- FtableReference:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableListTypetablesItem.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TTableListTypetablesItem.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TTableList
- --------------------------------------------------------------------}
- Procedure TTableList.Setetag(AIndex : Integer; const AValue : String);
- begin
- If (Fetag=AValue) then exit;
- Fetag:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableList.Setkind(AIndex : Integer; const AValue : String);
- begin
- If (Fkind=AValue) then exit;
- Fkind:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableList.SetnextPageToken(AIndex : Integer; const AValue : String);
- begin
- If (FnextPageToken=AValue) then exit;
- FnextPageToken:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableList.Settables(AIndex : Integer; const AValue : TTableListTypetablesArray);
- begin
- If (Ftables=AValue) then exit;
- Ftables:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableList.SettotalItems(AIndex : Integer; const AValue : integer);
- begin
- If (FtotalItems=AValue) then exit;
- FtotalItems:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TTableList.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'tables' : SetLength(Ftables,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TTableReference
- --------------------------------------------------------------------}
- Procedure TTableReference.SetdatasetId(AIndex : Integer; const AValue : String);
- begin
- If (FdatasetId=AValue) then exit;
- FdatasetId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableReference.SetprojectId(AIndex : Integer; const AValue : String);
- begin
- If (FprojectId=AValue) then exit;
- FprojectId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTableReference.SettableId(AIndex : Integer; const AValue : String);
- begin
- If (FtableId=AValue) then exit;
- FtableId:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TTableRow
- --------------------------------------------------------------------}
- Procedure TTableRow.Setf(AIndex : Integer; const AValue : TTableRowTypefArray);
- begin
- If (Ff=AValue) then exit;
- Ff:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TTableRow.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'f' : SetLength(Ff,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TTableSchema
- --------------------------------------------------------------------}
- Procedure TTableSchema.Setfields(AIndex : Integer; const AValue : TTableSchemaTypefieldsArray);
- begin
- If (Ffields=AValue) then exit;
- Ffields:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TTableSchema.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'fields' : SetLength(Ffields,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TTimePartitioning
- --------------------------------------------------------------------}
- Procedure TTimePartitioning.SetexpirationMs(AIndex : Integer; const AValue : String);
- begin
- If (FexpirationMs=AValue) then exit;
- FexpirationMs:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TTimePartitioning.Set_type(AIndex : Integer; const AValue : String);
- begin
- If (F_type=AValue) then exit;
- F_type:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Class Function TTimePartitioning.ExportPropertyName(Const AName : String) :String;
- begin
- Case AName of
- '_type' : Result:='type';
- else
- Result:=Inherited ExportPropertyName(AName);
- end;
- end;
- { --------------------------------------------------------------------
- TUserDefinedFunctionResource
- --------------------------------------------------------------------}
- Procedure TUserDefinedFunctionResource.SetinlineCode(AIndex : Integer; const AValue : String);
- begin
- If (FinlineCode=AValue) then exit;
- FinlineCode:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TUserDefinedFunctionResource.SetresourceUri(AIndex : Integer; const AValue : String);
- begin
- If (FresourceUri=AValue) then exit;
- FresourceUri:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- { --------------------------------------------------------------------
- TViewDefinition
- --------------------------------------------------------------------}
- Procedure TViewDefinition.Setquery(AIndex : Integer; const AValue : String);
- begin
- If (Fquery=AValue) then exit;
- Fquery:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- Procedure TViewDefinition.SetuserDefinedFunctionResources(AIndex : Integer; const AValue : TViewDefinitionTypeuserDefinedFunctionResourcesArray);
- begin
- If (FuserDefinedFunctionResources=AValue) then exit;
- FuserDefinedFunctionResources:=AValue;
- MarkPropertyChanged(AIndex);
- end;
- //2.6.4. bug workaround
- {$IFDEF VER2_6}
- Procedure TViewDefinition.SetArrayLength(Const AName : String; ALength : Longint);
- begin
- Case AName of
- 'userdefinedfunctionresources' : SetLength(FuserDefinedFunctionResources,ALength);
- else
- Inherited SetArrayLength(AName,ALength);
- end;
- end;
- {$ENDIF VER2_6}
- { --------------------------------------------------------------------
- TDatasetsResource
- --------------------------------------------------------------------}
- Class Function TDatasetsResource.ResourceName : String;
- begin
- Result:='datasets';
- end;
- Class Function TDatasetsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TbigqueryAPI;
- end;
- Procedure TDatasetsResource.Delete(datasetId: string; projectId: string; AQuery : string = '');
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'projects/{projectId}/datasets/{datasetId}';
- _Methodid = 'bigquery.datasets.delete';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['datasetId',datasetId,'projectId',projectId]);
- ServiceCall(_HTTPMethod,_P,AQuery,Nil,Nil);
- end;
- Procedure TDatasetsResource.Delete(datasetId: string; projectId: string; AQuery : TDatasetsdeleteOptions);
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'deleteContents',AQuery.deleteContents);
- Delete(datasetId,projectId,_Q);
- end;
- Function TDatasetsResource.Get(datasetId: string; projectId: string) : TDataset;
- Const
- _HTTPMethod = 'GET';
- _Path = 'projects/{projectId}/datasets/{datasetId}';
- _Methodid = 'bigquery.datasets.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['datasetId',datasetId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TDataset) as TDataset;
- end;
- Function TDatasetsResource.Insert(projectId: string; aDataset : TDataset) : TDataset;
- Const
- _HTTPMethod = 'POST';
- _Path = 'projects/{projectId}/datasets';
- _Methodid = 'bigquery.datasets.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aDataset,TDataset) as TDataset;
- end;
- Function TDatasetsResource.List(projectId: string; AQuery : string = '') : TDatasetList;
- Const
- _HTTPMethod = 'GET';
- _Path = 'projects/{projectId}/datasets';
- _Methodid = 'bigquery.datasets.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TDatasetList) as TDatasetList;
- end;
- Function TDatasetsResource.List(projectId: string; AQuery : TDatasetslistOptions) : TDatasetList;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'all',AQuery.all);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- Result:=List(projectId,_Q);
- end;
- Function TDatasetsResource.Patch(datasetId: string; projectId: string; aDataset : TDataset) : TDataset;
- Const
- _HTTPMethod = 'PATCH';
- _Path = 'projects/{projectId}/datasets/{datasetId}';
- _Methodid = 'bigquery.datasets.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['datasetId',datasetId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aDataset,TDataset) as TDataset;
- end;
- Function TDatasetsResource.Update(datasetId: string; projectId: string; aDataset : TDataset) : TDataset;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'projects/{projectId}/datasets/{datasetId}';
- _Methodid = 'bigquery.datasets.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['datasetId',datasetId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aDataset,TDataset) as TDataset;
- end;
- { --------------------------------------------------------------------
- TJobsResource
- --------------------------------------------------------------------}
- Class Function TJobsResource.ResourceName : String;
- begin
- Result:='jobs';
- end;
- Class Function TJobsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TbigqueryAPI;
- end;
- Function TJobsResource.Cancel(jobId: string; projectId: string) : TJobCancelResponse;
- Const
- _HTTPMethod = 'POST';
- _Path = 'project/{projectId}/jobs/{jobId}/cancel';
- _Methodid = 'bigquery.jobs.cancel';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['jobId',jobId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TJobCancelResponse) as TJobCancelResponse;
- end;
- Function TJobsResource.Get(jobId: string; projectId: string) : TJob;
- Const
- _HTTPMethod = 'GET';
- _Path = 'projects/{projectId}/jobs/{jobId}';
- _Methodid = 'bigquery.jobs.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['jobId',jobId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TJob) as TJob;
- end;
- Function TJobsResource.GetQueryResults(jobId: string; projectId: string; AQuery : string = '') : TGetQueryResultsResponse;
- Const
- _HTTPMethod = 'GET';
- _Path = 'projects/{projectId}/queries/{jobId}';
- _Methodid = 'bigquery.jobs.getQueryResults';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['jobId',jobId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TGetQueryResultsResponse) as TGetQueryResultsResponse;
- end;
- Function TJobsResource.GetQueryResults(jobId: string; projectId: string; AQuery : TJobsgetQueryResultsOptions) : TGetQueryResultsResponse;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'startIndex',AQuery.startIndex);
- AddToQuery(_Q,'timeoutMs',AQuery.timeoutMs);
- Result:=GetQueryResults(jobId,projectId,_Q);
- end;
- Function TJobsResource.Insert(projectId: string; aJob : TJob) : TJob;
- Const
- _HTTPMethod = 'POST';
- _Path = 'projects/{projectId}/jobs';
- _Methodid = 'bigquery.jobs.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aJob,TJob) as TJob;
- end;
- Function TJobsResource.List(projectId: string; AQuery : string = '') : TJobList;
- Const
- _HTTPMethod = 'GET';
- _Path = 'projects/{projectId}/jobs';
- _Methodid = 'bigquery.jobs.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TJobList) as TJobList;
- end;
- Function TJobsResource.List(projectId: string; AQuery : TJobslistOptions) : TJobList;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'allUsers',AQuery.allUsers);
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'projection',AQuery.projection);
- AddToQuery(_Q,'stateFilter',AQuery.stateFilter);
- Result:=List(projectId,_Q);
- end;
- Function TJobsResource.Query(projectId: string; aQueryRequest : TQueryRequest) : TQueryResponse;
- Const
- _HTTPMethod = 'POST';
- _Path = 'projects/{projectId}/queries';
- _Methodid = 'bigquery.jobs.query';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aQueryRequest,TQueryResponse) as TQueryResponse;
- end;
- { --------------------------------------------------------------------
- TProjectsResource
- --------------------------------------------------------------------}
- Class Function TProjectsResource.ResourceName : String;
- begin
- Result:='projects';
- end;
- Class Function TProjectsResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TbigqueryAPI;
- end;
- Function TProjectsResource.List(AQuery : string = '') : TProjectList;
- Const
- _HTTPMethod = 'GET';
- _Path = 'projects';
- _Methodid = 'bigquery.projects.list';
- begin
- Result:=ServiceCall(_HTTPMethod,_Path,AQuery,Nil,TProjectList) as TProjectList;
- end;
- Function TProjectsResource.List(AQuery : TProjectslistOptions) : TProjectList;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- Result:=List(_Q);
- end;
- { --------------------------------------------------------------------
- TTabledataResource
- --------------------------------------------------------------------}
- Class Function TTabledataResource.ResourceName : String;
- begin
- Result:='tabledata';
- end;
- Class Function TTabledataResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TbigqueryAPI;
- end;
- Function TTabledataResource.InsertAll(datasetId: string; projectId: string; tableId: string; aTableDataInsertAllRequest : TTableDataInsertAllRequest) : TTableDataInsertAllResponse;
- Const
- _HTTPMethod = 'POST';
- _Path = 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll';
- _Methodid = 'bigquery.tabledata.insertAll';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['datasetId',datasetId,'projectId',projectId,'tableId',tableId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aTableDataInsertAllRequest,TTableDataInsertAllResponse) as TTableDataInsertAllResponse;
- end;
- Function TTabledataResource.List(datasetId: string; projectId: string; tableId: string; AQuery : string = '') : TTableDataList;
- Const
- _HTTPMethod = 'GET';
- _Path = 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data';
- _Methodid = 'bigquery.tabledata.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['datasetId',datasetId,'projectId',projectId,'tableId',tableId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TTableDataList) as TTableDataList;
- end;
- Function TTabledataResource.List(datasetId: string; projectId: string; tableId: string; AQuery : TTabledatalistOptions) : TTableDataList;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- AddToQuery(_Q,'startIndex',AQuery.startIndex);
- Result:=List(datasetId,projectId,tableId,_Q);
- end;
- { --------------------------------------------------------------------
- TTablesResource
- --------------------------------------------------------------------}
- Class Function TTablesResource.ResourceName : String;
- begin
- Result:='tables';
- end;
- Class Function TTablesResource.DefaultAPI : TGoogleAPIClass;
- begin
- Result:=TbigqueryAPI;
- end;
- Procedure TTablesResource.Delete(datasetId: string; projectId: string; tableId: string);
- Const
- _HTTPMethod = 'DELETE';
- _Path = 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}';
- _Methodid = 'bigquery.tables.delete';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['datasetId',datasetId,'projectId',projectId,'tableId',tableId]);
- ServiceCall(_HTTPMethod,_P,'',Nil,Nil);
- end;
- Function TTablesResource.Get(datasetId: string; projectId: string; tableId: string) : TTable;
- Const
- _HTTPMethod = 'GET';
- _Path = 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}';
- _Methodid = 'bigquery.tables.get';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['datasetId',datasetId,'projectId',projectId,'tableId',tableId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',Nil,TTable) as TTable;
- end;
- Function TTablesResource.Insert(datasetId: string; projectId: string; aTable : TTable) : TTable;
- Const
- _HTTPMethod = 'POST';
- _Path = 'projects/{projectId}/datasets/{datasetId}/tables';
- _Methodid = 'bigquery.tables.insert';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['datasetId',datasetId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aTable,TTable) as TTable;
- end;
- Function TTablesResource.List(datasetId: string; projectId: string; AQuery : string = '') : TTableList;
- Const
- _HTTPMethod = 'GET';
- _Path = 'projects/{projectId}/datasets/{datasetId}/tables';
- _Methodid = 'bigquery.tables.list';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['datasetId',datasetId,'projectId',projectId]);
- Result:=ServiceCall(_HTTPMethod,_P,AQuery,Nil,TTableList) as TTableList;
- end;
- Function TTablesResource.List(datasetId: string; projectId: string; AQuery : TTableslistOptions) : TTableList;
- Var
- _Q : String;
- begin
- _Q:='';
- AddToQuery(_Q,'maxResults',AQuery.maxResults);
- AddToQuery(_Q,'pageToken',AQuery.pageToken);
- Result:=List(datasetId,projectId,_Q);
- end;
- Function TTablesResource.Patch(datasetId: string; projectId: string; tableId: string; aTable : TTable) : TTable;
- Const
- _HTTPMethod = 'PATCH';
- _Path = 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}';
- _Methodid = 'bigquery.tables.patch';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['datasetId',datasetId,'projectId',projectId,'tableId',tableId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aTable,TTable) as TTable;
- end;
- Function TTablesResource.Update(datasetId: string; projectId: string; tableId: string; aTable : TTable) : TTable;
- Const
- _HTTPMethod = 'PUT';
- _Path = 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}';
- _Methodid = 'bigquery.tables.update';
- Var
- _P : String;
- begin
- _P:=SubstitutePath(_Path,['datasetId',datasetId,'projectId',projectId,'tableId',tableId]);
- Result:=ServiceCall(_HTTPMethod,_P,'',aTable,TTable) as TTable;
- end;
- { --------------------------------------------------------------------
- TBigqueryAPI
- --------------------------------------------------------------------}
- Class Function TBigqueryAPI.APIName : String;
- begin
- Result:='bigquery';
- end;
- Class Function TBigqueryAPI.APIVersion : String;
- begin
- Result:='v2';
- end;
- Class Function TBigqueryAPI.APIRevision : String;
- begin
- Result:='20160511';
- end;
- Class Function TBigqueryAPI.APIID : String;
- begin
- Result:='bigquery:v2';
- end;
- Class Function TBigqueryAPI.APITitle : String;
- begin
- Result:='BigQuery API';
- end;
- Class Function TBigqueryAPI.APIDescription : String;
- begin
- Result:='A data platform for customers to create, manage, share and query data.';
- end;
- Class Function TBigqueryAPI.APIOwnerDomain : String;
- begin
- Result:='google.com';
- end;
- Class Function TBigqueryAPI.APIOwnerName : String;
- begin
- Result:='Google';
- end;
- Class Function TBigqueryAPI.APIIcon16 : String;
- begin
- Result:='https://www.google.com/images/icons/product/search-16.gif';
- end;
- Class Function TBigqueryAPI.APIIcon32 : String;
- begin
- Result:='https://www.google.com/images/icons/product/search-32.gif';
- end;
- Class Function TBigqueryAPI.APIdocumentationLink : String;
- begin
- Result:='https://cloud.google.com/bigquery/';
- end;
- Class Function TBigqueryAPI.APIrootUrl : string;
- begin
- Result:='https://www.googleapis.com/';
- end;
- Class Function TBigqueryAPI.APIbasePath : string;
- begin
- Result:='/bigquery/v2/';
- end;
- Class Function TBigqueryAPI.APIbaseURL : String;
- begin
- Result:='https://www.googleapis.com/bigquery/v2/';
- end;
- Class Function TBigqueryAPI.APIProtocol : string;
- begin
- Result:='rest';
- end;
- Class Function TBigqueryAPI.APIservicePath : string;
- begin
- Result:='bigquery/v2/';
- end;
- Class Function TBigqueryAPI.APIbatchPath : String;
- begin
- Result:='batch';
- end;
- Class Function TBigqueryAPI.APIAuthScopes : TScopeInfoArray;
- begin
- SetLength(Result,7);
- Result[0].Name:='https://www.googleapis.com/auth/bigquery';
- Result[0].Description:='View and manage your data in Google BigQuery';
- Result[1].Name:='https://www.googleapis.com/auth/bigquery.insertdata';
- Result[1].Description:='Insert data into Google BigQuery';
- Result[2].Name:='https://www.googleapis.com/auth/cloud-platform';
- Result[2].Description:='View and manage your data across Google Cloud Platform services';
- Result[3].Name:='https://www.googleapis.com/auth/cloud-platform.read-only';
- Result[3].Description:='View your data across Google Cloud Platform services';
- Result[4].Name:='https://www.googleapis.com/auth/devstorage.full_control';
- Result[4].Description:='Manage your data and permissions in Google Cloud Storage';
- Result[5].Name:='https://www.googleapis.com/auth/devstorage.read_only';
- Result[5].Description:='View your data in Google Cloud Storage';
- Result[6].Name:='https://www.googleapis.com/auth/devstorage.read_write';
- Result[6].Description:='Manage your data in Google Cloud Storage';
-
- end;
- Class Function TBigqueryAPI.APINeedsAuth : Boolean;
- begin
- Result:=True;
- end;
- Class Procedure TBigqueryAPI.RegisterAPIResources;
- begin
- TBigtableColumn.RegisterObject;
- TBigtableColumnFamily.RegisterObject;
- TBigtableOptions.RegisterObject;
- TCsvOptions.RegisterObject;
- TDatasetTypeaccessItem.RegisterObject;
- TDataset.RegisterObject;
- TDatasetListTypedatasetsItem.RegisterObject;
- TDatasetList.RegisterObject;
- TDatasetReference.RegisterObject;
- TErrorProto.RegisterObject;
- TExplainQueryStage.RegisterObject;
- TExplainQueryStep.RegisterObject;
- TExternalDataConfiguration.RegisterObject;
- TGetQueryResultsResponse.RegisterObject;
- TGoogleSheetsOptions.RegisterObject;
- TJob.RegisterObject;
- TJobCancelResponse.RegisterObject;
- TJobConfiguration.RegisterObject;
- TJobConfigurationExtract.RegisterObject;
- TJobConfigurationLoad.RegisterObject;
- TJobConfigurationQueryTypetableDefinitions.RegisterObject;
- TJobConfigurationQuery.RegisterObject;
- TJobConfigurationTableCopy.RegisterObject;
- TJobListTypejobsItem.RegisterObject;
- TJobList.RegisterObject;
- TJobReference.RegisterObject;
- TJobStatistics.RegisterObject;
- TJobStatistics2.RegisterObject;
- TJobStatistics3.RegisterObject;
- TJobStatistics4.RegisterObject;
- TJobStatus.RegisterObject;
- TJsonObject.RegisterObject;
- TProjectListTypeprojectsItem.RegisterObject;
- TProjectList.RegisterObject;
- TProjectReference.RegisterObject;
- TQueryRequest.RegisterObject;
- TQueryResponse.RegisterObject;
- TStreamingbuffer.RegisterObject;
- TTable.RegisterObject;
- TTableCell.RegisterObject;
- TTableDataInsertAllRequestTyperowsItem.RegisterObject;
- TTableDataInsertAllRequest.RegisterObject;
- TTableDataInsertAllResponseTypeinsertErrorsItem.RegisterObject;
- TTableDataInsertAllResponse.RegisterObject;
- TTableDataList.RegisterObject;
- TTableFieldSchema.RegisterObject;
- TTableListTypetablesItem.RegisterObject;
- TTableList.RegisterObject;
- TTableReference.RegisterObject;
- TTableRow.RegisterObject;
- TTableSchema.RegisterObject;
- TTimePartitioning.RegisterObject;
- TUserDefinedFunctionResource.RegisterObject;
- TViewDefinition.RegisterObject;
- end;
- Function TBigqueryAPI.GetDatasetsInstance : TDatasetsResource;
- begin
- if (FDatasetsInstance=Nil) then
- FDatasetsInstance:=CreateDatasetsResource;
- Result:=FDatasetsInstance;
- end;
- Function TBigqueryAPI.CreateDatasetsResource : TDatasetsResource;
- begin
- Result:=CreateDatasetsResource(Self);
- end;
- Function TBigqueryAPI.CreateDatasetsResource(AOwner : TComponent) : TDatasetsResource;
- begin
- Result:=TDatasetsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TBigqueryAPI.GetJobsInstance : TJobsResource;
- begin
- if (FJobsInstance=Nil) then
- FJobsInstance:=CreateJobsResource;
- Result:=FJobsInstance;
- end;
- Function TBigqueryAPI.CreateJobsResource : TJobsResource;
- begin
- Result:=CreateJobsResource(Self);
- end;
- Function TBigqueryAPI.CreateJobsResource(AOwner : TComponent) : TJobsResource;
- begin
- Result:=TJobsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TBigqueryAPI.GetProjectsInstance : TProjectsResource;
- begin
- if (FProjectsInstance=Nil) then
- FProjectsInstance:=CreateProjectsResource;
- Result:=FProjectsInstance;
- end;
- Function TBigqueryAPI.CreateProjectsResource : TProjectsResource;
- begin
- Result:=CreateProjectsResource(Self);
- end;
- Function TBigqueryAPI.CreateProjectsResource(AOwner : TComponent) : TProjectsResource;
- begin
- Result:=TProjectsResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TBigqueryAPI.GetTabledataInstance : TTabledataResource;
- begin
- if (FTabledataInstance=Nil) then
- FTabledataInstance:=CreateTabledataResource;
- Result:=FTabledataInstance;
- end;
- Function TBigqueryAPI.CreateTabledataResource : TTabledataResource;
- begin
- Result:=CreateTabledataResource(Self);
- end;
- Function TBigqueryAPI.CreateTabledataResource(AOwner : TComponent) : TTabledataResource;
- begin
- Result:=TTabledataResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- Function TBigqueryAPI.GetTablesInstance : TTablesResource;
- begin
- if (FTablesInstance=Nil) then
- FTablesInstance:=CreateTablesResource;
- Result:=FTablesInstance;
- end;
- Function TBigqueryAPI.CreateTablesResource : TTablesResource;
- begin
- Result:=CreateTablesResource(Self);
- end;
- Function TBigqueryAPI.CreateTablesResource(AOwner : TComponent) : TTablesResource;
- begin
- Result:=TTablesResource.Create(AOwner);
- Result.API:=Self.API;
- end;
- initialization
- TBigqueryAPI.RegisterAPI;
- end.
|