google-api-client 0.28.7 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/build.bat +9 -6
  3. data/.kokoro/build.sh +2 -32
  4. data/.kokoro/continuous/common.cfg +6 -1
  5. data/.kokoro/continuous/windows.cfg +17 -1
  6. data/.kokoro/osx.sh +2 -33
  7. data/.kokoro/presubmit/common.cfg +6 -1
  8. data/.kokoro/presubmit/windows.cfg +17 -1
  9. data/.kokoro/trampoline.bat +10 -0
  10. data/.kokoro/trampoline.sh +3 -23
  11. data/CHANGELOG.md +138 -0
  12. data/Rakefile +31 -0
  13. data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
  14. data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
  15. data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
  16. data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  22. data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
  23. data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
  24. data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
  27. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  28. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  29. data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
  30. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
  31. data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
  32. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  34. data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
  35. data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
  38. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  39. data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
  40. data/generated/google/apis/appengine_v1.rb +1 -1
  41. data/generated/google/apis/appengine_v1/service.rb +7 -1
  42. data/generated/google/apis/appengine_v1beta.rb +1 -1
  43. data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
  44. data/generated/google/apis/appengine_v1beta/service.rb +7 -1
  45. data/generated/google/apis/appsactivity_v1.rb +1 -1
  46. data/generated/google/apis/appsactivity_v1/service.rb +4 -3
  47. data/generated/google/apis/bigquery_v2.rb +1 -1
  48. data/generated/google/apis/bigquery_v2/classes.rb +28 -4
  49. data/generated/google/apis/bigquery_v2/representations.rb +13 -0
  50. data/generated/google/apis/bigtableadmin_v1.rb +2 -2
  51. data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2.rb +2 -2
  53. data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
  54. data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +16 -16
  58. data/generated/google/apis/classroom_v1.rb +7 -1
  59. data/generated/google/apis/classroom_v1/classes.rb +77 -0
  60. data/generated/google/apis/classroom_v1/representations.rb +32 -0
  61. data/generated/google/apis/classroom_v1/service.rb +224 -0
  62. data/generated/google/apis/cloudasset_v1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
  64. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  65. data/generated/google/apis/cloudasset_v1/service.rb +3 -2
  66. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
  68. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  70. data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  72. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
  73. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  74. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
  75. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
  76. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  77. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
  78. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  79. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudkms_v1.rb +1 -1
  82. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  85. data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
  86. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
  88. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  90. data/generated/google/apis/cloudscheduler_v1.rb +34 -0
  91. data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
  92. data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
  93. data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
  94. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  95. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
  98. data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
  99. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
  101. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  102. data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
  103. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  104. data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
  105. data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
  106. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
  107. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
  108. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
  109. data/generated/google/apis/compute_alpha.rb +1 -1
  110. data/generated/google/apis/compute_alpha/classes.rb +328 -25
  111. data/generated/google/apis/compute_alpha/representations.rb +134 -0
  112. data/generated/google/apis/compute_alpha/service.rb +465 -0
  113. data/generated/google/apis/compute_beta.rb +1 -1
  114. data/generated/google/apis/compute_beta/classes.rb +86 -20
  115. data/generated/google/apis/compute_beta/representations.rb +7 -0
  116. data/generated/google/apis/compute_v1.rb +1 -1
  117. data/generated/google/apis/compute_v1/classes.rb +994 -103
  118. data/generated/google/apis/compute_v1/representations.rb +346 -0
  119. data/generated/google/apis/compute_v1/service.rb +533 -0
  120. data/generated/google/apis/container_v1.rb +1 -1
  121. data/generated/google/apis/container_v1/classes.rb +167 -21
  122. data/generated/google/apis/container_v1/representations.rb +66 -0
  123. data/generated/google/apis/container_v1/service.rb +85 -36
  124. data/generated/google/apis/container_v1beta1.rb +1 -1
  125. data/generated/google/apis/container_v1beta1/classes.rb +86 -21
  126. data/generated/google/apis/container_v1beta1/representations.rb +32 -0
  127. data/generated/google/apis/container_v1beta1/service.rb +38 -38
  128. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  129. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  130. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
  131. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +5 -5
  134. data/generated/google/apis/content_v2/service.rb +6 -6
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +18 -4
  137. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  138. data/generated/google/apis/content_v2_1/service.rb +6 -6
  139. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  140. data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
  141. data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
  142. data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
  143. data/generated/google/apis/datafusion_v1beta1.rb +43 -0
  144. data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
  145. data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
  146. data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
  147. data/generated/google/apis/dataproc_v1.rb +1 -1
  148. data/generated/google/apis/dataproc_v1/classes.rb +5 -5
  149. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  150. data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
  151. data/generated/google/apis/datastore_v1.rb +1 -1
  152. data/generated/google/apis/datastore_v1/classes.rb +20 -16
  153. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  154. data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
  155. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  156. data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
  157. data/generated/google/apis/dialogflow_v2.rb +1 -1
  158. data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
  159. data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
  160. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  161. data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
  162. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  163. data/generated/google/apis/dlp_v2.rb +1 -1
  164. data/generated/google/apis/dlp_v2/classes.rb +19 -2
  165. data/generated/google/apis/dns_v1.rb +1 -1
  166. data/generated/google/apis/dns_v1/classes.rb +202 -93
  167. data/generated/google/apis/dns_v1/service.rb +110 -15
  168. data/generated/google/apis/dns_v1beta2.rb +1 -1
  169. data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
  170. data/generated/google/apis/dns_v1beta2/service.rb +141 -21
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
  173. data/generated/google/apis/dns_v2beta1/service.rb +110 -15
  174. data/generated/google/apis/docs_v1.rb +1 -1
  175. data/generated/google/apis/docs_v1/classes.rb +10 -0
  176. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  177. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
  178. data/generated/google/apis/drive_v2.rb +1 -1
  179. data/generated/google/apis/drive_v2/classes.rb +601 -69
  180. data/generated/google/apis/drive_v2/representations.rb +152 -0
  181. data/generated/google/apis/drive_v2/service.rb +452 -96
  182. data/generated/google/apis/drive_v3.rb +1 -1
  183. data/generated/google/apis/drive_v3/classes.rb +591 -64
  184. data/generated/google/apis/drive_v3/representations.rb +151 -0
  185. data/generated/google/apis/drive_v3/service.rb +407 -77
  186. data/generated/google/apis/driveactivity_v2.rb +1 -1
  187. data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
  188. data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
  189. data/generated/google/apis/file_v1.rb +1 -1
  190. data/generated/google/apis/file_v1/classes.rb +399 -8
  191. data/generated/google/apis/file_v1/representations.rb +121 -0
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +399 -8
  194. data/generated/google/apis/file_v1beta1/representations.rb +121 -0
  195. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  196. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
  197. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
  198. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  199. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
  200. data/generated/google/apis/firebaserules_v1.rb +1 -1
  201. data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
  202. data/generated/google/apis/firestore_v1.rb +1 -1
  203. data/generated/google/apis/firestore_v1/classes.rb +15 -15
  204. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  205. data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
  206. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  207. data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
  208. data/generated/google/apis/fitness_v1.rb +1 -1
  209. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  210. data/generated/google/apis/games_v1.rb +2 -2
  211. data/generated/google/apis/gmail_v1.rb +1 -1
  212. data/generated/google/apis/gmail_v1/classes.rb +29 -0
  213. data/generated/google/apis/gmail_v1/representations.rb +13 -0
  214. data/generated/google/apis/gmail_v1/service.rb +76 -0
  215. data/generated/google/apis/healthcare_v1beta1.rb +34 -0
  216. data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
  217. data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
  218. data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
  219. data/generated/google/apis/iap_v1.rb +1 -1
  220. data/generated/google/apis/iap_v1beta1.rb +1 -1
  221. data/generated/google/apis/jobs_v2.rb +1 -1
  222. data/generated/google/apis/jobs_v2/classes.rb +9 -8
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3/classes.rb +13 -7
  225. data/generated/google/apis/jobs_v3/service.rb +1 -2
  226. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  227. data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
  228. data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
  229. data/generated/google/apis/language_v1.rb +1 -1
  230. data/generated/google/apis/language_v1/classes.rb +3 -2
  231. data/generated/google/apis/language_v1beta2.rb +1 -1
  232. data/generated/google/apis/language_v1beta2/classes.rb +3 -2
  233. data/generated/google/apis/ml_v1.rb +1 -1
  234. data/generated/google/apis/ml_v1/classes.rb +64 -16
  235. data/generated/google/apis/ml_v1/representations.rb +2 -0
  236. data/generated/google/apis/ml_v1/service.rb +5 -5
  237. data/generated/google/apis/monitoring_v3.rb +1 -1
  238. data/generated/google/apis/monitoring_v3/classes.rb +0 -10
  239. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  240. data/generated/google/apis/oauth2_v1.rb +1 -1
  241. data/generated/google/apis/oauth2_v2.rb +1 -1
  242. data/generated/google/apis/oslogin_v1.rb +3 -2
  243. data/generated/google/apis/oslogin_v1/service.rb +2 -1
  244. data/generated/google/apis/oslogin_v1alpha.rb +3 -2
  245. data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
  246. data/generated/google/apis/oslogin_v1beta.rb +3 -2
  247. data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
  248. data/generated/google/apis/people_v1.rb +1 -4
  249. data/generated/google/apis/people_v1/classes.rb +19 -11
  250. data/generated/google/apis/people_v1/representations.rb +1 -0
  251. data/generated/google/apis/people_v1/service.rb +1 -0
  252. data/generated/google/apis/plus_domains_v1.rb +2 -5
  253. data/generated/google/apis/plus_domains_v1/service.rb +8 -90
  254. data/generated/google/apis/plus_v1.rb +2 -2
  255. data/generated/google/apis/plus_v1/service.rb +7 -7
  256. data/generated/google/apis/poly_v1.rb +1 -1
  257. data/generated/google/apis/poly_v1/classes.rb +3 -2
  258. data/generated/google/apis/poly_v1/service.rb +11 -8
  259. data/generated/google/apis/pubsub_v1.rb +1 -1
  260. data/generated/google/apis/pubsub_v1/classes.rb +2 -1
  261. data/generated/google/apis/pubsub_v1/service.rb +8 -8
  262. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  263. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  264. data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
  265. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  266. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
  267. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  268. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
  269. data/generated/google/apis/run_v1alpha1.rb +1 -1
  270. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1.rb +35 -0
  272. data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
  273. data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
  274. data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
  275. data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
  276. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
  277. data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
  278. data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
  279. data/generated/google/apis/servicebroker_v1.rb +1 -1
  280. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  281. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  282. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  283. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
  284. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
  285. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
  286. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  287. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
  288. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  289. data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
  290. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  291. data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
  292. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  293. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
  296. data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
  300. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  301. data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
  302. data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
  303. data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
  304. data/generated/google/apis/spanner_v1.rb +1 -1
  305. data/generated/google/apis/spanner_v1/classes.rb +20 -19
  306. data/generated/google/apis/spanner_v1/service.rb +1 -1
  307. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  308. data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
  309. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  310. data/generated/google/apis/storage_v1.rb +1 -1
  311. data/generated/google/apis/storage_v1/classes.rb +144 -0
  312. data/generated/google/apis/storage_v1/representations.rb +56 -0
  313. data/generated/google/apis/storage_v1/service.rb +441 -46
  314. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  315. data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
  316. data/generated/google/apis/testing_v1.rb +1 -1
  317. data/generated/google/apis/testing_v1/classes.rb +6 -0
  318. data/generated/google/apis/testing_v1/representations.rb +1 -0
  319. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  320. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  321. data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
  322. data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
  323. data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
  324. data/generated/google/apis/tpu_v1.rb +1 -1
  325. data/generated/google/apis/tpu_v1/classes.rb +10 -4
  326. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  327. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  328. data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
  329. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  330. data/generated/google/apis/vault_v1.rb +1 -1
  331. data/generated/google/apis/vault_v1/classes.rb +37 -18
  332. data/generated/google/apis/vault_v1/representations.rb +3 -0
  333. data/generated/google/apis/vision_v1.rb +1 -1
  334. data/generated/google/apis/vision_v1/classes.rb +84 -47
  335. data/generated/google/apis/vision_v1/service.rb +68 -4
  336. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  337. data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
  338. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  339. data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
  340. data/generated/google/apis/webmasters_v3.rb +1 -1
  341. data/generated/google/apis/webmasters_v3/classes.rb +0 -166
  342. data/generated/google/apis/webmasters_v3/representations.rb +0 -93
  343. data/generated/google/apis/webmasters_v3/service.rb +0 -171
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
  346. data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
  347. data/generated/google/apis/youtube_v3.rb +1 -1
  348. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  349. data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
  350. data/google-api-client.gemspec +1 -1
  351. data/lib/google/apis/version.rb +1 -1
  352. metadata +31 -9
  353. data/.kokoro/common.cfg +0 -22
  354. data/.kokoro/windows.sh +0 -32
  355. data/generated/google/apis/logging_v2beta1.rb +0 -46
  356. data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
  357. data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
  358. data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/storage-transfer/docs
