google-api-client 0.42.1 → 0.43.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (470) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +205 -0
  3. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  4. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  12. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  13. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  14. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  15. data/generated/google/apis/admob_v1.rb +1 -1
  16. data/generated/google/apis/admob_v1/classes.rb +139 -268
  17. data/generated/google/apis/admob_v1/service.rb +11 -13
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  23. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  25. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  28. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  32. data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
  33. data/generated/google/apis/apigee_v1.rb +6 -7
  34. data/generated/google/apis/apigee_v1/classes.rb +739 -1192
  35. data/generated/google/apis/apigee_v1/representations.rb +1 -2
  36. data/generated/google/apis/apigee_v1/service.rb +885 -1126
  37. data/generated/google/apis/appengine_v1.rb +1 -1
  38. data/generated/google/apis/appengine_v1/service.rb +6 -3
  39. data/generated/google/apis/appengine_v1beta.rb +1 -1
  40. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  41. data/generated/google/apis/appsmarket_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2.rb +1 -1
  43. data/generated/google/apis/bigquery_v2/classes.rb +198 -3
  44. data/generated/google/apis/bigquery_v2/representations.rb +70 -0
  45. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  46. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  47. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
  50. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  51. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  52. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  53. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
  54. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  55. data/generated/google/apis/blogger_v2.rb +2 -3
  56. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  57. data/generated/google/apis/blogger_v2/service.rb +1 -2
  58. data/generated/google/apis/blogger_v3.rb +2 -3
  59. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  60. data/generated/google/apis/blogger_v3/service.rb +1 -2
  61. data/generated/google/apis/books_v1.rb +1 -1
  62. data/generated/google/apis/books_v1/classes.rb +140 -159
  63. data/generated/google/apis/books_v1/service.rb +47 -49
  64. data/generated/google/apis/chat_v1.rb +1 -1
  65. data/generated/google/apis/chat_v1/classes.rb +19 -0
  66. data/generated/google/apis/chat_v1/representations.rb +13 -0
  67. data/generated/google/apis/chat_v1/service.rb +39 -0
  68. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  69. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  70. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  71. data/generated/google/apis/classroom_v1.rb +1 -1
  72. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  73. data/generated/google/apis/classroom_v1/service.rb +643 -902
  74. data/generated/google/apis/cloudasset_v1.rb +1 -1
  75. data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
  76. data/generated/google/apis/cloudasset_v1/service.rb +62 -45
  77. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
  79. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  80. data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
  81. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
  82. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  83. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  84. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  87. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  88. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
  89. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  90. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  91. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
  92. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
  93. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  99. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  101. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  102. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  104. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  105. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  106. data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
  107. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  108. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
  110. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  111. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  112. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
  113. data/generated/google/apis/cloudshell_v1.rb +1 -1
  114. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  115. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  116. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  117. data/generated/google/apis/compute_alpha.rb +1 -1
  118. data/generated/google/apis/compute_alpha/classes.rb +350 -20
  119. data/generated/google/apis/compute_alpha/representations.rb +100 -0
  120. data/generated/google/apis/compute_alpha/service.rb +15 -7
  121. data/generated/google/apis/compute_beta.rb +1 -1
  122. data/generated/google/apis/compute_beta/classes.rb +39 -14
  123. data/generated/google/apis/compute_beta/representations.rb +2 -0
  124. data/generated/google/apis/compute_beta/service.rb +15 -7
  125. data/generated/google/apis/compute_v1.rb +1 -1
  126. data/generated/google/apis/compute_v1/classes.rb +65 -42
  127. data/generated/google/apis/compute_v1/representations.rb +18 -15
  128. data/generated/google/apis/compute_v1/service.rb +63 -19
  129. data/generated/google/apis/container_v1.rb +1 -1
  130. data/generated/google/apis/container_v1/classes.rb +26 -0
  131. data/generated/google/apis/container_v1/representations.rb +15 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +15 -0
  134. data/generated/google/apis/content_v2/representations.rb +1 -0
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +15 -0
  137. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  138. data/generated/google/apis/customsearch_v1.rb +1 -1
  139. data/generated/google/apis/customsearch_v1/classes.rb +303 -488
  140. data/generated/google/apis/customsearch_v1/service.rb +186 -343
  141. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  142. data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
  143. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  144. data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
  145. data/generated/google/apis/datafusion_v1.rb +43 -0
  146. data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
  147. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -94
  148. data/generated/google/apis/datafusion_v1/service.rb +680 -0
  149. data/generated/google/apis/dataproc_v1.rb +1 -1
  150. data/generated/google/apis/dataproc_v1/classes.rb +192 -316
  151. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  152. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  153. data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
  154. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  155. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  156. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  157. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  158. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  159. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  160. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  161. data/generated/google/apis/dialogflow_v2.rb +1 -1
  162. data/generated/google/apis/dialogflow_v2/classes.rb +1301 -1539
  163. data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
  164. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  165. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  166. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1379 -1619
  167. data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
  168. data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -990
  169. data/generated/google/apis/displayvideo_v1.rb +7 -1
  170. data/generated/google/apis/displayvideo_v1/classes.rb +1775 -1731
  171. data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
  172. data/generated/google/apis/displayvideo_v1/service.rb +1277 -926
  173. data/generated/google/apis/dlp_v2.rb +1 -1
  174. data/generated/google/apis/dlp_v2/classes.rb +5 -4
  175. data/generated/google/apis/dns_v1.rb +1 -1
  176. data/generated/google/apis/dns_v1/classes.rb +7 -7
  177. data/generated/google/apis/dns_v1beta2.rb +1 -1
  178. data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
  179. data/generated/google/apis/dns_v2beta1.rb +1 -1
  180. data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
  181. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  182. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  183. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  184. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  185. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  186. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
  187. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  188. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
  189. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  190. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
  191. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  192. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  193. data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
  194. data/generated/google/apis/drive_v2.rb +1 -1
  195. data/generated/google/apis/drive_v2/classes.rb +3 -1
  196. data/generated/google/apis/drive_v3.rb +1 -1
  197. data/generated/google/apis/drive_v3/classes.rb +9 -1
  198. data/generated/google/apis/drive_v3/representations.rb +1 -0
  199. data/generated/google/apis/driveactivity_v2.rb +1 -1
  200. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  201. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  202. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  203. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  204. data/generated/google/apis/fcm_v1.rb +1 -1
  205. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  206. data/generated/google/apis/fcm_v1/service.rb +5 -6
  207. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  208. data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
  209. data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
  210. data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
  211. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  212. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  213. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  214. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  215. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  216. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  217. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  218. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
  219. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  220. data/generated/google/apis/firebaseml_v1.rb +1 -1
  221. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  222. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  223. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  224. data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
  225. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  226. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  227. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  228. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  229. data/generated/google/apis/games_management_v1management.rb +1 -1
  230. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  231. data/generated/google/apis/games_v1.rb +1 -1
  232. data/generated/google/apis/games_v1/classes.rb +1 -1
  233. data/generated/google/apis/games_v1/service.rb +2 -2
  234. data/generated/google/apis/gameservices_v1.rb +1 -1
  235. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  236. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  237. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  238. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  239. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  240. data/generated/google/apis/genomics_v1.rb +1 -1
  241. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  242. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  243. data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
  244. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
  245. data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
  246. data/generated/google/apis/gmail_v1.rb +3 -3
  247. data/generated/google/apis/gmail_v1/classes.rb +216 -269
  248. data/generated/google/apis/gmail_v1/service.rb +257 -285
  249. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
  250. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  251. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
  252. data/generated/google/apis/healthcare_v1.rb +1 -1
  253. data/generated/google/apis/healthcare_v1/service.rb +26 -14
  254. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  255. data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
  256. data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
  257. data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
  258. data/generated/google/apis/language_v1.rb +1 -1
  259. data/generated/google/apis/language_v1/classes.rb +93 -111
  260. data/generated/google/apis/language_v1/service.rb +4 -4
  261. data/generated/google/apis/language_v1beta1.rb +1 -1
  262. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  263. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  264. data/generated/google/apis/language_v1beta2.rb +1 -1
  265. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  266. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  267. data/generated/google/apis/libraryagent_v1.rb +1 -1
  268. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  269. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  270. data/generated/google/apis/logging_v2.rb +1 -1
  271. data/generated/google/apis/logging_v2/classes.rb +6 -6
  272. data/generated/google/apis/managedidentities_v1.rb +1 -1
  273. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  274. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  275. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  276. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  277. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  278. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  279. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  280. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  281. data/generated/google/apis/{cloudfunctions_v1beta2.rb → memcache_v1.rb} +10 -9
  282. data/generated/google/apis/memcache_v1/classes.rb +1157 -0
  283. data/generated/google/apis/memcache_v1/representations.rb +471 -0
  284. data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
  285. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  286. data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
  287. data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
  288. data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
  289. data/generated/google/apis/monitoring_v1.rb +1 -1
  290. data/generated/google/apis/monitoring_v1/classes.rb +14 -12
  291. data/generated/google/apis/monitoring_v3.rb +1 -1
  292. data/generated/google/apis/monitoring_v3/classes.rb +36 -18
  293. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  294. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  295. data/generated/google/apis/osconfig_v1.rb +1 -1
  296. data/generated/google/apis/osconfig_v1/classes.rb +796 -0
  297. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  298. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  299. data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
  300. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  301. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  302. data/generated/google/apis/people_v1.rb +1 -1
  303. data/generated/google/apis/people_v1/classes.rb +382 -401
  304. data/generated/google/apis/people_v1/representations.rb +57 -0
  305. data/generated/google/apis/people_v1/service.rb +169 -385
  306. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  307. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  308. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  309. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  310. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  311. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  312. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  313. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  314. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  315. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -219
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  318. data/generated/google/apis/pubsub_v1.rb +1 -1
  319. data/generated/google/apis/pubsub_v1/classes.rb +21 -0
  320. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  321. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  322. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  323. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  324. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  325. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
  326. data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
  327. data/generated/google/apis/recommender_v1.rb +1 -1
  328. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  329. data/generated/google/apis/recommender_v1/service.rb +43 -58
  330. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  331. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  332. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  333. data/generated/google/apis/redis_v1.rb +1 -1
  334. data/generated/google/apis/redis_v1/classes.rb +397 -0
  335. data/generated/google/apis/redis_v1/representations.rb +139 -0
  336. data/generated/google/apis/redis_v1beta1.rb +1 -1
  337. data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
  338. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  339. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  342. data/generated/google/apis/run_v1.rb +1 -1
  343. data/generated/google/apis/run_v1/classes.rb +835 -1248
  344. data/generated/google/apis/run_v1/service.rb +233 -247
  345. data/generated/google/apis/run_v1alpha1.rb +1 -1
  346. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  347. data/generated/google/apis/run_v1alpha1/service.rb +321 -377
  348. data/generated/google/apis/run_v1beta1.rb +1 -1
  349. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  350. data/generated/google/apis/run_v1beta1/service.rb +16 -18
  351. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  352. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  353. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  354. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  355. data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -219
  356. data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
  357. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  358. data/generated/google/apis/searchconsole_v1.rb +1 -1
  359. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  360. data/generated/google/apis/securitycenter_v1.rb +1 -1
  361. data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
  362. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  363. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  364. data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
  365. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  366. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  367. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
  368. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
  369. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  370. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
  371. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
  372. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  373. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
  377. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  378. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  379. data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
  380. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  381. data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
  382. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  383. data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
  384. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  385. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  386. data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
  387. data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
  388. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  389. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
  390. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  391. data/generated/google/apis/serviceusage_v1.rb +1 -1
  392. data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
  393. data/generated/google/apis/serviceusage_v1/service.rb +63 -80
  394. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  395. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
  396. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  397. data/generated/google/apis/spanner_v1.rb +1 -1
  398. data/generated/google/apis/spanner_v1/classes.rb +3 -2
  399. data/generated/google/apis/sql_v1beta4.rb +1 -1
  400. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  401. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  402. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  403. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  404. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
  405. data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
  406. data/generated/google/apis/tagmanager_v1.rb +2 -3
  407. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  408. data/generated/google/apis/tagmanager_v1/service.rb +20 -21
  409. data/generated/google/apis/tagmanager_v2.rb +2 -3
  410. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  411. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  412. data/generated/google/apis/tagmanager_v2/service.rb +187 -283
  413. data/generated/google/apis/testing_v1.rb +1 -1
  414. data/generated/google/apis/testing_v1/classes.rb +63 -0
  415. data/generated/google/apis/testing_v1/representations.rb +32 -0
  416. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  417. data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
  418. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  419. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  420. data/generated/google/apis/tpu_v1.rb +1 -1
  421. data/generated/google/apis/tpu_v1/classes.rb +68 -78
  422. data/generated/google/apis/tpu_v1/service.rb +21 -25
  423. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  424. data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
  425. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  426. data/generated/google/apis/translate_v3.rb +1 -1
  427. data/generated/google/apis/translate_v3/service.rb +14 -1
  428. data/generated/google/apis/translate_v3beta1.rb +1 -1
  429. data/generated/google/apis/translate_v3beta1/service.rb +14 -1
  430. data/generated/google/apis/vision_v1.rb +1 -1
  431. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  432. data/generated/google/apis/vision_v1/service.rb +254 -340
  433. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  434. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  435. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  436. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  437. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  438. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  439. data/generated/google/apis/webfonts_v1.rb +1 -1
  440. data/generated/google/apis/webfonts_v1/service.rb +2 -2
  441. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  442. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  443. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  444. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  445. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  446. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  447. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  448. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  449. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  450. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  452. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  453. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  454. data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
  455. data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
  456. data/generated/google/apis/youtube_v3.rb +1 -1
  457. data/generated/google/apis/youtube_v3/classes.rb +943 -1175
  458. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  459. data/generated/google/apis/youtube_v3/service.rb +1007 -1316
  460. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  461. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  462. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  463. data/lib/google/apis/core/base_service.rb +7 -1
  464. data/lib/google/apis/version.rb +1 -1
  465. metadata +19 -11
  466. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
  467. data/generated/google/apis/fitness_v1.rb +0 -85
  468. data/generated/google/apis/fitness_v1/classes.rb +0 -1020
  469. data/generated/google/apis/fitness_v1/representations.rb +0 -398
  470. data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -887,6 +887,7 @@ module Google
