google-api-client 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/api_names.yaml +945 -41609
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  12. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  13. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  14. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  17. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  18. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  21. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  22. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  23. data/generated/google/apis/analytics_v3/service.rb +82 -82
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
  25. data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
  26. data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  30. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  32. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  33. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  34. data/generated/google/apis/appengine_v1.rb +4 -4
  35. data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
  36. data/generated/google/apis/appengine_v1/representations.rb +362 -343
  37. data/generated/google/apis/appengine_v1/service.rb +220 -220
  38. data/generated/google/apis/appstate_v1.rb +1 -1
  39. data/generated/google/apis/bigquery_v2.rb +1 -1
  40. data/generated/google/apis/bigquery_v2/classes.rb +5 -5
  41. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  42. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  43. data/generated/google/apis/blogger_v3/service.rb +3 -3
  44. data/generated/google/apis/books_v1/classes.rb +55 -55
  45. data/generated/google/apis/books_v1/representations.rb +67 -67
  46. data/generated/google/apis/books_v1/service.rb +82 -82
  47. data/generated/google/apis/calendar_v3.rb +1 -1
  48. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  49. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  50. data/generated/google/apis/calendar_v3/service.rb +2 -2
  51. data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
  52. data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
  53. data/generated/google/apis/civicinfo_v2/service.rb +12 -12
  54. data/generated/google/apis/classroom_v1.rb +7 -7
  55. data/generated/google/apis/classroom_v1/classes.rb +1013 -991
  56. data/generated/google/apis/classroom_v1/representations.rb +207 -204
  57. data/generated/google/apis/classroom_v1/service.rb +709 -709
  58. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
  60. data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
  61. data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
  64. data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
  65. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  66. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
  67. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
  68. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
  69. data/generated/google/apis/cloudkms_v1.rb +1 -1
  70. data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
  71. data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
  72. data/generated/google/apis/cloudkms_v1/service.rb +267 -267
  73. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  74. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
  75. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
  76. data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
  80. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
  81. data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +163 -15
  84. data/generated/google/apis/compute_beta/representations.rb +54 -14
  85. data/generated/google/apis/compute_beta/service.rb +2258 -482
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +465 -13
  88. data/generated/google/apis/compute_v1/representations.rb +202 -16
  89. data/generated/google/apis/compute_v1/service.rb +573 -309
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +635 -589
  92. data/generated/google/apis/container_v1/representations.rb +139 -111
  93. data/generated/google/apis/container_v1/service.rb +272 -227
  94. data/generated/google/apis/content_v2.rb +1 -1
  95. data/generated/google/apis/content_v2/classes.rb +86 -74
  96. data/generated/google/apis/content_v2/representations.rb +107 -105
  97. data/generated/google/apis/content_v2/service.rb +131 -130
  98. data/generated/google/apis/customsearch_v1.rb +2 -2
  99. data/generated/google/apis/customsearch_v1/classes.rb +0 -6
  100. data/generated/google/apis/customsearch_v1/representations.rb +0 -1
  101. data/generated/google/apis/customsearch_v1/service.rb +2 -5
  102. data/generated/google/apis/dataflow_v1b3.rb +7 -4
  103. data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
  104. data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
  105. data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +543 -691
  108. data/generated/google/apis/dataproc_v1/representations.rb +129 -185
  109. data/generated/google/apis/dataproc_v1/service.rb +347 -347
  110. data/generated/google/apis/datastore_v1.rb +4 -4
  111. data/generated/google/apis/datastore_v1/classes.rb +833 -833
  112. data/generated/google/apis/datastore_v1/representations.rb +182 -182
  113. data/generated/google/apis/datastore_v1/service.rb +45 -45
  114. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  115. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  116. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  117. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  118. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  119. data/generated/google/apis/discovery_v1/service.rb +1 -1
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +3 -3
  122. data/generated/google/apis/dns_v1/representations.rb +6 -6
  123. data/generated/google/apis/dns_v1/service.rb +12 -12
  124. data/generated/google/apis/dns_v2beta1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +1 -1
  129. data/generated/google/apis/drive_v2/service.rb +1 -1
  130. data/generated/google/apis/drive_v3.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 +160 -110
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
  136. data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
  137. data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
  138. data/generated/google/apis/firebaserules_v1/service.rb +103 -103
  139. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  140. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  141. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  142. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  143. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  144. data/generated/google/apis/games_management_v1management.rb +1 -1
  145. data/generated/google/apis/games_v1.rb +1 -1
  146. data/generated/google/apis/games_v1/classes.rb +23 -23
  147. data/generated/google/apis/games_v1/representations.rb +43 -43
  148. data/generated/google/apis/games_v1/service.rb +72 -72
  149. data/generated/google/apis/genomics_v1.rb +1 -1
  150. data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
  151. data/generated/google/apis/genomics_v1/representations.rb +291 -291
  152. data/generated/google/apis/genomics_v1/service.rb +821 -821
  153. data/generated/google/apis/gmail_v1.rb +1 -1
  154. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  155. data/generated/google/apis/groupssettings_v1.rb +1 -1
  156. data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
  157. data/generated/google/apis/groupssettings_v1/service.rb +3 -0
  158. data/generated/google/apis/iam_v1/classes.rb +338 -338
  159. data/generated/google/apis/iam_v1/representations.rb +98 -98
  160. data/generated/google/apis/iam_v1/service.rb +35 -35
  161. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  162. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  163. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  164. data/generated/google/apis/kgsearch_v1/service.rb +13 -13
  165. data/generated/google/apis/language_v1.rb +1 -1
  166. data/generated/google/apis/language_v1/classes.rb +374 -374
  167. data/generated/google/apis/language_v1/representations.rb +97 -97
  168. data/generated/google/apis/language_v1/service.rb +16 -16
  169. data/generated/google/apis/language_v1beta1.rb +1 -1
  170. data/generated/google/apis/language_v1beta1/classes.rb +441 -441
  171. data/generated/google/apis/language_v1beta1/representations.rb +108 -108
  172. data/generated/google/apis/language_v1beta1/service.rb +30 -30
  173. data/generated/google/apis/licensing_v1/service.rb +2 -2
  174. data/generated/google/apis/logging_v2.rb +1 -1
  175. data/generated/google/apis/logging_v2/classes.rb +712 -712
  176. data/generated/google/apis/logging_v2/representations.rb +109 -109
  177. data/generated/google/apis/logging_v2/service.rb +543 -539
  178. data/generated/google/apis/logging_v2beta1.rb +1 -1
  179. data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
  180. data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
  181. data/generated/google/apis/logging_v2beta1/service.rb +257 -256
  182. data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
  183. data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
  184. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  185. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  186. data/generated/google/apis/mirror_v1/service.rb +20 -20
  187. data/generated/google/apis/ml_v1.rb +1 -1
  188. data/generated/google/apis/ml_v1/classes.rb +1830 -1210
  189. data/generated/google/apis/ml_v1/representations.rb +342 -120
  190. data/generated/google/apis/ml_v1/service.rb +365 -258
  191. data/generated/google/apis/monitoring_v3.rb +4 -4
  192. data/generated/google/apis/monitoring_v3/classes.rb +889 -889
  193. data/generated/google/apis/monitoring_v3/representations.rb +174 -174
  194. data/generated/google/apis/monitoring_v3/service.rb +119 -119
  195. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  196. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  197. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  198. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  199. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  200. data/generated/google/apis/partners_v2.rb +1 -1
  201. data/generated/google/apis/partners_v2/classes.rb +550 -536
  202. data/generated/google/apis/partners_v2/representations.rb +118 -116
  203. data/generated/google/apis/partners_v2/service.rb +439 -439
  204. data/generated/google/apis/people_v1.rb +4 -4
  205. data/generated/google/apis/people_v1/classes.rb +414 -413
  206. data/generated/google/apis/people_v1/representations.rb +85 -85
  207. data/generated/google/apis/people_v1/service.rb +111 -18
  208. data/generated/google/apis/plus_domains_v1.rb +1 -1
  209. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  210. data/generated/google/apis/plus_v1.rb +1 -1
  211. data/generated/google/apis/plus_v1/service.rb +1 -1
  212. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  213. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  214. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
  215. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
  216. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
  217. data/generated/google/apis/pubsub_v1/classes.rb +249 -249
  218. data/generated/google/apis/pubsub_v1/representations.rb +80 -80
  219. data/generated/google/apis/pubsub_v1/service.rb +415 -415
  220. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  221. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  222. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  223. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  226. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  227. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  228. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  230. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  231. data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
  232. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  233. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  234. data/generated/google/apis/script_v1.rb +17 -17
  235. data/generated/google/apis/script_v1/classes.rb +27 -27
  236. data/generated/google/apis/script_v1/representations.rb +5 -5
  237. data/generated/google/apis/script_v1/service.rb +4 -4
  238. data/generated/google/apis/searchconsole_v1.rb +1 -1
  239. data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
  240. data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
  241. data/generated/google/apis/searchconsole_v1/service.rb +4 -4
  242. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  243. data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
  244. data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
  245. data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
  246. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  247. data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
  248. data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
  249. data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
  250. data/generated/google/apis/serviceuser_v1.rb +1 -1
  251. data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
  252. data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
  253. data/generated/google/apis/serviceuser_v1/service.rb +37 -37
  254. data/generated/google/apis/sheets_v4.rb +1 -1
  255. data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
  256. data/generated/google/apis/sheets_v4/representations.rb +994 -824
  257. data/generated/google/apis/sheets_v4/service.rb +80 -80
  258. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  259. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  260. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  261. data/generated/google/apis/slides_v1.rb +1 -1
  262. data/generated/google/apis/slides_v1/classes.rb +2885 -2885
  263. data/generated/google/apis/slides_v1/representations.rb +310 -310
  264. data/generated/google/apis/slides_v1/service.rb +54 -54
  265. data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
  266. data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
  267. data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
  268. data/generated/google/apis/spanner_v1.rb +1 -1
  269. data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
  270. data/generated/google/apis/spanner_v1/representations.rb +174 -174
  271. data/generated/google/apis/spanner_v1/service.rb +497 -497
  272. data/generated/google/apis/speech_v1beta1.rb +1 -1
  273. data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
  274. data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
  275. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  276. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  277. data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
  278. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
  279. data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
  280. data/generated/google/apis/storage_v1.rb +1 -1
  281. data/generated/google/apis/storage_v1/classes.rb +40 -6
  282. data/generated/google/apis/storage_v1/representations.rb +20 -4
  283. data/generated/google/apis/storage_v1/service.rb +61 -46
  284. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  285. data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
  286. data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
  287. data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
  288. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  289. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  290. data/generated/google/apis/translate_v2/classes.rb +12 -12
  291. data/generated/google/apis/translate_v2/representations.rb +10 -10
  292. data/generated/google/apis/translate_v2/service.rb +62 -62
  293. data/generated/google/apis/vision_v1.rb +1 -1
  294. data/generated/google/apis/vision_v1/classes.rb +1267 -1267
  295. data/generated/google/apis/vision_v1/representations.rb +200 -200
  296. data/generated/google/apis/vision_v1/service.rb +10 -10
  297. data/generated/google/apis/webmasters_v3.rb +1 -1
  298. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  299. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  300. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  301. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  302. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  303. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  304. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  305. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  306. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  307. data/generated/google/apis/youtube_v3/service.rb +80 -80
  308. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  309. data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
  310. data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
  311. data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
  312. data/lib/google/apis/generator/annotator.rb +2 -2
  313. data/lib/google/apis/generator/model.rb +2 -2
  314. data/lib/google/apis/version.rb +1 -1
  315. metadata +2 -2