27
27
  module StoragetransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190306'
29
+ REVISION = '20190429'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -832,12 +832,12 @@ module Google
832
832
  class TransferJob
833
833
  include Google::Apis::Core::Hashable
834
834
 
835
- # This field cannot be changed by user requests.
835
+ # Output only. The time that the transfer job was created.
836
836
  # Corresponds to the JSON property `creationTime`
837
837
  # @return [String]
838
838
  attr_accessor :creation_time
839
839
 
840
- # This field cannot be changed by user requests.
840
+ # Output only. The time that the transfer job was deleted.
841
841
  # Corresponds to the JSON property `deletionTime`
842
842
  # @return [String]
843
843
  attr_accessor :deletion_time
@@ -848,7 +848,7 @@ module Google
848
848
  # @return [String]
849
849
  attr_accessor :description
850
850
 
851
- # This field cannot be changed by user requests.
851
+ # Output only. The time that the transfer job was last modified.
852
852
  # Corresponds to the JSON property `lastModificationTime`
853
853
  # @return [String]
854
854
  attr_accessor :last_modification_time
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/cloud-test-lab/
27
27
  module TestingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190325'
29
+ REVISION = '20190424'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -693,6 +693,11 @@ module Google
693
693
  # @return [String]
694
694
  attr_accessor :package_name