887
887
  # @private
888
888
  class Representation < Google::Apis::Core::JsonRepresentation
889
889
  property :crashed, as: 'crashed'
890
+ property :failed_roboscript, as: 'failedRoboscript'
890
891
  property :not_installed, as: 'notInstalled'
891
892
  property :other_native_crash, as: 'otherNativeCrash'
892
893
  property :timed_out, as: 'timedOut'
@@ -43,23 +43,15 @@ module Google
43
43
  attr_accessor :quota_user
44
44
 
45
45
  def initialize
46
- super('https://www.googleapis.com/', '')
47
- @batch_path = 'batch/toolresults/v1beta3'
46
+ super('https://toolresults.googleapis.com/', '')
47
+ @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Retrieves a single screenshot cluster by its ID
50
+ # Gets the Tool Results settings for a project. May return any of the following
51
+ # canonical error codes: - PERMISSION_DENIED - if the user is not authorized to
52
+ # read from project
51
53
  # @param [String] project_id
52
- # A Project id.
53
- # Required.
54
- # @param [String] history_id
55
- # A History id.
56
- # Required.
57
- # @param [String] execution_id
58
- # An Execution id.
59
- # Required.
60
- # @param [String] cluster_id
61
- # A Cluster id
62
- # Required.
54
+ # A Project id. Required.
63
55
  # @param [String] fields
64
56
  # Selector specifying which fields to include in a partial response.
65
57
  # @param [String] quota_user
@@ -69,44 +61,44 @@ module Google
69
61
  # Request-specific options
70
62
  #
71
63
  # @yield [result, err] Result & error if block supplied
72
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::ScreenshotCluster] parsed result object
64
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::ProjectSettings] parsed result object
73
65
  # @yieldparam err [StandardError] error object if request failed
74
66
  #
75
- # @return [Google::Apis::ToolresultsV1beta3::ScreenshotCluster]
67
+ # @return [Google::Apis::ToolresultsV1beta3::ProjectSettings]
76
68
  #
77
69
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
70
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
71
  # @raise [Google::Apis::AuthorizationError] Authorization is required
80
- def get_cluster(project_id, history_id, execution_id, cluster_id, fields: nil, quota_user: nil, options: nil, &block)
81
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}', options)
82
- command.response_representation = Google::Apis::ToolresultsV1beta3::ScreenshotCluster::Representation
83
- command.response_class = Google::Apis::ToolresultsV1beta3::ScreenshotCluster
72
+ def get_project_settings(project_id, fields: nil, quota_user: nil, options: nil, &block)
73
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/settings', options)
74
+ command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
75
+ command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
84
76
  command.params['projectId'] = project_id unless project_id.nil?
85
- command.params['historyId'] = history_id unless history_id.nil?
86
- command.params['executionId'] = execution_id unless execution_id.nil?
87
- command.params['clusterId'] = cluster_id unless cluster_id.nil?
88
77
  command.query['fields'] = fields unless fields.nil?
89
78
  command.query['quotaUser'] = quota_user unless quota_user.nil?
90
79
  execute_or_queue_command(command, &block)
91
80
  end
92
81
 
93
- # Lists Screenshot Clusters
94
- # Returns the list of screenshot clusters corresponding to an execution.
95
- # Screenshot clusters are created after the execution is finished.
96
- # Clusters are created from a set of screenshots. Between any two
97
- # screenshots, a matching score is calculated based off their metadata
98
- # that determines how similar they are. Screenshots are placed
99
- # in the cluster that has screens which have the highest matching
100
- # scores.
82
+ # Creates resources for settings which have not yet been set. Currently, this
83
+ # creates a single resource: a Google Cloud Storage bucket, to be used as the
84
+ # default bucket for this project. The bucket is created in an FTL-own storage
85
+ # project. Except for in rare cases, calling this method in parallel from
86
+ # multiple clients will only create a single bucket. In order to avoid
87
+ # unnecessary storage charges, the bucket is configured to automatically delete
88
+ # objects older than 90 days. The bucket is created with the following
89
+ # permissions: - Owner access for owners of central storage project (FTL-owned) -
90
+ # Writer access for owners/editors of customer project - Reader access for
91
+ # viewers of customer project The default ACL on objects created in the bucket
92
+ # is: - Owner access for owners of central storage project - Reader access for
93
+ # owners/editors/viewers of customer project See Google Cloud Storage
94
+ # documentation for more details. If there is already a default bucket set and
95
+ # the project can access the bucket, this call does nothing. However, if the
96
+ # project doesn't have the permission to access the bucket or the bucket is
97
+ # deleted, a new bucket will be created. May return any canonical error codes,
98
+ # including the following: - PERMISSION_DENIED - if the user is not authorized
99
+ # to write to project - Any error code raised by Google Cloud Storage
101
100
  # @param [String] project_id
102
- # A Project id.
103
- # Required.
104
- # @param [String] history_id
105
- # A History id.
106
- # Required.
107
- # @param [String] execution_id
108
- # An Execution id.
109
- # Required.
101
+ # A Project id. Required.
110
102
  # @param [String] fields
111
103
  # Selector specifying which fields to include in a partial response.
112
104
  # @param [String] quota_user
@@ -116,39 +108,72 @@ module Google
116
108
  # Request-specific options
117
109
  #
118
110
  # @yield [result, err] Result & error if block supplied
119
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse] parsed result object
111
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::ProjectSettings] parsed result object
120
112
  # @yieldparam err [StandardError] error object if request failed
121
113
  #
122
- # @return [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse]
114
+ # @return [Google::Apis::ToolresultsV1beta3::ProjectSettings]
123
115
  #
124
116
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
125
117
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
126
118
  # @raise [Google::Apis::AuthorizationError] Authorization is required
127
- def list_clusters(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block)
128
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters', options)
129
- command.response_representation = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse::Representation
130
- command.response_class = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse
119
+ def initialize_project_settings(project_id, fields: nil, quota_user: nil, options: nil, &block)
120
+ command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}:initializeSettings', options)
121
+ command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
122
+ command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
131
123
  command.params['projectId'] = project_id unless project_id.nil?
132
- command.params['historyId'] = history_id unless history_id.nil?
133
- command.params['executionId'] = execution_id unless execution_id.nil?
134
124
  command.query['fields'] = fields unless fields.nil?
135
125
  command.query['quotaUser'] = quota_user unless quota_user.nil?
136
126
  execute_or_queue_command(command, &block)
137
127
  end
138
128
 
139
- # Gets an Environment.
140
- # May return any of the following canonical error codes:
141
- # - PERMISSION_DENIED - if the user is not authorized to read project
142
- # - INVALID_ARGUMENT - if the request is malformed
143
- # - NOT_FOUND - if the Environment does not exist
129
+ # Creates a History. The returned History will have the id set. May return any
130
+ # of the following canonical error codes: - PERMISSION_DENIED - if the user is
131
+ # not authorized to write to project - INVALID_ARGUMENT - if the request is
132
+ # malformed - NOT_FOUND - if the containing project does not exist
144
133
  # @param [String] project_id
145
- # Required. A Project id.
134
+ # A Project id. Required.
135
+ # @param [Google::Apis::ToolresultsV1beta3::History] history_object
136
+ # @param [String] request_id
137
+ # A unique request ID for server to detect duplicated requests. For example, a
138
+ # UUID. Optional, but strongly recommended.
139
+ # @param [String] fields
140
+ # Selector specifying which fields to include in a partial response.
141
+ # @param [String] quota_user
142
+ # Available to use for quota purposes for server-side applications. Can be any
143
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
144
+ # @param [Google::Apis::RequestOptions] options
145
+ # Request-specific options
146
+ #
147
+ # @yield [result, err] Result & error if block supplied
148
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::History] parsed result object
149
+ # @yieldparam err [StandardError] error object if request failed
150
+ #
151
+ # @return [Google::Apis::ToolresultsV1beta3::History]
152
+ #
153
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
154
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
156
+ def create_project_history(project_id, history_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
157
+ command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories', options)
158
+ command.request_representation = Google::Apis::ToolresultsV1beta3::History::Representation
159
+ command.request_object = history_object
160
+ command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
161
+ command.response_class = Google::Apis::ToolresultsV1beta3::History
162
+ command.params['projectId'] = project_id unless project_id.nil?
163
+ command.query['requestId'] = request_id unless request_id.nil?
164
+ command.query['fields'] = fields unless fields.nil?
165
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
166
+ execute_or_queue_command(command, &block)
167
+ end
168
+
169
+ # Gets a History. May return any of the following canonical error codes: -
170
+ # PERMISSION_DENIED - if the user is not authorized to read project -
171
+ # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History
172
+ # does not exist
173
+ # @param [String] project_id
174
+ # A Project id. Required.
146
175
  # @param [String] history_id
147
- # Required. A History id.
148
- # @param [String] execution_id
149
- # Required. An Execution id.
150
- # @param [String] environment_id
151
- # Required. An Environment id.
176
+ # A History id. Required.
152
177
  # @param [String] fields
153
178
  # Selector specifying which fields to include in a partial response.
154
179
  # @param [String] quota_user
@@ -158,45 +183,41 @@ module Google
158
183
  # Request-specific options
159
184
  #
160
185
  # @yield [result, err] Result & error if block supplied
161
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::Environment] parsed result object
186
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::History] parsed result object
162
187
  # @yieldparam err [StandardError] error object if request failed
163
188
  #
164
- # @return [Google::Apis::ToolresultsV1beta3::Environment]
189
+ # @return [Google::Apis::ToolresultsV1beta3::History]
165
190
  #
166
191
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
167
192
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
168
193
  # @raise [Google::Apis::AuthorizationError] Authorization is required