@@ -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::ZoneViewsAddResourcesRequest] zone_views_add_resources_request_object
154
+ # @param [Google::Apis::ResourceviewsV1beta2::AddResourcesRequest] 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, zone_views_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, 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::ZoneViewsAddResourcesRequest::Representation
179
- command.request_object = zone_views_add_resources_request_object
178
+ command.request_representation = Google::Apis::ResourceviewsV1beta2::AddResourcesRequest::Representation
179
+ command.request_object = 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::ZoneViewsGetServiceResponse] parsed result object
296
+ # @yieldparam result [Google::Apis::ResourceviewsV1beta2::GetServiceResponse] parsed result object
297
297
  # @yieldparam err [StandardError] error object if request failed
298
298
  #
299
- # @return [Google::Apis::ResourceviewsV1beta2::ZoneViewsGetServiceResponse]
299
+ # @return [Google::Apis::ResourceviewsV1beta2::GetServiceResponse]
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::ZoneViewsGetServiceResponse::Representation
307
- command.response_class = Google::Apis::ResourceviewsV1beta2::ZoneViewsGetServiceResponse
306
+ command.response_representation = Google::Apis::ResourceviewsV1beta2::GetServiceResponse::Representation
307
+ command.response_class = Google::Apis::ResourceviewsV1beta2::GetServiceResponse
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::ZoneViewsListResourcesResponse] parsed result object
440
+ # @yieldparam result [Google::Apis::ResourceviewsV1beta2::ListResourcesResponse] parsed result object
441
441
  # @yieldparam err [StandardError] error object if request failed