695
695
 
696
+ # Specifies the API Level on which the application is designed to run.
697
+ # Corresponds to the JSON property `targetSdkVersion`
698
+ # @return [Fixnum]
699
+ attr_accessor :target_sdk_version
700
+
696
701
  def initialize(**args)
697
702
  update!(**args)
698
703
  end
@@ -704,6 +709,7 @@ module Google
704
709
  @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
705
710
  @min_sdk_version = args[:min_sdk_version] if args.key?(:min_sdk_version)
706
711
  @package_name = args[:package_name] if args.key?(:package_name)
712
+ @target_sdk_version = args[:target_sdk_version] if args.key?(:target_sdk_version)
707
713
  end
708
714
  end
709
715
 
@@ -551,6 +551,7 @@ module Google
551
551
  property :max_sdk_version, as: 'maxSdkVersion'
552
552
  property :min_sdk_version, as: 'minSdkVersion'
553
553
  property :package_name, as: 'packageName'
554
+ property :target_sdk_version, as: 'targetSdkVersion'
554
555
  end
555
556
  end
556
557
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/text-to-speech/
26
26
  module TexttospeechV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20181208'
28
+ REVISION = '20190329'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://firebase.google.com/docs/test-lab/
26
26
  module ToolresultsV1beta3
27
27
  VERSION = 'V1beta3'