169
- def get_environment(project_id, history_id, execution_id, environment_id, fields: nil, quota_user: nil, options: nil, &block)
170
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}', options)
171
- command.response_representation = Google::Apis::ToolresultsV1beta3::Environment::Representation
172
- command.response_class = Google::Apis::ToolresultsV1beta3::Environment
194
+ def get_project_history(project_id, history_id, fields: nil, quota_user: nil, options: nil, &block)
195
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}', options)
196
+ command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
197
+ command.response_class = Google::Apis::ToolresultsV1beta3::History
173
198
  command.params['projectId'] = project_id unless project_id.nil?
174
199
  command.params['historyId'] = history_id unless history_id.nil?
175
- command.params['executionId'] = execution_id unless execution_id.nil?
176
- command.params['environmentId'] = environment_id unless environment_id.nil?
177
200
  command.query['fields'] = fields unless fields.nil?
178
201
  command.query['quotaUser'] = quota_user unless quota_user.nil?
179
202
  execute_or_queue_command(command, &block)
180
203
  end
181
204
 
182
- # Lists Environments for a given Execution.
183
- # The Environments are sorted by display name.
184
- # May return any of the following canonical error codes:
185
- # - PERMISSION_DENIED - if the user is not authorized to read project
186
- # - INVALID_ARGUMENT - if the request is malformed
187
- # - NOT_FOUND - if the containing Execution does not exist
205
+ # Lists Histories for a given Project. The histories are sorted by modification
206
+ # time in descending order. The history_id key will be used to order the history
207
+ # with the same modification time. May return any of the following canonical
208
+ # error codes: - PERMISSION_DENIED - if the user is not authorized to read
209
+ # project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the
210
+ # History does not exist
188
211
  # @param [String] project_id
189
- # Required. A Project id.
190
- # @param [String] history_id
191
- # Required. A History id.
192
- # @param [String] execution_id
193
- # Required. An Execution id.
212
+ # A Project id. Required.
213
+ # @param [String] filter_by_name
214
+ # If set, only return histories with the given name. Optional.
194
215
  # @param [Fixnum] page_size
195
- # The maximum number of Environments to fetch.
196
- # Default value: 25. The server will use this default if the field is not set
197
- # or has a value of 0.
216
+ # The maximum number of Histories to fetch. Default value: 20. The server will
217
+ # use this default if the field is not set or has a value of 0. Any value
218
+ # greater than 100 will be treated as 100. Optional.
198
219
  # @param [String] page_token
199
- # A continuation token to resume the query at the next item.
220
+ # A continuation token to resume the query at the next item. Optional.
200
221
  # @param [String] fields
201
222
  # Selector specifying which fields to include in a partial response.
202
223
  # @param [String] quota_user
@@ -206,21 +227,20 @@ module Google
206
227
  # Request-specific options
207
228
  #
208
229
  # @yield [result, err] Result & error if block supplied
209
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse] parsed result object
230
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse] parsed result object
210
231
  # @yieldparam err [StandardError] error object if request failed
211
232
  #
212
- # @return [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse]
233
+ # @return [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse]
213
234
  #
214
235
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
215
236
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
216
237
  # @raise [Google::Apis::AuthorizationError] Authorization is required
217
- def list_environments(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
218
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments', options)
219
- command.response_representation = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse::Representation
220
- command.response_class = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse
238
+ def list_project_histories(project_id, filter_by_name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
239
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories', options)
240
+ command.response_representation = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse::Representation
241
+ command.response_class = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse
221
242
  command.params['projectId'] = project_id unless project_id.nil?
222
- command.params['historyId'] = history_id unless history_id.nil?
223
- command.params['executionId'] = execution_id unless execution_id.nil?
243
+ command.query['filterByName'] = filter_by_name unless filter_by_name.nil?
224
244
  command.query['pageSize'] = page_size unless page_size.nil?
225
245
  command.query['pageToken'] = page_token unless page_token.nil?
226
246
  command.query['fields'] = fields unless fields.nil?
@@ -228,23 +248,18 @@ module Google
228
248
  execute_or_queue_command(command, &block)
229
249
  end
230
250
 
231
- # Creates an Execution.
232
- # The returned Execution will have the id set.
233
- # May return any of the following canonical error codes:
234
- # - PERMISSION_DENIED - if the user is not authorized to write to project
235
- # - INVALID_ARGUMENT - if the request is malformed
236
- # - NOT_FOUND - if the containing History does not exist
251
+ # Creates an Execution. The returned Execution will have the id set. May return
252
+ # any of the following canonical error codes: - PERMISSION_DENIED - if the user
253
+ # is not authorized to write to project - INVALID_ARGUMENT - if the request is
254
+ # malformed - NOT_FOUND - if the containing History does not exist
237
255
  # @param [String] project_id
238
- # A Project id.
239
- # Required.
256
+ # A Project id. Required.
240
257
  # @param [String] history_id
241
- # A History id.
242
- # Required.
258
+ # A History id. Required.
243
259
  # @param [Google::Apis::ToolresultsV1beta3::Execution] execution_object
244
260
  # @param [String] request_id
245
- # A unique request ID for server to detect duplicated requests.
246
- # For example, a UUID.
247
- # Optional, but strongly recommended.
261
+ # A unique request ID for server to detect duplicated requests. For example, a
262
+ # UUID. Optional, but strongly recommended.
248
263
  # @param [String] fields
249
264
  # Selector specifying which fields to include in a partial response.
250
265
  # @param [String] quota_user
@@ -262,7 +277,7 @@ module Google
262
277
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
263
278
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
264
279
  # @raise [Google::Apis::AuthorizationError] Authorization is required
265
- def create_execution(project_id, history_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
280
+ def create_project_history_execution(project_id, history_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
266
281
  command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions', options)
267
282
  command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
268
283
  command.request_object = execution_object
@@ -276,20 +291,16 @@ module Google
276
291
  execute_or_queue_command(command, &block)
277
292
  end
278
293
 
279
- # Gets an Execution.
280
- # May return any of the following canonical error codes:
281
- # - PERMISSION_DENIED - if the user is not authorized to write to project
282
- # - INVALID_ARGUMENT - if the request is malformed
283
- # - NOT_FOUND - if the Execution does not exist
294
+ # Gets an Execution. May return any of the following canonical error codes: -
295
+ # PERMISSION_DENIED - if the user is not authorized to write to project -
296
+ # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Execution
297
+ # does not exist
284
298
  # @param [String] project_id
285
- # A Project id.
286
- # Required.
299
+ # A Project id. Required.
287
300
  # @param [String] history_id
288
- # A History id.
289
- # Required.
301
+ # A History id. Required.
290
302
  # @param [String] execution_id
291
- # An Execution id.
292
- # Required.
303
+ # An Execution id. Required.
293
304
  # @param [String] fields
294
305
  # Selector specifying which fields to include in a partial response.
295
306
  # @param [String] quota_user
@@ -307,7 +318,7 @@ module Google
307
318
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
308
319
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
309
320
  # @raise [Google::Apis::AuthorizationError] Authorization is required
310
- def get_execution(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block)
321
+ def get_project_history_execution(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block)
311
322
  command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}', options)
312
323
  command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
313
324
  command.response_class = Google::Apis::ToolresultsV1beta3::Execution
@@ -319,28 +330,21 @@ module Google
319
330
  execute_or_queue_command(command, &block)
320
331
  end
321
332
 
322
- # Lists Executions for a given History.
323
- # The executions are sorted by creation_time in descending order. The
324
- # execution_id key will be used to order the executions with the same
325
- # creation_time.
326
- # May return any of the following canonical error codes:
327
- # - PERMISSION_DENIED - if the user is not authorized to read project
328
- # - INVALID_ARGUMENT - if the request is malformed
329
- # - NOT_FOUND - if the containing History does not exist
333
+ # Lists Executions for a given History. The executions are sorted by
334
+ # creation_time in descending order. The execution_id key will be used to order
335
+ # the executions with the same creation_time. May return any of the following
336
+ # canonical error codes: - PERMISSION_DENIED - if the user is not authorized to
337
+ # read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if
338
+ # the containing History does not exist
330
339
  # @param [String] project_id
331
- # A Project id.
332
- # Required.
340
+ # A Project id. Required.
333
341
  # @param [String] history_id
334
- # A History id.
335
- # Required.
342
+ # A History id. Required.
336
343
  # @param [Fixnum] page_size
337
- # The maximum number of Executions to fetch.
338
- # Default value: 25. The server will use this default if the field is not set
339
- # or has a value of 0.
340
- # Optional.
344
+ # The maximum number of Executions to fetch. Default value: 25. The server will
345
+ # use this default if the field is not set or has a value of 0. Optional.
341
346
  # @param [String] page_token
342
- # A continuation token to resume the query at the next item.
343
- # Optional.
347
+ # A continuation token to resume the query at the next item. Optional.
344
348
  # @param [String] fields
345
349
  # Selector specifying which fields to include in a partial response.
346
350
  # @param [String] quota_user
@@ -358,7 +362,7 @@ module Google
358
362
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
359
363
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
360
364
  # @raise [Google::Apis::AuthorizationError] Authorization is required
361
- def list_executions(project_id, history_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
365
+ def list_project_history_executions(project_id, history_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
362
366
  command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions', options)
363
367
  command.response_representation = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse::Representation
364
368
  command.response_class = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse
@@ -371,24 +375,21 @@ module Google
371
375
  execute_or_queue_command(command, &block)
372
376
  end
373
377
 
374
- # Updates an existing Execution with the supplied partial entity.
375
- # May return any of the following canonical error codes:
376
- # - PERMISSION_DENIED - if the user is not authorized to write to project
377
- # - INVALID_ARGUMENT - if the request is malformed
378
- # - FAILED_PRECONDITION - if the requested state transition is illegal
378
+ # Updates an existing Execution with the supplied partial entity. May return any
379
+ # of the following canonical error codes: - PERMISSION_DENIED - if the user is
380
+ # not authorized to write to project - INVALID_ARGUMENT - if the request is
381
+ # malformed - FAILED_PRECONDITION - if the requested state transition is illegal
379
382
  # - NOT_FOUND - if the containing History does not exist
380
383
  # @param [String] project_id
381
- # A Project id.
382
- # Required.
384
+ # A Project id. Required.
383
385
  # @param [String] history_id
384
386
  # Required.
385
387
  # @param [String] execution_id
386
388
  # Required.
387
389
  # @param [Google::Apis::ToolresultsV1beta3::Execution] execution_object
388
390
  # @param [String] request_id
389
- # A unique request ID for server to detect duplicated requests.
390
- # For example, a UUID.
391
- # Optional, but strongly recommended.
391
+ # A unique request ID for server to detect duplicated requests. For example, a
392
+ # UUID. Optional, but strongly recommended.
392
393
  # @param [String] fields
393
394
  # Selector specifying which fields to include in a partial response.
394
395
  # @param [String] quota_user
@@ -406,7 +407,7 @@ module Google
406
407
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
407
408
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
408
409
  # @raise [Google::Apis::AuthorizationError] Authorization is required
409
- def patch_execution(project_id, history_id, execution_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
410
+ def patch_project_history_execution(project_id, history_id, execution_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
410
411
  command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}', options)
411
412
  command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
412
413
  command.request_object = execution_object
@@ -421,20 +422,15 @@ module Google
421
422
  execute_or_queue_command(command, &block)
422
423
  end
423
424
 
424
- # Creates a History.
425
- # The returned History will have the id set.
426
- # May return any of the following canonical error codes:
427
- # - PERMISSION_DENIED - if the user is not authorized to write to project
428
- # - INVALID_ARGUMENT - if the request is malformed
429
- # - NOT_FOUND - if the containing project does not exist
425
+ # Retrieves a single screenshot cluster by its ID
430
426
  # @param [String] project_id
431
- # A Project id.
432
- # Required.
433
- # @param [Google::Apis::ToolresultsV1beta3::History] history_object
434
- # @param [String] request_id
435
- # A unique request ID for server to detect duplicated requests.
436
- # For example, a UUID.
437
- # Optional, but strongly recommended.
427
+ # A Project id. Required.
428
+ # @param [String] history_id
429
+ # A History id. Required.
430
+ # @param [String] execution_id
431
+ # An Execution id. Required.
432
+ # @param [String] cluster_id
433
+ # A Cluster id Required.
438
434
  # @param [String] fields
439
435
  # Selector specifying which fields to include in a partial response.
440
436
  # @param [String] quota_user
@@ -444,38 +440,39 @@ module Google
444
440
  # Request-specific options
445
441
  #
446
442
  # @yield [result, err] Result & error if block supplied
447
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::History] parsed result object
443
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::ScreenshotCluster] parsed result object
448
444
  # @yieldparam err [StandardError] error object if request failed
449
445
  #
450
- # @return [Google::Apis::ToolresultsV1beta3::History]
446
+ # @return [Google::Apis::ToolresultsV1beta3::ScreenshotCluster]
451
447
  #
452
448
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
453
449
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
454
450
  # @raise [Google::Apis::AuthorizationError] Authorization is required
455
- def create_history(project_id, history_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
456
- command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories', options)
457
- command.request_representation = Google::Apis::ToolresultsV1beta3::History::Representation
458
- command.request_object = history_object
459
- command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
460
- command.response_class = Google::Apis::ToolresultsV1beta3::History
451
+ def get_project_history_execution_cluster(project_id, history_id, execution_id, cluster_id, fields: nil, quota_user: nil, options: nil, &block)
452
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}', options)
453
+ command.response_representation = Google::Apis::ToolresultsV1beta3::ScreenshotCluster::Representation
454
+ command.response_class = Google::Apis::ToolresultsV1beta3::ScreenshotCluster
461
455
  command.params['projectId'] = project_id unless project_id.nil?
462
- command.query['requestId'] = request_id unless request_id.nil?
456
+ command.params['historyId'] = history_id unless history_id.nil?
457
+ command.params['executionId'] = execution_id unless execution_id.nil?
458
+ command.params['clusterId'] = cluster_id unless cluster_id.nil?
463
459
  command.query['fields'] = fields unless fields.nil?
464
460
  command.query['quotaUser'] = quota_user unless quota_user.nil?
465
461
  execute_or_queue_command(command, &block)
466
462
  end
467
463
 
468
- # Gets a History.
469
- # May return any of the following canonical error codes:
470
- # - PERMISSION_DENIED - if the user is not authorized to read project
471
- # - INVALID_ARGUMENT - if the request is malformed
472
- # - NOT_FOUND - if the History does not exist
464
+ # Lists Screenshot Clusters Returns the list of screenshot clusters
465
+ # corresponding to an execution. Screenshot clusters are created after the
466
+ # execution is finished. Clusters are created from a set of screenshots. Between
467
+ # any two screenshots, a matching score is calculated based off their metadata
468
+ # that determines how similar they are. Screenshots are placed in the cluster
469
+ # that has screens which have the highest matching scores.
473
470
  # @param [String] project_id
474
- # A Project id.
475
- # Required.
471
+ # A Project id. Required.
476
472
  # @param [String] history_id
477
- # A History id.
478
- # Required.
473
+ # A History id. Required.
474
+ # @param [String] execution_id
475
+ # An Execution id. Required.
479
476
  # @param [String] fields
480
477
  # Selector specifying which fields to include in a partial response.
481
478
  # @param [String] quota_user
@@ -485,47 +482,38 @@ module Google
485
482
  # Request-specific options
486
483
  #
487
484
  # @yield [result, err] Result & error if block supplied
488
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::History] parsed result object
485
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse] parsed result object
489
486
  # @yieldparam err [StandardError] error object if request failed
490
487
  #
491
- # @return [Google::Apis::ToolresultsV1beta3::History]
488
+ # @return [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse]
492
489
  #
493
490
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
494
491
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
495
492
  # @raise [Google::Apis::AuthorizationError] Authorization is required
496
- def get_history(project_id, history_id, fields: nil, quota_user: nil, options: nil, &block)
497
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}', options)
498
- command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
499
- command.response_class = Google::Apis::ToolresultsV1beta3::History
493
+ def list_project_history_execution_clusters(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block)
494
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters', options)
495
+ command.response_representation = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse::Representation
496
+ command.response_class = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse
500
497
  command.params['projectId'] = project_id unless project_id.nil?
501
498
  command.params['historyId'] = history_id unless history_id.nil?
499
+ command.params['executionId'] = execution_id unless execution_id.nil?
502
500
  command.query['fields'] = fields unless fields.nil?
503
501
  command.query['quotaUser'] = quota_user unless quota_user.nil?
504
502
  execute_or_queue_command(command, &block)
505
503
  end
506
504
 
507
- # Lists Histories for a given Project.
508
- # The histories are sorted by modification time in descending order. The
509
- # history_id key will be used to order the history with the same
510
- # modification time.
511
- # May return any of the following canonical error codes:
512
- # - PERMISSION_DENIED - if the user is not authorized to read project
513
- # - INVALID_ARGUMENT - if the request is malformed
514
- # - NOT_FOUND - if the History does not exist
505
+ # Gets an Environment. May return any of the following canonical error codes: -
506
+ # PERMISSION_DENIED - if the user is not authorized to read project -
507
+ # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the
508
+ # Environment does not exist
515
509
  # @param [String] project_id
516
- # A Project id.
517
- # Required.
518
- # @param [String] filter_by_name
519
- # If set, only return histories with the given name.
520
- # Optional.
521
- # @param [Fixnum] page_size
522
- # The maximum number of Histories to fetch.
523
- # Default value: 20. The server will use this default if the field is not set
524
- # or has a value of 0. Any value greater than 100 will be treated as 100.
525
- # Optional.
526
- # @param [String] page_token
527
- # A continuation token to resume the query at the next item.
528
- # Optional.
510
+ # Required. A Project id.
511
+ # @param [String] history_id
512
+ # Required. A History id.
513
+ # @param [String] execution_id
514
+ # Required. An Execution id.
515
+ # @param [String] environment_id
516
+ # Required. An Environment id.
529
517
  # @param [String] fields
530
518
  # Selector specifying which fields to include in a partial response.
531
519
  # @param [String] quota_user
@@ -535,40 +523,43 @@ module Google
535
523
  # Request-specific options
536
524
  #
537
525
  # @yield [result, err] Result & error if block supplied
538
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse] parsed result object
526
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::Environment] parsed result object
539
527
  # @yieldparam err [StandardError] error object if request failed