442
442
  #
443
- # @return [Google::Apis::ResourceviewsV1beta2::ZoneViewsListResourcesResponse]
443
+ # @return [Google::Apis::ResourceviewsV1beta2::ListResourcesResponse]
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::ZoneViewsListResourcesResponse::Representation
451
- command.response_class = Google::Apis::ResourceviewsV1beta2::ZoneViewsListResourcesResponse
450
+ command.response_representation = Google::Apis::ResourceviewsV1beta2::ListResourcesResponse::Representation
451
+ command.response_class = Google::Apis::ResourceviewsV1beta2::ListResourcesResponse
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::ZoneViewsRemoveResourcesRequest] zone_views_remove_resources_request_object
473
+ # @param [Google::Apis::ResourceviewsV1beta2::RemoveResourcesRequest] 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, zone_views_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, 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::ZoneViewsRemoveResourcesRequest::Representation
498
- command.request_object = zone_views_remove_resources_request_object
497
+ command.request_representation = Google::Apis::ResourceviewsV1beta2::RemoveResourcesRequest::Representation
498
+ command.request_object = 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::ZoneViewsSetServiceRequest] zone_views_set_service_request_object
517
+ # @param [Google::Apis::ResourceviewsV1beta2::SetServiceRequest] 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, zone_views_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, 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::ZoneViewsSetServiceRequest::Representation
542
- command.request_object = zone_views_set_service_request_object
541
+ command.request_representation = Google::Apis::ResourceviewsV1beta2::SetServiceRequest::Representation
542
+ command.request_object = 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?
@@ -28,13 +28,13 @@ module Google
28
28
  # @see https://cloud.google.com/deployment-manager/runtime-configurator/
