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
@@ -70,11 +70,11 @@ module Google
70
70
  # @param [Boolean] include_grid_data
71
71
  # True if grid data should be returned.
72
72
  # This parameter is ignored if a field mask was set in the request.
73
+ # @param [String] fields
74
+ # Selector specifying which fields to include in a partial response.
73
75
  # @param [String] quota_user
74
76
  # Available to use for quota purposes for server-side applications. Can be any
75
77
  # arbitrary string assigned to a user, but should not exceed 40 characters.
76
- # @param [String] fields
77
- # Selector specifying which fields to include in a partial response.
78
78
  # @param [Google::Apis::RequestOptions] options
79
79
  # Request-specific options
80
80
  #
@@ -87,25 +87,25 @@ module Google
87
87
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
88
88
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
89
89
  # @raise [Google::Apis::AuthorizationError] Authorization is required
90
- def get_spreadsheet(spreadsheet_id, ranges: nil, include_grid_data: nil, quota_user: nil, fields: nil, options: nil, &block)
90
+ def get_spreadsheet(spreadsheet_id, ranges: nil, include_grid_data: nil, fields: nil, quota_user: nil, options: nil, &block)
91
91
  command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}', options)
92
92
  command.response_representation = Google::Apis::SheetsV4::Spreadsheet::Representation
93
93
  command.response_class = Google::Apis::SheetsV4::Spreadsheet
94
94
  command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
95
95
  command.query['ranges'] = ranges unless ranges.nil?
96
96
  command.query['includeGridData'] = include_grid_data unless include_grid_data.nil?
97
- command.query['quotaUser'] = quota_user unless quota_user.nil?
98
97
  command.query['fields'] = fields unless fields.nil?
98
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
99
99
  execute_or_queue_command(command, &block)
100
100
  end
101
101
 
102
102
  # Creates a spreadsheet, returning the newly created spreadsheet.
103
103
  # @param [Google::Apis::SheetsV4::Spreadsheet] spreadsheet_object
104
+ # @param [String] fields
105
+ # Selector specifying which fields to include in a partial response.
104
106
  # @param [String] quota_user
105
107
  # Available to use for quota purposes for server-side applications. Can be any
106
108
  # arbitrary string assigned to a user, but should not exceed 40 characters.
107
- # @param [String] fields
108
- # Selector specifying which fields to include in a partial response.
109
109
  # @param [Google::Apis::RequestOptions] options
110
110
  # Request-specific options
111
111
  #
@@ -118,14 +118,14 @@ module Google
118
118
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
119
119
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
120
120
  # @raise [Google::Apis::AuthorizationError] Authorization is required
121
- def create_spreadsheet(spreadsheet_object = nil, quota_user: nil, fields: nil, options: nil, &block)
121
+ def create_spreadsheet(spreadsheet_object = nil, fields: nil, quota_user: nil, options: nil, &block)
122
122
  command = make_simple_command(:post, 'v4/spreadsheets', options)
123
123
  command.request_representation = Google::Apis::SheetsV4::Spreadsheet::Representation
124
124
  command.request_object = spreadsheet_object
125
125
  command.response_representation = Google::Apis::SheetsV4::Spreadsheet::Representation
126
126
  command.response_class = Google::Apis::SheetsV4::Spreadsheet
127
- command.query['quotaUser'] = quota_user unless quota_user.nil?
128
127
  command.query['fields'] = fields unless fields.nil?
128
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
129
129
  execute_or_queue_command(command, &block)
130
130
  end
131
131
 
@@ -148,11 +148,11 @@ module Google
148
148
  # @param [String] spreadsheet_id
149
149
  # The spreadsheet to apply the updates to.
150
150
  # @param [Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest] batch_update_spreadsheet_request_object
151
+ # @param [String] fields
152
+ # Selector specifying which fields to include in a partial response.
151
153
  # @param [String] quota_user
152
154
  # Available to use for quota purposes for server-side applications. Can be any
153
155
  # arbitrary string assigned to a user, but should not exceed 40 characters.
154
- # @param [String] fields
155
- # Selector specifying which fields to include in a partial response.
156
156
  # @param [Google::Apis::RequestOptions] options
157
157
  # Request-specific options
158
158
  #
@@ -165,52 +165,15 @@ module Google
165
165
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
166
166
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
167
167
  # @raise [Google::Apis::AuthorizationError] Authorization is required