540
528
  #
541
- # @return [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse]
529
+ # @return [Google::Apis::ToolresultsV1beta3::Environment]
542
530
  #
543
531
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
544
532
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
545
533
  # @raise [Google::Apis::AuthorizationError] Authorization is required
546
- def list_histories(project_id, filter_by_name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
547
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories', options)
548
- command.response_representation = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse::Representation
549
- command.response_class = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse
534
+ def get_project_history_execution_environment(project_id, history_id, execution_id, environment_id, fields: nil, quota_user: nil, options: nil, &block)
535
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}', options)
536
+ command.response_representation = Google::Apis::ToolresultsV1beta3::Environment::Representation
537
+ command.response_class = Google::Apis::ToolresultsV1beta3::Environment
550
538
  command.params['projectId'] = project_id unless project_id.nil?
551
- command.query['filterByName'] = filter_by_name unless filter_by_name.nil?
552
- command.query['pageSize'] = page_size unless page_size.nil?
553
- command.query['pageToken'] = page_token unless page_token.nil?
539
+ command.params['historyId'] = history_id unless history_id.nil?
540
+ command.params['executionId'] = execution_id unless execution_id.nil?
541
+ command.params['environmentId'] = environment_id unless environment_id.nil?
554
542
  command.query['fields'] = fields unless fields.nil?
555
543
  command.query['quotaUser'] = quota_user unless quota_user.nil?
556
544
  execute_or_queue_command(command, &block)
557
545
  end
558
546
 
559
- # Creates a PerfMetricsSummary resource. Returns the existing one if it has
560
- # already been created.
561
- # May return any of the following error code(s):
562
- # - NOT_FOUND - The containing Step does not exist
547
+ # Lists Environments for a given Execution. The Environments are sorted by
548
+ # display name. May return any of the following canonical error codes: -
549
+ # PERMISSION_DENIED - if the user is not authorized to read project -
550
+ # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing
551
+ # Execution does not exist
563
552
  # @param [String] project_id
564
- # The cloud project
553
+ # Required. A Project id.
565
554
  # @param [String] history_id
566
- # A tool results history ID.
555
+ # Required. A History id.
567
556
  # @param [String] execution_id
568
- # A tool results execution ID.
569
- # @param [String] step_id
570
- # A tool results step ID.
571
- # @param [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] perf_metrics_summary_object
557
+ # Required. An Execution id.
558
+ # @param [Fixnum] page_size
559
+ # The maximum number of Environments to fetch. Default value: 25. The server
560
+ # will use this default if the field is not set or has a value of 0.
561
+ # @param [String] page_token
562
+ # A continuation token to resume the query at the next item.
572
563
  # @param [String] fields
573
564
  # Selector specifying which fields to include in a partial response.
574
565
  # @param [String] quota_user
@@ -578,42 +569,43 @@ module Google
578
569
  # Request-specific options
579
570
  #
580
571
  # @yield [result, err] Result & error if block supplied
581
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] parsed result object
572
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse] parsed result object
582
573
  # @yieldparam err [StandardError] error object if request failed
583
574
  #
584
- # @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary]
575
+ # @return [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse]
585
576
  #
586
577
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
587
578
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
588
579
  # @raise [Google::Apis::AuthorizationError] Authorization is required
589
- def create_perf_metrics_summary(project_id, history_id, execution_id, step_id, perf_metrics_summary_object = nil, fields: nil, quota_user: nil, options: nil, &block)
590
- command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
591
- command.request_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
592
- command.request_object = perf_metrics_summary_object
593
- command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
594
- command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
580
+ def list_project_history_execution_environments(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
581
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments', options)
582
+ command.response_representation = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse::Representation
583
+ command.response_class = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse
595
584
  command.params['projectId'] = project_id unless project_id.nil?
596
585
  command.params['historyId'] = history_id unless history_id.nil?
597
586
  command.params['executionId'] = execution_id unless execution_id.nil?
598
- command.params['stepId'] = step_id unless step_id.nil?
587
+ command.query['pageSize'] = page_size unless page_size.nil?
588
+ command.query['pageToken'] = page_token unless page_token.nil?
599
589
  command.query['fields'] = fields unless fields.nil?
600
590
  command.query['quotaUser'] = quota_user unless quota_user.nil?
601
591
  execute_or_queue_command(command, &block)
602
592
  end
603
593
 
604
- # Creates a PerfSampleSeries.
605
- # May return any of the following error code(s):
606
- # - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step
607
- # - NOT_FOUND - The containing Step does not exist
608
- # @param [String] project_id
609
- # The cloud project
610
- # @param [String] history_id
611
- # A tool results history ID.
612
- # @param [String] execution_id
613
- # A tool results execution ID.
614
- # @param [String] step_id
615
- # A tool results step ID.
616
- # @param [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] perf_sample_series_object
594
+ # Lists accessibility clusters for a given Step May return any of the following
595
+ # canonical error codes: - PERMISSION_DENIED - if the user is not authorized to
596
+ # read project - INVALID_ARGUMENT - if the request is malformed -
597
+ # FAILED_PRECONDITION - if an argument in the request happens to be invalid; e.g.
598
+ # if the locale format is incorrect - NOT_FOUND - if the containing Step does
599
+ # not exist
600
+ # @param [String] name
601
+ # A full resource name of the step. For example, projects/my-project/histories/
602
+ # bh.1234567890abcdef/executions/ 1234567890123456789/steps/bs.1234567890abcdef
603
+ # Required.
604
+ # @param [String] locale
605
+ # The accepted format is the canonical Unicode format with hyphen as a delimiter.
606
+ # Language must be lowercase, Language Script - Capitalized, Region - UPPERCASE.
607
+ # See http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for
608
+ # details. Required.
617
609
  # @param [String] fields
618
610
  # Selector specifying which fields to include in a partial response.
619
611
  # @param [String] quota_user
@@ -623,44 +615,42 @@ module Google
623
615
  # Request-specific options
624
616
  #
625
617
  # @yield [result, err] Result & error if block supplied
626
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] parsed result object
618
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse] parsed result object
627
619
  # @yieldparam err [StandardError] error object if request failed