29
29
  module RuntimeconfigV1
30
30
  VERSION = 'V1'
31
- REVISION = '20170522'
32
-
33
- # View and manage your data across Google Cloud Platform services
34
- AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
31
+ REVISION = '20170612'
35
32
 
36
33
  # Manage your Google Cloud Platform services' runtime configuration
37
34
  AUTH_CLOUDRUNTIMECONFIG = 'https://www.googleapis.com/auth/cloudruntimeconfig'
35
+
36
+ # View and manage your data across Google Cloud Platform services
37
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
38
38
  end
39
39
  end
40
40
  end
@@ -98,24 +98,24 @@ module Google
98
98
  class ListOperationsResponse
99
99
  include Google::Apis::Core::Hashable
100
100
 
101
- # A list of operations that matches the specified filter in the request.
102
- # Corresponds to the JSON property `operations`
103
- # @return [Array<Google::Apis::RuntimeconfigV1::Operation>]
104
- attr_accessor :operations
105
-
106
101
  # The standard List next-page token.
107
102
  # Corresponds to the JSON property `nextPageToken`
108
103
  # @return [String]
109
104
  attr_accessor :next_page_token
110
105
 
106
+ # A list of operations that matches the specified filter in the request.
107
+ # Corresponds to the JSON property `operations`
108
+ # @return [Array<Google::Apis::RuntimeconfigV1::Operation>]
109
+ attr_accessor :operations
110
+
111
111
  def initialize(**args)