28
- REVISION = '20190312'
28
+ REVISION = '20190422'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1052,11 +1052,51 @@ module Google
1052
1052
  class IndividualOutcome
1053
1053
  include Google::Apis::Core::Hashable
1054
1054
 
1055
+ # Unique int given to each step. Ranges from 0(inclusive) to total number of
1056
+ # steps(exclusive). The primary step is 0.
1057
+ # Corresponds to the JSON property `multistepNumber`
1058
+ # @return [Fixnum]
1059
+ attr_accessor :multistep_number
1060
+
1055
1061
  #
1056
1062
  # Corresponds to the JSON property `outcomeSummary`
1057
1063
  # @return [String]
1058
1064
  attr_accessor :outcome_summary
1059
1065
 
1066
+ # A Duration represents a signed, fixed-length span of time represented as a
1067
+ # count of seconds and fractions of seconds at nanosecond resolution. It is
1068
+ # independent of any calendar and concepts like "day" or "month". It is related
1069
+ # to Timestamp in that the difference between two Timestamp values is a Duration
1070
+ # and it can be added or subtracted from a Timestamp. Range is approximately +-
1071
+ # 10,000 years.
1072
+ # # Examples
1073
+ # Example 1: Compute Duration from two Timestamps in pseudo code.
1074
+ # Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
1075
+ # duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
1076
+ # start.nanos;
1077
+ # if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
1078
+ # ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
1079
+ # 1; duration.nanos += 1000000000; `
1080
+ # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
1081
+ # Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
1082
+ # end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
1083
+ # duration.nanos;
1084
+ # if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
1085
+ # Example 3: Compute Duration from datetime.timedelta in Python.
1086
+ # td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
1087
+ # FromTimedelta(td)
1088
+ # # JSON Mapping
1089
+ # In JSON format, the Duration type is encoded as a string rather than an object,
1090
+ # where the string ends in the suffix "s" (indicating seconds) and is preceded
1091
+ # by the number of seconds, with nanoseconds expressed as fractional seconds.
1092
+ # For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
1093
+ # 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
1094
+ # 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
1095
+ # format as "3.000001s".
1096
+ # Corresponds to the JSON property `runDuration`
1097
+ # @return [Google::Apis::ToolresultsV1beta3::Duration]
1098
+ attr_accessor :run_duration
1099
+
1060
1100
  #
1061
1101
  # Corresponds to the JSON property `stepId`
1062
1102
  # @return [String]
@@ -1068,7 +1108,9 @@ module Google
1068
1108
 
1069
1109
  # Update properties of this object