628
620
  #
629
- # @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries]
621
+ # @return [Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse]
630
622
  #
631
623
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
632
624
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
633
625
  # @raise [Google::Apis::AuthorizationError] Authorization is required
634
- def create_perf_sample_series(project_id, history_id, execution_id, step_id, perf_sample_series_object = nil, fields: nil, quota_user: nil, options: nil, &block)
635
- command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
636
- command.request_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
637
- command.request_object = perf_sample_series_object
638
- command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
639
- command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
640
- command.params['projectId'] = project_id unless project_id.nil?
641
- command.params['historyId'] = history_id unless history_id.nil?
642
- command.params['executionId'] = execution_id unless execution_id.nil?
643
- command.params['stepId'] = step_id unless step_id.nil?
626
+ def accessibility_project_history_execution_step_clusters(name, locale: nil, fields: nil, quota_user: nil, options: nil, &block)
627
+ command = make_simple_command(:get, 'toolresults/v1beta3/{+name}:accessibilityClusters', options)
628
+ command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse::Representation
629
+ command.response_class = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse
630
+ command.params['name'] = name unless name.nil?
631
+ command.query['locale'] = locale unless locale.nil?
644
632
  command.query['fields'] = fields unless fields.nil?
645
633
  command.query['quotaUser'] = quota_user unless quota_user.nil?
646
634
  execute_or_queue_command(command, &block)
647
635
  end
648
636
 
649
- # Gets a PerfSampleSeries.
650
- # May return any of the following error code(s):
651
- # - NOT_FOUND - The specified PerfSampleSeries does not exist
637
+ # Creates a Step. The returned Step will have the id set. May return any of the
638
+ # following canonical error codes: - PERMISSION_DENIED - if the user is not
639
+ # authorized to write to project - INVALID_ARGUMENT - if the request is
640
+ # malformed - FAILED_PRECONDITION - if the step is too large (more than 10Mib) -
641
+ # NOT_FOUND - if the containing Execution does not exist
652
642
  # @param [String] project_id
653
- # The cloud project
643
+ # Required. A Project id.
654
644
  # @param [String] history_id
655
- # A tool results history ID.
645
+ # Required. A History id.
656
646
  # @param [String] execution_id
657
- # A tool results execution ID.
658
- # @param [String] step_id
659
- # A tool results step ID.
660
- # @param [String] sample_series_id
661
- # A sample series id
662
- # @param [String] fields
663
- # Selector specifying which fields to include in a partial response.
647
+ # Required. An Execution id.
648
+ # @param [Google::Apis::ToolresultsV1beta3::Step] step_object
649
+ # @param [String] request_id
650
+ # A unique request ID for server to detect duplicated requests. For example, a
651
+ # UUID. Optional, but strongly recommended.
652
+ # @param [String] fields
653
+ # Selector specifying which fields to include in a partial response.
664
654
  # @param [String] quota_user
665
655
  # Available to use for quota purposes for server-side applications. Can be any
666
656
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -668,44 +658,41 @@ module Google
668
658
  # Request-specific options
669
659
  #
670
660
  # @yield [result, err] Result & error if block supplied
671
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] parsed result object
661
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
672
662
  # @yieldparam err [StandardError] error object if request failed
673
663
  #
674
- # @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries]
664
+ # @return [Google::Apis::ToolresultsV1beta3::Step]
675
665
  #
676
666
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
677
667
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
678
668
  # @raise [Google::Apis::AuthorizationError] Authorization is required
679
- def get_perf_sample_series(project_id, history_id, execution_id, step_id, sample_series_id, fields: nil, quota_user: nil, options: nil, &block)
680
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', options)
681
- command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
682
- command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
669
+ def create_project_history_execution_step(project_id, history_id, execution_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
670
+ command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
671
+ command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
672
+ command.request_object = step_object
673
+ command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
674
+ command.response_class = Google::Apis::ToolresultsV1beta3::Step
683
675
  command.params['projectId'] = project_id unless project_id.nil?
684
676
  command.params['historyId'] = history_id unless history_id.nil?
685
677
  command.params['executionId'] = execution_id unless execution_id.nil?
686
- command.params['stepId'] = step_id unless step_id.nil?
687
- command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
678
+ command.query['requestId'] = request_id unless request_id.nil?
688
679
  command.query['fields'] = fields unless fields.nil?
689
680
  command.query['quotaUser'] = quota_user unless quota_user.nil?
690
681
  execute_or_queue_command(command, &block)
691
682
  end
692
683
 
693
- # Lists PerfSampleSeries for a given Step.
694
- # The request provides an optional filter which specifies one or more
695
- # PerfMetricsType to include in the result; if none returns all.
696
- # The resulting PerfSampleSeries are sorted by ids.
697
- # May return any of the following canonical error codes:
698
- # - NOT_FOUND - The containing Step does not exist
684
+ # Gets a Step. May return any of the following canonical error codes: -
685
+ # PERMISSION_DENIED - if the user is not authorized to read project -
686
+ # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Step does
687
+ # not exist
699
688
  # @param [String] project_id
700
- # The cloud project
689
+ # A Project id. Required.
701
690
  # @param [String] history_id
702
- # A tool results history ID.
691
+ # A History id. Required.
703
692
  # @param [String] execution_id
704
- # A tool results execution ID.
693
+ # A Execution id. Required.
705
694
  # @param [String] step_id
706
- # A tool results step ID.
707
- # @param [Array<String>, String] filter
708
- # Specify one or more PerfMetricType values such as CPU to filter the result
695
+ # A Step id. Required.
709
696
  # @param [String] fields
710
697
  # Selector specifying which fields to include in a partial response.
711
698
  # @param [String] quota_user
@@ -715,34 +702,37 @@ module Google
715
702
  # Request-specific options
716
703
  #
717
704
  # @yield [result, err] Result & error if block supplied
718
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse] parsed result object
705
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
719
706
  # @yieldparam err [StandardError] error object if request failed
720
707
  #
721
- # @return [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse]
708
+ # @return [Google::Apis::ToolresultsV1beta3::Step]
722
709
  #
723
710
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
724
711
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
725
712
  # @raise [Google::Apis::AuthorizationError] Authorization is required
726
- def list_perf_sample_series(project_id, history_id, execution_id, step_id, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
727
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
728
- command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse::Representation
729
- command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse
713
+ def get_project_history_execution_step(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block)
714
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
715
+ command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
716
+ command.response_class = Google::Apis::ToolresultsV1beta3::Step
730
717
  command.params['projectId'] = project_id unless project_id.nil?
731
718
  command.params['historyId'] = history_id unless history_id.nil?
732
719
  command.params['executionId'] = execution_id unless execution_id.nil?
733
720
  command.params['stepId'] = step_id unless step_id.nil?
734
- command.query['filter'] = filter unless filter.nil?
735
721
  command.query['fields'] = fields unless fields.nil?
736
722
  command.query['quotaUser'] = quota_user unless quota_user.nil?
737
723
  execute_or_queue_command(command, &block)
738
724
  end
739
725
 
740
- # Gets the Tool Results settings for a project.
741
- # May return any of the following canonical error codes:
742
- # - PERMISSION_DENIED - if the user is not authorized to read from project
726
+ # Retrieves a PerfMetricsSummary. May return any of the following error code(s):
727
+ # - NOT_FOUND - The specified PerfMetricsSummary does not exist
743
728
  # @param [String] project_id
744
- # A Project id.
745
- # Required.
729
+ # The cloud project
730
+ # @param [String] history_id
731
+ # A tool results history ID.
732
+ # @param [String] execution_id
733
+ # A tool results execution ID.
734
+ # @param [String] step_id
735
+ # A tool results step ID.
746
736
  # @param [String] fields
747
737
  # Selector specifying which fields to include in a partial response.
748
738
  # @param [String] quota_user
@@ -752,49 +742,46 @@ module Google
752
742
  # Request-specific options
753
743
  #
754
744
  # @yield [result, err] Result & error if block supplied
755
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::ProjectSettings] parsed result object
745
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] parsed result object
756
746
  # @yieldparam err [StandardError] error object if request failed
757
747
  #
758
- # @return [Google::Apis::ToolresultsV1beta3::ProjectSettings]
748
+ # @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary]
759
749
  #
760
750
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
761
751
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
762
752
  # @raise [Google::Apis::AuthorizationError] Authorization is required
763
- def get_project_settings(project_id, fields: nil, quota_user: nil, options: nil, &block)
764
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/settings', options)
765
- command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
766
- command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
753
+ def get_project_history_execution_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block)
754
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
755
+ command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
756
+ command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
767
757
  command.params['projectId'] = project_id unless project_id.nil?
758
+ command.params['historyId'] = history_id unless history_id.nil?
759
+ command.params['executionId'] = execution_id unless execution_id.nil?
760
+ command.params['stepId'] = step_id unless step_id.nil?
768
761
  command.query['fields'] = fields unless fields.nil?
769
762
  command.query['quotaUser'] = quota_user unless quota_user.nil?
770
763
  execute_or_queue_command(command, &block)
771
764
  end
772
765
 
773
- # Creates resources for settings which have not yet been set.
774
- # Currently, this creates a single resource: a Google Cloud Storage bucket,
775
- # to be used as the default bucket for this project. The bucket is created
776
- # in an FTL-own storage project. Except for in rare cases, calling this
777
- # method in parallel from multiple clients will only create a single bucket.
778
- # In order to avoid unnecessary storage charges, the bucket is configured to
779
- # automatically delete objects older than 90 days.
780
- # The bucket is created with the following permissions:
781
- # - Owner access for owners of central storage project (FTL-owned)
782
- # - Writer access for owners/editors of customer project
783
- # - Reader access for viewers of customer project
784
- # The default ACL on objects created in the bucket is:
785
- # - Owner access for owners of central storage project
786
- # - Reader access for owners/editors/viewers of customer project
787
- # See Google Cloud Storage documentation for more details.
788
- # If there is already a default bucket set and the project can access the
789
- # bucket, this call does nothing. However, if the project doesn't have the
790
- # permission to access the bucket or the bucket is deleted, a new bucket
791
- # will be created.
792
- # May return any canonical error codes, including the following:
793
- # - PERMISSION_DENIED - if the user is not authorized to write to project
794
- # - Any error code raised by Google Cloud Storage
766
+ # Lists Steps for a given Execution. The steps are sorted by creation_time in
767
+ # descending order. The step_id key will be used to order the steps with the
768
+ # same creation_time. May return any of the following canonical error codes: -
769
+ # PERMISSION_DENIED - if the user is not authorized to read project -
770
+ # INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an
771
+ # argument in the request happens to be invalid; e.g. if an attempt is made to
772
+ # list the children of a nonexistent Step - NOT_FOUND - if the containing
773
+ # Execution does not exist
795
774
  # @param [String] project_id
796
- # A Project id.
797
- # Required.
775
+ # A Project id. Required.
776
+ # @param [String] history_id
777
+ # A History id. Required.
778
+ # @param [String] execution_id
779
+ # A Execution id. Required.
780
+ # @param [Fixnum] page_size
781
+ # The maximum number of Steps to fetch. Default value: 25. The server will use
782
+ # this default if the field is not set or has a value of 0. Optional.
783
+ # @param [String] page_token
784
+ # A continuation token to resume the query at the next item. Optional.
798
785
  # @param [String] fields
799
786
  # Selector specifying which fields to include in a partial response.
800
787
  # @param [String] quota_user
@@ -804,44 +791,46 @@ module Google
804
791
  # Request-specific options
805
792
  #
806
793
  # @yield [result, err] Result & error if block supplied
807
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::ProjectSettings] parsed result object
794
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListStepsResponse] parsed result object
808
795
  # @yieldparam err [StandardError] error object if request failed
