Contactcenterinsights.php 92 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. namespace Google\Service;
  18. use Google\Client;
  19. /**
  20. * Service definition for Contactcenterinsights (v1).
  21. *
  22. * <p>
  23. </p>
  24. *
  25. * <p>
  26. * For more information about this service, see the API
  27. * <a href="https://cloud.google.com/contact-center/insights/docs" target="_blank">Documentation</a>
  28. * </p>
  29. *
  30. * @author Google, Inc.
  31. */
  32. class Contactcenterinsights extends \Google\Service
  33. {
  34. /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
  35. const CLOUD_PLATFORM =
  36. "https://www.googleapis.com/auth/cloud-platform";
  37. public $projects_locations;
  38. public $projects_locations_analysisRules;
  39. public $projects_locations_assessmentRules;
  40. public $projects_locations_authorizedViewSets;
  41. public $projects_locations_authorizedViewSets_authorizedViews;
  42. public $projects_locations_authorizedViewSets_authorizedViews_conversations;
  43. public $projects_locations_authorizedViewSets_authorizedViews_conversations_assessments;
  44. public $projects_locations_authorizedViewSets_authorizedViews_conversations_assessments_notes;
  45. public $projects_locations_authorizedViewSets_authorizedViews_conversations_feedbackLabels;
  46. public $projects_locations_authorizedViewSets_authorizedViews_operations;
  47. public $projects_locations_autoLabelingRules;
  48. public $projects_locations_conversations;
  49. public $projects_locations_conversations_analyses;
  50. public $projects_locations_conversations_assessments;
  51. public $projects_locations_conversations_assessments_notes;
  52. public $projects_locations_conversations_feedbackLabels;
  53. public $projects_locations_conversations_segments;
  54. public $projects_locations_dashboards;
  55. public $projects_locations_dashboards_charts;
  56. public $projects_locations_datasets;
  57. public $projects_locations_datasets_conversations;
  58. public $projects_locations_datasets_conversations_feedbackLabels;
  59. public $projects_locations_datasets_insightsdata;
  60. public $projects_locations_encryptionSpec;
  61. public $projects_locations_insightsdata;
  62. public $projects_locations_issueModels;
  63. public $projects_locations_issueModels_issues;
  64. public $projects_locations_operations;
  65. public $projects_locations_phraseMatchers;
  66. public $projects_locations_qaQuestionTags;
  67. public $projects_locations_qaScorecards;
  68. public $projects_locations_qaScorecards_revisions;
  69. public $projects_locations_qaScorecards_revisions_qaQuestions;
  70. public $projects_locations_views;
  71. public $rootUrlTemplate;
  72. /**
  73. * Constructs the internal representation of the Contactcenterinsights
  74. * service.
  75. *
  76. * @param Client|array $clientOrConfig The client used to deliver requests, or a
  77. * config array to pass to a new Client instance.
  78. * @param string $rootUrl The root URL used for requests to the service.
  79. */
  80. public function __construct($clientOrConfig = [], $rootUrl = null)
  81. {
  82. parent::__construct($clientOrConfig);
  83. $this->rootUrl = $rootUrl ?: 'https://contactcenterinsights.googleapis.com/';
  84. $this->rootUrlTemplate = $rootUrl ?: 'https://contactcenterinsights.UNIVERSE_DOMAIN/';
  85. $this->servicePath = '';
  86. $this->batchPath = 'batch';
  87. $this->version = 'v1';
  88. $this->serviceName = 'contactcenterinsights';
  89. $this->projects_locations = new Contactcenterinsights\Resource\ProjectsLocations(
  90. $this,
  91. $this->serviceName,
  92. 'locations',
  93. [
  94. 'methods' => [
  95. 'bulkDeleteFeedbackLabels' => [
  96. 'path' => 'v1/{+parent}:bulkDeleteFeedbackLabels',
  97. 'httpMethod' => 'POST',
  98. 'parameters' => [
  99. 'parent' => [
  100. 'location' => 'path',
  101. 'type' => 'string',
  102. 'required' => true,
  103. ],
  104. ],
  105. ],'bulkDownloadFeedbackLabels' => [
  106. 'path' => 'v1/{+parent}:bulkDownloadFeedbackLabels',
  107. 'httpMethod' => 'POST',
  108. 'parameters' => [
  109. 'parent' => [
  110. 'location' => 'path',
  111. 'type' => 'string',
  112. 'required' => true,
  113. ],
  114. ],
  115. ],'bulkUploadFeedbackLabels' => [
  116. 'path' => 'v1/{+parent}:bulkUploadFeedbackLabels',
  117. 'httpMethod' => 'POST',
  118. 'parameters' => [
  119. 'parent' => [
  120. 'location' => 'path',
  121. 'type' => 'string',
  122. 'required' => true,
  123. ],
  124. ],
  125. ],'generativeInsights' => [
  126. 'path' => 'v1/{+location}:generativeInsights',
  127. 'httpMethod' => 'POST',
  128. 'parameters' => [
  129. 'location' => [
  130. 'location' => 'path',
  131. 'type' => 'string',
  132. 'required' => true,
  133. ],
  134. ],
  135. ],'getCorrelationConfig' => [
  136. 'path' => 'v1/{+name}',
  137. 'httpMethod' => 'GET',
  138. 'parameters' => [
  139. 'name' => [
  140. 'location' => 'path',
  141. 'type' => 'string',
  142. 'required' => true,
  143. ],
  144. ],
  145. ],'getEncryptionSpec' => [
  146. 'path' => 'v1/{+name}',
  147. 'httpMethod' => 'GET',
  148. 'parameters' => [
  149. 'name' => [
  150. 'location' => 'path',
  151. 'type' => 'string',
  152. 'required' => true,
  153. ],
  154. ],
  155. ],'getSettings' => [
  156. 'path' => 'v1/{+name}',
  157. 'httpMethod' => 'GET',
  158. 'parameters' => [
  159. 'name' => [
  160. 'location' => 'path',
  161. 'type' => 'string',
  162. 'required' => true,
  163. ],
  164. ],
  165. ],'listAllFeedbackLabels' => [
  166. 'path' => 'v1/{+parent}:listAllFeedbackLabels',
  167. 'httpMethod' => 'GET',
  168. 'parameters' => [
  169. 'parent' => [
  170. 'location' => 'path',
  171. 'type' => 'string',
  172. 'required' => true,
  173. ],
  174. 'filter' => [
  175. 'location' => 'query',
  176. 'type' => 'string',
  177. ],
  178. 'pageSize' => [
  179. 'location' => 'query',
  180. 'type' => 'integer',
  181. ],
  182. 'pageToken' => [
  183. 'location' => 'query',
  184. 'type' => 'string',
  185. ],
  186. ],
  187. ],'queryMetrics' => [
  188. 'path' => 'v1/{+location}:queryMetrics',
  189. 'httpMethod' => 'POST',
  190. 'parameters' => [
  191. 'location' => [
  192. 'location' => 'path',
  193. 'type' => 'string',
  194. 'required' => true,
  195. ],
  196. ],
  197. ],'queryPerformanceOverview' => [
  198. 'path' => 'v1/{+parent}:queryPerformanceOverview',
  199. 'httpMethod' => 'POST',
  200. 'parameters' => [
  201. 'parent' => [
  202. 'location' => 'path',
  203. 'type' => 'string',
  204. 'required' => true,
  205. ],
  206. ],
  207. ],'testCorrelationConfig' => [
  208. 'path' => 'v1/{+location}:testCorrelationConfig',
  209. 'httpMethod' => 'POST',
  210. 'parameters' => [
  211. 'location' => [
  212. 'location' => 'path',
  213. 'type' => 'string',
  214. 'required' => true,
  215. ],
  216. ],
  217. ],'updateCorrelationConfig' => [
  218. 'path' => 'v1/{+name}',
  219. 'httpMethod' => 'PATCH',
  220. 'parameters' => [
  221. 'name' => [
  222. 'location' => 'path',
  223. 'type' => 'string',
  224. 'required' => true,
  225. ],
  226. 'updateMask' => [
  227. 'location' => 'query',
  228. 'type' => 'string',
  229. ],
  230. ],
  231. ],'updateSettings' => [
  232. 'path' => 'v1/{+name}',
  233. 'httpMethod' => 'PATCH',
  234. 'parameters' => [
  235. 'name' => [
  236. 'location' => 'path',
  237. 'type' => 'string',
  238. 'required' => true,
  239. ],
  240. 'updateMask' => [
  241. 'location' => 'query',
  242. 'type' => 'string',
  243. ],
  244. ],
  245. ],
  246. ]
  247. ]
  248. );
  249. $this->projects_locations_analysisRules = new Contactcenterinsights\Resource\ProjectsLocationsAnalysisRules(
  250. $this,
  251. $this->serviceName,
  252. 'analysisRules',
  253. [
  254. 'methods' => [
  255. 'create' => [
  256. 'path' => 'v1/{+parent}/analysisRules',
  257. 'httpMethod' => 'POST',
  258. 'parameters' => [
  259. 'parent' => [
  260. 'location' => 'path',
  261. 'type' => 'string',
  262. 'required' => true,
  263. ],
  264. ],
  265. ],'delete' => [
  266. 'path' => 'v1/{+name}',
  267. 'httpMethod' => 'DELETE',
  268. 'parameters' => [
  269. 'name' => [
  270. 'location' => 'path',
  271. 'type' => 'string',
  272. 'required' => true,
  273. ],
  274. ],
  275. ],'get' => [
  276. 'path' => 'v1/{+name}',
  277. 'httpMethod' => 'GET',
  278. 'parameters' => [
  279. 'name' => [
  280. 'location' => 'path',
  281. 'type' => 'string',
  282. 'required' => true,
  283. ],
  284. ],
  285. ],'list' => [
  286. 'path' => 'v1/{+parent}/analysisRules',
  287. 'httpMethod' => 'GET',
  288. 'parameters' => [
  289. 'parent' => [
  290. 'location' => 'path',
  291. 'type' => 'string',
  292. 'required' => true,
  293. ],
  294. 'pageSize' => [
  295. 'location' => 'query',
  296. 'type' => 'integer',
  297. ],
  298. 'pageToken' => [
  299. 'location' => 'query',
  300. 'type' => 'string',
  301. ],
  302. ],
  303. ],'patch' => [
  304. 'path' => 'v1/{+name}',
  305. 'httpMethod' => 'PATCH',
  306. 'parameters' => [
  307. 'name' => [
  308. 'location' => 'path',
  309. 'type' => 'string',
  310. 'required' => true,
  311. ],
  312. 'updateMask' => [
  313. 'location' => 'query',
  314. 'type' => 'string',
  315. ],
  316. ],
  317. ],
  318. ]
  319. ]
  320. );
  321. $this->projects_locations_assessmentRules = new Contactcenterinsights\Resource\ProjectsLocationsAssessmentRules(
  322. $this,
  323. $this->serviceName,
  324. 'assessmentRules',
  325. [
  326. 'methods' => [
  327. 'create' => [
  328. 'path' => 'v1/{+parent}/assessmentRules',
  329. 'httpMethod' => 'POST',
  330. 'parameters' => [
  331. 'parent' => [
  332. 'location' => 'path',
  333. 'type' => 'string',
  334. 'required' => true,
  335. ],
  336. 'assessmentRuleId' => [
  337. 'location' => 'query',
  338. 'type' => 'string',
  339. ],
  340. ],
  341. ],'delete' => [
  342. 'path' => 'v1/{+name}',
  343. 'httpMethod' => 'DELETE',
  344. 'parameters' => [
  345. 'name' => [
  346. 'location' => 'path',
  347. 'type' => 'string',
  348. 'required' => true,
  349. ],
  350. ],
  351. ],'get' => [
  352. 'path' => 'v1/{+name}',
  353. 'httpMethod' => 'GET',
  354. 'parameters' => [
  355. 'name' => [
  356. 'location' => 'path',
  357. 'type' => 'string',
  358. 'required' => true,
  359. ],
  360. ],
  361. ],'list' => [
  362. 'path' => 'v1/{+parent}/assessmentRules',
  363. 'httpMethod' => 'GET',
  364. 'parameters' => [
  365. 'parent' => [
  366. 'location' => 'path',
  367. 'type' => 'string',
  368. 'required' => true,
  369. ],
  370. 'pageSize' => [
  371. 'location' => 'query',
  372. 'type' => 'integer',
  373. ],
  374. 'pageToken' => [
  375. 'location' => 'query',
  376. 'type' => 'string',
  377. ],
  378. ],
  379. ],'patch' => [
  380. 'path' => 'v1/{+name}',
  381. 'httpMethod' => 'PATCH',
  382. 'parameters' => [
  383. 'name' => [
  384. 'location' => 'path',
  385. 'type' => 'string',
  386. 'required' => true,
  387. ],
  388. 'updateMask' => [
  389. 'location' => 'query',
  390. 'type' => 'string',
  391. ],
  392. ],
  393. ],
  394. ]
  395. ]
  396. );
  397. $this->projects_locations_authorizedViewSets = new Contactcenterinsights\Resource\ProjectsLocationsAuthorizedViewSets(
  398. $this,
  399. $this->serviceName,
  400. 'authorizedViewSets',
  401. [
  402. 'methods' => [
  403. 'create' => [
  404. 'path' => 'v1/{+parent}/authorizedViewSets',
  405. 'httpMethod' => 'POST',
  406. 'parameters' => [
  407. 'parent' => [
  408. 'location' => 'path',
  409. 'type' => 'string',
  410. 'required' => true,
  411. ],
  412. 'authorizedViewSetId' => [
  413. 'location' => 'query',
  414. 'type' => 'string',
  415. ],
  416. ],
  417. ],'delete' => [
  418. 'path' => 'v1/{+name}',
  419. 'httpMethod' => 'DELETE',
  420. 'parameters' => [
  421. 'name' => [
  422. 'location' => 'path',
  423. 'type' => 'string',
  424. 'required' => true,
  425. ],
  426. 'force' => [
  427. 'location' => 'query',
  428. 'type' => 'boolean',
  429. ],
  430. ],
  431. ],'get' => [
  432. 'path' => 'v1/{+name}',
  433. 'httpMethod' => 'GET',
  434. 'parameters' => [
  435. 'name' => [
  436. 'location' => 'path',
  437. 'type' => 'string',
  438. 'required' => true,
  439. ],
  440. ],
  441. ],'list' => [
  442. 'path' => 'v1/{+parent}/authorizedViewSets',
  443. 'httpMethod' => 'GET',
  444. 'parameters' => [
  445. 'parent' => [
  446. 'location' => 'path',
  447. 'type' => 'string',
  448. 'required' => true,
  449. ],
  450. 'filter' => [
  451. 'location' => 'query',
  452. 'type' => 'string',
  453. ],
  454. 'orderBy' => [
  455. 'location' => 'query',
  456. 'type' => 'string',
  457. ],
  458. 'pageSize' => [
  459. 'location' => 'query',
  460. 'type' => 'integer',
  461. ],
  462. 'pageToken' => [
  463. 'location' => 'query',
  464. 'type' => 'string',
  465. ],
  466. ],
  467. ],'patch' => [
  468. 'path' => 'v1/{+name}',
  469. 'httpMethod' => 'PATCH',
  470. 'parameters' => [
  471. 'name' => [
  472. 'location' => 'path',
  473. 'type' => 'string',
  474. 'required' => true,
  475. ],
  476. 'updateMask' => [
  477. 'location' => 'query',
  478. 'type' => 'string',
  479. ],
  480. ],
  481. ],
  482. ]
  483. ]
  484. );
  485. $this->projects_locations_authorizedViewSets_authorizedViews = new Contactcenterinsights\Resource\ProjectsLocationsAuthorizedViewSetsAuthorizedViews(
  486. $this,
  487. $this->serviceName,
  488. 'authorizedViews',
  489. [
  490. 'methods' => [
  491. 'create' => [
  492. 'path' => 'v1/{+parent}/authorizedViews',
  493. 'httpMethod' => 'POST',
  494. 'parameters' => [
  495. 'parent' => [
  496. 'location' => 'path',
  497. 'type' => 'string',
  498. 'required' => true,
  499. ],
  500. 'authorizedViewId' => [
  501. 'location' => 'query',
  502. 'type' => 'string',
  503. ],
  504. ],
  505. ],'delete' => [
  506. 'path' => 'v1/{+name}',
  507. 'httpMethod' => 'DELETE',
  508. 'parameters' => [
  509. 'name' => [
  510. 'location' => 'path',
  511. 'type' => 'string',
  512. 'required' => true,
  513. ],
  514. ],
  515. ],'generativeInsights' => [
  516. 'path' => 'v1/{+location}:generativeInsights',
  517. 'httpMethod' => 'POST',
  518. 'parameters' => [
  519. 'location' => [
  520. 'location' => 'path',
  521. 'type' => 'string',
  522. 'required' => true,
  523. ],
  524. ],
  525. ],'get' => [
  526. 'path' => 'v1/{+name}',
  527. 'httpMethod' => 'GET',
  528. 'parameters' => [
  529. 'name' => [
  530. 'location' => 'path',
  531. 'type' => 'string',
  532. 'required' => true,
  533. ],
  534. ],
  535. ],'getIamPolicy' => [
  536. 'path' => 'v1/{+resource}:getIamPolicy',
  537. 'httpMethod' => 'GET',
  538. 'parameters' => [
  539. 'resource' => [
  540. 'location' => 'path',
  541. 'type' => 'string',
  542. 'required' => true,
  543. ],
  544. 'options.requestedPolicyVersion' => [
  545. 'location' => 'query',
  546. 'type' => 'integer',
  547. ],
  548. ],
  549. ],'list' => [
  550. 'path' => 'v1/{+parent}/authorizedViews',
  551. 'httpMethod' => 'GET',
  552. 'parameters' => [
  553. 'parent' => [
  554. 'location' => 'path',
  555. 'type' => 'string',
  556. 'required' => true,
  557. ],
  558. 'filter' => [
  559. 'location' => 'query',
  560. 'type' => 'string',
  561. ],
  562. 'orderBy' => [
  563. 'location' => 'query',
  564. 'type' => 'string',
  565. ],
  566. 'pageSize' => [
  567. 'location' => 'query',
  568. 'type' => 'integer',
  569. ],
  570. 'pageToken' => [
  571. 'location' => 'query',
  572. 'type' => 'string',
  573. ],
  574. ],
  575. ],'patch' => [
  576. 'path' => 'v1/{+name}',
  577. 'httpMethod' => 'PATCH',
  578. 'parameters' => [
  579. 'name' => [
  580. 'location' => 'path',
  581. 'type' => 'string',
  582. 'required' => true,
  583. ],
  584. 'updateMask' => [
  585. 'location' => 'query',
  586. 'type' => 'string',
  587. ],
  588. ],
  589. ],'queryMetrics' => [
  590. 'path' => 'v1/{+location}:queryMetrics',
  591. 'httpMethod' => 'POST',
  592. 'parameters' => [
  593. 'location' => [
  594. 'location' => 'path',
  595. 'type' => 'string',
  596. 'required' => true,
  597. ],
  598. ],
  599. ],'queryPerformanceOverview' => [
  600. 'path' => 'v1/{+parent}:queryPerformanceOverview',
  601. 'httpMethod' => 'POST',
  602. 'parameters' => [
  603. 'parent' => [
  604. 'location' => 'path',
  605. 'type' => 'string',
  606. 'required' => true,
  607. ],
  608. ],
  609. ],'search' => [
  610. 'path' => 'v1/{+parent}/authorizedViews:search',
  611. 'httpMethod' => 'GET',
  612. 'parameters' => [
  613. 'parent' => [
  614. 'location' => 'path',
  615. 'type' => 'string',
  616. 'required' => true,
  617. ],
  618. 'orderBy' => [
  619. 'location' => 'query',
  620. 'type' => 'string',
  621. ],
  622. 'pageSize' => [
  623. 'location' => 'query',
  624. 'type' => 'integer',
  625. ],
  626. 'pageToken' => [
  627. 'location' => 'query',
  628. 'type' => 'string',
  629. ],
  630. 'query' => [
  631. 'location' => 'query',
  632. 'type' => 'string',
  633. ],
  634. ],
  635. ],'setIamPolicy' => [
  636. 'path' => 'v1/{+resource}:setIamPolicy',
  637. 'httpMethod' => 'POST',
  638. 'parameters' => [
  639. 'resource' => [
  640. 'location' => 'path',
  641. 'type' => 'string',
  642. 'required' => true,
  643. ],
  644. ],
  645. ],'testIamPermissions' => [
  646. 'path' => 'v1/{+resource}:testIamPermissions',
  647. 'httpMethod' => 'POST',
  648. 'parameters' => [
  649. 'resource' => [
  650. 'location' => 'path',
  651. 'type' => 'string',
  652. 'required' => true,
  653. ],
  654. ],
  655. ],
  656. ]
  657. ]
  658. );
  659. $this->projects_locations_authorizedViewSets_authorizedViews_conversations = new Contactcenterinsights\Resource\ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversations(
  660. $this,
  661. $this->serviceName,
  662. 'conversations',
  663. [
  664. 'methods' => [
  665. 'calculateStats' => [
  666. 'path' => 'v1/{+location}/conversations:calculateStats',
  667. 'httpMethod' => 'GET',
  668. 'parameters' => [
  669. 'location' => [
  670. 'location' => 'path',
  671. 'type' => 'string',
  672. 'required' => true,
  673. ],
  674. 'filter' => [
  675. 'location' => 'query',
  676. 'type' => 'string',
  677. ],
  678. ],
  679. ],'delete' => [
  680. 'path' => 'v1/{+name}',
  681. 'httpMethod' => 'DELETE',
  682. 'parameters' => [
  683. 'name' => [
  684. 'location' => 'path',
  685. 'type' => 'string',
  686. 'required' => true,
  687. ],
  688. 'force' => [
  689. 'location' => 'query',
  690. 'type' => 'boolean',
  691. ],
  692. ],
  693. ],'generateSignedAudio' => [
  694. 'path' => 'v1/{+name}:generateSignedAudio',
  695. 'httpMethod' => 'GET',
  696. 'parameters' => [
  697. 'name' => [
  698. 'location' => 'path',
  699. 'type' => 'string',
  700. 'required' => true,
  701. ],
  702. ],
  703. ],'get' => [
  704. 'path' => 'v1/{+name}',
  705. 'httpMethod' => 'GET',
  706. 'parameters' => [
  707. 'name' => [
  708. 'location' => 'path',
  709. 'type' => 'string',
  710. 'required' => true,
  711. ],
  712. 'view' => [
  713. 'location' => 'query',
  714. 'type' => 'string',
  715. ],
  716. ],
  717. ],'list' => [
  718. 'path' => 'v1/{+parent}/conversations',
  719. 'httpMethod' => 'GET',
  720. 'parameters' => [
  721. 'parent' => [
  722. 'location' => 'path',
  723. 'type' => 'string',
  724. 'required' => true,
  725. ],
  726. 'filter' => [
  727. 'location' => 'query',
  728. 'type' => 'string',
  729. ],
  730. 'orderBy' => [
  731. 'location' => 'query',
  732. 'type' => 'string',
  733. ],
  734. 'pageSize' => [
  735. 'location' => 'query',
  736. 'type' => 'integer',
  737. ],
  738. 'pageToken' => [
  739. 'location' => 'query',
  740. 'type' => 'string',
  741. ],
  742. 'view' => [
  743. 'location' => 'query',
  744. 'type' => 'string',
  745. ],
  746. ],
  747. ],
  748. ]
  749. ]
  750. );
  751. $this->projects_locations_authorizedViewSets_authorizedViews_conversations_assessments = new Contactcenterinsights\Resource\ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessments(
  752. $this,
  753. $this->serviceName,
  754. 'assessments',
  755. [
  756. 'methods' => [
  757. 'appeal' => [
  758. 'path' => 'v1/{+name}:appeal',
  759. 'httpMethod' => 'POST',
  760. 'parameters' => [
  761. 'name' => [
  762. 'location' => 'path',
  763. 'type' => 'string',
  764. 'required' => true,
  765. ],
  766. ],
  767. ],'create' => [
  768. 'path' => 'v1/{+parent}/assessments',
  769. 'httpMethod' => 'POST',
  770. 'parameters' => [
  771. 'parent' => [
  772. 'location' => 'path',
  773. 'type' => 'string',
  774. 'required' => true,
  775. ],
  776. ],
  777. ],'delete' => [
  778. 'path' => 'v1/{+name}',
  779. 'httpMethod' => 'DELETE',
  780. 'parameters' => [
  781. 'name' => [
  782. 'location' => 'path',
  783. 'type' => 'string',
  784. 'required' => true,
  785. ],
  786. 'force' => [
  787. 'location' => 'query',
  788. 'type' => 'boolean',
  789. ],
  790. ],
  791. ],'finalize' => [
  792. 'path' => 'v1/{+name}:finalize',
  793. 'httpMethod' => 'POST',
  794. 'parameters' => [
  795. 'name' => [
  796. 'location' => 'path',
  797. 'type' => 'string',
  798. 'required' => true,
  799. ],
  800. ],
  801. ],'get' => [
  802. 'path' => 'v1/{+name}',
  803. 'httpMethod' => 'GET',
  804. 'parameters' => [
  805. 'name' => [
  806. 'location' => 'path',
  807. 'type' => 'string',
  808. 'required' => true,
  809. ],
  810. ],
  811. ],'list' => [
  812. 'path' => 'v1/{+parent}/assessments',
  813. 'httpMethod' => 'GET',
  814. 'parameters' => [
  815. 'parent' => [
  816. 'location' => 'path',
  817. 'type' => 'string',
  818. 'required' => true,
  819. ],
  820. 'filter' => [
  821. 'location' => 'query',
  822. 'type' => 'string',
  823. ],
  824. 'pageSize' => [
  825. 'location' => 'query',
  826. 'type' => 'integer',
  827. ],
  828. 'pageToken' => [
  829. 'location' => 'query',
  830. 'type' => 'string',
  831. ],
  832. ],
  833. ],'publish' => [
  834. 'path' => 'v1/{+name}:publish',
  835. 'httpMethod' => 'POST',
  836. 'parameters' => [
  837. 'name' => [
  838. 'location' => 'path',
  839. 'type' => 'string',
  840. 'required' => true,
  841. ],
  842. ],
  843. ],
  844. ]
  845. ]
  846. );
  847. $this->projects_locations_authorizedViewSets_authorizedViews_conversations_assessments_notes = new Contactcenterinsights\Resource\ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotes(
  848. $this,
  849. $this->serviceName,
  850. 'notes',
  851. [
  852. 'methods' => [
  853. 'create' => [
  854. 'path' => 'v1/{+parent}/notes',
  855. 'httpMethod' => 'POST',
  856. 'parameters' => [
  857. 'parent' => [
  858. 'location' => 'path',
  859. 'type' => 'string',
  860. 'required' => true,
  861. ],
  862. ],
  863. ],'delete' => [
  864. 'path' => 'v1/{+name}',
  865. 'httpMethod' => 'DELETE',
  866. 'parameters' => [
  867. 'name' => [
  868. 'location' => 'path',
  869. 'type' => 'string',
  870. 'required' => true,
  871. ],
  872. ],
  873. ],'list' => [
  874. 'path' => 'v1/{+parent}/notes',
  875. 'httpMethod' => 'GET',
  876. 'parameters' => [
  877. 'parent' => [
  878. 'location' => 'path',
  879. 'type' => 'string',
  880. 'required' => true,
  881. ],
  882. 'pageSize' => [
  883. 'location' => 'query',
  884. 'type' => 'integer',
  885. ],
  886. 'pageToken' => [
  887. 'location' => 'query',
  888. 'type' => 'string',
  889. ],
  890. ],
  891. ],'patch' => [
  892. 'path' => 'v1/{+name}',
  893. 'httpMethod' => 'PATCH',
  894. 'parameters' => [
  895. 'name' => [
  896. 'location' => 'path',
  897. 'type' => 'string',
  898. 'required' => true,
  899. ],
  900. 'updateMask' => [
  901. 'location' => 'query',
  902. 'type' => 'string',
  903. ],
  904. ],
  905. ],
  906. ]
  907. ]
  908. );
  909. $this->projects_locations_authorizedViewSets_authorizedViews_conversations_feedbackLabels = new Contactcenterinsights\Resource\ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabels(
  910. $this,
  911. $this->serviceName,
  912. 'feedbackLabels',
  913. [
  914. 'methods' => [
  915. 'create' => [
  916. 'path' => 'v1/{+parent}/feedbackLabels',
  917. 'httpMethod' => 'POST',
  918. 'parameters' => [
  919. 'parent' => [
  920. 'location' => 'path',
  921. 'type' => 'string',
  922. 'required' => true,
  923. ],
  924. 'feedbackLabelId' => [
  925. 'location' => 'query',
  926. 'type' => 'string',
  927. ],
  928. ],
  929. ],'delete' => [
  930. 'path' => 'v1/{+name}',
  931. 'httpMethod' => 'DELETE',
  932. 'parameters' => [
  933. 'name' => [
  934. 'location' => 'path',
  935. 'type' => 'string',
  936. 'required' => true,
  937. ],
  938. ],
  939. ],'get' => [
  940. 'path' => 'v1/{+name}',
  941. 'httpMethod' => 'GET',
  942. 'parameters' => [
  943. 'name' => [
  944. 'location' => 'path',
  945. 'type' => 'string',
  946. 'required' => true,
  947. ],
  948. ],
  949. ],'list' => [
  950. 'path' => 'v1/{+parent}/feedbackLabels',
  951. 'httpMethod' => 'GET',
  952. 'parameters' => [
  953. 'parent' => [
  954. 'location' => 'path',
  955. 'type' => 'string',
  956. 'required' => true,
  957. ],
  958. 'filter' => [
  959. 'location' => 'query',
  960. 'type' => 'string',
  961. ],
  962. 'pageSize' => [
  963. 'location' => 'query',
  964. 'type' => 'integer',
  965. ],
  966. 'pageToken' => [
  967. 'location' => 'query',
  968. 'type' => 'string',
  969. ],
  970. ],
  971. ],'patch' => [
  972. 'path' => 'v1/{+name}',
  973. 'httpMethod' => 'PATCH',
  974. 'parameters' => [
  975. 'name' => [
  976. 'location' => 'path',
  977. 'type' => 'string',
  978. 'required' => true,
  979. ],
  980. 'updateMask' => [
  981. 'location' => 'query',
  982. 'type' => 'string',
  983. ],
  984. ],
  985. ],
  986. ]
  987. ]
  988. );
  989. $this->projects_locations_authorizedViewSets_authorizedViews_operations = new Contactcenterinsights\Resource\ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperations(
  990. $this,
  991. $this->serviceName,
  992. 'operations',
  993. [
  994. 'methods' => [
  995. 'cancel' => [
  996. 'path' => 'v1/{+name}:cancel',
  997. 'httpMethod' => 'POST',
  998. 'parameters' => [
  999. 'name' => [
  1000. 'location' => 'path',
  1001. 'type' => 'string',
  1002. 'required' => true,
  1003. ],
  1004. ],
  1005. ],'get' => [
  1006. 'path' => 'v1/{+name}',
  1007. 'httpMethod' => 'GET',
  1008. 'parameters' => [
  1009. 'name' => [
  1010. 'location' => 'path',
  1011. 'type' => 'string',
  1012. 'required' => true,
  1013. ],
  1014. ],
  1015. ],'list' => [
  1016. 'path' => 'v1/{+name}/operations',
  1017. 'httpMethod' => 'GET',
  1018. 'parameters' => [
  1019. 'name' => [
  1020. 'location' => 'path',
  1021. 'type' => 'string',
  1022. 'required' => true,
  1023. ],
  1024. 'filter' => [
  1025. 'location' => 'query',
  1026. 'type' => 'string',
  1027. ],
  1028. 'pageSize' => [
  1029. 'location' => 'query',
  1030. 'type' => 'integer',
  1031. ],
  1032. 'pageToken' => [
  1033. 'location' => 'query',
  1034. 'type' => 'string',
  1035. ],
  1036. 'returnPartialSuccess' => [
  1037. 'location' => 'query',
  1038. 'type' => 'boolean',
  1039. ],
  1040. ],
  1041. ],
  1042. ]
  1043. ]
  1044. );
  1045. $this->projects_locations_autoLabelingRules = new Contactcenterinsights\Resource\ProjectsLocationsAutoLabelingRules(
  1046. $this,
  1047. $this->serviceName,
  1048. 'autoLabelingRules',
  1049. [
  1050. 'methods' => [
  1051. 'create' => [
  1052. 'path' => 'v1/{+parent}/autoLabelingRules',
  1053. 'httpMethod' => 'POST',
  1054. 'parameters' => [
  1055. 'parent' => [
  1056. 'location' => 'path',
  1057. 'type' => 'string',
  1058. 'required' => true,
  1059. ],
  1060. 'autoLabelingRuleId' => [
  1061. 'location' => 'query',
  1062. 'type' => 'string',
  1063. ],
  1064. ],
  1065. ],'delete' => [
  1066. 'path' => 'v1/{+name}',
  1067. 'httpMethod' => 'DELETE',
  1068. 'parameters' => [
  1069. 'name' => [
  1070. 'location' => 'path',
  1071. 'type' => 'string',
  1072. 'required' => true,
  1073. ],
  1074. ],
  1075. ],'get' => [
  1076. 'path' => 'v1/{+name}',
  1077. 'httpMethod' => 'GET',
  1078. 'parameters' => [
  1079. 'name' => [
  1080. 'location' => 'path',
  1081. 'type' => 'string',
  1082. 'required' => true,
  1083. ],
  1084. ],
  1085. ],'list' => [
  1086. 'path' => 'v1/{+parent}/autoLabelingRules',
  1087. 'httpMethod' => 'GET',
  1088. 'parameters' => [
  1089. 'parent' => [
  1090. 'location' => 'path',
  1091. 'type' => 'string',
  1092. 'required' => true,
  1093. ],
  1094. 'pageSize' => [
  1095. 'location' => 'query',
  1096. 'type' => 'integer',
  1097. ],
  1098. 'pageToken' => [
  1099. 'location' => 'query',
  1100. 'type' => 'string',
  1101. ],
  1102. ],
  1103. ],'patch' => [
  1104. 'path' => 'v1/{+name}',
  1105. 'httpMethod' => 'PATCH',
  1106. 'parameters' => [
  1107. 'name' => [
  1108. 'location' => 'path',
  1109. 'type' => 'string',
  1110. 'required' => true,
  1111. ],
  1112. 'updateMask' => [
  1113. 'location' => 'query',
  1114. 'type' => 'string',
  1115. ],
  1116. ],
  1117. ],'test' => [
  1118. 'path' => 'v1/{+parent}/autoLabelingRules:test',
  1119. 'httpMethod' => 'POST',
  1120. 'parameters' => [
  1121. 'parent' => [
  1122. 'location' => 'path',
  1123. 'type' => 'string',
  1124. 'required' => true,
  1125. ],
  1126. ],
  1127. ],
  1128. ]
  1129. ]
  1130. );
  1131. $this->projects_locations_conversations = new Contactcenterinsights\Resource\ProjectsLocationsConversations(
  1132. $this,
  1133. $this->serviceName,
  1134. 'conversations',
  1135. [
  1136. 'methods' => [
  1137. 'bulkAnalyze' => [
  1138. 'path' => 'v1/{+parent}/conversations:bulkAnalyze',
  1139. 'httpMethod' => 'POST',
  1140. 'parameters' => [
  1141. 'parent' => [
  1142. 'location' => 'path',
  1143. 'type' => 'string',
  1144. 'required' => true,
  1145. ],
  1146. ],
  1147. ],'bulkDelete' => [
  1148. 'path' => 'v1/{+parent}/conversations:bulkDelete',
  1149. 'httpMethod' => 'POST',
  1150. 'parameters' => [
  1151. 'parent' => [
  1152. 'location' => 'path',
  1153. 'type' => 'string',
  1154. 'required' => true,
  1155. ],
  1156. ],
  1157. ],'calculateStats' => [
  1158. 'path' => 'v1/{+location}/conversations:calculateStats',
  1159. 'httpMethod' => 'GET',
  1160. 'parameters' => [
  1161. 'location' => [
  1162. 'location' => 'path',
  1163. 'type' => 'string',
  1164. 'required' => true,
  1165. ],
  1166. 'filter' => [
  1167. 'location' => 'query',
  1168. 'type' => 'string',
  1169. ],
  1170. ],
  1171. ],'create' => [
  1172. 'path' => 'v1/{+parent}/conversations',
  1173. 'httpMethod' => 'POST',
  1174. 'parameters' => [
  1175. 'parent' => [
  1176. 'location' => 'path',
  1177. 'type' => 'string',
  1178. 'required' => true,
  1179. ],
  1180. 'conversationId' => [
  1181. 'location' => 'query',
  1182. 'type' => 'string',
  1183. ],
  1184. ],
  1185. ],'delete' => [
  1186. 'path' => 'v1/{+name}',
  1187. 'httpMethod' => 'DELETE',
  1188. 'parameters' => [
  1189. 'name' => [
  1190. 'location' => 'path',
  1191. 'type' => 'string',
  1192. 'required' => true,
  1193. ],
  1194. 'force' => [
  1195. 'location' => 'query',
  1196. 'type' => 'boolean',
  1197. ],
  1198. ],
  1199. ],'generateSignedAudio' => [
  1200. 'path' => 'v1/{+name}:generateSignedAudio',
  1201. 'httpMethod' => 'GET',
  1202. 'parameters' => [
  1203. 'name' => [
  1204. 'location' => 'path',
  1205. 'type' => 'string',
  1206. 'required' => true,
  1207. ],
  1208. ],
  1209. ],'get' => [
  1210. 'path' => 'v1/{+name}',
  1211. 'httpMethod' => 'GET',
  1212. 'parameters' => [
  1213. 'name' => [
  1214. 'location' => 'path',
  1215. 'type' => 'string',
  1216. 'required' => true,
  1217. ],
  1218. 'view' => [
  1219. 'location' => 'query',
  1220. 'type' => 'string',
  1221. ],
  1222. ],
  1223. ],'ingest' => [
  1224. 'path' => 'v1/{+parent}/conversations:ingest',
  1225. 'httpMethod' => 'POST',
  1226. 'parameters' => [
  1227. 'parent' => [
  1228. 'location' => 'path',
  1229. 'type' => 'string',
  1230. 'required' => true,
  1231. ],
  1232. ],
  1233. ],'list' => [
  1234. 'path' => 'v1/{+parent}/conversations',
  1235. 'httpMethod' => 'GET',
  1236. 'parameters' => [
  1237. 'parent' => [
  1238. 'location' => 'path',
  1239. 'type' => 'string',
  1240. 'required' => true,
  1241. ],
  1242. 'filter' => [
  1243. 'location' => 'query',
  1244. 'type' => 'string',
  1245. ],
  1246. 'orderBy' => [
  1247. 'location' => 'query',
  1248. 'type' => 'string',
  1249. ],
  1250. 'pageSize' => [
  1251. 'location' => 'query',
  1252. 'type' => 'integer',
  1253. ],
  1254. 'pageToken' => [
  1255. 'location' => 'query',
  1256. 'type' => 'string',
  1257. ],
  1258. 'view' => [
  1259. 'location' => 'query',
  1260. 'type' => 'string',
  1261. ],
  1262. ],
  1263. ],'patch' => [
  1264. 'path' => 'v1/{+name}',
  1265. 'httpMethod' => 'PATCH',
  1266. 'parameters' => [
  1267. 'name' => [
  1268. 'location' => 'path',
  1269. 'type' => 'string',
  1270. 'required' => true,
  1271. ],
  1272. 'allowMissing' => [
  1273. 'location' => 'query',
  1274. 'type' => 'boolean',
  1275. ],
  1276. 'conversationAutoLabelingUpdateConfig.allowAutoLabelingUpdate' => [
  1277. 'location' => 'query',
  1278. 'type' => 'boolean',
  1279. ],
  1280. 'updateMask' => [
  1281. 'location' => 'query',
  1282. 'type' => 'string',
  1283. ],
  1284. ],
  1285. ],'sample' => [
  1286. 'path' => 'v1/{+parent}/conversations:sample',
  1287. 'httpMethod' => 'POST',
  1288. 'parameters' => [
  1289. 'parent' => [
  1290. 'location' => 'path',
  1291. 'type' => 'string',
  1292. 'required' => true,
  1293. ],
  1294. ],
  1295. ],'upload' => [
  1296. 'path' => 'v1/{+parent}/conversations:upload',
  1297. 'httpMethod' => 'POST',
  1298. 'parameters' => [
  1299. 'parent' => [
  1300. 'location' => 'path',
  1301. 'type' => 'string',
  1302. 'required' => true,
  1303. ],
  1304. ],
  1305. ],
  1306. ]
  1307. ]
  1308. );
  1309. $this->projects_locations_conversations_analyses = new Contactcenterinsights\Resource\ProjectsLocationsConversationsAnalyses(
  1310. $this,
  1311. $this->serviceName,
  1312. 'analyses',
  1313. [
  1314. 'methods' => [
  1315. 'create' => [
  1316. 'path' => 'v1/{+parent}/analyses',
  1317. 'httpMethod' => 'POST',
  1318. 'parameters' => [
  1319. 'parent' => [
  1320. 'location' => 'path',
  1321. 'type' => 'string',
  1322. 'required' => true,
  1323. ],
  1324. ],
  1325. ],'delete' => [
  1326. 'path' => 'v1/{+name}',
  1327. 'httpMethod' => 'DELETE',
  1328. 'parameters' => [
  1329. 'name' => [
  1330. 'location' => 'path',
  1331. 'type' => 'string',
  1332. 'required' => true,
  1333. ],
  1334. ],
  1335. ],'get' => [
  1336. 'path' => 'v1/{+name}',
  1337. 'httpMethod' => 'GET',
  1338. 'parameters' => [
  1339. 'name' => [
  1340. 'location' => 'path',
  1341. 'type' => 'string',
  1342. 'required' => true,
  1343. ],
  1344. ],
  1345. ],'list' => [
  1346. 'path' => 'v1/{+parent}/analyses',
  1347. 'httpMethod' => 'GET',
  1348. 'parameters' => [
  1349. 'parent' => [
  1350. 'location' => 'path',
  1351. 'type' => 'string',
  1352. 'required' => true,
  1353. ],
  1354. 'filter' => [
  1355. 'location' => 'query',
  1356. 'type' => 'string',
  1357. ],
  1358. 'pageSize' => [
  1359. 'location' => 'query',
  1360. 'type' => 'integer',
  1361. ],
  1362. 'pageToken' => [
  1363. 'location' => 'query',
  1364. 'type' => 'string',
  1365. ],
  1366. ],
  1367. ],
  1368. ]
  1369. ]
  1370. );
  1371. $this->projects_locations_conversations_assessments = new Contactcenterinsights\Resource\ProjectsLocationsConversationsAssessments(
  1372. $this,
  1373. $this->serviceName,
  1374. 'assessments',
  1375. [
  1376. 'methods' => [
  1377. 'appeal' => [
  1378. 'path' => 'v1/{+name}:appeal',
  1379. 'httpMethod' => 'POST',
  1380. 'parameters' => [
  1381. 'name' => [
  1382. 'location' => 'path',
  1383. 'type' => 'string',
  1384. 'required' => true,
  1385. ],
  1386. ],
  1387. ],'create' => [
  1388. 'path' => 'v1/{+parent}/assessments',
  1389. 'httpMethod' => 'POST',
  1390. 'parameters' => [
  1391. 'parent' => [
  1392. 'location' => 'path',
  1393. 'type' => 'string',
  1394. 'required' => true,
  1395. ],
  1396. ],
  1397. ],'delete' => [
  1398. 'path' => 'v1/{+name}',
  1399. 'httpMethod' => 'DELETE',
  1400. 'parameters' => [
  1401. 'name' => [
  1402. 'location' => 'path',
  1403. 'type' => 'string',
  1404. 'required' => true,
  1405. ],
  1406. 'force' => [
  1407. 'location' => 'query',
  1408. 'type' => 'boolean',
  1409. ],
  1410. ],
  1411. ],'finalize' => [
  1412. 'path' => 'v1/{+name}:finalize',
  1413. 'httpMethod' => 'POST',
  1414. 'parameters' => [
  1415. 'name' => [
  1416. 'location' => 'path',
  1417. 'type' => 'string',
  1418. 'required' => true,
  1419. ],
  1420. ],
  1421. ],'get' => [
  1422. 'path' => 'v1/{+name}',
  1423. 'httpMethod' => 'GET',
  1424. 'parameters' => [
  1425. 'name' => [
  1426. 'location' => 'path',
  1427. 'type' => 'string',
  1428. 'required' => true,
  1429. ],
  1430. ],
  1431. ],'list' => [
  1432. 'path' => 'v1/{+parent}/assessments',
  1433. 'httpMethod' => 'GET',
  1434. 'parameters' => [
  1435. 'parent' => [
  1436. 'location' => 'path',
  1437. 'type' => 'string',
  1438. 'required' => true,
  1439. ],
  1440. 'filter' => [
  1441. 'location' => 'query',
  1442. 'type' => 'string',
  1443. ],
  1444. 'pageSize' => [
  1445. 'location' => 'query',
  1446. 'type' => 'integer',
  1447. ],
  1448. 'pageToken' => [
  1449. 'location' => 'query',
  1450. 'type' => 'string',
  1451. ],
  1452. ],
  1453. ],'publish' => [
  1454. 'path' => 'v1/{+name}:publish',
  1455. 'httpMethod' => 'POST',
  1456. 'parameters' => [
  1457. 'name' => [
  1458. 'location' => 'path',
  1459. 'type' => 'string',
  1460. 'required' => true,
  1461. ],
  1462. ],
  1463. ],
  1464. ]
  1465. ]
  1466. );
  1467. $this->projects_locations_conversations_assessments_notes = new Contactcenterinsights\Resource\ProjectsLocationsConversationsAssessmentsNotes(
  1468. $this,
  1469. $this->serviceName,
  1470. 'notes',
  1471. [
  1472. 'methods' => [
  1473. 'create' => [
  1474. 'path' => 'v1/{+parent}/notes',
  1475. 'httpMethod' => 'POST',
  1476. 'parameters' => [
  1477. 'parent' => [
  1478. 'location' => 'path',
  1479. 'type' => 'string',
  1480. 'required' => true,
  1481. ],
  1482. ],
  1483. ],'delete' => [
  1484. 'path' => 'v1/{+name}',
  1485. 'httpMethod' => 'DELETE',
  1486. 'parameters' => [
  1487. 'name' => [
  1488. 'location' => 'path',
  1489. 'type' => 'string',
  1490. 'required' => true,
  1491. ],
  1492. ],
  1493. ],'list' => [
  1494. 'path' => 'v1/{+parent}/notes',
  1495. 'httpMethod' => 'GET',
  1496. 'parameters' => [
  1497. 'parent' => [
  1498. 'location' => 'path',
  1499. 'type' => 'string',
  1500. 'required' => true,
  1501. ],
  1502. 'pageSize' => [
  1503. 'location' => 'query',
  1504. 'type' => 'integer',
  1505. ],
  1506. 'pageToken' => [
  1507. 'location' => 'query',
  1508. 'type' => 'string',
  1509. ],
  1510. ],
  1511. ],'patch' => [
  1512. 'path' => 'v1/{+name}',
  1513. 'httpMethod' => 'PATCH',
  1514. 'parameters' => [
  1515. 'name' => [
  1516. 'location' => 'path',
  1517. 'type' => 'string',
  1518. 'required' => true,
  1519. ],
  1520. 'updateMask' => [
  1521. 'location' => 'query',
  1522. 'type' => 'string',
  1523. ],
  1524. ],
  1525. ],
  1526. ]
  1527. ]
  1528. );
  1529. $this->projects_locations_conversations_feedbackLabels = new Contactcenterinsights\Resource\ProjectsLocationsConversationsFeedbackLabels(
  1530. $this,
  1531. $this->serviceName,
  1532. 'feedbackLabels',
  1533. [
  1534. 'methods' => [
  1535. 'create' => [
  1536. 'path' => 'v1/{+parent}/feedbackLabels',
  1537. 'httpMethod' => 'POST',
  1538. 'parameters' => [
  1539. 'parent' => [
  1540. 'location' => 'path',
  1541. 'type' => 'string',
  1542. 'required' => true,
  1543. ],
  1544. 'feedbackLabelId' => [
  1545. 'location' => 'query',
  1546. 'type' => 'string',
  1547. ],
  1548. ],
  1549. ],'delete' => [
  1550. 'path' => 'v1/{+name}',
  1551. 'httpMethod' => 'DELETE',
  1552. 'parameters' => [
  1553. 'name' => [
  1554. 'location' => 'path',
  1555. 'type' => 'string',
  1556. 'required' => true,
  1557. ],
  1558. ],
  1559. ],'get' => [
  1560. 'path' => 'v1/{+name}',
  1561. 'httpMethod' => 'GET',
  1562. 'parameters' => [
  1563. 'name' => [
  1564. 'location' => 'path',
  1565. 'type' => 'string',
  1566. 'required' => true,
  1567. ],
  1568. ],
  1569. ],'list' => [
  1570. 'path' => 'v1/{+parent}/feedbackLabels',
  1571. 'httpMethod' => 'GET',
  1572. 'parameters' => [
  1573. 'parent' => [
  1574. 'location' => 'path',
  1575. 'type' => 'string',
  1576. 'required' => true,
  1577. ],
  1578. 'filter' => [
  1579. 'location' => 'query',
  1580. 'type' => 'string',
  1581. ],
  1582. 'pageSize' => [
  1583. 'location' => 'query',
  1584. 'type' => 'integer',
  1585. ],
  1586. 'pageToken' => [
  1587. 'location' => 'query',
  1588. 'type' => 'string',
  1589. ],
  1590. ],
  1591. ],'patch' => [
  1592. 'path' => 'v1/{+name}',
  1593. 'httpMethod' => 'PATCH',
  1594. 'parameters' => [
  1595. 'name' => [
  1596. 'location' => 'path',
  1597. 'type' => 'string',
  1598. 'required' => true,
  1599. ],
  1600. 'updateMask' => [
  1601. 'location' => 'query',
  1602. 'type' => 'string',
  1603. ],
  1604. ],
  1605. ],
  1606. ]
  1607. ]
  1608. );
  1609. $this->projects_locations_conversations_segments = new Contactcenterinsights\Resource\ProjectsLocationsConversationsSegments(
  1610. $this,
  1611. $this->serviceName,
  1612. 'segments',
  1613. [
  1614. 'methods' => [
  1615. 'bulkAnalyze' => [
  1616. 'path' => 'v1/{+parent}/segments:bulkAnalyze',
  1617. 'httpMethod' => 'POST',
  1618. 'parameters' => [
  1619. 'parent' => [
  1620. 'location' => 'path',
  1621. 'type' => 'string',
  1622. 'required' => true,
  1623. ],
  1624. ],
  1625. ],
  1626. ]
  1627. ]
  1628. );
  1629. $this->projects_locations_dashboards = new Contactcenterinsights\Resource\ProjectsLocationsDashboards(
  1630. $this,
  1631. $this->serviceName,
  1632. 'dashboards',
  1633. [
  1634. 'methods' => [
  1635. 'create' => [
  1636. 'path' => 'v1/{+parent}/dashboards',
  1637. 'httpMethod' => 'POST',
  1638. 'parameters' => [
  1639. 'parent' => [
  1640. 'location' => 'path',
  1641. 'type' => 'string',
  1642. 'required' => true,
  1643. ],
  1644. 'dashboardId' => [
  1645. 'location' => 'query',
  1646. 'type' => 'string',
  1647. ],
  1648. ],
  1649. ],'delete' => [
  1650. 'path' => 'v1/{+name}',
  1651. 'httpMethod' => 'DELETE',
  1652. 'parameters' => [
  1653. 'name' => [
  1654. 'location' => 'path',
  1655. 'type' => 'string',
  1656. 'required' => true,
  1657. ],
  1658. ],
  1659. ],'get' => [
  1660. 'path' => 'v1/{+name}',
  1661. 'httpMethod' => 'GET',
  1662. 'parameters' => [
  1663. 'name' => [
  1664. 'location' => 'path',
  1665. 'type' => 'string',
  1666. 'required' => true,
  1667. ],
  1668. ],
  1669. ],'list' => [
  1670. 'path' => 'v1/{+parent}/dashboards',
  1671. 'httpMethod' => 'GET',
  1672. 'parameters' => [
  1673. 'parent' => [
  1674. 'location' => 'path',
  1675. 'type' => 'string',
  1676. 'required' => true,
  1677. ],
  1678. 'filter' => [
  1679. 'location' => 'query',
  1680. 'type' => 'string',
  1681. ],
  1682. 'orderBy' => [
  1683. 'location' => 'query',
  1684. 'type' => 'string',
  1685. ],
  1686. 'pageSize' => [
  1687. 'location' => 'query',
  1688. 'type' => 'integer',
  1689. ],
  1690. 'pageToken' => [
  1691. 'location' => 'query',
  1692. 'type' => 'string',
  1693. ],
  1694. ],
  1695. ],'patch' => [
  1696. 'path' => 'v1/{+name}',
  1697. 'httpMethod' => 'PATCH',
  1698. 'parameters' => [
  1699. 'name' => [
  1700. 'location' => 'path',
  1701. 'type' => 'string',
  1702. 'required' => true,
  1703. ],
  1704. 'updateMask' => [
  1705. 'location' => 'query',
  1706. 'type' => 'string',
  1707. ],
  1708. ],
  1709. ],
  1710. ]
  1711. ]
  1712. );
  1713. $this->projects_locations_dashboards_charts = new Contactcenterinsights\Resource\ProjectsLocationsDashboardsCharts(
  1714. $this,
  1715. $this->serviceName,
  1716. 'charts',
  1717. [
  1718. 'methods' => [
  1719. 'create' => [
  1720. 'path' => 'v1/{+parent}/charts',
  1721. 'httpMethod' => 'POST',
  1722. 'parameters' => [
  1723. 'parent' => [
  1724. 'location' => 'path',
  1725. 'type' => 'string',
  1726. 'required' => true,
  1727. ],
  1728. 'chartId' => [
  1729. 'location' => 'query',
  1730. 'type' => 'string',
  1731. ],
  1732. ],
  1733. ],'delete' => [
  1734. 'path' => 'v1/{+name}',
  1735. 'httpMethod' => 'DELETE',
  1736. 'parameters' => [
  1737. 'name' => [
  1738. 'location' => 'path',
  1739. 'type' => 'string',
  1740. 'required' => true,
  1741. ],
  1742. ],
  1743. ],'get' => [
  1744. 'path' => 'v1/{+name}',
  1745. 'httpMethod' => 'GET',
  1746. 'parameters' => [
  1747. 'name' => [
  1748. 'location' => 'path',
  1749. 'type' => 'string',
  1750. 'required' => true,
  1751. ],
  1752. ],
  1753. ],'list' => [
  1754. 'path' => 'v1/{+parent}/charts',
  1755. 'httpMethod' => 'GET',
  1756. 'parameters' => [
  1757. 'parent' => [
  1758. 'location' => 'path',
  1759. 'type' => 'string',
  1760. 'required' => true,
  1761. ],
  1762. ],
  1763. ],'patch' => [
  1764. 'path' => 'v1/{+name}',
  1765. 'httpMethod' => 'PATCH',
  1766. 'parameters' => [
  1767. 'name' => [
  1768. 'location' => 'path',
  1769. 'type' => 'string',
  1770. 'required' => true,
  1771. ],
  1772. 'updateMask' => [
  1773. 'location' => 'query',
  1774. 'type' => 'string',
  1775. ],
  1776. ],
  1777. ],
  1778. ]
  1779. ]
  1780. );
  1781. $this->projects_locations_datasets = new Contactcenterinsights\Resource\ProjectsLocationsDatasets(
  1782. $this,
  1783. $this->serviceName,
  1784. 'datasets',
  1785. [
  1786. 'methods' => [
  1787. 'bulkDeleteFeedbackLabels' => [
  1788. 'path' => 'v1/{+parent}:bulkDeleteFeedbackLabels',
  1789. 'httpMethod' => 'POST',
  1790. 'parameters' => [
  1791. 'parent' => [
  1792. 'location' => 'path',
  1793. 'type' => 'string',
  1794. 'required' => true,
  1795. ],
  1796. ],
  1797. ],'bulkDownloadFeedbackLabels' => [
  1798. 'path' => 'v1/{+parent}:bulkDownloadFeedbackLabels',
  1799. 'httpMethod' => 'POST',
  1800. 'parameters' => [
  1801. 'parent' => [
  1802. 'location' => 'path',
  1803. 'type' => 'string',
  1804. 'required' => true,
  1805. ],
  1806. ],
  1807. ],'bulkUploadFeedbackLabels' => [
  1808. 'path' => 'v1/{+parent}:bulkUploadFeedbackLabels',
  1809. 'httpMethod' => 'POST',
  1810. 'parameters' => [
  1811. 'parent' => [
  1812. 'location' => 'path',
  1813. 'type' => 'string',
  1814. 'required' => true,
  1815. ],
  1816. ],
  1817. ],'create' => [
  1818. 'path' => 'v1/{+parent}/datasets',
  1819. 'httpMethod' => 'POST',
  1820. 'parameters' => [
  1821. 'parent' => [
  1822. 'location' => 'path',
  1823. 'type' => 'string',
  1824. 'required' => true,
  1825. ],
  1826. 'datasetId' => [
  1827. 'location' => 'query',
  1828. 'type' => 'string',
  1829. ],
  1830. ],
  1831. ],'delete' => [
  1832. 'path' => 'v1/{+name}',
  1833. 'httpMethod' => 'DELETE',
  1834. 'parameters' => [
  1835. 'name' => [
  1836. 'location' => 'path',
  1837. 'type' => 'string',
  1838. 'required' => true,
  1839. ],
  1840. ],
  1841. ],'get' => [
  1842. 'path' => 'v1/{+name}',
  1843. 'httpMethod' => 'GET',
  1844. 'parameters' => [
  1845. 'name' => [
  1846. 'location' => 'path',
  1847. 'type' => 'string',
  1848. 'required' => true,
  1849. ],
  1850. ],
  1851. ],'list' => [
  1852. 'path' => 'v1/{+parent}/datasets',
  1853. 'httpMethod' => 'GET',
  1854. 'parameters' => [
  1855. 'parent' => [
  1856. 'location' => 'path',
  1857. 'type' => 'string',
  1858. 'required' => true,
  1859. ],
  1860. 'filter' => [
  1861. 'location' => 'query',
  1862. 'type' => 'string',
  1863. ],
  1864. 'pageSize' => [
  1865. 'location' => 'query',
  1866. 'type' => 'integer',
  1867. ],
  1868. 'pageToken' => [
  1869. 'location' => 'query',
  1870. 'type' => 'string',
  1871. ],
  1872. ],
  1873. ],'listAllFeedbackLabels' => [
  1874. 'path' => 'v1/{+parent}:listAllFeedbackLabels',
  1875. 'httpMethod' => 'GET',
  1876. 'parameters' => [
  1877. 'parent' => [
  1878. 'location' => 'path',
  1879. 'type' => 'string',
  1880. 'required' => true,
  1881. ],
  1882. 'filter' => [
  1883. 'location' => 'query',
  1884. 'type' => 'string',
  1885. ],
  1886. 'pageSize' => [
  1887. 'location' => 'query',
  1888. 'type' => 'integer',
  1889. ],
  1890. 'pageToken' => [
  1891. 'location' => 'query',
  1892. 'type' => 'string',
  1893. ],
  1894. ],
  1895. ],'patch' => [
  1896. 'path' => 'v1/{+name}',
  1897. 'httpMethod' => 'PATCH',
  1898. 'parameters' => [
  1899. 'name' => [
  1900. 'location' => 'path',
  1901. 'type' => 'string',
  1902. 'required' => true,
  1903. ],
  1904. 'updateMask' => [
  1905. 'location' => 'query',
  1906. 'type' => 'string',
  1907. ],
  1908. ],
  1909. ],
  1910. ]
  1911. ]
  1912. );
  1913. $this->projects_locations_datasets_conversations = new Contactcenterinsights\Resource\ProjectsLocationsDatasetsConversations(
  1914. $this,
  1915. $this->serviceName,
  1916. 'conversations',
  1917. [
  1918. 'methods' => [
  1919. 'bulkDelete' => [
  1920. 'path' => 'v1/{+parent}/conversations:bulkDelete',
  1921. 'httpMethod' => 'POST',
  1922. 'parameters' => [
  1923. 'parent' => [
  1924. 'location' => 'path',
  1925. 'type' => 'string',
  1926. 'required' => true,
  1927. ],
  1928. ],
  1929. ],'calculateStats' => [
  1930. 'path' => 'v1/{+location}/conversations:calculateStats',
  1931. 'httpMethod' => 'POST',
  1932. 'parameters' => [
  1933. 'location' => [
  1934. 'location' => 'path',
  1935. 'type' => 'string',
  1936. 'required' => true,
  1937. ],
  1938. ],
  1939. ],'delete' => [
  1940. 'path' => 'v1/{+name}',
  1941. 'httpMethod' => 'DELETE',
  1942. 'parameters' => [
  1943. 'name' => [
  1944. 'location' => 'path',
  1945. 'type' => 'string',
  1946. 'required' => true,
  1947. ],
  1948. 'force' => [
  1949. 'location' => 'query',
  1950. 'type' => 'boolean',
  1951. ],
  1952. ],
  1953. ],'generateSignedAudio' => [
  1954. 'path' => 'v1/{+name}:generateSignedAudio',
  1955. 'httpMethod' => 'GET',
  1956. 'parameters' => [
  1957. 'name' => [
  1958. 'location' => 'path',
  1959. 'type' => 'string',
  1960. 'required' => true,
  1961. ],
  1962. ],
  1963. ],'get' => [
  1964. 'path' => 'v1/{+name}',
  1965. 'httpMethod' => 'GET',
  1966. 'parameters' => [
  1967. 'name' => [
  1968. 'location' => 'path',
  1969. 'type' => 'string',
  1970. 'required' => true,
  1971. ],
  1972. 'view' => [
  1973. 'location' => 'query',
  1974. 'type' => 'string',
  1975. ],
  1976. ],
  1977. ],'ingest' => [
  1978. 'path' => 'v1/{+parent}/conversations:ingest',
  1979. 'httpMethod' => 'POST',
  1980. 'parameters' => [
  1981. 'parent' => [
  1982. 'location' => 'path',
  1983. 'type' => 'string',
  1984. 'required' => true,
  1985. ],
  1986. ],
  1987. ],'list' => [
  1988. 'path' => 'v1/{+parent}/conversations',
  1989. 'httpMethod' => 'GET',
  1990. 'parameters' => [
  1991. 'parent' => [
  1992. 'location' => 'path',
  1993. 'type' => 'string',
  1994. 'required' => true,
  1995. ],
  1996. 'filter' => [
  1997. 'location' => 'query',
  1998. 'type' => 'string',
  1999. ],
  2000. 'orderBy' => [
  2001. 'location' => 'query',
  2002. 'type' => 'string',
  2003. ],
  2004. 'pageSize' => [
  2005. 'location' => 'query',
  2006. 'type' => 'integer',
  2007. ],
  2008. 'pageToken' => [
  2009. 'location' => 'query',
  2010. 'type' => 'string',
  2011. ],
  2012. 'view' => [
  2013. 'location' => 'query',
  2014. 'type' => 'string',
  2015. ],
  2016. ],
  2017. ],'sample' => [
  2018. 'path' => 'v1/{+parent}/conversations:sample',
  2019. 'httpMethod' => 'POST',
  2020. 'parameters' => [
  2021. 'parent' => [
  2022. 'location' => 'path',
  2023. 'type' => 'string',
  2024. 'required' => true,
  2025. ],
  2026. ],
  2027. ],
  2028. ]
  2029. ]
  2030. );
  2031. $this->projects_locations_datasets_conversations_feedbackLabels = new Contactcenterinsights\Resource\ProjectsLocationsDatasetsConversationsFeedbackLabels(
  2032. $this,
  2033. $this->serviceName,
  2034. 'feedbackLabels',
  2035. [
  2036. 'methods' => [
  2037. 'create' => [
  2038. 'path' => 'v1/{+parent}/feedbackLabels',
  2039. 'httpMethod' => 'POST',
  2040. 'parameters' => [
  2041. 'parent' => [
  2042. 'location' => 'path',
  2043. 'type' => 'string',
  2044. 'required' => true,
  2045. ],
  2046. 'feedbackLabelId' => [
  2047. 'location' => 'query',
  2048. 'type' => 'string',
  2049. ],
  2050. ],
  2051. ],'delete' => [
  2052. 'path' => 'v1/{+name}',
  2053. 'httpMethod' => 'DELETE',
  2054. 'parameters' => [
  2055. 'name' => [
  2056. 'location' => 'path',
  2057. 'type' => 'string',
  2058. 'required' => true,
  2059. ],
  2060. ],
  2061. ],'get' => [
  2062. 'path' => 'v1/{+name}',
  2063. 'httpMethod' => 'GET',
  2064. 'parameters' => [
  2065. 'name' => [
  2066. 'location' => 'path',
  2067. 'type' => 'string',
  2068. 'required' => true,
  2069. ],
  2070. ],
  2071. ],'list' => [
  2072. 'path' => 'v1/{+parent}/feedbackLabels',
  2073. 'httpMethod' => 'GET',
  2074. 'parameters' => [
  2075. 'parent' => [
  2076. 'location' => 'path',
  2077. 'type' => 'string',
  2078. 'required' => true,
  2079. ],
  2080. 'filter' => [
  2081. 'location' => 'query',
  2082. 'type' => 'string',
  2083. ],
  2084. 'pageSize' => [
  2085. 'location' => 'query',
  2086. 'type' => 'integer',
  2087. ],
  2088. 'pageToken' => [
  2089. 'location' => 'query',
  2090. 'type' => 'string',
  2091. ],
  2092. ],
  2093. ],'patch' => [
  2094. 'path' => 'v1/{+name}',
  2095. 'httpMethod' => 'PATCH',
  2096. 'parameters' => [
  2097. 'name' => [
  2098. 'location' => 'path',
  2099. 'type' => 'string',
  2100. 'required' => true,
  2101. ],
  2102. 'updateMask' => [
  2103. 'location' => 'query',
  2104. 'type' => 'string',
  2105. ],
  2106. ],
  2107. ],
  2108. ]
  2109. ]
  2110. );
  2111. $this->projects_locations_datasets_insightsdata = new Contactcenterinsights\Resource\ProjectsLocationsDatasetsInsightsdata(
  2112. $this,
  2113. $this->serviceName,
  2114. 'insightsdata',
  2115. [
  2116. 'methods' => [
  2117. 'export' => [
  2118. 'path' => 'v1/{+parent}/insightsdata:export',
  2119. 'httpMethod' => 'POST',
  2120. 'parameters' => [
  2121. 'parent' => [
  2122. 'location' => 'path',
  2123. 'type' => 'string',
  2124. 'required' => true,
  2125. ],
  2126. ],
  2127. ],
  2128. ]
  2129. ]
  2130. );
  2131. $this->projects_locations_encryptionSpec = new Contactcenterinsights\Resource\ProjectsLocationsEncryptionSpec(
  2132. $this,
  2133. $this->serviceName,
  2134. 'encryptionSpec',
  2135. [
  2136. 'methods' => [
  2137. 'initialize' => [
  2138. 'path' => 'v1/{+name}:initialize',
  2139. 'httpMethod' => 'POST',
  2140. 'parameters' => [
  2141. 'name' => [
  2142. 'location' => 'path',
  2143. 'type' => 'string',
  2144. 'required' => true,
  2145. ],
  2146. ],
  2147. ],
  2148. ]
  2149. ]
  2150. );
  2151. $this->projects_locations_insightsdata = new Contactcenterinsights\Resource\ProjectsLocationsInsightsdata(
  2152. $this,
  2153. $this->serviceName,
  2154. 'insightsdata',
  2155. [
  2156. 'methods' => [
  2157. 'export' => [
  2158. 'path' => 'v1/{+parent}/insightsdata:export',
  2159. 'httpMethod' => 'POST',
  2160. 'parameters' => [
  2161. 'parent' => [
  2162. 'location' => 'path',
  2163. 'type' => 'string',
  2164. 'required' => true,
  2165. ],
  2166. ],
  2167. ],
  2168. ]
  2169. ]
  2170. );
  2171. $this->projects_locations_issueModels = new Contactcenterinsights\Resource\ProjectsLocationsIssueModels(
  2172. $this,
  2173. $this->serviceName,
  2174. 'issueModels',
  2175. [
  2176. 'methods' => [
  2177. 'calculateIssueModelStats' => [
  2178. 'path' => 'v1/{+issueModel}:calculateIssueModelStats',
  2179. 'httpMethod' => 'GET',
  2180. 'parameters' => [
  2181. 'issueModel' => [
  2182. 'location' => 'path',
  2183. 'type' => 'string',
  2184. 'required' => true,
  2185. ],
  2186. ],
  2187. ],'create' => [
  2188. 'path' => 'v1/{+parent}/issueModels',
  2189. 'httpMethod' => 'POST',
  2190. 'parameters' => [
  2191. 'parent' => [
  2192. 'location' => 'path',
  2193. 'type' => 'string',
  2194. 'required' => true,
  2195. ],
  2196. ],
  2197. ],'delete' => [
  2198. 'path' => 'v1/{+name}',
  2199. 'httpMethod' => 'DELETE',
  2200. 'parameters' => [
  2201. 'name' => [
  2202. 'location' => 'path',
  2203. 'type' => 'string',
  2204. 'required' => true,
  2205. ],
  2206. ],
  2207. ],'deploy' => [
  2208. 'path' => 'v1/{+name}:deploy',
  2209. 'httpMethod' => 'POST',
  2210. 'parameters' => [
  2211. 'name' => [
  2212. 'location' => 'path',
  2213. 'type' => 'string',
  2214. 'required' => true,
  2215. ],
  2216. ],
  2217. ],'export' => [
  2218. 'path' => 'v1/{+name}:export',
  2219. 'httpMethod' => 'POST',
  2220. 'parameters' => [
  2221. 'name' => [
  2222. 'location' => 'path',
  2223. 'type' => 'string',
  2224. 'required' => true,
  2225. ],
  2226. ],
  2227. ],'get' => [
  2228. 'path' => 'v1/{+name}',
  2229. 'httpMethod' => 'GET',
  2230. 'parameters' => [
  2231. 'name' => [
  2232. 'location' => 'path',
  2233. 'type' => 'string',
  2234. 'required' => true,
  2235. ],
  2236. ],
  2237. ],'import' => [
  2238. 'path' => 'v1/{+parent}/issueModels:import',
  2239. 'httpMethod' => 'POST',
  2240. 'parameters' => [
  2241. 'parent' => [
  2242. 'location' => 'path',
  2243. 'type' => 'string',
  2244. 'required' => true,
  2245. ],
  2246. ],
  2247. ],'list' => [
  2248. 'path' => 'v1/{+parent}/issueModels',
  2249. 'httpMethod' => 'GET',
  2250. 'parameters' => [
  2251. 'parent' => [
  2252. 'location' => 'path',
  2253. 'type' => 'string',
  2254. 'required' => true,
  2255. ],
  2256. ],
  2257. ],'patch' => [
  2258. 'path' => 'v1/{+name}',
  2259. 'httpMethod' => 'PATCH',
  2260. 'parameters' => [
  2261. 'name' => [
  2262. 'location' => 'path',
  2263. 'type' => 'string',
  2264. 'required' => true,
  2265. ],
  2266. 'updateMask' => [
  2267. 'location' => 'query',
  2268. 'type' => 'string',
  2269. ],
  2270. ],
  2271. ],'undeploy' => [
  2272. 'path' => 'v1/{+name}:undeploy',
  2273. 'httpMethod' => 'POST',
  2274. 'parameters' => [
  2275. 'name' => [
  2276. 'location' => 'path',
  2277. 'type' => 'string',
  2278. 'required' => true,
  2279. ],
  2280. ],
  2281. ],
  2282. ]
  2283. ]
  2284. );
  2285. $this->projects_locations_issueModels_issues = new Contactcenterinsights\Resource\ProjectsLocationsIssueModelsIssues(
  2286. $this,
  2287. $this->serviceName,
  2288. 'issues',
  2289. [
  2290. 'methods' => [
  2291. 'create' => [
  2292. 'path' => 'v1/{+parent}/issues',
  2293. 'httpMethod' => 'POST',
  2294. 'parameters' => [
  2295. 'parent' => [
  2296. 'location' => 'path',
  2297. 'type' => 'string',
  2298. 'required' => true,
  2299. ],
  2300. ],
  2301. ],'delete' => [
  2302. 'path' => 'v1/{+name}',
  2303. 'httpMethod' => 'DELETE',
  2304. 'parameters' => [
  2305. 'name' => [
  2306. 'location' => 'path',
  2307. 'type' => 'string',
  2308. 'required' => true,
  2309. ],
  2310. ],
  2311. ],'get' => [
  2312. 'path' => 'v1/{+name}',
  2313. 'httpMethod' => 'GET',
  2314. 'parameters' => [
  2315. 'name' => [
  2316. 'location' => 'path',
  2317. 'type' => 'string',
  2318. 'required' => true,
  2319. ],
  2320. ],
  2321. ],'list' => [
  2322. 'path' => 'v1/{+parent}/issues',
  2323. 'httpMethod' => 'GET',
  2324. 'parameters' => [
  2325. 'parent' => [
  2326. 'location' => 'path',
  2327. 'type' => 'string',
  2328. 'required' => true,
  2329. ],
  2330. ],
  2331. ],'patch' => [
  2332. 'path' => 'v1/{+name}',
  2333. 'httpMethod' => 'PATCH',
  2334. 'parameters' => [
  2335. 'name' => [
  2336. 'location' => 'path',
  2337. 'type' => 'string',
  2338. 'required' => true,
  2339. ],
  2340. 'updateMask' => [
  2341. 'location' => 'query',
  2342. 'type' => 'string',
  2343. ],
  2344. ],
  2345. ],
  2346. ]
  2347. ]
  2348. );
  2349. $this->projects_locations_operations = new Contactcenterinsights\Resource\ProjectsLocationsOperations(
  2350. $this,
  2351. $this->serviceName,
  2352. 'operations',
  2353. [
  2354. 'methods' => [
  2355. 'cancel' => [
  2356. 'path' => 'v1/{+name}:cancel',
  2357. 'httpMethod' => 'POST',
  2358. 'parameters' => [
  2359. 'name' => [
  2360. 'location' => 'path',
  2361. 'type' => 'string',
  2362. 'required' => true,
  2363. ],
  2364. ],
  2365. ],'get' => [
  2366. 'path' => 'v1/{+name}',
  2367. 'httpMethod' => 'GET',
  2368. 'parameters' => [
  2369. 'name' => [
  2370. 'location' => 'path',
  2371. 'type' => 'string',
  2372. 'required' => true,
  2373. ],
  2374. ],
  2375. ],'list' => [
  2376. 'path' => 'v1/{+name}/operations',
  2377. 'httpMethod' => 'GET',
  2378. 'parameters' => [
  2379. 'name' => [
  2380. 'location' => 'path',
  2381. 'type' => 'string',
  2382. 'required' => true,
  2383. ],
  2384. 'filter' => [
  2385. 'location' => 'query',
  2386. 'type' => 'string',
  2387. ],
  2388. 'pageSize' => [
  2389. 'location' => 'query',
  2390. 'type' => 'integer',
  2391. ],
  2392. 'pageToken' => [
  2393. 'location' => 'query',
  2394. 'type' => 'string',
  2395. ],
  2396. 'returnPartialSuccess' => [
  2397. 'location' => 'query',
  2398. 'type' => 'boolean',
  2399. ],
  2400. ],
  2401. ],
  2402. ]
  2403. ]
  2404. );
  2405. $this->projects_locations_phraseMatchers = new Contactcenterinsights\Resource\ProjectsLocationsPhraseMatchers(
  2406. $this,
  2407. $this->serviceName,
  2408. 'phraseMatchers',
  2409. [
  2410. 'methods' => [
  2411. 'create' => [
  2412. 'path' => 'v1/{+parent}/phraseMatchers',
  2413. 'httpMethod' => 'POST',
  2414. 'parameters' => [
  2415. 'parent' => [
  2416. 'location' => 'path',
  2417. 'type' => 'string',
  2418. 'required' => true,
  2419. ],
  2420. ],
  2421. ],'delete' => [
  2422. 'path' => 'v1/{+name}',
  2423. 'httpMethod' => 'DELETE',
  2424. 'parameters' => [
  2425. 'name' => [
  2426. 'location' => 'path',
  2427. 'type' => 'string',
  2428. 'required' => true,
  2429. ],
  2430. ],
  2431. ],'get' => [
  2432. 'path' => 'v1/{+name}',
  2433. 'httpMethod' => 'GET',
  2434. 'parameters' => [
  2435. 'name' => [
  2436. 'location' => 'path',
  2437. 'type' => 'string',
  2438. 'required' => true,
  2439. ],
  2440. ],
  2441. ],'list' => [
  2442. 'path' => 'v1/{+parent}/phraseMatchers',
  2443. 'httpMethod' => 'GET',
  2444. 'parameters' => [
  2445. 'parent' => [
  2446. 'location' => 'path',
  2447. 'type' => 'string',
  2448. 'required' => true,
  2449. ],
  2450. 'filter' => [
  2451. 'location' => 'query',
  2452. 'type' => 'string',
  2453. ],
  2454. 'pageSize' => [
  2455. 'location' => 'query',
  2456. 'type' => 'integer',
  2457. ],
  2458. 'pageToken' => [
  2459. 'location' => 'query',
  2460. 'type' => 'string',
  2461. ],
  2462. ],
  2463. ],'patch' => [
  2464. 'path' => 'v1/{+name}',
  2465. 'httpMethod' => 'PATCH',
  2466. 'parameters' => [
  2467. 'name' => [
  2468. 'location' => 'path',
  2469. 'type' => 'string',
  2470. 'required' => true,
  2471. ],
  2472. 'updateMask' => [
  2473. 'location' => 'query',
  2474. 'type' => 'string',
  2475. ],
  2476. ],
  2477. ],
  2478. ]
  2479. ]
  2480. );
  2481. $this->projects_locations_qaQuestionTags = new Contactcenterinsights\Resource\ProjectsLocationsQaQuestionTags(
  2482. $this,
  2483. $this->serviceName,
  2484. 'qaQuestionTags',
  2485. [
  2486. 'methods' => [
  2487. 'create' => [
  2488. 'path' => 'v1/{+parent}/qaQuestionTags',
  2489. 'httpMethod' => 'POST',
  2490. 'parameters' => [
  2491. 'parent' => [
  2492. 'location' => 'path',
  2493. 'type' => 'string',
  2494. 'required' => true,
  2495. ],
  2496. 'qaQuestionTagId' => [
  2497. 'location' => 'query',
  2498. 'type' => 'string',
  2499. ],
  2500. ],
  2501. ],'delete' => [
  2502. 'path' => 'v1/{+name}',
  2503. 'httpMethod' => 'DELETE',
  2504. 'parameters' => [
  2505. 'name' => [
  2506. 'location' => 'path',
  2507. 'type' => 'string',
  2508. 'required' => true,
  2509. ],
  2510. ],
  2511. ],'get' => [
  2512. 'path' => 'v1/{+name}',
  2513. 'httpMethod' => 'GET',
  2514. 'parameters' => [
  2515. 'name' => [
  2516. 'location' => 'path',
  2517. 'type' => 'string',
  2518. 'required' => true,
  2519. ],
  2520. ],
  2521. ],'list' => [
  2522. 'path' => 'v1/{+parent}/qaQuestionTags',
  2523. 'httpMethod' => 'GET',
  2524. 'parameters' => [
  2525. 'parent' => [
  2526. 'location' => 'path',
  2527. 'type' => 'string',
  2528. 'required' => true,
  2529. ],
  2530. 'filter' => [
  2531. 'location' => 'query',
  2532. 'type' => 'string',
  2533. ],
  2534. ],
  2535. ],'patch' => [
  2536. 'path' => 'v1/{+name}',
  2537. 'httpMethod' => 'PATCH',
  2538. 'parameters' => [
  2539. 'name' => [
  2540. 'location' => 'path',
  2541. 'type' => 'string',
  2542. 'required' => true,
  2543. ],
  2544. 'updateMask' => [
  2545. 'location' => 'query',
  2546. 'type' => 'string',
  2547. ],
  2548. ],
  2549. ],
  2550. ]
  2551. ]
  2552. );
  2553. $this->projects_locations_qaScorecards = new Contactcenterinsights\Resource\ProjectsLocationsQaScorecards(
  2554. $this,
  2555. $this->serviceName,
  2556. 'qaScorecards',
  2557. [
  2558. 'methods' => [
  2559. 'create' => [
  2560. 'path' => 'v1/{+parent}/qaScorecards',
  2561. 'httpMethod' => 'POST',
  2562. 'parameters' => [
  2563. 'parent' => [
  2564. 'location' => 'path',
  2565. 'type' => 'string',
  2566. 'required' => true,
  2567. ],
  2568. 'qaScorecardId' => [
  2569. 'location' => 'query',
  2570. 'type' => 'string',
  2571. ],
  2572. ],
  2573. ],'delete' => [
  2574. 'path' => 'v1/{+name}',
  2575. 'httpMethod' => 'DELETE',
  2576. 'parameters' => [
  2577. 'name' => [
  2578. 'location' => 'path',
  2579. 'type' => 'string',
  2580. 'required' => true,
  2581. ],
  2582. 'force' => [
  2583. 'location' => 'query',
  2584. 'type' => 'boolean',
  2585. ],
  2586. ],
  2587. ],'get' => [
  2588. 'path' => 'v1/{+name}',
  2589. 'httpMethod' => 'GET',
  2590. 'parameters' => [
  2591. 'name' => [
  2592. 'location' => 'path',
  2593. 'type' => 'string',
  2594. 'required' => true,
  2595. ],
  2596. ],
  2597. ],'list' => [
  2598. 'path' => 'v1/{+parent}/qaScorecards',
  2599. 'httpMethod' => 'GET',
  2600. 'parameters' => [
  2601. 'parent' => [
  2602. 'location' => 'path',
  2603. 'type' => 'string',
  2604. 'required' => true,
  2605. ],
  2606. 'pageSize' => [
  2607. 'location' => 'query',
  2608. 'type' => 'integer',
  2609. ],
  2610. 'pageToken' => [
  2611. 'location' => 'query',
  2612. 'type' => 'string',
  2613. ],
  2614. 'qaScorecardSources' => [
  2615. 'location' => 'query',
  2616. 'type' => 'string',
  2617. 'repeated' => true,
  2618. ],
  2619. ],
  2620. ],'patch' => [
  2621. 'path' => 'v1/{+name}',
  2622. 'httpMethod' => 'PATCH',
  2623. 'parameters' => [
  2624. 'name' => [
  2625. 'location' => 'path',
  2626. 'type' => 'string',
  2627. 'required' => true,
  2628. ],
  2629. 'updateMask' => [
  2630. 'location' => 'query',
  2631. 'type' => 'string',
  2632. ],
  2633. ],
  2634. ],
  2635. ]
  2636. ]
  2637. );
  2638. $this->projects_locations_qaScorecards_revisions = new Contactcenterinsights\Resource\ProjectsLocationsQaScorecardsRevisions(
  2639. $this,
  2640. $this->serviceName,
  2641. 'revisions',
  2642. [
  2643. 'methods' => [
  2644. 'create' => [
  2645. 'path' => 'v1/{+parent}/revisions',
  2646. 'httpMethod' => 'POST',
  2647. 'parameters' => [
  2648. 'parent' => [
  2649. 'location' => 'path',
  2650. 'type' => 'string',
  2651. 'required' => true,
  2652. ],
  2653. 'qaScorecardRevisionId' => [
  2654. 'location' => 'query',
  2655. 'type' => 'string',
  2656. ],
  2657. ],
  2658. ],'delete' => [
  2659. 'path' => 'v1/{+name}',
  2660. 'httpMethod' => 'DELETE',
  2661. 'parameters' => [
  2662. 'name' => [
  2663. 'location' => 'path',
  2664. 'type' => 'string',
  2665. 'required' => true,
  2666. ],
  2667. 'force' => [
  2668. 'location' => 'query',
  2669. 'type' => 'boolean',
  2670. ],
  2671. ],
  2672. ],'deploy' => [
  2673. 'path' => 'v1/{+name}:deploy',
  2674. 'httpMethod' => 'POST',
  2675. 'parameters' => [
  2676. 'name' => [
  2677. 'location' => 'path',
  2678. 'type' => 'string',
  2679. 'required' => true,
  2680. ],
  2681. ],
  2682. ],'get' => [
  2683. 'path' => 'v1/{+name}',
  2684. 'httpMethod' => 'GET',
  2685. 'parameters' => [
  2686. 'name' => [
  2687. 'location' => 'path',
  2688. 'type' => 'string',
  2689. 'required' => true,
  2690. ],
  2691. ],
  2692. ],'list' => [
  2693. 'path' => 'v1/{+parent}/revisions',
  2694. 'httpMethod' => 'GET',
  2695. 'parameters' => [
  2696. 'parent' => [
  2697. 'location' => 'path',
  2698. 'type' => 'string',
  2699. 'required' => true,
  2700. ],
  2701. 'filter' => [
  2702. 'location' => 'query',
  2703. 'type' => 'string',
  2704. ],
  2705. 'pageSize' => [
  2706. 'location' => 'query',
  2707. 'type' => 'integer',
  2708. ],
  2709. 'pageToken' => [
  2710. 'location' => 'query',
  2711. 'type' => 'string',
  2712. ],
  2713. 'qaScorecardSources' => [
  2714. 'location' => 'query',
  2715. 'type' => 'string',
  2716. 'repeated' => true,
  2717. ],
  2718. ],
  2719. ],'tuneQaScorecardRevision' => [
  2720. 'path' => 'v1/{+parent}:tuneQaScorecardRevision',
  2721. 'httpMethod' => 'POST',
  2722. 'parameters' => [
  2723. 'parent' => [
  2724. 'location' => 'path',
  2725. 'type' => 'string',
  2726. 'required' => true,
  2727. ],
  2728. ],
  2729. ],'undeploy' => [
  2730. 'path' => 'v1/{+name}:undeploy',
  2731. 'httpMethod' => 'POST',
  2732. 'parameters' => [
  2733. 'name' => [
  2734. 'location' => 'path',
  2735. 'type' => 'string',
  2736. 'required' => true,
  2737. ],
  2738. ],
  2739. ],
  2740. ]
  2741. ]
  2742. );
  2743. $this->projects_locations_qaScorecards_revisions_qaQuestions = new Contactcenterinsights\Resource\ProjectsLocationsQaScorecardsRevisionsQaQuestions(
  2744. $this,
  2745. $this->serviceName,
  2746. 'qaQuestions',
  2747. [
  2748. 'methods' => [
  2749. 'create' => [
  2750. 'path' => 'v1/{+parent}/qaQuestions',
  2751. 'httpMethod' => 'POST',
  2752. 'parameters' => [
  2753. 'parent' => [
  2754. 'location' => 'path',
  2755. 'type' => 'string',
  2756. 'required' => true,
  2757. ],
  2758. 'qaQuestionId' => [
  2759. 'location' => 'query',
  2760. 'type' => 'string',
  2761. ],
  2762. ],
  2763. ],'delete' => [
  2764. 'path' => 'v1/{+name}',
  2765. 'httpMethod' => 'DELETE',
  2766. 'parameters' => [
  2767. 'name' => [
  2768. 'location' => 'path',
  2769. 'type' => 'string',
  2770. 'required' => true,
  2771. ],
  2772. ],
  2773. ],'get' => [
  2774. 'path' => 'v1/{+name}',
  2775. 'httpMethod' => 'GET',
  2776. 'parameters' => [
  2777. 'name' => [
  2778. 'location' => 'path',
  2779. 'type' => 'string',
  2780. 'required' => true,
  2781. ],
  2782. ],
  2783. ],'list' => [
  2784. 'path' => 'v1/{+parent}/qaQuestions',
  2785. 'httpMethod' => 'GET',
  2786. 'parameters' => [
  2787. 'parent' => [
  2788. 'location' => 'path',
  2789. 'type' => 'string',
  2790. 'required' => true,
  2791. ],
  2792. 'pageSize' => [
  2793. 'location' => 'query',
  2794. 'type' => 'integer',
  2795. ],
  2796. 'pageToken' => [
  2797. 'location' => 'query',
  2798. 'type' => 'string',
  2799. ],
  2800. ],
  2801. ],'patch' => [
  2802. 'path' => 'v1/{+name}',
  2803. 'httpMethod' => 'PATCH',
  2804. 'parameters' => [
  2805. 'name' => [
  2806. 'location' => 'path',
  2807. 'type' => 'string',
  2808. 'required' => true,
  2809. ],
  2810. 'updateMask' => [
  2811. 'location' => 'query',
  2812. 'type' => 'string',
  2813. ],
  2814. ],
  2815. ],
  2816. ]
  2817. ]
  2818. );
  2819. $this->projects_locations_views = new Contactcenterinsights\Resource\ProjectsLocationsViews(
  2820. $this,
  2821. $this->serviceName,
  2822. 'views',
  2823. [
  2824. 'methods' => [
  2825. 'create' => [
  2826. 'path' => 'v1/{+parent}/views',
  2827. 'httpMethod' => 'POST',
  2828. 'parameters' => [
  2829. 'parent' => [
  2830. 'location' => 'path',
  2831. 'type' => 'string',
  2832. 'required' => true,
  2833. ],
  2834. ],
  2835. ],'delete' => [
  2836. 'path' => 'v1/{+name}',
  2837. 'httpMethod' => 'DELETE',
  2838. 'parameters' => [
  2839. 'name' => [
  2840. 'location' => 'path',
  2841. 'type' => 'string',
  2842. 'required' => true,
  2843. ],
  2844. ],
  2845. ],'get' => [
  2846. 'path' => 'v1/{+name}',
  2847. 'httpMethod' => 'GET',
  2848. 'parameters' => [
  2849. 'name' => [
  2850. 'location' => 'path',
  2851. 'type' => 'string',
  2852. 'required' => true,
  2853. ],
  2854. ],
  2855. ],'list' => [
  2856. 'path' => 'v1/{+parent}/views',
  2857. 'httpMethod' => 'GET',
  2858. 'parameters' => [
  2859. 'parent' => [
  2860. 'location' => 'path',
  2861. 'type' => 'string',
  2862. 'required' => true,
  2863. ],
  2864. 'pageSize' => [
  2865. 'location' => 'query',
  2866. 'type' => 'integer',
  2867. ],
  2868. 'pageToken' => [
  2869. 'location' => 'query',
  2870. 'type' => 'string',
  2871. ],
  2872. ],
  2873. ],'patch' => [
  2874. 'path' => 'v1/{+name}',
  2875. 'httpMethod' => 'PATCH',
  2876. 'parameters' => [
  2877. 'name' => [
  2878. 'location' => 'path',
  2879. 'type' => 'string',
  2880. 'required' => true,
  2881. ],
  2882. 'updateMask' => [
  2883. 'location' => 'query',
  2884. 'type' => 'string',
  2885. ],
  2886. ],
  2887. ],
  2888. ]
  2889. ]
  2890. );
  2891. }
  2892. }
  2893. // Adding a class alias for backwards compatibility with the previous class name.
  2894. class_alias(Contactcenterinsights::class, 'Google_Service_Contactcenterinsights');