168
- def batch_update_spreadsheet(spreadsheet_id, batch_update_spreadsheet_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
168
+ def batch_update_spreadsheet(spreadsheet_id, batch_update_spreadsheet_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
169
169
  command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}:batchUpdate', options)
170
170
  command.request_representation = Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest::Representation
171
171
  command.request_object = batch_update_spreadsheet_request_object
172
172
  command.response_representation = Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse::Representation
173
173
  command.response_class = Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse
174
174
  command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
175
- command.query['quotaUser'] = quota_user unless quota_user.nil?
176
175
  command.query['fields'] = fields unless fields.nil?
177
- execute_or_queue_command(command, &block)
178
- end
179
-
180
- # Copies a single sheet from a spreadsheet to another spreadsheet.
181
- # Returns the properties of the newly created sheet.
182
- # @param [String] spreadsheet_id
183
- # The ID of the spreadsheet containing the sheet to copy.
184
- # @param [Fixnum] sheet_id
185
- # The ID of the sheet to copy.
186
- # @param [Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest] copy_sheet_to_another_spreadsheet_request_object
187
- # @param [String] quota_user
188
- # Available to use for quota purposes for server-side applications. Can be any
189
- # arbitrary string assigned to a user, but should not exceed 40 characters.
190
- # @param [String] fields
191
- # Selector specifying which fields to include in a partial response.
192
- # @param [Google::Apis::RequestOptions] options
193
- # Request-specific options
194
- #
195
- # @yield [result, err] Result & error if block supplied
196
- # @yieldparam result [Google::Apis::SheetsV4::SheetProperties] parsed result object
197
- # @yieldparam err [StandardError] error object if request failed
198
- #
199
- # @return [Google::Apis::SheetsV4::SheetProperties]
200
- #
201
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
202
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
203
- # @raise [Google::Apis::AuthorizationError] Authorization is required
204
- def copy_spreadsheet_sheet_to(spreadsheet_id, sheet_id, copy_sheet_to_another_spreadsheet_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
205
- command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo', options)
206
- command.request_representation = Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest::Representation
207
- command.request_object = copy_sheet_to_another_spreadsheet_request_object
208
- command.response_representation = Google::Apis::SheetsV4::SheetProperties::Representation
209
- command.response_class = Google::Apis::SheetsV4::SheetProperties
210
- command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
211
- command.params['sheetId'] = sheet_id unless sheet_id.nil?
212
176
  command.query['quotaUser'] = quota_user unless quota_user.nil?
213
- command.query['fields'] = fields unless fields.nil?
214
177
  execute_or_queue_command(command, &block)
215
178
  end
216
179
 
@@ -223,11 +186,11 @@ module Google
223
186
  # @param [String] range
224
187
  # The A1 notation of the values to clear.
225
188
  # @param [Google::Apis::SheetsV4::ClearValuesRequest] clear_values_request_object
189
+ # @param [String] fields
190
+ # Selector specifying which fields to include in a partial response.
226
191
  # @param [String] quota_user
227
192
  # Available to use for quota purposes for server-side applications. Can be any
228
193
  # arbitrary string assigned to a user, but should not exceed 40 characters.
229
- # @param [String] fields
230
- # Selector specifying which fields to include in a partial response.
231
194
  # @param [Google::Apis::RequestOptions] options
232
195
  # Request-specific options
233
196
  #
@@ -240,7 +203,7 @@ module Google
240
203
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
241
204
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
242
205
  # @raise [Google::Apis::AuthorizationError] Authorization is required
243
- def clear_values(spreadsheet_id, range, clear_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
206
+ def clear_values(spreadsheet_id, range, clear_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
244
207
  command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:clear', options)
245
208
  command.request_representation = Google::Apis::SheetsV4::ClearValuesRequest::Representation
246
209
  command.request_object = clear_values_request_object
@@ -248,8 +211,8 @@ module Google
248
211
  command.response_class = Google::Apis::SheetsV4::ClearValuesResponse
249
212
  command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
250
213
  command.params['range'] = range unless range.nil?
251
- command.query['quotaUser'] = quota_user unless quota_user.nil?
252
214
  command.query['fields'] = fields unless fields.nil?
215
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
253
216
  execute_or_queue_command(command, &block)
254
217
  end
255
218
 
@@ -274,11 +237,11 @@ module Google
274
237
  # This is ignored if value_render_option is
275
238
  # FORMATTED_VALUE.
276
239
  # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
240
+ # @param [String] fields
241
+ # Selector specifying which fields to include in a partial response.
277
242
  # @param [String] quota_user
278
243
  # Available to use for quota purposes for server-side applications. Can be any
279
244
  # arbitrary string assigned to a user, but should not exceed 40 characters.
280
- # @param [String] fields
281
- # Selector specifying which fields to include in a partial response.
282
245
  # @param [Google::Apis::RequestOptions] options
283
246
  # Request-specific options
284
247
  #
@@ -291,7 +254,7 @@ module Google
291
254
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
292
255
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
293
256
  # @raise [Google::Apis::AuthorizationError] Authorization is required
294
- def batch_spreadsheet_value_get(spreadsheet_id, ranges: nil, major_dimension: nil, value_render_option: nil, date_time_render_option: nil, quota_user: nil, fields: nil, options: nil, &block)
257
+ def batch_get_spreadsheet_values(spreadsheet_id, ranges: nil, major_dimension: nil, value_render_option: nil, date_time_render_option: nil, fields: nil, quota_user: nil, options: nil, &block)
295
258
  command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values:batchGet', options)
296
259
  command.response_representation = Google::Apis::SheetsV4::BatchGetValuesResponse::Representation
297
260
  command.response_class = Google::Apis::SheetsV4::BatchGetValuesResponse
@@ -300,8 +263,8 @@ module Google
300
263
  command.query['majorDimension'] = major_dimension unless major_dimension.nil?
301
264
  command.query['valueRenderOption'] = value_render_option unless value_render_option.nil?
302
265
  command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil?
303
- command.query['quotaUser'] = quota_user unless quota_user.nil?
304
266
  command.query['fields'] = fields unless fields.nil?
267
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
305
268
  execute_or_queue_command(command, &block)
306
269
  end
307
270
 
@@ -324,10 +287,6 @@ module Google
324
287
  # The A1 notation of a range to search for a logical table of data.
325
288
  # Values will be appended after the last row of the table.
326
289
  # @param [Google::Apis::SheetsV4::ValueRange] value_range_object
327
- # @param [Boolean] include_values_in_response
328
- # Determines if the update response should include the values
329
- # of the cells that were appended. By default, responses
330
- # do not include the updated values.
331
290
  # @param [String] response_value_render_option
332
291
  # Determines how values in the response should be rendered.
333
292
  # The default render option is ValueRenderOption.FORMATTED_VALUE.
@@ -340,11 +299,15 @@ module Google
340
299
  # rendered. This is ignored if response_value_render_option is
341
300
  # FORMATTED_VALUE.
342
301
  # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
302
+ # @param [Boolean] include_values_in_response
303
+ # Determines if the update response should include the values
304
+ # of the cells that were appended. By default, responses
305
+ # do not include the updated values.
306
+ # @param [String] fields
307
+ # Selector specifying which fields to include in a partial response.
343
308
  # @param [String] quota_user
344
309
  # Available to use for quota purposes for server-side applications. Can be any
345
310
  # arbitrary string assigned to a user, but should not exceed 40 characters.
346
- # @param [String] fields
347
- # Selector specifying which fields to include in a partial response.
348
311
  # @param [Google::Apis::RequestOptions] options
349
312
  # Request-specific options
350
313
  #
@@ -357,7 +320,7 @@ module Google
357
320
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
358
321
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
359
322
  # @raise [Google::Apis::AuthorizationError] Authorization is required
360
- def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, include_values_in_response: nil, response_value_render_option: nil, insert_data_option: nil, value_input_option: nil, response_date_time_render_option: nil, quota_user: nil, fields: nil, options: nil, &block)
323
+ def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, response_value_render_option: nil, insert_data_option: nil, value_input_option: nil, response_date_time_render_option: nil, include_values_in_response: nil, fields: nil, quota_user: nil, options: nil, &block)
361
324
  command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:append', options)
362
325
  command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation
363
326
  command.request_object = value_range_object
@@ -365,13 +328,13 @@ module Google
365
328
  command.response_class = Google::Apis::SheetsV4::AppendValuesResponse
366
329
  command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
367
330
  command.params['range'] = range unless range.nil?
368
- command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil?
369
331
  command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil?
370
332
  command.query['insertDataOption'] = insert_data_option unless insert_data_option.nil?
371
333
  command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
372
334
  command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil?
373
- command.query['quotaUser'] = quota_user unless quota_user.nil?
335
+ command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil?
374
336
  command.query['fields'] = fields unless fields.nil?
337
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
375
338
  execute_or_queue_command(command, &block)
376
339
  end
377
340
 
@@ -382,11 +345,11 @@ module Google
382
345
  # @param [String] spreadsheet_id
383
346
  # The ID of the spreadsheet to update.
384
347
  # @param [Google::Apis::SheetsV4::BatchClearValuesRequest] batch_clear_values_request_object
348
+ # @param [String] fields
349
+ # Selector specifying which fields to include in a partial response.
385
350
  # @param [String] quota_user
386
351
  # Available to use for quota purposes for server-side applications. Can be any
387
352
  # arbitrary string assigned to a user, but should not exceed 40 characters.
388
- # @param [String] fields
389
- # Selector specifying which fields to include in a partial response.
390
353
  # @param [Google::Apis::RequestOptions] options
391
354
  # Request-specific options
392
355
  #
@@ -399,15 +362,15 @@ module Google
399
362
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
400
363
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
401
364
  # @raise [Google::Apis::AuthorizationError] Authorization is required
402
- def batch_clear_values(spreadsheet_id, batch_clear_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
365
+ def batch_clear_values(spreadsheet_id, batch_clear_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
403
366
  command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchClear', options)
404
367
  command.request_representation = Google::Apis::SheetsV4::BatchClearValuesRequest::Representation
405
368
  command.request_object = batch_clear_values_request_object
406
369
  command.response_representation = Google::Apis::SheetsV4::BatchClearValuesResponse::Representation
407
370
  command.response_class = Google::Apis::SheetsV4::BatchClearValuesResponse
408
371
  command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
409
- command.query['quotaUser'] = quota_user unless quota_user.nil?
410
372
  command.query['fields'] = fields unless fields.nil?
373
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
411
374
  execute_or_queue_command(command, &block)
412
375
  end
413
376
 
@@ -432,11 +395,11 @@ module Google
432
395
  # This is ignored if value_render_option is
433
396
  # FORMATTED_VALUE.
434
397
  # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
398
+ # @param [String] fields
399
+ # Selector specifying which fields to include in a partial response.
435
400
  # @param [String] quota_user
436
401
  # Available to use for quota purposes for server-side applications. Can be any
437
402
  # arbitrary string assigned to a user, but should not exceed 40 characters.
438
- # @param [String] fields
439
- # Selector specifying which fields to include in a partial response.
440
403
  # @param [Google::Apis::RequestOptions] options
441
404
  # Request-specific options
442
405
  #
@@ -449,7 +412,7 @@ module Google
449
412
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
450
413
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
451
414
  # @raise [Google::Apis::AuthorizationError] Authorization is required
452
- def get_spreadsheet_value(spreadsheet_id, range, major_dimension: nil, value_render_option: nil, date_time_render_option: nil, quota_user: nil, fields: nil, options: nil, &block)
415
+ def get_spreadsheet_values(spreadsheet_id, range, major_dimension: nil, value_render_option: nil, date_time_render_option: nil, fields: nil, quota_user: nil, options: nil, &block)
453
416
  command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options)
454
417
  command.response_representation = Google::Apis::SheetsV4::ValueRange::Representation
455
418
  command.response_class = Google::Apis::SheetsV4::ValueRange
@@ -458,8 +421,8 @@ module Google
458
421
  command.query['majorDimension'] = major_dimension unless major_dimension.nil?
459
422
  command.query['valueRenderOption'] = value_render_option unless value_render_option.nil?
460
423
  command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil?
461
- command.query['quotaUser'] = quota_user unless quota_user.nil?
462
424
  command.query['fields'] = fields unless fields.nil?
425
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
463
426
  execute_or_queue_command(command, &block)
464
427
  end
465
428
 
@@ -488,11 +451,11 @@ module Google
488
451
  # If the range to write was larger than than the range actually written,
489
452
  # the response will include all values in the requested range (excluding
490
453
  # trailing empty rows and columns).
454
+ # @param [String] fields
455
+ # Selector specifying which fields to include in a partial response.
491
456
  # @param [String] quota_user
492
457
  # Available to use for quota purposes for server-side applications. Can be any
493
458
  # arbitrary string assigned to a user, but should not exceed 40 characters.
494
- # @param [String] fields
495
- # Selector specifying which fields to include in a partial response.
496
459
  # @param [Google::Apis::RequestOptions] options
497
460
  # Request-specific options
498
461
  #
@@ -505,7 +468,7 @@ module Google
505
468
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
506
469
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
507
470
  # @raise [Google::Apis::AuthorizationError] Authorization is required
508
- def update_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, response_value_render_option: nil, value_input_option: nil, response_date_time_render_option: nil, include_values_in_response: nil, quota_user: nil, fields: nil, options: nil, &block)
471
+ def update_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, response_value_render_option: nil, value_input_option: nil, response_date_time_render_option: nil, include_values_in_response: nil, fields: nil, quota_user: nil, options: nil, &block)
509
472
  command = make_simple_command(:put, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options)
510
473
  command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation
511
474
  command.request_object = value_range_object
@@ -517,8 +480,8 @@ module Google
517
480
  command.query['valueInputOption'] = value_input_option unless value_input_option.nil?
518
481
  command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil?
519
482
  command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil?
520
- command.query['quotaUser'] = quota_user unless quota_user.nil?
521
483
  command.query['fields'] = fields unless fields.nil?
484
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
522
485
  execute_or_queue_command(command, &block)
523
486
  end
524
487
 
@@ -529,11 +492,11 @@ module Google
529
492
  # @param [String] spreadsheet_id
530
493
  # The ID of the spreadsheet to update.
531
494
  # @param [Google::Apis::SheetsV4::BatchUpdateValuesRequest] batch_update_values_request_object
495
+ # @param [String] fields
496
+ # Selector specifying which fields to include in a partial response.
532
497
  # @param [String] quota_user
533
498
  # Available to use for quota purposes for server-side applications. Can be any
534
499
  # arbitrary string assigned to a user, but should not exceed 40 characters.
535
- # @param [String] fields
536
- # Selector specifying which fields to include in a partial response.
537
500
  # @param [Google::Apis::RequestOptions] options
538
501
  # Request-specific options
539
502
  #
@@ -546,15 +509,52 @@ module Google
546
509
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
547
510
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
548
511
  # @raise [Google::Apis::AuthorizationError] Authorization is required
549
- def batch_update_values(spreadsheet_id, batch_update_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
512
+ def batch_update_values(spreadsheet_id, batch_update_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
550
513
  command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchUpdate', options)
551
514
  command.request_representation = Google::Apis::SheetsV4::BatchUpdateValuesRequest::Representation
552
515
  command.request_object = batch_update_values_request_object
553
516
  command.response_representation = Google::Apis::SheetsV4::BatchUpdateValuesResponse::Representation
554
517
  command.response_class = Google::Apis::SheetsV4::BatchUpdateValuesResponse
555
518
  command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
519
+ command.query['fields'] = fields unless fields.nil?
556
520
  command.query['quotaUser'] = quota_user unless quota_user.nil?
521
+ execute_or_queue_command(command, &block)
522
+ end
523
+
524
+ # Copies a single sheet from a spreadsheet to another spreadsheet.
525
+ # Returns the properties of the newly created sheet.
526
+ # @param [String] spreadsheet_id
527
+ # The ID of the spreadsheet containing the sheet to copy.
528
+ # @param [Fixnum] sheet_id
529
+ # The ID of the sheet to copy.
530
+ # @param [Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest] copy_sheet_to_another_spreadsheet_request_object
531
+ # @param [String] fields
532
+ # Selector specifying which fields to include in a partial response.
533
+ # @param [String] quota_user
534
+ # Available to use for quota purposes for server-side applications. Can be any
535
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
536
+ # @param [Google::Apis::RequestOptions] options
537
+ # Request-specific options
538
+ #
539
+ # @yield [result, err] Result & error if block supplied
540
+ # @yieldparam result [Google::Apis::SheetsV4::SheetProperties] parsed result object
541
+ # @yieldparam err [StandardError] error object if request failed
542
+ #
543
+ # @return [Google::Apis::SheetsV4::SheetProperties]
544
+ #
545
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
546
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
547
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
548
+ def copy_spreadsheet(spreadsheet_id, sheet_id, copy_sheet_to_another_spreadsheet_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
549
+ command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo', options)
550
+ command.request_representation = Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest::Representation
551
+ command.request_object = copy_sheet_to_another_spreadsheet_request_object
552
+ command.response_representation = Google::Apis::SheetsV4::SheetProperties::Representation
553
+ command.response_class = Google::Apis::SheetsV4::SheetProperties
554
+ command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
555
+ command.params['sheetId'] = sheet_id unless sheet_id.nil?
557
556
  command.query['fields'] = fields unless fields.nil?
557
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
558
558
  execute_or_queue_command(command, &block)
559
559
  end
560
560
 
@@ -23,12 +23,12 @@ module Google
23
23
  module SiteVerificationV1
24
24
 
25
25
  #
26
- class SiteVerificationWebResourceGettokenRequest
26
+ class GetWebResourceTokenRequest
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
29
  # The site for which a verification token will be generated.
30
30
  # Corresponds to the JSON property `site`
31
- # @return [Google::Apis::SiteVerificationV1::SiteVerificationWebResourceGettokenRequest::Site]
31
+ # @return [Google::Apis::SiteVerificationV1::GetWebResourceTokenRequest::Site]
32
32
  attr_accessor :site
33
33
 
34
34
  # The verification method that will be used to verify this site. For sites, '
@@ -75,7 +75,7 @@ module Google
75
75
  end
76
76
 
77
77
  #
78
- class SiteVerificationWebResourceGettokenResponse
78
+ class GetWebResourceTokenResponse
79
79
  include Google::Apis::Core::Hashable
80
80
 
81
81
  # The verification method to use in conjunction with this token. For FILE, the
@@ -85,7 +85,7 @@ module Google
85
85
  # placed in a TXT record of the domain.
86
86
  # Corresponds to the JSON property `method`
87
87
  # @return [String]
88
- attr_accessor :method_prop
88
+ attr_accessor :verification_method
89
89
 
90
90
  # The verification token. The token must be placed appropriately in order for
91
91
  # verification to succeed.
@@ -99,13 +99,13 @@ module Google
99
99
 
100
100
  # Update properties of this object
101
101
  def update!(**args)
102
- @method_prop = args[:method_prop] if args.key?(:method_prop)
102
+ @verification_method = args[:verification_method] if args.key?(:verification_method)
103
103
  @token = args[:token] if args.key?(:token)
104
104
  end
105
105
  end
106
106
 
107
107
  #
108
- class SiteVerificationWebResourceListResponse
108
+ class ListWebResourceResponse
109
109
  include Google::Apis::Core::Hashable
110
110
 
111
111
  # The list of sites that are owned by the authenticated user.
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module SiteVerificationV1
24
24
 
25
- class SiteVerificationWebResourceGettokenRequest
25
+ class GetWebResourceTokenRequest
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  class Site
@@ -34,13 +34,13 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class SiteVerificationWebResourceGettokenResponse
37
+ class GetWebResourceTokenResponse
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class SiteVerificationWebResourceListResponse
43
+ class ListWebResourceResponse
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
@@ -58,10 +58,10 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class SiteVerificationWebResourceGettokenRequest
61
+ class GetWebResourceTokenRequest
62
62
  # @private
63
63
  class Representation < Google::Apis::Core::JsonRepresentation
64
- property :site, as: 'site', class: Google::Apis::SiteVerificationV1::SiteVerificationWebResourceGettokenRequest::Site, decorator: Google::Apis::SiteVerificationV1::SiteVerificationWebResourceGettokenRequest::Site::Representation
64
+ property :site, as: 'site', class: Google::Apis::SiteVerificationV1::GetWebResourceTokenRequest::Site, decorator: Google::Apis::SiteVerificationV1::GetWebResourceTokenRequest::Site::Representation
65
65
 
66
66
  property :verification_method, as: 'verificationMethod'
67
67
  end
@@ -75,15 +75,15 @@ module Google
75
75
  end
76
76
  end
77
77
 
78
- class SiteVerificationWebResourceGettokenResponse
78
+ class GetWebResourceTokenResponse
79
79
  # @private
80
80
  class Representation < Google::Apis::Core::JsonRepresentation
81
- property :method_prop, as: 'method'
81
+ property :verification_method, as: 'method'
82
82
  property :token, as: 'token'
83
83
  end
84
84
  end
85
85
 
86
- class SiteVerificationWebResourceListResponse
86
+ class ListWebResourceResponse
87
87
  # @private
88
88
  class Representation < Google::Apis::Core::JsonRepresentation
89
89
  collection :items, as: 'items', class: Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource, decorator: Google::Apis::SiteVerificationV1::SiteVerificationWebResourceResource::Representation