809
796
  #
810
- # @return [Google::Apis::ToolresultsV1beta3::ProjectSettings]
797
+ # @return [Google::Apis::ToolresultsV1beta3::ListStepsResponse]
811
798
  #
812
799
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
813
800
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
814
801
  # @raise [Google::Apis::AuthorizationError] Authorization is required
815
- def initialize_project_settings(project_id, fields: nil, quota_user: nil, options: nil, &block)
816
- command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}:initializeSettings', options)
817
- command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
818
- command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
802
+ def list_project_history_execution_steps(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
803
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
804
+ command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepsResponse::Representation
805
+ command.response_class = Google::Apis::ToolresultsV1beta3::ListStepsResponse
819
806
  command.params['projectId'] = project_id unless project_id.nil?
807
+ command.params['historyId'] = history_id unless history_id.nil?
808
+ command.params['executionId'] = execution_id unless execution_id.nil?
809
+ command.query['pageSize'] = page_size unless page_size.nil?
810
+ command.query['pageToken'] = page_token unless page_token.nil?
820
811
  command.query['fields'] = fields unless fields.nil?
821
812
  command.query['quotaUser'] = quota_user unless quota_user.nil?
822
813
  execute_or_queue_command(command, &block)
823
814
  end
824
815
 
825
- # Creates a batch of PerfSamples
826
- # - a client can submit multiple batches of Perf Samples through repeated
827
- # calls to this method in order to split up a large request payload
828
- # - duplicates and existing timestamp entries will be ignored.
829
- # - the batch operation may partially succeed
830
- # - the set of elements successfully inserted is returned in the response
831
- # (omits items which already existed in the database).
832
- # May return any of the following canonical error codes:
833
- # - NOT_FOUND - The containing PerfSampleSeries does not exist
816
+ # Updates an existing Step with the supplied partial entity. May return any of
817
+ # the following canonical error codes: - PERMISSION_DENIED - if the user is not
818
+ # authorized to write project - INVALID_ARGUMENT - if the request is malformed -
819
+ # FAILED_PRECONDITION - if the requested state transition is illegal (e.g try to
820
+ # upload a duplicate xml file), if the updated step is too large (more than
821
+ # 10Mib) - NOT_FOUND - if the containing Execution does not exist
834
822
  # @param [String] project_id
835
- # The cloud project
823
+ # A Project id. Required.
836
824
  # @param [String] history_id
837
- # A tool results history ID.
825
+ # A History id. Required.
838
826
  # @param [String] execution_id
839
- # A tool results execution ID.
827
+ # A Execution id. Required.
840
828
  # @param [String] step_id
841
- # A tool results step ID.
842
- # @param [String] sample_series_id
843
- # A sample series id
844
- # @param [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest] batch_create_perf_samples_request_object
829
+ # A Step id. Required.
830
+ # @param [Google::Apis::ToolresultsV1beta3::Step] step_object
831
+ # @param [String] request_id
832
+ # A unique request ID for server to detect duplicated requests. For example, a
833
+ # UUID. Optional, but strongly recommended.
845
834
  # @param [String] fields
846
835
  # Selector specifying which fields to include in a partial response.
847
836
  # @param [String] quota_user
@@ -851,55 +840,45 @@ module Google
851
840
  # Request-specific options
852
841
  #
853
842
  # @yield [result, err] Result & error if block supplied
854
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse] parsed result object
843
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
855
844
  # @yieldparam err [StandardError] error object if request failed
856
845
  #
857
- # @return [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse]
846
+ # @return [Google::Apis::ToolresultsV1beta3::Step]
858
847
  #
859
848
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
860
849
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
861
850
  # @raise [Google::Apis::AuthorizationError] Authorization is required
862
- def batch_create_perf_samples(project_id, history_id, execution_id, step_id, sample_series_id, batch_create_perf_samples_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
863
- command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate', options)
864
- command.request_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest::Representation
865
- command.request_object = batch_create_perf_samples_request_object
866
- command.response_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse::Representation
867
- command.response_class = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse
851
+ def patch_project_history_execution_step(project_id, history_id, execution_id, step_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
852
+ command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
853
+ command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
854
+ command.request_object = step_object
855
+ command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
856
+ command.response_class = Google::Apis::ToolresultsV1beta3::Step
868
857
  command.params['projectId'] = project_id unless project_id.nil?
869
858
  command.params['historyId'] = history_id unless history_id.nil?
870
859
  command.params['executionId'] = execution_id unless execution_id.nil?
871
860
  command.params['stepId'] = step_id unless step_id.nil?
872
- command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
861
+ command.query['requestId'] = request_id unless request_id.nil?
873
862
  command.query['fields'] = fields unless fields.nil?
874
863
  command.query['quotaUser'] = quota_user unless quota_user.nil?
875
864
  execute_or_queue_command(command, &block)
876
865
  end
877
866
 
878
- # Lists the Performance Samples of a given Sample Series
879
- # - The list results are sorted by timestamps ascending
880
- # - The default page size is 500 samples; and maximum size allowed 5000
881
- # - The response token indicates the last returned PerfSample timestamp
882
- # - When the results size exceeds the page size, submit a subsequent request
883
- # including the page token to return the rest of the samples up to the
884
- # page limit
885
- # May return any of the following canonical error codes:
886
- # - OUT_OF_RANGE - The specified request page_token is out of valid range
887
- # - NOT_FOUND - The containing PerfSampleSeries does not exist
867
+ # Publish xml files to an existing Step. May return any of the following
868
+ # canonical error codes: - PERMISSION_DENIED - if the user is not authorized to
869
+ # write project - INVALID_ARGUMENT - if the request is malformed -
870
+ # FAILED_PRECONDITION - if the requested state transition is illegal, e.g try to
871
+ # upload a duplicate xml file or a file too large. - NOT_FOUND - if the
872
+ # containing Execution does not exist
888
873
  # @param [String] project_id
889
- # The cloud project
874
+ # A Project id. Required.
890
875
  # @param [String] history_id
891
- # A tool results history ID.
876
+ # A History id. Required.
892
877
  # @param [String] execution_id
893
- # A tool results execution ID.
878
+ # A Execution id. Required.
894
879
  # @param [String] step_id
895
- # A tool results step ID.
896
- # @param [String] sample_series_id
897
- # A sample series id
898
- # @param [Fixnum] page_size
899
- # The default page size is 500 samples, and the maximum size is 5000. If
900
- # the page_size is greater than 5000, the effective page size will be 5000
901
- # @param [String] page_token
902
- # Optional, the next_page_token returned in the previous response
880
+ # A Step id. Note: This step must include a TestExecutionStep. Required.
881
+ # @param [Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest] publish_xunit_xml_files_request_object
903
882
  # @param [String] fields
904
883
  # Selector specifying which fields to include in a partial response.
905
884
  # @param [String] quota_user
@@ -909,95 +888,41 @@ module Google
909
888
  # Request-specific options
910
889
  #
911
890
  # @yield [result, err] Result & error if block supplied
912
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse] parsed result object
891
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
913
892
  # @yieldparam err [StandardError] error object if request failed
914
893
  #
915
- # @return [Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse]
894
+ # @return [Google::Apis::ToolresultsV1beta3::Step]
916
895
  #
917
896
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
918
897
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
919
898
  # @raise [Google::Apis::AuthorizationError] Authorization is required
920
- def list_samples(project_id, history_id, execution_id, step_id, sample_series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
921
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples', options)
922
- command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse::Representation
923
- command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse
899
+ def publish_step_xunit_xml_files(project_id, history_id, execution_id, step_id, publish_xunit_xml_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
900
+ command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', options)
901
+ command.request_representation = Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest::Representation
902
+ command.request_object = publish_xunit_xml_files_request_object
903
+ command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
904
+ command.response_class = Google::Apis::ToolresultsV1beta3::Step
924
905
  command.params['projectId'] = project_id unless project_id.nil?
925
906
  command.params['historyId'] = history_id unless history_id.nil?
926
907
  command.params['executionId'] = execution_id unless execution_id.nil?
927
908
  command.params['stepId'] = step_id unless step_id.nil?
928
- command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
929
- command.query['pageSize'] = page_size unless page_size.nil?
930
- command.query['pageToken'] = page_token unless page_token.nil?
931
909
  command.query['fields'] = fields unless fields.nil?
932
910
  command.query['quotaUser'] = quota_user unless quota_user.nil?
933
911
  execute_or_queue_command(command, &block)
934
912
  end
935
913
 
936
- # Lists accessibility clusters for a given Step
937
- # May return any of the following canonical error codes:
938
- # - PERMISSION_DENIED - if the user is not authorized to read project
939
- # - INVALID_ARGUMENT - if the request is malformed
940
- # - FAILED_PRECONDITION - if an argument in the request happens to be
941
- # invalid; e.g. if the locale format is incorrect
942
- # - NOT_FOUND - if the containing Step does not exist
943
- # @param [String] name
944
- # A full resource name of the step.
945
- # For example, projects/my-project/histories/bh.1234567890abcdef/executions/
946
- # 1234567890123456789/steps/bs.1234567890abcdef
947
- # Required.
948
- # @param [String] locale
949
- # The accepted format is the canonical Unicode format with hyphen as a
950
- # delimiter. Language must be lowercase, Language Script - Capitalized,
951
- # Region - UPPERCASE.
952
- # See http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for
953
- # details.
954
- # Required.
955
- # @param [String] fields
956
- # Selector specifying which fields to include in a partial response.
957
- # @param [String] quota_user
958
- # Available to use for quota purposes for server-side applications. Can be any
959
- # arbitrary string assigned to a user, but should not exceed 40 characters.
960
- # @param [Google::Apis::RequestOptions] options
961
- # Request-specific options
962
- #
963
- # @yield [result, err] Result & error if block supplied
964
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse] parsed result object
965
- # @yieldparam err [StandardError] error object if request failed
966
- #
967
- # @return [Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse]
968
- #
969
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
970
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
971
- # @raise [Google::Apis::AuthorizationError] Authorization is required
972
- def accessibility_step_clusters(name, locale: nil, fields: nil, quota_user: nil, options: nil, &block)
973
- command = make_simple_command(:get, 'toolresults/v1beta3/{+name}:accessibilityClusters', options)
974
- command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse::Representation
975
- command.response_class = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse
976
- command.params['name'] = name unless name.nil?
977
- command.query['locale'] = locale unless locale.nil?
978
- command.query['fields'] = fields unless fields.nil?
979
- command.query['quotaUser'] = quota_user unless quota_user.nil?
980
- execute_or_queue_command(command, &block)
981
- end
982
-
983
- # Creates a Step.
984
- # The returned Step will have the id set.
985
- # May return any of the following canonical error codes:
986
- # - PERMISSION_DENIED - if the user is not authorized to write to project
987
- # - INVALID_ARGUMENT - if the request is malformed
988
- # - FAILED_PRECONDITION - if the step is too large (more than 10Mib)
989
- # - NOT_FOUND - if the containing Execution does not exist
914
+ # Creates a PerfMetricsSummary resource. Returns the existing one if it has
915
+ # already been created. May return any of the following error code(s): -
916
+ # NOT_FOUND - The containing Step does not exist
990
917
  # @param [String] project_id
991
- # Required. A Project id.
918
+ # The cloud project
992
919
  # @param [String] history_id
993
- # Required. A History id.
920
+ # A tool results history ID.
994
921
  # @param [String] execution_id
995
- # Required. An Execution id.
996
- # @param [Google::Apis::ToolresultsV1beta3::Step] step_object
997
- # @param [String] request_id
998
- # A unique request ID for server to detect duplicated requests.
999
- # For example, a UUID.
1000
- # Optional, but strongly recommended.
922
+ # A tool results execution ID.
923
+ # @param [String] step_id
924
+ # A tool results step ID.
925
+ # @param [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] perf_metrics_summary_object
1001
926
  # @param [String] fields
1002
927
  # Selector specifying which fields to include in a partial response.
1003
928
  # @param [String] quota_user
@@ -1007,46 +932,41 @@ module Google
1007
932
  # Request-specific options
1008
933
  #
1009
934
  # @yield [result, err] Result & error if block supplied
1010
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
935
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] parsed result object
1011
936
  # @yieldparam err [StandardError] error object if request failed
1012
937
  #
1013
- # @return [Google::Apis::ToolresultsV1beta3::Step]
938
+ # @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary]
1014
939
  #
1015
940
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1016
941
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1017
942
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1018
- def create_step(project_id, history_id, execution_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1019
- command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
1020
- command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
1021
- command.request_object = step_object
1022
- command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
1023
- command.response_class = Google::Apis::ToolresultsV1beta3::Step
943
+ def create_project_history_execution_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, perf_metrics_summary_object = nil, fields: nil, quota_user: nil, options: nil, &block)
944
+ command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
945
+ command.request_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
946
+ command.request_object = perf_metrics_summary_object
947
+ command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
948
+ command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
1024
949
  command.params['projectId'] = project_id unless project_id.nil?
1025
950
  command.params['historyId'] = history_id unless history_id.nil?
1026
951
  command.params['executionId'] = execution_id unless execution_id.nil?
1027
- command.query['requestId'] = request_id unless request_id.nil?
952
+ command.params['stepId'] = step_id unless step_id.nil?
1028
953
  command.query['fields'] = fields unless fields.nil?
1029
954
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1030
955
  execute_or_queue_command(command, &block)
1031
956
  end
1032
957
 
1033
- # Gets a Step.
1034
- # May return any of the following canonical error codes:
1035
- # - PERMISSION_DENIED - if the user is not authorized to read project
1036
- # - INVALID_ARGUMENT - if the request is malformed
1037
- # - NOT_FOUND - if the Step does not exist
958
+ # Creates a PerfSampleSeries. May return any of the following error code(s): -
959
+ # ALREADY_EXISTS - PerfMetricSummary already exists for the given Step -
960
+ # NOT_FOUND - The containing Step does not exist
1038
961
  # @param [String] project_id
1039
- # A Project id.
1040
- # Required.
962
+ # The cloud project
1041
963
  # @param [String] history_id
1042
- # A History id.
1043
- # Required.
964
+ # A tool results history ID.
1044
965
  # @param [String] execution_id
1045
- # A Execution id.
1046
- # Required.
966
+ # A tool results execution ID.
1047
967
  # @param [String] step_id
1048
- # A Step id.
1049
- # Required.
968
+ # A tool results step ID.
969
+ # @param [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] perf_sample_series_object
1050
970
  # @param [String] fields
1051
971
  # Selector specifying which fields to include in a partial response.
1052
972
  # @param [String] quota_user
@@ -1056,18 +976,20 @@ module Google
1056
976
  # Request-specific options
1057
977
  #
1058
978
  # @yield [result, err] Result & error if block supplied
1059
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
979
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] parsed result object
1060
980
  # @yieldparam err [StandardError] error object if request failed