112
112
  update!(**args)
113
113
  end
114
114
 
115
115
  # Update properties of this object
116
116
  def update!(**args)
117
- @operations = args[:operations] if args.key?(:operations)
118
117
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
118
+ @operations = args[:operations] if args.key?(:operations)
119
119
  end
120
120
  end
121
121
 
@@ -124,6 +124,14 @@ module Google
124
124
  class Operation
125
125
  include Google::Apis::Core::Hashable
126
126
 
127
+ # If the value is `false`, it means the operation is still in progress.
128
+ # If true, the operation is completed, and either `error` or `response` is
129
+ # available.
130
+ # Corresponds to the JSON property `done`
131
+ # @return [Boolean]
132
+ attr_accessor :done
133
+ alias_method :done?, :done
134
+
127
135
  # The normal response of the operation in case of success. If the original
128
136
  # method returns no data on success, such as `Delete`, the response is
129
137
  # `google.protobuf.Empty`. If the original method is standard
@@ -194,25 +202,17 @@ module Google
194
202
  # @return [Hash<String,Object>]
195
203
  attr_accessor :metadata
196
204
 
197
- # If the value is `false`, it means the operation is still in progress.
198
- # If true, the operation is completed, and either `error` or `response` is
199
- # available.
200
- # Corresponds to the JSON property `done`
201
- # @return [Boolean]
202
- attr_accessor :done
203
- alias_method :done?, :done
204
-
205
205
  def initialize(**args)
206
206
  update!(**args)
207
207
  end
208
208
 
209
209
  # Update properties of this object
210
210
  def update!(**args)
211
+ @done = args[:done] if args.key?(:done)
211
212
  @response = args[:response] if args.key?(:response)
212
213
  @name = args[:name] if args.key?(:name)
213
214
  @error = args[:error] if args.key?(:error)
214
215
  @metadata = args[:metadata] if args.key?(:metadata)
215
- @done = args[:done] if args.key?(:done)
216
216
  end
217
217
  end
218
218
 
@@ -64,21 +64,21 @@ module Google
64
64
  class ListOperationsResponse
65
65
  # @private
66
66
  class Representation < Google::Apis::Core::JsonRepresentation
67
+ property :next_page_token, as: 'nextPageToken'
67
68
  collection :operations, as: 'operations', class: Google::Apis::RuntimeconfigV1::Operation, decorator: Google::Apis::RuntimeconfigV1::Operation::Representation
68
69
 
69
- property :next_page_token, as: 'nextPageToken'
70
70
  end
71
71
  end
72
72
 
73
73
  class Operation
74
74
  # @private
75
75
  class Representation < Google::Apis::Core::JsonRepresentation
76
+ property :done, as: 'done'
76
77
  hash :response, as: 'response'
77
78
  property :name, as: 'name'
78
79
  property :error, as: 'error', class: Google::Apis::RuntimeconfigV1::Status, decorator: Google::Apis::RuntimeconfigV1::Status::Representation
79
80
 
80
81
  hash :metadata, as: 'metadata'
81
- property :done, as: 'done'
82
82
  end
83
83
  end
84
84
 
@@ -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 [String] filter
140
- # The standard list filter.
141
139
  # @param [String] page_token
142
140
  # The standard list page token.
143
141
  # @param [Fixnum] page_size
144
142
  # The standard list page size.
143
+ # @param [String] filter
144
+ # The standard list filter.
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, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
162
+ def list_operations(name, page_token: nil, page_size: nil, filter: 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['filter'] = filter unless filter.nil?
168
167
  command.query['pageToken'] = page_token unless page_token.nil?
169
168
  command.query['pageSize'] = page_size unless page_size.nil?
169
+ command.query['filter'] = filter unless filter.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,7 +25,19 @@ 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 = '20170601'
28
+ REVISION = '20170612'
29
+
30
+ # View your email address
31
+ AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
32
+
33
+ # Manage your calendars
34
+ CALENDAR_FEEDS = 'https://www.google.com/calendar/feeds'
35
+
36
+ # View and manage your Google Groups
37
+ AUTH_GROUPS = 'https://www.googleapis.com/auth/groups'
38
+
39
+ # View and manage forms that this application has been installed in
40
+ AUTH_FORMS_CURRENTONLY = 'https://www.googleapis.com/auth/forms.currentonly'
29
41
 
30
42
  # View and manage the files in your Google Drive
31
43
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -33,32 +45,20 @@ module Google
33
45
  # View and manage the provisioning of groups on your domain
34
46
  AUTH_ADMIN_DIRECTORY_GROUP = 'https://www.googleapis.com/auth/admin.directory.group'
35
47
 
36
- # View and manage the provisioning of users on your domain
37
- AUTH_ADMIN_DIRECTORY_USER = 'https://www.googleapis.com/auth/admin.directory.user'
48
+ # Read, send, delete, and manage your email
49
+ AUTH_SCOPE = 'https://mail.google.com/'
38
50
 
39
51
  # View and manage your spreadsheets in Google Drive
40
52
  AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets'
41
53
 
42
- # Read, send, delete, and manage your email
43
- AUTH_SCOPE = 'https://mail.google.com/'
54
+ # View and manage the provisioning of users on your domain
55
+ AUTH_ADMIN_DIRECTORY_USER = 'https://www.googleapis.com/auth/admin.directory.user'
44
56
 
45
57
  # View and manage your forms in Google Drive
46
58
  AUTH_FORMS = 'https://www.googleapis.com/auth/forms'
47
59
 
48
60
  # Manage your contacts
49
61
  M8_FEEDS = 'https://www.google.com/m8/feeds'
50
-
51
- # View your email address
52
- AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
53
-
54
- # Manage your calendars
55
- CALENDAR_FEEDS = 'https://www.google.com/calendar/feeds'
56
-
57
- # View and manage your Google Groups
58
- AUTH_GROUPS = 'https://www.googleapis.com/auth/groups'
59
-
60
- # View and manage forms that this application has been installed in
61
- AUTH_FORMS_CURRENTONLY = 'https://www.googleapis.com/auth/forms.currentonly'
62
62
  end
63
63
  end
64
64
  end
@@ -26,24 +26,24 @@ module Google
26
26
  class ScriptStackTraceElement
27
27
  include Google::Apis::Core::Hashable
28
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
29
  # The line number where the script failed.
35
30
  # Corresponds to the JSON property `lineNumber`
36
31
  # @return [Fixnum]
37
32
  attr_accessor :line_number
38
33
 
34
+ # The name of the function that failed.
35
+ # Corresponds to the JSON property `function`
36
+ # @return [String]
37
+ attr_accessor :function
38
+
39
39
  def initialize(**args)
40
40
  update!(**args)
41
41
  end
42
42
 
43
43
  # Update properties of this object
44
44
  def update!(**args)
45
- @function = args[:function] if args.key?(:function)
46
45
  @line_number = args[:line_number] if args.key?(:line_number)
46
+ @function = args[:function] if args.key?(:function)
47
47
  end
48
48
  end
49
49
 
@@ -57,6 +57,12 @@ module Google
57
57
  class ExecutionError
58
58
  include Google::Apis::Core::Hashable
59
59
 
60
+ # An array of objects that provide a stack trace through the script to show
61
+ # where the execution failed, with the deepest call first.
62
+ # Corresponds to the JSON property `scriptStackTraceElements`
63
+ # @return [Array<Google::Apis::ScriptV1::ScriptStackTraceElement>]
64
+ attr_accessor :script_stack_trace_elements
65
+
60
66
  # The error type, for example `TypeError` or `ReferenceError`. If the error
61
67
  # type is unavailable, this field is not included.
62
68
  # Corresponds to the JSON property `errorType`
@@ -69,21 +75,15 @@ module Google
69
75
  # @return [String]
70
76
  attr_accessor :error_message
71
77
 
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
78
  def initialize(**args)
79
79
  update!(**args)
80
80
  end
81
81
 
82
82
  # Update properties of this object
83
83
  def update!(**args)
84
+ @script_stack_trace_elements = args[:script_stack_trace_elements] if args.key?(:script_stack_trace_elements)
84
85
  @error_type = args[:error_type] if args.key?(:error_type)
85
86
  @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
87
  end
88
88
  end
89
89
 
@@ -185,12 +185,6 @@ module Google
185
185
  class JoinAsyncRequest
186
186
  include Google::Apis::Core::Hashable
187
187
 
188
- # The script id which specifies the script which all processes in the names
189
- # field must be from.
190
- # Corresponds to the JSON property `scriptId`
191
- # @return [String]
192
- attr_accessor :script_id
193
-
194
188
  # List of operation resource names that we want to join,
195
189
  # as returned from a call to RunAsync.
196
190
  # Corresponds to the JSON property `names`
@@ -202,15 +196,21 @@ module Google
202
196
  # @return [String]
203
197
  attr_accessor :timeout
204
198
 
199
+ # The script id which specifies the script which all processes in the names
200
+ # field must be from.
201
+ # Corresponds to the JSON property `scriptId`
202
+ # @return [String]
203
+ attr_accessor :script_id
204
+
205
205
  def initialize(**args)
206
206
  update!(**args)
207
207
  end
208
208
 
209
209
  # Update properties of this object
210
210
  def update!(**args)
211
- @script_id = args[:script_id] if args.key?(:script_id)
212
211
  @names = args[:names] if args.key?(:names)
213
212
  @timeout = args[:timeout] if args.key?(:timeout)
213
+ @script_id = args[:script_id] if args.key?(:script_id)
214
214
  end
215
215
  end
216
216
 
@@ -259,12 +259,6 @@ module Google
259
259
  class Operation
260
260
  include Google::Apis::Core::Hashable
261
261
 
262
- # This field is not used.
263
- # Corresponds to the JSON property `done`
264
- # @return [Boolean]
265
- attr_accessor :done
266
- alias_method :done?, :done
267
-
268
262
  # If the script function returns successfully, this field will contain an `
269
263
  # ExecutionResponse` object with the function's return value as the object's `
270
264
  # result` field.
@@ -289,17 +283,23 @@ module Google
289
283
  # @return [Hash<String,Object>]
290
284
  attr_accessor :metadata
291
285
 
286
+ # This field is not used.
287
+ # Corresponds to the JSON property `done`
288
+ # @return [Boolean]
289
+ attr_accessor :done
290
+ alias_method :done?, :done
291
+
292
292
  def initialize(**args)
293
293
  update!(**args)
294
294
  end
295
295
 
296
296
  # Update properties of this object
297
297
  def update!(**args)
298
- @done = args[:done] if args.key?(:done)
299
298
  @response = args[:response] if args.key?(:response)
300
299
  @name = args[:name] if args.key?(:name)
301
300
  @error = args[:error] if args.key?(:error)
302
301
  @metadata = args[:metadata] if args.key?(:metadata)
302
+ @done = args[:done] if args.key?(:done)
303
303
  end
304
304
  end
305
305