1070
1110
  def update!(**args)
1111
+ @multistep_number = args[:multistep_number] if args.key?(:multistep_number)
1071
1112
  @outcome_summary = args[:outcome_summary] if args.key?(:outcome_summary)
1113
+ @run_duration = args[:run_duration] if args.key?(:run_duration)
1072
1114
  @step_id = args[:step_id] if args.key?(:step_id)
1073
1115
  end
1074
1116
  end
@@ -1255,6 +1297,31 @@ module Google
1255
1297
  end
1256
1298
  end
1257
1299
 
1300
+ # Response message for StepService.ListTestCases.
1301
+ class ListTestCasesResponse
1302
+ include Google::Apis::Core::Hashable
1303
+
1304
+ #
1305
+ # Corresponds to the JSON property `nextPageToken`
1306
+ # @return [String]
1307
+ attr_accessor :next_page_token
1308
+
1309
+ # List of test cases.
1310
+ # Corresponds to the JSON property `testCases`
1311
+ # @return [Array<Google::Apis::ToolresultsV1beta3::TestCase>]
1312
+ attr_accessor :test_cases
1313
+
1314
+ def initialize(**args)
1315
+ update!(**args)
1316
+ end
1317
+
1318
+ # Update properties of this object
1319
+ def update!(**args)
1320
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1321
+ @test_cases = args[:test_cases] if args.key?(:test_cases)
1322
+ end
1323
+ end
1324
+
1258
1325
  #
1259
1326
  class MemoryInfo
1260
1327
  include Google::Apis::Core::Hashable
@@ -2281,6 +2348,179 @@ module Google
2281
2348
  end
2282
2349
  end
2283
2350
 
2351
+ #
2352
+ class TestCase
2353
+ include Google::Apis::Core::Hashable
2354
+
2355
+ # A Timestamp represents a point in time independent of any time zone or local
2356
+ # calendar, encoded as a count of seconds and fractions of seconds at nanosecond
2357
+ # resolution. The count is relative to an epoch at UTC midnight on January 1,
2358
+ # 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar
2359
+ # backwards to year one.
2360
+ # All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
2361
+ # second table is needed for interpretation, using a [24-hour linear smear](
2362
+ # https://developers.google.com/time/smear).
2363
+ # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
2364
+ # restricting to that range, we ensure that we can convert to and from [RFC 3339]
2365
+ # (https://www.ietf.org/rfc/rfc3339.txt) date strings.
2366
+ # # Examples
2367
+ # Example 1: Compute Timestamp from POSIX `time()`.
2368
+ # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
2369
+ # Example 2: Compute Timestamp from POSIX `gettimeofday()`.
2370
+ # struct timeval tv; gettimeofday(&tv, NULL);
2371
+ # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
2372
+ # tv_usec * 1000);
2373
+ # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
2374
+ # FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
2375
+ # dwHighDateTime) << 32) | ft.dwLowDateTime;
2376
+ # // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
2377
+ # 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
2378
+ # timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
2379
+ # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
2380
+ # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
2381
+ # long millis = System.currentTimeMillis();
2382
+ # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
2383
+ # setNanos((int) ((millis % 1000) * 1000000)).build();
2384
+ # Example 5: Compute Timestamp from current time in Python.
2385
+ # timestamp = Timestamp() timestamp.GetCurrentTime()
2386
+ # # JSON Mapping
2387
+ # In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
2388
+ # https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
2389
+ # month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
2390
+ # expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
2391
+ # zero-padded to two digits each. The fractional seconds, which can go up to 9
2392
+ # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
2393
+ # indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
2394
+ # serializer should always use UTC (as indicated by "Z") when printing the
2395
+ # Timestamp type and a proto3 JSON parser should be able to accept both UTC and
2396
+ # other timezones (as indicated by an offset).
2397
+ # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
2398
+ # January 15, 2017.
2399
+ # In JavaScript, one can convert a Date object to this format using the standard
2400
+ # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
2401
+ # Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
2402
+ # datetime.datetime` object can be converted to this format using [`strftime`](
2403
+ # https://docs.python.org/2/library/time.html#time.strftime) with the time
2404
+ # format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
2405
+ # Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
2406
+ # org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
2407
+ # formatter capable of generating timestamps in this format.
2408
+ # Corresponds to the JSON property `endTime`
2409
+ # @return [Google::Apis::ToolresultsV1beta3::Timestamp]
2410
+ attr_accessor :end_time
2411
+
2412
+ # Why the test case was skipped.
2413
+ # Present only for skipped test case
2414
+ # Corresponds to the JSON property `skippedMessage`
2415
+ # @return [String]
2416
+ attr_accessor :skipped_message
2417
+
2418
+ # The stack trace details if the test case failed or encountered an error.
2419
+ # The maximum size of the stack traces is 100KiB, beyond which the stack track
2420
+ # will be truncated.
2421
+ # Zero if the test case passed.
2422
+ # Corresponds to the JSON property `stackTraces`
2423
+ # @return [Array<Google::Apis::ToolresultsV1beta3::StackTrace>]
2424
+ attr_accessor :stack_traces
2425
+
2426
+ # A Timestamp represents a point in time independent of any time zone or local
2427
+ # calendar, encoded as a count of seconds and fractions of seconds at nanosecond
2428
+ # resolution. The count is relative to an epoch at UTC midnight on January 1,
2429
+ # 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar
2430
+ # backwards to year one.
2431
+ # All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
2432
+ # second table is needed for interpretation, using a [24-hour linear smear](
2433
+ # https://developers.google.com/time/smear).
2434
+ # The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
2435
+ # restricting to that range, we ensure that we can convert to and from [RFC 3339]
2436
+ # (https://www.ietf.org/rfc/rfc3339.txt) date strings.
2437
+ # # Examples
2438
+ # Example 1: Compute Timestamp from POSIX `time()`.
2439
+ # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
2440
+ # Example 2: Compute Timestamp from POSIX `gettimeofday()`.
2441
+ # struct timeval tv; gettimeofday(&tv, NULL);
2442
+ # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
2443
+ # tv_usec * 1000);
2444
+ # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
2445
+ # FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
2446
+ # dwHighDateTime) << 32) | ft.dwLowDateTime;
2447
+ # // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
2448
+ # 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
2449
+ # timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
2450
+ # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
2451
+ # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
2452
+ # long millis = System.currentTimeMillis();
2453
+ # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
2454
+ # setNanos((int) ((millis % 1000) * 1000000)).build();
2455
+ # Example 5: Compute Timestamp from current time in Python.
2456
+ # timestamp = Timestamp() timestamp.GetCurrentTime()
2457
+ # # JSON Mapping
2458
+ # In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
2459
+ # https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
2460
+ # month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
2461
+ # expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
2462
+ # zero-padded to two digits each. The fractional seconds, which can go up to 9
2463
+ # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
2464
+ # indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
2465
+ # serializer should always use UTC (as indicated by "Z") when printing the
2466
+ # Timestamp type and a proto3 JSON parser should be able to accept both UTC and
2467
+ # other timezones (as indicated by an offset).
2468
+ # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
2469
+ # January 15, 2017.
2470
+ # In JavaScript, one can convert a Date object to this format using the standard
2471
+ # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
2472
+ # Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
2473
+ # datetime.datetime` object can be converted to this format using [`strftime`](
2474
+ # https://docs.python.org/2/library/time.html#time.strftime) with the time
2475
+ # format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
2476
+ # Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
2477
+ # org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
2478
+ # formatter capable of generating timestamps in this format.
2479
+ # Corresponds to the JSON property `startTime`
2480
+ # @return [Google::Apis::ToolresultsV1beta3::Timestamp]
2481
+ attr_accessor :start_time
2482
+
2483
+ # The status of the test case.
2484
+ # Required.
2485
+ # Corresponds to the JSON property `status`
2486
+ # @return [String]
2487
+ attr_accessor :status
2488
+
2489
+ # A unique identifier within a Step for this Test Case.
2490
+ # Corresponds to the JSON property `testCaseId`
2491
+ # @return [String]
2492
+ attr_accessor :test_case_id
2493
+
2494
+ # A reference to a test case.
2495
+ # Test case references are canonically ordered lexicographically by these three
2496
+ # factors: * First, by test_suite_name. * Second, by class_name. * Third, by
2497
+ # name.
2498
+ # Corresponds to the JSON property `testCaseReference`
2499
+ # @return [Google::Apis::ToolresultsV1beta3::TestCaseReference]
2500
+ attr_accessor :test_case_reference
2501
+
2502
+ # References to opaque files of any format output by the tool execution.
2503
+ # Corresponds to the JSON property `toolOutputs`
2504
+ # @return [Array<Google::Apis::ToolresultsV1beta3::ToolOutputReference>]
2505
+ attr_accessor :tool_outputs
2506
+
2507
+ def initialize(**args)
2508
+ update!(**args)
2509
+ end
2510
+
2511
+ # Update properties of this object
2512
+ def update!(**args)
2513
+ @end_time = args[:end_time] if args.key?(:end_time)
2514
+ @skipped_message = args[:skipped_message] if args.key?(:skipped_message)
2515
+ @stack_traces = args[:stack_traces] if args.key?(:stack_traces)
2516
+ @start_time = args[:start_time] if args.key?(:start_time)
2517
+ @status = args[:status] if args.key?(:status)
2518
+ @test_case_id = args[:test_case_id] if args.key?(:test_case_id)
2519
+ @test_case_reference = args[:test_case_reference] if args.key?(:test_case_reference)
2520
+ @tool_outputs = args[:tool_outputs] if args.key?(:tool_outputs)
2521
+ end
2522
+ end
2523
+
2284
2524
  # A reference to a test case.
2285
2525
  # Test case references are canonically ordered lexicographically by these three
2286
2526
  # factors: * First, by test_suite_name. * Second, by class_name. * Third, by
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class ListTestCasesResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class MemoryInfo
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -304,6 +310,12 @@ module Google
304
310
  include Google::Apis::Core::JsonObjectSupport
305
311
  end
306
312
 
313
+ class TestCase
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
307
319
  class TestCaseReference
308
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
321
 
@@ -570,7 +582,10 @@ module Google
570
582
  class IndividualOutcome
571
583
  # @private
572
584
  class Representation < Google::Apis::Core::JsonRepresentation
585
+ property :multistep_number, as: 'multistepNumber'
573
586
  property :outcome_summary, as: 'outcomeSummary'
587
+ property :run_duration, as: 'runDuration', class: Google::Apis::ToolresultsV1beta3::Duration, decorator: Google::Apis::ToolresultsV1beta3::Duration::Representation
588
+
574
589
  property :step_id, as: 'stepId'
575
590
  end
576
591
  end
@@ -636,6 +651,15 @@ module Google
636
651
  end
637
652
  end
638
653
 
654
+ class ListTestCasesResponse
655
+ # @private
656
+ class Representation < Google::Apis::Core::JsonRepresentation
657
+ property :next_page_token, as: 'nextPageToken'
658
+ collection :test_cases, as: 'testCases', class: Google::Apis::ToolresultsV1beta3::TestCase, decorator: Google::Apis::ToolresultsV1beta3::TestCase::Representation
659
+
660
+ end
661
+ end
662
+
639
663
  class MemoryInfo
640
664
  # @private
641
665
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -853,6 +877,25 @@ module Google
853
877
  end
854
878
  end
855
879
 
880
+ class TestCase
881
+ # @private
882
+ class Representation < Google::Apis::Core::JsonRepresentation
883
+ property :end_time, as: 'endTime', class: Google::Apis::ToolresultsV1beta3::Timestamp, decorator: Google::Apis::ToolresultsV1beta3::Timestamp::Representation
884
+
885
+ property :skipped_message, as: 'skippedMessage'
886
+ collection :stack_traces, as: 'stackTraces', class: Google::Apis::ToolresultsV1beta3::StackTrace, decorator: Google::Apis::ToolresultsV1beta3::StackTrace::Representation
887
+
888
+ property :start_time, as: 'startTime', class: Google::Apis::ToolresultsV1beta3::Timestamp, decorator: Google::Apis::ToolresultsV1beta3::Timestamp::Representation
889
+
890
+ property :status, as: 'status'
891
+ property :test_case_id, as: 'testCaseId'
892
+ property :test_case_reference, as: 'testCaseReference', class: Google::Apis::ToolresultsV1beta3::TestCaseReference, decorator: Google::Apis::ToolresultsV1beta3::TestCaseReference::Representation
893
+
894
+ collection :tool_outputs, as: 'toolOutputs', class: Google::Apis::ToolresultsV1beta3::ToolOutputReference, decorator: Google::Apis::ToolresultsV1beta3::ToolOutputReference::Representation
895
+
896
+ end
897
+ end
898
+
856
899
  class TestCaseReference
857
900
  # @private
858
901
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1213,6 +1213,122 @@ module Google
1213
1213
  execute_or_queue_command(command, &block)
1214
1214
  end
1215
1215
 