1061
981
  #
1062
- # @return [Google::Apis::ToolresultsV1beta3::Step]
982
+ # @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries]
1063
983
  #
1064
984
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1065
985
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1066
986
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1067
- def get_step(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block)
1068
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
1069
- command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
1070
- command.response_class = Google::Apis::ToolresultsV1beta3::Step
987
+ def create_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, perf_sample_series_object = nil, fields: nil, quota_user: nil, options: nil, &block)
988
+ command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
989
+ command.request_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
990
+ command.request_object = perf_sample_series_object
991
+ command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
992
+ command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
1071
993
  command.params['projectId'] = project_id unless project_id.nil?
1072
994
  command.params['historyId'] = history_id unless history_id.nil?
1073
995
  command.params['executionId'] = execution_id unless execution_id.nil?
@@ -1077,9 +999,8 @@ module Google
1077
999
  execute_or_queue_command(command, &block)
1078
1000
  end
1079
1001
 
1080
- # Retrieves a PerfMetricsSummary.
1081
- # May return any of the following error code(s):
1082
- # - NOT_FOUND - The specified PerfMetricsSummary does not exist
1002
+ # Gets a PerfSampleSeries. May return any of the following error code(s): -
1003
+ # NOT_FOUND - The specified PerfSampleSeries does not exist
1083
1004
  # @param [String] project_id
1084
1005
  # The cloud project
1085
1006
  # @param [String] history_id
@@ -1088,6 +1009,8 @@ module Google
1088
1009
  # A tool results execution ID.
1089
1010
  # @param [String] step_id
1090
1011
  # A tool results step ID.
1012
+ # @param [String] sample_series_id
1013
+ # A sample series id
1091
1014
  # @param [String] fields
1092
1015
  # Selector specifying which fields to include in a partial response.
1093
1016
  # @param [String] quota_user
@@ -1097,55 +1020,43 @@ module Google
1097
1020
  # Request-specific options
1098
1021
  #
1099
1022
  # @yield [result, err] Result & error if block supplied
1100
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] parsed result object
1023
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] parsed result object
1101
1024
  # @yieldparam err [StandardError] error object if request failed
1102
1025
  #
1103
- # @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary]
1026
+ # @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries]
1104
1027
  #
1105
1028
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1106
1029
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1107
1030
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1108
- def get_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block)
1109
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
1110
- command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
1111
- command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
1031
+ def get_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, sample_series_id, fields: nil, quota_user: nil, options: nil, &block)
1032
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', options)
1033
+ command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
1034
+ command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
1112
1035
  command.params['projectId'] = project_id unless project_id.nil?
1113
1036
  command.params['historyId'] = history_id unless history_id.nil?
1114
1037
  command.params['executionId'] = execution_id unless execution_id.nil?
1115
1038
  command.params['stepId'] = step_id unless step_id.nil?
1039
+ command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
1116
1040
  command.query['fields'] = fields unless fields.nil?
1117
1041
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1118
1042
  execute_or_queue_command(command, &block)
1119
1043
  end
1120
1044
 
1121
- # Lists Steps for a given Execution.
1122
- # The steps are sorted by creation_time in descending order. The
1123
- # step_id key will be used to order the steps with the same
1124
- # creation_time.
1125
- # May return any of the following canonical error codes:
1126
- # - PERMISSION_DENIED - if the user is not authorized to read project
1127
- # - INVALID_ARGUMENT - if the request is malformed
1128
- # - FAILED_PRECONDITION - if an argument in the request happens to be
1129
- # invalid; e.g. if an attempt is made to list the
1130
- # children of a nonexistent Step
1131
- # - NOT_FOUND - if the containing Execution does not exist
1045
+ # Lists PerfSampleSeries for a given Step. The request provides an optional
1046
+ # filter which specifies one or more PerfMetricsType to include in the result;
1047
+ # if none returns all. The resulting PerfSampleSeries are sorted by ids. May
1048
+ # return any of the following canonical error codes: - NOT_FOUND - The
1049
+ # containing Step does not exist
1132
1050
  # @param [String] project_id
1133
- # A Project id.
1134
- # Required.
1051
+ # The cloud project
1135
1052
  # @param [String] history_id
1136
- # A History id.
1137
- # Required.
1053
+ # A tool results history ID.
1138
1054
  # @param [String] execution_id
1139
- # A Execution id.
1140
- # Required.
1141
- # @param [Fixnum] page_size
1142
- # The maximum number of Steps to fetch.
1143
- # Default value: 25. The server will use this default if the field is not set
1144
- # or has a value of 0.
1145
- # Optional.
1146
- # @param [String] page_token
1147
- # A continuation token to resume the query at the next item.
1148
- # Optional.
1055
+ # A tool results execution ID.
1056
+ # @param [String] step_id
1057
+ # A tool results step ID.
1058
+ # @param [Array<String>, String] filter
1059
+ # Specify one or more PerfMetricType values such as CPU to filter the result
1149
1060
  # @param [String] fields
1150
1061
  # Selector specifying which fields to include in a partial response.
1151
1062
  # @param [String] quota_user
@@ -1155,53 +1066,46 @@ module Google
1155
1066
  # Request-specific options
1156
1067
  #
1157
1068
  # @yield [result, err] Result & error if block supplied
1158
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListStepsResponse] parsed result object
1069
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse] parsed result object
1159
1070
  # @yieldparam err [StandardError] error object if request failed
1160
1071
  #
1161
- # @return [Google::Apis::ToolresultsV1beta3::ListStepsResponse]
1072
+ # @return [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse]
1162
1073
  #
1163
1074
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1164
1075
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1165
1076
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1166
- def list_steps(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1167
- command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
1168
- command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepsResponse::Representation
1169
- command.response_class = Google::Apis::ToolresultsV1beta3::ListStepsResponse
1077
+ def list_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
1078
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
1079
+ command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse::Representation
1080
+ command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse
1170
1081
  command.params['projectId'] = project_id unless project_id.nil?
1171
1082
  command.params['historyId'] = history_id unless history_id.nil?
1172
1083
  command.params['executionId'] = execution_id unless execution_id.nil?
1173
- command.query['pageSize'] = page_size unless page_size.nil?
1174
- command.query['pageToken'] = page_token unless page_token.nil?
1084
+ command.params['stepId'] = step_id unless step_id.nil?
1085
+ command.query['filter'] = filter unless filter.nil?
1175
1086
  command.query['fields'] = fields unless fields.nil?
1176
1087
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1177
1088
  execute_or_queue_command(command, &block)
1178
1089
  end
1179
1090
 
1180
- # Updates an existing Step with the supplied partial entity.
1181
- # May return any of the following canonical error codes:
1182
- # - PERMISSION_DENIED - if the user is not authorized to write project
1183
- # - INVALID_ARGUMENT - if the request is malformed
1184
- # - FAILED_PRECONDITION - if the requested state transition is illegal
1185
- # (e.g try to upload a duplicate xml file), if the
1186
- # updated step is too large (more than 10Mib)
1187
- # - NOT_FOUND - if the containing Execution does not exist
1091
+ # Creates a batch of PerfSamples - a client can submit multiple batches of Perf
1092
+ # Samples through repeated calls to this method in order to split up a large
1093
+ # request payload - duplicates and existing timestamp entries will be ignored. -
1094
+ # the batch operation may partially succeed - the set of elements successfully
1095
+ # inserted is returned in the response (omits items which already existed in the
1096
+ # database). May return any of the following canonical error codes: - NOT_FOUND -
1097
+ # The containing PerfSampleSeries does not exist
1188
1098
  # @param [String] project_id
1189
- # A Project id.
1190
- # Required.
1099
+ # The cloud project
1191
1100
  # @param [String] history_id
1192
- # A History id.
1193
- # Required.
1101
+ # A tool results history ID.
1194
1102
  # @param [String] execution_id
1195
- # A Execution id.
1196
- # Required.
1103
+ # A tool results execution ID.
1197
1104
  # @param [String] step_id
1198
- # A Step id.
1199
- # Required.
1200
- # @param [Google::Apis::ToolresultsV1beta3::Step] step_object
1201
- # @param [String] request_id
1202
- # A unique request ID for server to detect duplicated requests.
1203
- # For example, a UUID.
1204
- # Optional, but strongly recommended.
1105
+ # A tool results step ID.
1106
+ # @param [String] sample_series_id
1107
+ # A sample series id
1108
+ # @param [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest] batch_create_perf_samples_request_object
1205
1109
  # @param [String] fields
1206
1110
  # Selector specifying which fields to include in a partial response.
1207
1111
  # @param [String] quota_user
@@ -1211,51 +1115,53 @@ module Google
1211
1115
  # Request-specific options
1212
1116
  #
1213
1117
  # @yield [result, err] Result & error if block supplied
1214
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
1118
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse] parsed result object
1215
1119
  # @yieldparam err [StandardError] error object if request failed
1216
1120
  #
1217
- # @return [Google::Apis::ToolresultsV1beta3::Step]
1121
+ # @return [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse]
1218
1122
  #
