google-api-client 0.11.3 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -0
  3. data/api_names.yaml +32317 -34465
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  14. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  15. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  18. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  19. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  22. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  23. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  24. data/generated/google/apis/analytics_v3/service.rb +82 -82
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
  27. data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
  28. data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  31. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  32. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  33. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  34. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  35. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  36. data/generated/google/apis/appengine_v1.rb +1 -1
  37. data/generated/google/apis/appengine_v1/classes.rb +825 -817
  38. data/generated/google/apis/appengine_v1/representations.rb +185 -184
  39. data/generated/google/apis/appengine_v1/service.rb +220 -216
  40. data/generated/google/apis/appstate_v1.rb +1 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2/classes.rb +9 -7
  43. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  44. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  45. data/generated/google/apis/blogger_v3/service.rb +3 -3
  46. data/generated/google/apis/books_v1/classes.rb +55 -55
  47. data/generated/google/apis/books_v1/representations.rb +67 -67
  48. data/generated/google/apis/books_v1/service.rb +82 -82
  49. data/generated/google/apis/calendar_v3.rb +1 -1
  50. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  51. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  52. data/generated/google/apis/calendar_v3/service.rb +2 -2
  53. data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
  54. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  55. data/generated/google/apis/civicinfo_v2/service.rb +8 -8
  56. data/generated/google/apis/classroom_v1.rb +24 -24
  57. data/generated/google/apis/classroom_v1/classes.rb +381 -381
  58. data/generated/google/apis/classroom_v1/representations.rb +108 -108
  59. data/generated/google/apis/classroom_v1/service.rb +503 -503
  60. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  61. data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
  62. data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
  63. data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
  64. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  65. data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
  66. data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
  67. data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
  68. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  69. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
  70. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
  71. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
  72. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  73. data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
  74. data/generated/google/apis/cloudkms_v1.rb +3 -3
  75. data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
  76. data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
  77. data/generated/google/apis/cloudkms_v1/service.rb +224 -224
  78. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  79. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
  80. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
  81. data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
  85. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  88. data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
  89. data/generated/google/apis/compute_beta.rb +1 -1
  90. data/generated/google/apis/compute_beta/classes.rb +57 -15
  91. data/generated/google/apis/compute_beta/representations.rb +30 -14
  92. data/generated/google/apis/compute_beta/service.rb +52 -52
  93. data/generated/google/apis/compute_v1.rb +1 -1
  94. data/generated/google/apis/compute_v1/classes.rb +223 -10
  95. data/generated/google/apis/compute_v1/representations.rb +85 -16
  96. data/generated/google/apis/compute_v1/service.rb +327 -51
  97. data/generated/google/apis/container_v1/classes.rb +267 -267
  98. data/generated/google/apis/container_v1/representations.rb +61 -61
  99. data/generated/google/apis/container_v1/service.rb +123 -123
  100. data/generated/google/apis/content_v2.rb +1 -1
  101. data/generated/google/apis/content_v2/classes.rb +71 -71
  102. data/generated/google/apis/content_v2/representations.rb +105 -105
  103. data/generated/google/apis/content_v2/service.rb +120 -120
  104. data/generated/google/apis/dataflow_v1b3.rb +4 -4
  105. data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
  106. data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
  107. data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
  108. data/generated/google/apis/dataproc_v1.rb +1 -1
  109. data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
  110. data/generated/google/apis/dataproc_v1/representations.rb +147 -147
  111. data/generated/google/apis/dataproc_v1/service.rb +309 -305
  112. data/generated/google/apis/datastore_v1.rb +1 -1
  113. data/generated/google/apis/datastore_v1/classes.rb +818 -818
  114. data/generated/google/apis/datastore_v1/representations.rb +151 -151
  115. data/generated/google/apis/datastore_v1/service.rb +62 -62
  116. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  117. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  118. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  119. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  120. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  121. data/generated/google/apis/discovery_v1/service.rb +1 -1
  122. data/generated/google/apis/dns_v1.rb +1 -1
  123. data/generated/google/apis/dns_v1/classes.rb +3 -3
  124. data/generated/google/apis/dns_v1/representations.rb +6 -6
  125. data/generated/google/apis/dns_v1/service.rb +12 -12
  126. data/generated/google/apis/dns_v2beta1.rb +1 -1
  127. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  129. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  130. data/generated/google/apis/drive_v2/service.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
  136. data/generated/google/apis/firebaserules_v1.rb +1 -1
  137. data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
  138. data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
  139. data/generated/google/apis/firebaserules_v1/service.rb +89 -89
  140. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  143. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  144. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  145. data/generated/google/apis/games_management_v1management.rb +1 -1
  146. data/generated/google/apis/games_v1.rb +1 -1
  147. data/generated/google/apis/games_v1/classes.rb +23 -23
  148. data/generated/google/apis/games_v1/representations.rb +43 -43
  149. data/generated/google/apis/games_v1/service.rb +72 -72
  150. data/generated/google/apis/genomics_v1.rb +7 -7
  151. data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
  152. data/generated/google/apis/genomics_v1/representations.rb +298 -298
  153. data/generated/google/apis/genomics_v1/service.rb +1160 -1160
  154. data/generated/google/apis/groupssettings_v1/service.rb +0 -3
  155. data/generated/google/apis/iam_v1.rb +1 -1
  156. data/generated/google/apis/iam_v1/classes.rb +235 -235
  157. data/generated/google/apis/iam_v1/representations.rb +72 -72
  158. data/generated/google/apis/iam_v1/service.rb +189 -189
  159. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  160. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  161. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  162. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  163. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  164. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  165. data/generated/google/apis/language_v1/classes.rb +220 -220
  166. data/generated/google/apis/language_v1/representations.rb +81 -81
  167. data/generated/google/apis/language_v1/service.rb +43 -43
  168. data/generated/google/apis/language_v1beta1/classes.rb +448 -448
  169. data/generated/google/apis/language_v1beta1/representations.rb +106 -106
  170. data/generated/google/apis/language_v1beta1/service.rb +31 -31
  171. data/generated/google/apis/licensing_v1/service.rb +2 -2
  172. data/generated/google/apis/logging_v2/classes.rb +737 -737
  173. data/generated/google/apis/logging_v2/representations.rb +120 -120
  174. data/generated/google/apis/logging_v2/service.rb +479 -479
  175. data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
  176. data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
  177. data/generated/google/apis/logging_v2beta1/service.rb +349 -349
  178. data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
  179. data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
  180. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  181. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  182. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  183. data/generated/google/apis/mirror_v1/service.rb +20 -20
  184. data/generated/google/apis/ml_v1.rb +1 -1
  185. data/generated/google/apis/ml_v1/classes.rb +1285 -1205
  186. data/generated/google/apis/ml_v1/representations.rb +204 -174
  187. data/generated/google/apis/ml_v1/service.rb +150 -145
  188. data/generated/google/apis/monitoring_v3.rb +1 -1
  189. data/generated/google/apis/monitoring_v3/classes.rb +880 -880
  190. data/generated/google/apis/monitoring_v3/representations.rb +154 -154
  191. data/generated/google/apis/monitoring_v3/service.rb +299 -299
  192. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  193. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  194. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  195. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  196. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  197. data/generated/google/apis/partners_v2.rb +1 -1
  198. data/generated/google/apis/partners_v2/classes.rb +524 -509
  199. data/generated/google/apis/partners_v2/representations.rb +115 -111
  200. data/generated/google/apis/partners_v2/service.rb +287 -287
  201. data/generated/google/apis/people_v1.rb +13 -13
  202. data/generated/google/apis/people_v1/classes.rb +1150 -1150
  203. data/generated/google/apis/people_v1/representations.rb +258 -258
  204. data/generated/google/apis/people_v1/service.rb +7 -7
  205. data/generated/google/apis/plus_domains_v1.rb +1 -1
  206. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  207. data/generated/google/apis/plus_v1.rb +1 -1
  208. data/generated/google/apis/plus_v1/service.rb +1 -1
  209. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  210. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
  211. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
  212. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
  213. data/generated/google/apis/pubsub_v1/classes.rb +228 -228
  214. data/generated/google/apis/pubsub_v1/representations.rb +69 -69
  215. data/generated/google/apis/pubsub_v1/service.rb +182 -182
  216. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  217. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  218. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  219. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  220. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  221. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  222. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  223. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  226. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  227. data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
  228. data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
  229. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  230. data/generated/google/apis/script_v1.rb +9 -9
  231. data/generated/google/apis/script_v1/classes.rb +94 -94
  232. data/generated/google/apis/script_v1/representations.rb +26 -26
  233. data/generated/google/apis/searchconsole_v1.rb +1 -1
  234. data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
  235. data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
  236. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  237. data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
  238. data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
  239. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  240. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  241. data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
  242. data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
  243. data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
  244. data/generated/google/apis/serviceuser_v1.rb +4 -4
  245. data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
  246. data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
  247. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  248. data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
  249. data/generated/google/apis/sheets_v4/representations.rb +324 -324
  250. data/generated/google/apis/sheets_v4/service.rb +49 -49
  251. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  252. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  253. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  254. data/generated/google/apis/slides_v1.rb +4 -4
  255. data/generated/google/apis/slides_v1/classes.rb +2907 -2907
  256. data/generated/google/apis/slides_v1/representations.rb +695 -695
  257. data/generated/google/apis/slides_v1/service.rb +40 -40
  258. data/generated/google/apis/sourcerepo_v1.rb +7 -1
  259. data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
  260. data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
  261. data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
  262. data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
  263. data/generated/google/apis/spanner_v1/representations.rb +205 -205
  264. data/generated/google/apis/spanner_v1/service.rb +525 -525
  265. data/generated/google/apis/speech_v1beta1.rb +1 -1
  266. data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
  267. data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
  268. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  269. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  270. data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
  271. data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
  272. data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
  273. data/generated/google/apis/storage_v1/classes.rb +6 -6
  274. data/generated/google/apis/storage_v1/representations.rb +4 -4
  275. data/generated/google/apis/storage_v1/service.rb +1 -1
  276. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  277. data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
  278. data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
  279. data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
  280. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  281. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  282. data/generated/google/apis/translate_v2.rb +1 -1
  283. data/generated/google/apis/translate_v2/classes.rb +46 -46
  284. data/generated/google/apis/translate_v2/representations.rb +22 -22
  285. data/generated/google/apis/translate_v2/service.rb +81 -74
  286. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  287. data/generated/google/apis/vision_v1/representations.rb +166 -166
  288. data/generated/google/apis/vision_v1/service.rb +6 -6
  289. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  290. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  291. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  292. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  293. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  294. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  295. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  296. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  297. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  298. data/generated/google/apis/youtube_v3/service.rb +80 -80
  299. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  300. data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
  301. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  302. data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
  303. data/google-api-client.gemspec +3 -3
  304. data/lib/google/apis/core/base_service.rb +6 -0
  305. data/lib/google/apis/generator/annotator.rb +2 -2
  306. data/lib/google/apis/generator/model.rb +2 -2
  307. data/lib/google/apis/version.rb +1 -1
  308. metadata +11 -94
  309. data/dl.rb +0 -0
  310. data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
  311. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
  312. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
  313. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
  314. data/generated/google/apis/appengine_v1beta4.rb +0 -35
  315. data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
  316. data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
  317. data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
  318. data/generated/google/apis/appengine_v1beta5.rb +0 -40
  319. data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
  320. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
  321. data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
  322. data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
  323. data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
  324. data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
  325. data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
  326. data/generated/google/apis/classroom_v1beta1.rb +0 -49
  327. data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
  328. data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
  329. data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
  330. data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
  331. data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
  332. data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
  333. data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
  334. data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
  335. data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
  336. data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
  337. data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
  338. data/generated/google/apis/container_v1beta1.rb +0 -35
  339. data/generated/google/apis/container_v1beta1/classes.rb +0 -466
  340. data/generated/google/apis/container_v1beta1/representations.rb +0 -177
  341. data/generated/google/apis/container_v1beta1/service.rb +0 -394
  342. data/generated/google/apis/coordinate_v1.rb +0 -37
  343. data/generated/google/apis/coordinate_v1/classes.rb +0 -669
  344. data/generated/google/apis/coordinate_v1/representations.rb +0 -321
  345. data/generated/google/apis/coordinate_v1/service.rb +0 -678
  346. data/generated/google/apis/datastore_v1beta2.rb +0 -40
  347. data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
  348. data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
  349. data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
  350. data/generated/google/apis/datastore_v1beta3.rb +0 -38
  351. data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
  352. data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
  353. data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
  354. data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
  355. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
  356. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
  357. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
  358. data/generated/google/apis/dfareporting_v2_1.rb +0 -37
  359. data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
  360. data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
  361. data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
  362. data/generated/google/apis/dfareporting_v2_3.rb +0 -37
  363. data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
  364. data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
  365. data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
  366. data/generated/google/apis/dfareporting_v2_5.rb +0 -40
  367. data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
  368. data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
  369. data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
  370. data/generated/google/apis/dfareporting_v2_6.rb +0 -40
  371. data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
  372. data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
  373. data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
  374. data/generated/google/apis/gan_v1beta1.rb +0 -31
  375. data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
  376. data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
  377. data/generated/google/apis/gan_v1beta1/service.rb +0 -682
  378. data/generated/google/apis/genomics_v1beta2.rb +0 -46
  379. data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
  380. data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
  381. data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
  382. data/generated/google/apis/logging_v1beta3.rb +0 -47
  383. data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
  384. data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
  385. data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
  386. data/generated/google/apis/manager_v1beta2.rb +0 -53
  387. data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
  388. data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
  389. data/generated/google/apis/manager_v1beta2/service.rb +0 -372
  390. data/generated/google/apis/pubsub_v1beta2.rb +0 -37
  391. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
  392. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
  393. data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
  394. data/generated/google/apis/tracing_v1.rb +0 -40
  395. data/generated/google/apis/tracing_v1/classes.rb +0 -664
  396. data/generated/google/apis/tracing_v1/representations.rb +0 -279
  397. data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -151,7 +151,7 @@ module Google
151
151
  # The zone name of the resource view.
152
152
  # @param [String] resource_view
153
153
  # The name of the resource view.
154
- # @param [Google::Apis::ResourceviewsV1beta2::AddResourcesRequest] add_resources_request_object
154
+ # @param [Google::Apis::ResourceviewsV1beta2::ZoneViewsAddResourcesRequest] zone_views_add_resources_request_object
155
155
  # @param [String] fields
156
156
  # Selector specifying which fields to include in a partial response.
157
157
  # @param [String] quota_user
@@ -173,10 +173,10 @@ module Google
173
173
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
174
174
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
175
175
  # @raise [Google::Apis::AuthorizationError] Authorization is required
176
- def add_zone_view_resources(project, zone, resource_view, add_resources_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
176
+ def add_zone_view_resources(project, zone, resource_view, zone_views_add_resources_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
177
177
  command = make_simple_command(:post, '{project}/zones/{zone}/resourceViews/{resourceView}/addResources', options)
178
- command.request_representation = Google::Apis::ResourceviewsV1beta2::AddResourcesRequest::Representation
179
- command.request_object = add_resources_request_object
178
+ command.request_representation = Google::Apis::ResourceviewsV1beta2::ZoneViewsAddResourcesRequest::Representation
179
+ command.request_object = zone_views_add_resources_request_object
180
180
  command.response_representation = Google::Apis::ResourceviewsV1beta2::Operation::Representation
181
181
  command.response_class = Google::Apis::ResourceviewsV1beta2::Operation
182
182
  command.params['project'] = project unless project.nil?
@@ -293,18 +293,18 @@ module Google
293
293
  # Request-specific options
294
294
  #
295
295
  # @yield [result, err] Result & error if block supplied
296
- # @yieldparam result [Google::Apis::ResourceviewsV1beta2::GetServiceResponse] parsed result object
296
+ # @yieldparam result [Google::Apis::ResourceviewsV1beta2::ZoneViewsGetServiceResponse] parsed result object
297
297
  # @yieldparam err [StandardError] error object if request failed
298
298
  #
299
- # @return [Google::Apis::ResourceviewsV1beta2::GetServiceResponse]
299
+ # @return [Google::Apis::ResourceviewsV1beta2::ZoneViewsGetServiceResponse]
300
300
  #
301
301
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
302
302
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
303
303
  # @raise [Google::Apis::AuthorizationError] Authorization is required
304
304
  def get_zone_view_service(project, zone, resource_view, resource_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
305
305
  command = make_simple_command(:post, '{project}/zones/{zone}/resourceViews/{resourceView}/getService', options)
306
- command.response_representation = Google::Apis::ResourceviewsV1beta2::GetServiceResponse::Representation
307
- command.response_class = Google::Apis::ResourceviewsV1beta2::GetServiceResponse
306
+ command.response_representation = Google::Apis::ResourceviewsV1beta2::ZoneViewsGetServiceResponse::Representation
307
+ command.response_class = Google::Apis::ResourceviewsV1beta2::ZoneViewsGetServiceResponse
308
308
  command.params['project'] = project unless project.nil?
309
309
  command.params['zone'] = zone unless zone.nil?
310
310
  command.params['resourceView'] = resource_view unless resource_view.nil?
@@ -437,18 +437,18 @@ module Google
437
437
  # Request-specific options
438
438
  #
439
439
  # @yield [result, err] Result & error if block supplied
440
- # @yieldparam result [Google::Apis::ResourceviewsV1beta2::ListResourcesResponse] parsed result object
440
+ # @yieldparam result [Google::Apis::ResourceviewsV1beta2::ZoneViewsListResourcesResponse] parsed result object
441
441
  # @yieldparam err [StandardError] error object if request failed
442
442
  #
443
- # @return [Google::Apis::ResourceviewsV1beta2::ListResourcesResponse]
443
+ # @return [Google::Apis::ResourceviewsV1beta2::ZoneViewsListResourcesResponse]
444
444
  #
445
445
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
446
446
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
447
447
  # @raise [Google::Apis::AuthorizationError] Authorization is required
448
448
  def list_zone_view_resources(project, zone, resource_view, format: nil, list_state: nil, max_results: nil, page_token: nil, service_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
449
449
  command = make_simple_command(:get, '{project}/zones/{zone}/resourceViews/{resourceView}/resources', options)
450
- command.response_representation = Google::Apis::ResourceviewsV1beta2::ListResourcesResponse::Representation
451
- command.response_class = Google::Apis::ResourceviewsV1beta2::ListResourcesResponse
450
+ command.response_representation = Google::Apis::ResourceviewsV1beta2::ZoneViewsListResourcesResponse::Representation
451
+ command.response_class = Google::Apis::ResourceviewsV1beta2::ZoneViewsListResourcesResponse
452
452
  command.params['project'] = project unless project.nil?
453
453
  command.params['zone'] = zone unless zone.nil?
454
454
  command.params['resourceView'] = resource_view unless resource_view.nil?
@@ -470,7 +470,7 @@ module Google
470
470
  # The zone name of the resource view.
471
471
  # @param [String] resource_view
472
472
  # The name of the resource view.
473
- # @param [Google::Apis::ResourceviewsV1beta2::RemoveResourcesRequest] remove_resources_request_object
473
+ # @param [Google::Apis::ResourceviewsV1beta2::ZoneViewsRemoveResourcesRequest] zone_views_remove_resources_request_object
474
474
  # @param [String] fields
475
475
  # Selector specifying which fields to include in a partial response.
476
476
  # @param [String] quota_user
@@ -492,10 +492,10 @@ module Google
492
492
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
493
493
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
494
494
  # @raise [Google::Apis::AuthorizationError] Authorization is required
495
- def remove_zone_view_resources(project, zone, resource_view, remove_resources_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
495
+ def remove_zone_view_resources(project, zone, resource_view, zone_views_remove_resources_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
496
496
  command = make_simple_command(:post, '{project}/zones/{zone}/resourceViews/{resourceView}/removeResources', options)
497
- command.request_representation = Google::Apis::ResourceviewsV1beta2::RemoveResourcesRequest::Representation
498
- command.request_object = remove_resources_request_object
497
+ command.request_representation = Google::Apis::ResourceviewsV1beta2::ZoneViewsRemoveResourcesRequest::Representation
498
+ command.request_object = zone_views_remove_resources_request_object
499
499
  command.response_representation = Google::Apis::ResourceviewsV1beta2::Operation::Representation
500
500
  command.response_class = Google::Apis::ResourceviewsV1beta2::Operation
501
501
  command.params['project'] = project unless project.nil?
@@ -514,7 +514,7 @@ module Google
514
514
  # The zone name of the resource view.
515
515
  # @param [String] resource_view
516
516
  # The name of the resource view.
517
- # @param [Google::Apis::ResourceviewsV1beta2::SetServiceRequest] set_service_request_object
517
+ # @param [Google::Apis::ResourceviewsV1beta2::ZoneViewsSetServiceRequest] zone_views_set_service_request_object
518
518
  # @param [String] fields
519
519
  # Selector specifying which fields to include in a partial response.
520
520
  # @param [String] quota_user
@@ -536,10 +536,10 @@ module Google
536
536
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
537
537
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
538
538
  # @raise [Google::Apis::AuthorizationError] Authorization is required
539
- def set_zone_view_service(project, zone, resource_view, set_service_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
539
+ def set_zone_view_service(project, zone, resource_view, zone_views_set_service_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
540
540
  command = make_simple_command(:post, '{project}/zones/{zone}/resourceViews/{resourceView}/setService', options)
541
- command.request_representation = Google::Apis::ResourceviewsV1beta2::SetServiceRequest::Representation
542
- command.request_object = set_service_request_object
541
+ command.request_representation = Google::Apis::ResourceviewsV1beta2::ZoneViewsSetServiceRequest::Representation
542
+ command.request_object = zone_views_set_service_request_object
543
543
  command.response_representation = Google::Apis::ResourceviewsV1beta2::Operation::Representation
544
544
  command.response_class = Google::Apis::ResourceviewsV1beta2::Operation
545
545
  command.params['project'] = project unless project.nil?
@@ -30,11 +30,11 @@ module Google
30
30
  VERSION = 'V1'
31
31
  REVISION = '20170522'
32
32
 
33
- # Manage your Google Cloud Platform services' runtime configuration
34
- AUTH_CLOUDRUNTIMECONFIG = 'https://www.googleapis.com/auth/cloudruntimeconfig'
35
-
36
33
  # View and manage your data across Google Cloud Platform services
37
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
+
36
+ # Manage your Google Cloud Platform services' runtime configuration
37
+ AUTH_CLOUDRUNTIMECONFIG = 'https://www.googleapis.com/auth/cloudruntimeconfig'
38
38
  end
39
39
  end
40
40
  end
@@ -22,19 +22,6 @@ module Google
22
22
  module Apis
23
23
  module RuntimeconfigV1
24
24
 
25
- # The request message for Operations.CancelOperation.
26
- class CancelOperationRequest
27
- include Google::Apis::Core::Hashable
28
-
29
- def initialize(**args)
30
- update!(**args)
31
- end
32
-
33
- # Update properties of this object
34
- def update!(**args)
35
- end
36
- end
37
-
38
25
  # The `Status` type defines a logical error model that is suitable for different
39
26
  # programming environments, including REST APIs and RPC APIs. It is used by
40
27
  # [gRPC](https://github.com/grpc). The error model is designed to be:
@@ -111,24 +98,24 @@ module Google
111
98
  class ListOperationsResponse
112
99
  include Google::Apis::Core::Hashable
113
100
 
114
- # The standard List next-page token.
115
- # Corresponds to the JSON property `nextPageToken`
116
- # @return [String]
117
- attr_accessor :next_page_token
118
-
119
101
  # A list of operations that matches the specified filter in the request.
120
102
  # Corresponds to the JSON property `operations`
121
103
  # @return [Array<Google::Apis::RuntimeconfigV1::Operation>]
122
104
  attr_accessor :operations
123
105
 
106
+ # The standard List next-page token.
107
+ # Corresponds to the JSON property `nextPageToken`
108
+ # @return [String]
109
+ attr_accessor :next_page_token
110
+
124
111
  def initialize(**args)
125
112
  update!(**args)
126
113
  end
127
114
 
128
115
  # Update properties of this object
129
116
  def update!(**args)
130
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
131
117
  @operations = args[:operations] if args.key?(:operations)
118
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
132
119
  end
133
120
  end
134
121
 
@@ -247,6 +234,19 @@ module Google
247
234
  def update!(**args)
248
235
  end
249
236
  end
237
+
238
+ # The request message for Operations.CancelOperation.
239
+ class CancelOperationRequest
240
+ include Google::Apis::Core::Hashable
241
+
242
+ def initialize(**args)
243
+ update!(**args)
244
+ end
245
+
246
+ # Update properties of this object
247
+ def update!(**args)
248
+ end
249
+ end
250
250
  end
251
251
  end
252
252
  end
@@ -22,12 +22,6 @@ module Google
22
22
  module Apis
23
23
  module RuntimeconfigV1
24
24
 
25
- class CancelOperationRequest
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
25
  class Status
32
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
27
 
@@ -53,9 +47,9 @@ module Google
53
47
  end
54
48
 
55
49
  class CancelOperationRequest
56
- # @private
57
- class Representation < Google::Apis::Core::JsonRepresentation
58
- end
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
59
53
  end
60
54
 
61
55
  class Status
@@ -70,9 +64,9 @@ module Google
70
64
  class ListOperationsResponse
71
65
  # @private
72
66
  class Representation < Google::Apis::Core::JsonRepresentation
73
- property :next_page_token, as: 'nextPageToken'
74
67
  collection :operations, as: 'operations', class: Google::Apis::RuntimeconfigV1::Operation, decorator: Google::Apis::RuntimeconfigV1::Operation::Representation
75
68
 
69
+ property :next_page_token, as: 'nextPageToken'
76
70
  end
77
71
  end
78
72
 
@@ -93,6 +87,12 @@ module Google
93
87
  class Representation < Google::Apis::Core::JsonRepresentation
94
88
  end
95
89
  end
90
+
91
+ class CancelOperationRequest
92
+ # @private
93
+ class Representation < Google::Apis::Core::JsonRepresentation
94
+ end
95
+ end
96
96
  end
97
97
  end
98
98
  end
@@ -136,12 +136,12 @@ module Google
136
136
  # is the parent resource, without the operations collection id.
137
137
  # @param [String] name
138
138
  # The name of the operation's parent resource.
139
- # @param [Fixnum] page_size
140
- # The standard list page size.
141
139
  # @param [String] filter
142
140
  # The standard list filter.
143
141
  # @param [String] page_token
144
142
  # The standard list page token.
143
+ # @param [Fixnum] page_size
144
+ # The standard list page size.
145
145
  # @param [String] fields
146
146
  # Selector specifying which fields to include in a partial response.
147
147
  # @param [String] quota_user
@@ -159,14 +159,14 @@ module Google
159
159
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
160
160
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
161
161
  # @raise [Google::Apis::AuthorizationError] Authorization is required
162
- def list_operations(name, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
162
+ def list_operations(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
163
163
  command = make_simple_command(:get, 'v1/{+name}', options)
164
164
  command.response_representation = Google::Apis::RuntimeconfigV1::ListOperationsResponse::Representation
165
165
  command.response_class = Google::Apis::RuntimeconfigV1::ListOperationsResponse
166
166
  command.params['name'] = name unless name.nil?
167
- command.query['pageSize'] = page_size unless page_size.nil?
168
167
  command.query['filter'] = filter unless filter.nil?
169
168
  command.query['pageToken'] = page_token unless page_token.nil?
169
+ command.query['pageSize'] = page_size unless page_size.nil?
170
170
  command.query['fields'] = fields unless fields.nil?
171
171
  command.query['quotaUser'] = quota_user unless quota_user.nil?
172
172
  execute_or_queue_command(command, &block)
@@ -25,13 +25,10 @@ module Google
25
25
  # @see https://developers.google.com/apps-script/execution/rest/v1/scripts/run
26
26
  module ScriptV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170522'
28
+ REVISION = '20170601'
29
29
 
30
- # View and manage your spreadsheets in Google Drive
31
- AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets'
32
-
33
- # Read, send, delete, and manage your email
34
- AUTH_SCOPE = 'https://mail.google.com/'
30
+ # View and manage the files in your Google Drive
31
+ AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
35
32
 
36
33
  # View and manage the provisioning of groups on your domain
37
34
  AUTH_ADMIN_DIRECTORY_GROUP = 'https://www.googleapis.com/auth/admin.directory.group'
@@ -39,6 +36,12 @@ module Google
39
36
  # View and manage the provisioning of users on your domain
40
37
  AUTH_ADMIN_DIRECTORY_USER = 'https://www.googleapis.com/auth/admin.directory.user'
41
38
 
39
+ # View and manage your spreadsheets in Google Drive
40
+ AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets'
41
+
42
+ # Read, send, delete, and manage your email
43
+ AUTH_SCOPE = 'https://mail.google.com/'
44
+
42
45
  # View and manage your forms in Google Drive
43
46
  AUTH_FORMS = 'https://www.googleapis.com/auth/forms'
44
47
 
@@ -56,9 +59,6 @@ module Google
56
59
 
57
60
  # View and manage forms that this application has been installed in
58
61
  AUTH_FORMS_CURRENTONLY = 'https://www.googleapis.com/auth/forms.currentonly'
59
-
60
- # View and manage the files in your Google Drive
61
- AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
62
62
  end
63
63
  end
64
64
  end
@@ -22,12 +22,84 @@ module Google
22
22
  module Apis
23
23
  module ScriptV1
24
24
 
25
+ # A stack trace through the script that shows where the execution failed.
26
+ class ScriptStackTraceElement
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The name of the function that failed.
30
+ # Corresponds to the JSON property `function`
31
+ # @return [String]
32
+ attr_accessor :function
33
+
34
+ # The line number where the script failed.
35
+ # Corresponds to the JSON property `lineNumber`
36
+ # @return [Fixnum]
37
+ attr_accessor :line_number
38
+
39
+ def initialize(**args)
40
+ update!(**args)
41
+ end
42
+
43
+ # Update properties of this object
44
+ def update!(**args)
45
+ @function = args[:function] if args.key?(:function)
46
+ @line_number = args[:line_number] if args.key?(:line_number)
47
+ end
48
+ end
49
+
50
+ # An object that provides information about the nature of an error in the Apps
51
+ # Script Execution API. If an
52
+ # `run` call succeeds but the
53
+ # script function (or Apps Script itself) throws an exception, the response
54
+ # body's `error` field contains a
55
+ # `Status` object. The `Status` object's `details` field
56
+ # contains an array with a single one of these `ExecutionError` objects.
57
+ class ExecutionError
58
+ include Google::Apis::Core::Hashable
59
+
60
+ # The error type, for example `TypeError` or `ReferenceError`. If the error
61
+ # type is unavailable, this field is not included.
62
+ # Corresponds to the JSON property `errorType`
63
+ # @return [String]
64
+ attr_accessor :error_type
65
+
66
+ # The error message thrown by Apps Script, usually localized into the user's
67
+ # language.
68
+ # Corresponds to the JSON property `errorMessage`
69
+ # @return [String]
70
+ attr_accessor :error_message
71
+
72
+ # An array of objects that provide a stack trace through the script to show
73
+ # where the execution failed, with the deepest call first.
74
+ # Corresponds to the JSON property `scriptStackTraceElements`
75
+ # @return [Array<Google::Apis::ScriptV1::ScriptStackTraceElement>]
76
+ attr_accessor :script_stack_trace_elements
77
+
78
+ def initialize(**args)
79
+ update!(**args)
80
+ end
81
+
82
+ # Update properties of this object
83
+ def update!(**args)
84
+ @error_type = args[:error_type] if args.key?(:error_type)
85
+ @error_message = args[:error_message] if args.key?(:error_message)
86
+ @script_stack_trace_elements = args[:script_stack_trace_elements] if args.key?(:script_stack_trace_elements)
87
+ end
88
+ end
89
+
25
90
  # If a `run` call succeeds but the script function (or Apps Script itself)
26
91
  # throws an exception, the response body's `error` field will contain this `
27
92
  # Status` object.
28
93
  class Status
29
94
  include Google::Apis::Core::Hashable
30
95
 
96
+ # A developer-facing error message, which is in English. Any user-facing error
97
+ # message is localized and sent in the [`google.rpc.Status.details`](google.rpc.
98
+ # Status.details) field, or localized by the client.
99
+ # Corresponds to the JSON property `message`
100
+ # @return [String]
101
+ attr_accessor :message
102
+
31
103
  # An array that contains a single `ExecutionError` object that provides
32
104
  # information about the nature of the error.
33
105
  # Corresponds to the JSON property `details`
@@ -40,22 +112,15 @@ module Google
40
112
  # @return [Fixnum]
41
113
  attr_accessor :code
42
114
 
43
- # A developer-facing error message, which is in English. Any user-facing error
44
- # message is localized and sent in the [`google.rpc.Status.details`](google.rpc.
45
- # Status.details) field, or localized by the client.
46
- # Corresponds to the JSON property `message`
47
- # @return [String]
48
- attr_accessor :message
49
-
50
115
  def initialize(**args)
51
116
  update!(**args)
52
117
  end
53
118
 
54
119
  # Update properties of this object
55
120
  def update!(**args)
121
+ @message = args[:message] if args.key?(:message)
56
122
  @details = args[:details] if args.key?(:details)
57
123
  @code = args[:code] if args.key?(:code)
58
- @message = args[:message] if args.key?(:message)
59
124
  end
60
125
  end
61
126
 
@@ -65,20 +130,6 @@ module Google
65
130
  class ExecutionRequest
66
131
  include Google::Apis::Core::Hashable
67
132
 
68
- # For Android add-ons only. An ID that represents the user's current session
69
- # in the Android app for Google Docs or Sheets, included as extra data in the
70
- # [`Intent`](https://developer.android.com/guide/components/intents-filters.html)
71
- # that launches the add-on. When an Android add-on is run with a session
72
- # state, it gains the privileges of a
73
- # [bound](https://developers.google.com/apps-script/guides/bound) script &mdash;
74
- # that is, it can access information like the user's current cursor position
75
- # (in Docs) or selected cell (in Sheets). To retrieve the state, call
76
- # `Intent.getStringExtra("com.google.android.apps.docs.addons.SessionState")`.
77
- # Optional.
78
- # Corresponds to the JSON property `sessionState`
79
- # @return [String]
80
- attr_accessor :session_state
81
-
82
133
  # The name of the function to execute in the given script. The name does not
83
134
  # include parentheses or parameters.
84
135
  # Corresponds to the JSON property `function`
@@ -102,16 +153,30 @@ module Google
102
153
  # @return [Array<Object>]
103
154
  attr_accessor :parameters
104
155
 
156
+ # For Android add-ons only. An ID that represents the user's current session
157
+ # in the Android app for Google Docs or Sheets, included as extra data in the
158
+ # [`Intent`](https://developer.android.com/guide/components/intents-filters.html)
159
+ # that launches the add-on. When an Android add-on is run with a session
160
+ # state, it gains the privileges of a
161
+ # [bound](https://developers.google.com/apps-script/guides/bound) script &mdash;
162
+ # that is, it can access information like the user's current cursor position
163
+ # (in Docs) or selected cell (in Sheets). To retrieve the state, call
164
+ # `Intent.getStringExtra("com.google.android.apps.docs.addons.SessionState")`.
165
+ # Optional.
166
+ # Corresponds to the JSON property `sessionState`
167
+ # @return [String]
168
+ attr_accessor :session_state
169
+
105
170
  def initialize(**args)
106
171
  update!(**args)
107
172
  end
108
173
 
109
174
  # Update properties of this object
110
175
  def update!(**args)
111
- @session_state = args[:session_state] if args.key?(:session_state)
112
176
  @function = args[:function] if args.key?(:function)
113
177
  @dev_mode = args[:dev_mode] if args.key?(:dev_mode)
114
178
  @parameters = args[:parameters] if args.key?(:parameters)
179
+ @session_state = args[:session_state] if args.key?(:session_state)
115
180
  end
116
181
  end
117
182
 
@@ -120,11 +185,6 @@ module Google
120
185
  class JoinAsyncRequest
121
186
  include Google::Apis::Core::Hashable
122
187
 
123
- # Timeout for information retrieval in milliseconds.
124
- # Corresponds to the JSON property `timeout`
125
- # @return [String]
126
- attr_accessor :timeout
127
-
128
188
  # The script id which specifies the script which all processes in the names
129
189
  # field must be from.
130
190
  # Corresponds to the JSON property `scriptId`
@@ -137,15 +197,20 @@ module Google
137
197
  # @return [Array<String>]
138
198
  attr_accessor :names
139
199
 
200
+ # Timeout for information retrieval in milliseconds.
201
+ # Corresponds to the JSON property `timeout`
202
+ # @return [String]
203
+ attr_accessor :timeout
204
+
140
205
  def initialize(**args)
141
206
  update!(**args)
142
207
  end
143
208
 
144
209
  # Update properties of this object
145
210
  def update!(**args)
146
- @timeout = args[:timeout] if args.key?(:timeout)
147
211
  @script_id = args[:script_id] if args.key?(:script_id)
148
212
  @names = args[:names] if args.key?(:names)
213
+ @timeout = args[:timeout] if args.key?(:timeout)
149
214
  end
150
215
  end
151
216
 
@@ -258,71 +323,6 @@ module Google
258
323
  @results = args[:results] if args.key?(:results)
259
324
  end
260
325
  end
261
-
262
- # A stack trace through the script that shows where the execution failed.
263
- class ScriptStackTraceElement
264
- include Google::Apis::Core::Hashable
265
-
266
- # The name of the function that failed.
267
- # Corresponds to the JSON property `function`
268
- # @return [String]
269
- attr_accessor :function
270
-
271
- # The line number where the script failed.
272
- # Corresponds to the JSON property `lineNumber`
273
- # @return [Fixnum]
274
- attr_accessor :line_number
275
-
276
- def initialize(**args)
277
- update!(**args)
278
- end
279
-
280
- # Update properties of this object
281
- def update!(**args)
282
- @function = args[:function] if args.key?(:function)
283
- @line_number = args[:line_number] if args.key?(:line_number)
284
- end
285
- end
286
-
287
- # An object that provides information about the nature of an error in the Apps
288
- # Script Execution API. If an
289
- # `run` call succeeds but the
290
- # script function (or Apps Script itself) throws an exception, the response
291
- # body's `error` field contains a
292
- # `Status` object. The `Status` object's `details` field
293
- # contains an array with a single one of these `ExecutionError` objects.
294
- class ExecutionError
295
- include Google::Apis::Core::Hashable
296
-
297
- # The error type, for example `TypeError` or `ReferenceError`. If the error
298
- # type is unavailable, this field is not included.
299
- # Corresponds to the JSON property `errorType`
300
- # @return [String]
301
- attr_accessor :error_type
302
-
303
- # The error message thrown by Apps Script, usually localized into the user's
304
- # language.
305
- # Corresponds to the JSON property `errorMessage`
306
- # @return [String]
307
- attr_accessor :error_message
308
-
309
- # An array of objects that provide a stack trace through the script to show
310
- # where the execution failed, with the deepest call first.
311
- # Corresponds to the JSON property `scriptStackTraceElements`
312
- # @return [Array<Google::Apis::ScriptV1::ScriptStackTraceElement>]
313
- attr_accessor :script_stack_trace_elements
314
-
315
- def initialize(**args)
316
- update!(**args)
317
- end
318
-
319
- # Update properties of this object
320
- def update!(**args)
321
- @error_type = args[:error_type] if args.key?(:error_type)
322
- @error_message = args[:error_message] if args.key?(:error_message)
323
- @script_stack_trace_elements = args[:script_stack_trace_elements] if args.key?(:script_stack_trace_elements)
324
- end
325
- end
326
326
  end
327
327
  end
328
328
  end