1216
+ # Gets details of a Test Case for a Step. Experimental test cases API. Still in
1217
+ # active development.
1218
+ # May return any of the following canonical error codes:
1219
+ # - PERMISSION_DENIED - if the user is not authorized to write to project -
1220
+ # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing
1221
+ # Test Case does not exist
1222
+ # @param [String] project_id
1223
+ # A Project id.
1224
+ # Required.
1225
+ # @param [String] history_id
1226
+ # A History id.
1227
+ # Required.
1228
+ # @param [String] execution_id
1229
+ # A Execution id
1230
+ # Required.
1231
+ # @param [String] step_id
1232
+ # A Step id. Note: This step must include a TestExecutionStep.
1233
+ # Required.
1234
+ # @param [String] test_case_id
1235
+ # A Test Case id.
1236
+ # Required.
1237
+ # @param [String] fields
1238
+ # Selector specifying which fields to include in a partial response.
1239
+ # @param [String] quota_user
1240
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
1241
+ # characters.
1242
+ # @param [String] user_ip
1243
+ # Deprecated. Please use quotaUser instead.
1244
+ # @param [Google::Apis::RequestOptions] options
1245
+ # Request-specific options
1246
+ #
1247
+ # @yield [result, err] Result & error if block supplied
1248
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::TestCase] parsed result object
1249
+ # @yieldparam err [StandardError] error object if request failed
1250
+ #
1251
+ # @return [Google::Apis::ToolresultsV1beta3::TestCase]
1252
+ #
1253
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1254
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1255
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1256
+ def get_project_history_execution_step_test_case(project_id, history_id, execution_id, step_id, test_case_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1257
+ command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}', options)
1258
+ command.response_representation = Google::Apis::ToolresultsV1beta3::TestCase::Representation
1259
+ command.response_class = Google::Apis::ToolresultsV1beta3::TestCase
1260
+ command.params['projectId'] = project_id unless project_id.nil?
1261
+ command.params['historyId'] = history_id unless history_id.nil?
1262
+ command.params['executionId'] = execution_id unless execution_id.nil?
1263
+ command.params['stepId'] = step_id unless step_id.nil?
1264
+ command.params['testCaseId'] = test_case_id unless test_case_id.nil?
1265
+ command.query['fields'] = fields unless fields.nil?
1266
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1267
+ command.query['userIp'] = user_ip unless user_ip.nil?
1268
+ execute_or_queue_command(command, &block)
1269
+ end
1270
+
1271
+ # Lists Test Cases attached to a Step. Experimental test cases API. Still in
1272
+ # active development.
1273
+ # May return any of the following canonical error codes:
1274
+ # - PERMISSION_DENIED - if the user is not authorized to write to project -
1275
+ # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing
1276
+ # Step does not exist
1277
+ # @param [String] project_id
1278
+ # A Project id.
1279
+ # Required.
1280
+ # @param [String] history_id
1281
+ # A History id.
1282
+ # Required.
1283
+ # @param [String] execution_id
1284
+ # A Execution id
1285
+ # Required.
1286
+ # @param [String] step_id
1287
+ # A Step id. Note: This step must include a TestExecutionStep.
1288
+ # Required.
1289
+ # @param [Fixnum] page_size
1290
+ # The maximum number of TestCases to fetch.
1291
+ # Default value: 100. The server will use this default if the field is not set
1292
+ # or has a value of 0.
1293
+ # Optional.
1294
+ # @param [String] page_token
1295
+ # A continuation token to resume the query at the next item.
1296
+ # Optional.
1297
+ # @param [String] fields
1298
+ # Selector specifying which fields to include in a partial response.
1299
+ # @param [String] quota_user
1300
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
1301
+ # characters.
1302
+ # @param [String] user_ip
1303
+ # Deprecated. Please use quotaUser instead.
1304
+ # @param [Google::Apis::RequestOptions] options
1305
+ # Request-specific options
1306
+ #
1307
+ # @yield [result, err] Result & error if block supplied
1308
+ # @yieldparam result [Google::Apis::ToolresultsV1beta3::ListTestCasesResponse] parsed result object
1309
+ # @yieldparam err [StandardError] error object if request failed
1310
+ #
1311
+ # @return [Google::Apis::ToolresultsV1beta3::ListTestCasesResponse]
1312
+ #
1313
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1314
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1315
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1316
+ 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, user_ip: nil, options: nil, &block)
1317
+ command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases', options)
1318
+ command.response_representation = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse::Representation
1319
+ command.response_class = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse
1320
+ command.params['projectId'] = project_id unless project_id.nil?
1321
+ command.params['historyId'] = history_id unless history_id.nil?
1322
+ command.params['executionId'] = execution_id unless execution_id.nil?
1323
+ command.params['stepId'] = step_id unless step_id.nil?
1324
+ command.query['pageSize'] = page_size unless page_size.nil?
1325
+ command.query['pageToken'] = page_token unless page_token.nil?
1326
+ command.query['fields'] = fields unless fields.nil?
1327
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1328
+ command.query['userIp'] = user_ip unless user_ip.nil?
1329
+ execute_or_queue_command(command, &block)
1330
+ end
1331
+
1216
1332
  # Lists thumbnails of images attached to a step.
1217
1333
  # May return any of the following canonical error codes: - PERMISSION_DENIED -
1218
1334
  # if the user is not authorized to read from the project, or from any of the