1219
1123
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1220
1124
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1221
1125
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1222
- def patch_step(project_id, history_id, execution_id, step_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1223
- command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
1224
- command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
1225
- command.request_object = step_object
1226
- command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
1227
- command.response_class = Google::Apis::ToolresultsV1beta3::Step
1126
+ def batch_create_perf_samples(project_id, history_id, execution_id, step_id, sample_series_id, batch_create_perf_samples_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1127
+ command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate', options)
1128
+ command.request_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest::Representation
1129
+ command.request_object = batch_create_perf_samples_request_object
1130
+ command.response_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse::Representation
1131
+ command.response_class = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse
1228
1132
  command.params['projectId'] = project_id unless project_id.nil?
1229
1133
  command.params['historyId'] = history_id unless history_id.nil?
1230
1134
  command.params['executionId'] = execution_id unless execution_id.nil?
1231
1135
  command.params['stepId'] = step_id unless step_id.nil?
1232
- command.query['requestId'] = request_id unless request_id.nil?
1136
+ command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
1233
1137
  command.query['fields'] = fields unless fields.nil?
1234
1138
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1235
1139
  execute_or_queue_command(command, &block)
1236
1140
  end
1237
1141
 
1238
- # Publish xml files to an existing Step.
1239
- # May return any of the following canonical error codes:
1240
- # - PERMISSION_DENIED - if the user is not authorized to write project
1241
- # - INVALID_ARGUMENT - if the request is malformed
1242
- # - FAILED_PRECONDITION - if the requested state transition is illegal,
1243
- # e.g try to upload a duplicate xml file or a file too large.
1244
- # - NOT_FOUND - if the containing Execution does not exist
1142
+ # Lists the Performance Samples of a given Sample Series - The list results are
1143
+ # sorted by timestamps ascending - The default page size is 500 samples; and
1144
+ # maximum size allowed 5000 - The response token indicates the last returned
1145
+ # PerfSample timestamp - When the results size exceeds the page size, submit a
1146
+ # subsequent request including the page token to return the rest of the samples
1147
+ # up to the page limit May return any of the following canonical error codes: -
1148
+ # OUT_OF_RANGE - The specified request page_token is out of valid range -
1149
+ # NOT_FOUND - The containing PerfSampleSeries does not exist
1245
1150
  # @param [String] project_id
1246
- # A Project id.
1247
- # Required.
1151
+ # The cloud project
1248
1152
  # @param [String] history_id
1249
- # A History id.
1250
- # Required.
1153
+ # A tool results history ID.
1251
1154
  # @param [String] execution_id
1252
- # A Execution id.
1253
- # Required.
1155
+ # A tool results execution ID.
1254
1156
  # @param [String] step_id
1255
- # A Step id.
1256
- # Note: This step must include a TestExecutionStep.
1257
- # Required.
1258
- # @param [Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest] publish_xunit_xml_files_request_object
1157
+ # A tool results step ID.
1158
+ # @param [String] sample_series_id
1159
+ # A sample series id
1160
+ # @param [Fixnum] page_size
1161
+ # The default page size is 500 samples, and the maximum size is 5000. If the
1162
+ # page_size is greater than 5000, the effective page size will be 5000
1163
+ # @param [String] page_token
1164
+ # Optional, the next_page_token returned in the previous response
1259
1165
  # @param [String] fields
1260
1166
  # Selector specifying which fields to include in a partial response.
1261
1167
  # @param [String] quota_user
@@ -1265,51 +1171,45 @@ module Google
1265
1171
  # Request-specific options
1266
1172
  #
1267
1173
  # @yield [result, err] Result & error if block supplied
1268
- # @yieldparam result [Google::Apis::ToolresultsV1beta3::Step] parsed result object
1174
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse] parsed result object
1269
1175
  # @yieldparam err [StandardError] error object if request failed
1270
1176
  #
1271
- # @return [Google::Apis::ToolresultsV1beta3::Step]
1177
+ # @return [Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse]
1272
1178
  #
1273
1179
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1274
1180
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1275
1181
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1276
- def publish_step_xunit_xml_files(project_id, history_id, execution_id, step_id, publish_xunit_xml_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1277
- command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', options)
1278
- command.request_representation = Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest::Representation
1279
- command.request_object = publish_xunit_xml_files_request_object
1280
- command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
1281
- command.response_class = Google::Apis::ToolresultsV1beta3::Step
1182
+ def list_project_history_execution_step_perf_sample_series_samples(project_id, history_id, execution_id, step_id, sample_series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1183
+ command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples', options)
1184
+ command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse::Representation
1185
+ command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse
1282
1186
  command.params['projectId'] = project_id unless project_id.nil?
1283
1187
  command.params['historyId'] = history_id unless history_id.nil?
1284
1188
  command.params['executionId'] = execution_id unless execution_id.nil?
1285
1189
  command.params['stepId'] = step_id unless step_id.nil?
1190
+ command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
1191
+ command.query['pageSize'] = page_size unless page_size.nil?
1192
+ command.query['pageToken'] = page_token unless page_token.nil?
1286
1193
  command.query['fields'] = fields unless fields.nil?
1287
1194
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1288
1195
  execute_or_queue_command(command, &block)
1289
1196
  end
1290
1197
 
1291
- # Gets details of a Test Case for a Step.
1292
- # Experimental test cases API. Still in active development.
1293
- # May return any of the following canonical error codes:
1294
- # - PERMISSION_DENIED - if the user is not authorized to write to project
1295
- # - INVALID_ARGUMENT - if the request is malformed
1296
- # - NOT_FOUND - if the containing Test Case does not exist
1198
+ # Gets details of a Test Case for a Step. Experimental test cases API. Still in
1199
+ # active development. May return any of the following canonical error codes: -
1200
+ # PERMISSION_DENIED - if the user is not authorized to write to project -
1201
+ # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing
1202
+ # Test Case does not exist
1297
1203
  # @param [String] project_id
1298
- # A Project id.
1299
- # Required.
1204
+ # A Project id. Required.
1300
1205
  # @param [String] history_id
1301
- # A History id.
1302
- # Required.
1206
+ # A History id. Required.
1303
1207
  # @param [String] execution_id
1304
- # A Execution id
1305
- # Required.
1208
+ # A Execution id Required.
1306
1209
  # @param [String] step_id
1307
- # A Step id.
1308
- # Note: This step must include a TestExecutionStep.
1309
- # Required.
1210
+ # A Step id. Note: This step must include a TestExecutionStep. Required.
1310
1211
  # @param [String] test_case_id
1311
- # A Test Case id.
1312
- # Required.
1212
+ # A Test Case id. Required.
1313
1213
  # @param [String] fields
1314
1214
  # Selector specifying which fields to include in a partial response.
1315
1215
  # @param [String] quota_user
@@ -1327,7 +1227,7 @@ module Google
1327
1227
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1328
1228
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1329
1229
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1330
- def get_test_case(project_id, history_id, execution_id, step_id, test_case_id, fields: nil, quota_user: nil, options: nil, &block)
1230
+ def get_project_history_execution_step_test_case(project_id, history_id, execution_id, step_id, test_case_id, fields: nil, quota_user: nil, options: nil, &block)
1331
1231
  command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}', options)
1332
1232
  command.response_representation = Google::Apis::ToolresultsV1beta3::TestCase::Representation
1333
1233
  command.response_class = Google::Apis::ToolresultsV1beta3::TestCase
@@ -1341,33 +1241,24 @@ module Google
1341
1241
  execute_or_queue_command(command, &block)
1342
1242
  end
1343
1243
 
1344
- # Lists Test Cases attached to a Step.
1345
- # Experimental test cases API. Still in active development.
1346
- # May return any of the following canonical error codes:
1347
- # - PERMISSION_DENIED - if the user is not authorized to write to project
1348
- # - INVALID_ARGUMENT - if the request is malformed
1349
- # - NOT_FOUND - if the containing Step does not exist
1244
+ # Lists Test Cases attached to a Step. Experimental test cases API. Still in
1245
+ # active development. May return any of the following canonical error codes: -
1246
+ # PERMISSION_DENIED - if the user is not authorized to write to project -
1247
+ # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing
1248
+ # Step does not exist
1350
1249
  # @param [String] project_id
1351
- # A Project id.
1352
- # Required.
1250
+ # A Project id. Required.
1353
1251
  # @param [String] history_id
1354
- # A History id.
1355
- # Required.
1252
+ # A History id. Required.
1356
1253
  # @param [String] execution_id
1357
- # A Execution id
1358
- # Required.
1254
+ # A Execution id Required.
1359
1255
  # @param [String] step_id
1360
- # A Step id.
1361
- # Note: This step must include a TestExecutionStep.
1362
- # Required.
1256
+ # A Step id. Note: This step must include a TestExecutionStep. Required.
1363
1257
  # @param [Fixnum] page_size
1364
- # The maximum number of TestCases to fetch.
1365
- # Default value: 100. The server will use this default if the field is not
1366
- # set or has a value of 0.
1367
- # Optional.
1258
+ # The maximum number of TestCases to fetch. Default value: 100. The server will
1259
+ # use this default if the field is not set or has a value of 0. Optional.
1368
1260
  # @param [String] page_token
1369
- # A continuation token to resume the query at the next item.
1370
- # Optional.
1261
+ # A continuation token to resume the query at the next item. Optional.
1371
1262
  # @param [String] fields
1372
1263
  # Selector specifying which fields to include in a partial response.
1373
1264
  # @param [String] quota_user
@@ -1385,7 +1276,7 @@ module Google
1385
1276
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1386
1277
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1387
1278
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1388
- def list_test_cases(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1279
+ def list_project_history_execution_step_test_cases(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1389
1280
  command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases', options)
1390
1281
  command.response_representation = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse::Representation
1391
1282
  command.response_class = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse
@@ -1400,33 +1291,24 @@ module Google
1400
1291
  execute_or_queue_command(command, &block)
1401
1292
  end
1402
1293
 
1403
- # Lists thumbnails of images attached to a step.
1404
- # May return any of the following canonical error codes:
1405
- # - PERMISSION_DENIED - if the user is not authorized to read from the
1406
- # project, or from any of the images
1407
- # - INVALID_ARGUMENT - if the request is malformed
1408
- # - NOT_FOUND - if the step does not exist, or if any of the images
1409
- # do not exist
1294
+ # Lists thumbnails of images attached to a step. May return any of the following
1295
+ # canonical error codes: - PERMISSION_DENIED - if the user is not authorized to
1296
+ # read from the project, or from any of the images - INVALID_ARGUMENT - if the
1297
+ # request is malformed - NOT_FOUND - if the step does not exist, or if any of
1298
+ # the images do not exist
1410
1299
  # @param [String] project_id
1411
- # A Project id.
1412
- # Required.
1300
+ # A Project id. Required.
1413
1301
  # @param [String] history_id
1414
- # A History id.
1415
- # Required.
1302
+ # A History id. Required.
1416
1303
  # @param [String] execution_id
1417
- # An Execution id.
1418
- # Required.
1304
+ # An Execution id. Required.
1419
1305
  # @param [String] step_id
1420
- # A Step id.
1421
- # Required.
1306
+ # A Step id. Required.
1422
1307
  # @param [Fixnum] page_size
1423
- # The maximum number of thumbnails to fetch.
1424
- # Default value: 50. The server will use this default if the field is not set
1425
- # or has a value of 0.
1426
- # Optional.
1308
+ # The maximum number of thumbnails to fetch. Default value: 50. The server will
1309
+ # use this default if the field is not set or has a value of 0. Optional.
1427
1310
  # @param [String] page_token
1428
- # A continuation token to resume the query at the next item.
1429
- # Optional.
1311
+ # A continuation token to resume the query at the next item. Optional.
1430
1312
  # @param [String] fields
1431
1313
  # Selector specifying which fields to include in a partial response.
1432
1314
  # @param [String] quota_user
@@ -1444,7 +1326,7 @@ module Google
1444
1326
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1445
1327
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1446
1328
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1447
- def list_thumbnails(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1329
+ def list_project_history_execution_step_thumbnails(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1448
1330
  command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails', options)
1449
1331
  command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse::Representation
1450
1332
  command.response_class = Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse