google-api-client 0.10.3 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (385) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +12 -18
  3. data/CHANGELOG.md +22 -2
  4. data/Gemfile +5 -7
  5. data/MIGRATING.md +33 -0
  6. data/README.md +10 -2
  7. data/Rakefile +1 -0
  8. data/bin/generate-api +7 -1
  9. data/dl.rb +0 -0
  10. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
  11. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
  12. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
  16. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
  19. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
  20. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
  21. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
  22. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
  23. data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
  24. data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
  26. data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
  27. data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
  28. data/generated/google/apis/admin_directory_v1/service.rb +1 -0
  29. data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
  30. data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
  31. data/generated/google/apis/admin_reports_v1/service.rb +1 -0
  32. data/generated/google/apis/adsense_v1_4.rb +1 -1
  33. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  34. data/generated/google/apis/adsense_v1_4/representations.rb +2 -2
  35. data/generated/google/apis/adsense_v1_4/service.rb +1 -0
  36. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  37. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
  38. data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
  40. data/generated/google/apis/analytics_v3/classes.rb +10 -10
  41. data/generated/google/apis/analytics_v3/representations.rb +10 -10
  42. data/generated/google/apis/analytics_v3/service.rb +1 -0
  43. data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
  44. data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
  45. data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
  46. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  47. data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
  48. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
  50. data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
  51. data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
  52. data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
  53. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  54. data/generated/google/apis/appengine_v1/representations.rb +2 -2
  55. data/generated/google/apis/appengine_v1/service.rb +1 -0
  56. data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
  57. data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
  58. data/generated/google/apis/appsactivity_v1/service.rb +1 -0
  59. data/generated/google/apis/appsmarket_v2.rb +35 -0
  60. data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
  61. data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
  62. data/generated/google/apis/appsmarket_v2/service.rb +187 -0
  63. data/generated/google/apis/appstate_v1.rb +1 -1
  64. data/generated/google/apis/appstate_v1/service.rb +1 -0
  65. data/generated/google/apis/bigquery_v2/classes.rb +39 -39
  66. data/generated/google/apis/bigquery_v2/representations.rb +38 -38
  67. data/generated/google/apis/bigquery_v2/service.rb +3 -2
  68. data/generated/google/apis/blogger_v3/classes.rb +2 -2
  69. data/generated/google/apis/blogger_v3/representations.rb +2 -2
  70. data/generated/google/apis/blogger_v3/service.rb +1 -0
  71. data/generated/google/apis/books_v1/classes.rb +5 -5
  72. data/generated/google/apis/books_v1/representations.rb +4 -4
  73. data/generated/google/apis/books_v1/service.rb +1 -0
  74. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  75. data/generated/google/apis/calendar_v3/representations.rb +1 -1
  76. data/generated/google/apis/calendar_v3/service.rb +1 -0
  77. data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
  78. data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
  79. data/generated/google/apis/civicinfo_v2/service.rb +2 -1
  80. data/generated/google/apis/classroom_v1/service.rb +1 -0
  81. data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
  84. data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
  85. data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
  87. data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
  88. data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
  89. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  90. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
  91. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
  93. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
  94. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
  95. data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
  96. data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
  97. data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
  98. data/generated/google/apis/cloudkms_v1/service.rb +168 -167
  99. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
  100. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
  101. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
  102. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  103. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
  104. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
  105. data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
  107. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
  108. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
  109. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  110. data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
  111. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  112. data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
  113. data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
  114. data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
  115. data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
  116. data/generated/google/apis/compute_beta/classes.rb +52 -52
  117. data/generated/google/apis/compute_beta/representations.rb +52 -52
  118. data/generated/google/apis/compute_beta/service.rb +2 -1
  119. data/generated/google/apis/compute_v1/classes.rb +48 -48
  120. data/generated/google/apis/compute_v1/representations.rb +48 -48
  121. data/generated/google/apis/compute_v1/service.rb +2 -1
  122. data/generated/google/apis/container_v1/service.rb +1 -0
  123. data/generated/google/apis/content_v2.rb +1 -1
  124. data/generated/google/apis/content_v2/classes.rb +38 -660
  125. data/generated/google/apis/content_v2/representations.rb +37 -303
  126. data/generated/google/apis/content_v2/service.rb +63 -279
  127. data/generated/google/apis/customsearch_v1/classes.rb +2 -2
  128. data/generated/google/apis/customsearch_v1/representations.rb +2 -2
  129. data/generated/google/apis/customsearch_v1/service.rb +1 -0
  130. data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
  131. data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
  132. data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
  133. data/generated/google/apis/dataproc_v1/classes.rb +395 -395
  134. data/generated/google/apis/dataproc_v1/representations.rb +91 -91
  135. data/generated/google/apis/dataproc_v1/service.rb +356 -355
  136. data/generated/google/apis/datastore_v1/classes.rb +506 -506
  137. data/generated/google/apis/datastore_v1/representations.rb +147 -147
  138. data/generated/google/apis/datastore_v1/service.rb +46 -45
  139. data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
  140. data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
  141. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
  142. data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
  143. data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
  144. data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
  145. data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
  146. data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
  147. data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
  148. data/generated/google/apis/discovery_v1/service.rb +1 -0
  149. data/generated/google/apis/dns_v1/classes.rb +2 -2
  150. data/generated/google/apis/dns_v1/representations.rb +2 -2
  151. data/generated/google/apis/dns_v1/service.rb +1 -0
  152. data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
  153. data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
  154. data/generated/google/apis/dns_v2beta1/service.rb +1 -0
  155. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
  156. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
  157. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
  158. data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
  159. data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
  160. data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
  161. data/generated/google/apis/drive_v2/classes.rb +17 -17
  162. data/generated/google/apis/drive_v2/representations.rb +17 -17
  163. data/generated/google/apis/drive_v2/service.rb +5 -4
  164. data/generated/google/apis/drive_v3/classes.rb +13 -13
  165. data/generated/google/apis/drive_v3/representations.rb +12 -12
  166. data/generated/google/apis/drive_v3/service.rb +1 -0
  167. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  168. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
  169. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
  170. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
  171. data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
  172. data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
  173. data/generated/google/apis/firebaserules_v1/service.rb +1 -0
  174. data/generated/google/apis/fitness_v1/classes.rb +18 -18
  175. data/generated/google/apis/fitness_v1/representations.rb +18 -18
  176. data/generated/google/apis/fitness_v1/service.rb +6 -5
  177. data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
  178. data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
  179. data/generated/google/apis/fusiontables_v2/service.rb +1 -0
  180. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  181. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  182. data/generated/google/apis/games_configuration_v1configuration/representations.rb +2 -2
  183. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
  184. data/generated/google/apis/games_management_v1management.rb +1 -1
  185. data/generated/google/apis/games_management_v1management/classes.rb +6 -6
  186. data/generated/google/apis/games_management_v1management/representations.rb +6 -6
  187. data/generated/google/apis/games_management_v1management/service.rb +1 -0
  188. data/generated/google/apis/games_v1.rb +1 -1
  189. data/generated/google/apis/games_v1/classes.rb +47 -47
  190. data/generated/google/apis/games_v1/representations.rb +47 -47
  191. data/generated/google/apis/games_v1/service.rb +58 -57
  192. data/generated/google/apis/genomics_v1.rb +6 -6
  193. data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
  194. data/generated/google/apis/genomics_v1/representations.rb +487 -487
  195. data/generated/google/apis/genomics_v1/service.rb +1188 -1187
  196. data/generated/google/apis/gmail_v1/classes.rb +11 -11
  197. data/generated/google/apis/gmail_v1/representations.rb +11 -11
  198. data/generated/google/apis/gmail_v1/service.rb +2 -1
  199. data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
  200. data/generated/google/apis/groupssettings_v1/service.rb +1 -0
  201. data/generated/google/apis/iam_v1/classes.rb +437 -437
  202. data/generated/google/apis/iam_v1/representations.rb +95 -95
  203. data/generated/google/apis/iam_v1/service.rb +87 -86
  204. data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
  205. data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
  206. data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
  207. data/generated/google/apis/kgsearch_v1/service.rb +9 -8
  208. data/generated/google/apis/language_v1.rb +1 -1
  209. data/generated/google/apis/language_v1/classes.rb +245 -245
  210. data/generated/google/apis/language_v1/representations.rb +65 -65
  211. data/generated/google/apis/language_v1/service.rb +1 -0
  212. data/generated/google/apis/language_v1beta1.rb +1 -1
  213. data/generated/google/apis/language_v1beta1/classes.rb +277 -277
  214. data/generated/google/apis/language_v1beta1/representations.rb +83 -83
  215. data/generated/google/apis/language_v1beta1/service.rb +31 -30
  216. data/generated/google/apis/licensing_v1/service.rb +1 -0
  217. data/generated/google/apis/logging_v2/classes.rb +408 -408
  218. data/generated/google/apis/logging_v2/representations.rb +93 -93
  219. data/generated/google/apis/logging_v2/service.rb +408 -407
  220. data/generated/google/apis/logging_v2beta1.rb +3 -3
  221. data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
  222. data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
  223. data/generated/google/apis/logging_v2beta1/service.rb +89 -88
  224. data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
  225. data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
  226. data/generated/google/apis/manufacturers_v1/service.rb +1 -0
  227. data/generated/google/apis/mirror_v1/service.rb +1 -0
  228. data/generated/google/apis/ml_v1/classes.rb +1185 -1185
  229. data/generated/google/apis/ml_v1/representations.rb +171 -171
  230. data/generated/google/apis/ml_v1/service.rb +282 -281
  231. data/generated/google/apis/monitoring_v3.rb +3 -3
  232. data/generated/google/apis/monitoring_v3/classes.rb +334 -334
  233. data/generated/google/apis/monitoring_v3/representations.rb +86 -86
  234. data/generated/google/apis/monitoring_v3/service.rb +344 -343
  235. data/generated/google/apis/mybusiness_v3/service.rb +1 -0
  236. data/generated/google/apis/oauth2_v2/service.rb +1 -0
  237. data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
  238. data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
  239. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
  240. data/generated/google/apis/partners_v2/classes.rb +1466 -1466
  241. data/generated/google/apis/partners_v2/representations.rb +371 -371
  242. data/generated/google/apis/partners_v2/service.rb +530 -529
  243. data/generated/google/apis/people_v1.rb +4 -4
  244. data/generated/google/apis/people_v1/classes.rb +1009 -1009
  245. data/generated/google/apis/people_v1/representations.rb +249 -249
  246. data/generated/google/apis/people_v1/service.rb +13 -12
  247. data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
  248. data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
  249. data/generated/google/apis/plus_domains_v1/service.rb +1 -0
  250. data/generated/google/apis/plus_v1/service.rb +1 -0
  251. data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
  252. data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
  253. data/generated/google/apis/prediction_v1_6/service.rb +1 -0
  254. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
  255. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
  256. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
  257. data/generated/google/apis/pubsub_v1/classes.rb +99 -99
  258. data/generated/google/apis/pubsub_v1/representations.rb +25 -25
  259. data/generated/google/apis/pubsub_v1/service.rb +236 -235
  260. data/generated/google/apis/qpx_express_v1/service.rb +1 -0
  261. data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
  262. data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
  263. data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
  264. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
  265. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
  266. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
  267. data/generated/google/apis/reseller_v1/classes.rb +5 -5
  268. data/generated/google/apis/reseller_v1/representations.rb +5 -5
  269. data/generated/google/apis/reseller_v1/service.rb +1 -0
  270. data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
  271. data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
  272. data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
  273. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  274. data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
  275. data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
  276. data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
  277. data/generated/google/apis/script_v1.rb +18 -18
  278. data/generated/google/apis/script_v1/classes.rb +84 -84
  279. data/generated/google/apis/script_v1/representations.rb +18 -18
  280. data/generated/google/apis/script_v1/service.rb +11 -10
  281. data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
  282. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  283. data/generated/google/apis/searchconsole_v1/service.rb +11 -10
  284. data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
  285. data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
  286. data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
  287. data/generated/google/apis/servicemanagement_v1.rb +3 -3
  288. data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
  289. data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
  290. data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
  291. data/generated/google/apis/serviceuser_v1.rb +3 -3
  292. data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
  293. data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
  294. data/generated/google/apis/serviceuser_v1/service.rb +47 -46
  295. data/generated/google/apis/sheets_v4.rb +1 -1
  296. data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
  297. data/generated/google/apis/sheets_v4/representations.rb +859 -859
  298. data/generated/google/apis/sheets_v4/service.rb +180 -179
  299. data/generated/google/apis/site_verification_v1/service.rb +1 -0
  300. data/generated/google/apis/slides_v1.rb +1 -1
  301. data/generated/google/apis/slides_v1/classes.rb +2856 -2856
  302. data/generated/google/apis/slides_v1/representations.rb +683 -683
  303. data/generated/google/apis/slides_v1/service.rb +27 -26
  304. data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
  305. data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
  306. data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
  307. data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
  308. data/generated/google/apis/spanner_v1/representations.rb +325 -325
  309. data/generated/google/apis/spanner_v1/service.rb +374 -373
  310. data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
  311. data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
  312. data/generated/google/apis/speech_v1beta1/service.rb +27 -26
  313. data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
  314. data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
  315. data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
  316. data/generated/google/apis/storage_v1.rb +1 -1
  317. data/generated/google/apis/storage_v1/classes.rb +11 -11
  318. data/generated/google/apis/storage_v1/representations.rb +11 -11
  319. data/generated/google/apis/storage_v1/service.rb +65 -64
  320. data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
  321. data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
  322. data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
  323. data/generated/google/apis/surveys_v2/classes.rb +4 -4
  324. data/generated/google/apis/surveys_v2/representations.rb +4 -4
  325. data/generated/google/apis/surveys_v2/service.rb +1 -0
  326. data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
  327. data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
  328. data/generated/google/apis/tagmanager_v1/service.rb +1 -0
  329. data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
  330. data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
  331. data/generated/google/apis/tagmanager_v2/service.rb +1 -0
  332. data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
  333. data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
  334. data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
  335. data/generated/google/apis/tasks_v1/service.rb +3 -2
  336. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  337. data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
  338. data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
  339. data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
  340. data/generated/google/apis/tracing_v1/classes.rb +421 -421
  341. data/generated/google/apis/tracing_v1/representations.rb +86 -86
  342. data/generated/google/apis/tracing_v1/service.rb +60 -59
  343. data/generated/google/apis/translate_v2/service.rb +1 -0
  344. data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
  345. data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
  346. data/generated/google/apis/urlshortener_v1/service.rb +1 -0
  347. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  348. data/generated/google/apis/vision_v1/representations.rb +184 -184
  349. data/generated/google/apis/vision_v1/service.rb +11 -10
  350. data/generated/google/apis/webfonts_v1/service.rb +1 -0
  351. data/generated/google/apis/webmasters_v3/classes.rb +5 -5
  352. data/generated/google/apis/webmasters_v3/representations.rb +5 -5
  353. data/generated/google/apis/webmasters_v3/service.rb +1 -0
  354. data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
  355. data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
  356. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
  357. data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
  358. data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
  359. data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
  360. data/generated/google/apis/youtube_v3/classes.rb +31 -31
  361. data/generated/google/apis/youtube_v3/representations.rb +31 -31
  362. data/generated/google/apis/youtube_v3/service.rb +2 -1
  363. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  364. data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
  365. data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
  366. data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
  367. data/google-api-client.gemspec +4 -6
  368. data/lib/google/apis/core/api_command.rb +8 -3
  369. data/lib/google/apis/core/base_service.rb +47 -18
  370. data/lib/google/apis/core/batch.rb +13 -18
  371. data/lib/google/apis/core/composite_io.rb +97 -0
  372. data/lib/google/apis/core/download.rb +24 -20
  373. data/lib/google/apis/core/http_command.rb +49 -38
  374. data/lib/google/apis/core/json_representation.rb +5 -1
  375. data/lib/google/apis/core/multipart.rb +43 -95
  376. data/lib/google/apis/core/upload.rb +59 -84
  377. data/lib/google/apis/generator/model.rb +2 -0
  378. data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
  379. data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
  380. data/lib/google/apis/options.rb +24 -12
  381. data/lib/google/apis/version.rb +1 -1
  382. data/samples/web/Gemfile +0 -1
  383. metadata +39 -37
  384. data/lib/google/apis/core/http_client_adapter.rb +0 -82
  385. data/third_party/hurley_patches.rb +0 -103
@@ -22,960 +22,960 @@ module Google
22
22
  module Apis
23
23
  module SpannerV1
24
24
 
25
- class ListInstanceConfigsResponse
25
+ class ResultSetMetadata
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class BeginTransactionRequest
31
+ class TransactionSelector
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class CommitRequest
37
+ class KeySet
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 GetIamPolicyRequest
43
+ class Mutation
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class TestIamPermissionsResponse
49
+ class GetDatabaseDdlResponse
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class CreateDatabaseMetadata
55
+ class Database
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class Rule
61
+ class Instance
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class LogConfig
67
+ class SetIamPolicyRequest
68
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
69
 
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class Session
73
+ class ListDatabasesResponse
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class ListInstancesResponse
79
+ class RollbackRequest
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class KeyRange
85
+ class Transaction
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class ShortRepresentation
91
+ class UpdateDatabaseDdlMetadata
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class InstanceConfig
97
+ class CounterOptions
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class UpdateInstanceRequest
103
+ class StructType
104
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
105
 
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class Empty
109
+ class QueryPlan
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class TransactionOptions
115
+ class Field
116
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
117
 
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class CreateDatabaseRequest
121
+ class ResultSetStats
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class CreateInstanceRequest
127
+ class TestIamPermissionsRequest
128
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
129
 
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class Condition
133
+ class CommitResponse
134
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
- class AuditLogConfig
139
+ class Type
140
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
141
 
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class ReadOnly
145
+ class PlanNode
146
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
147
 
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
- class ExecuteSqlRequest
151
+ class CreateInstanceMetadata
152
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
153
 
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
- class Policy
157
+ class AuditConfig
158
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
159
 
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
- class ReadRequest
163
+ class ChildLink
164
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
165
 
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
- class Write
169
+ class CloudAuditOptions
170
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
171
 
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
- class ReadWrite
175
+ class Delete
176
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
177
 
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
- class DataAccessOptions
181
+ class CommitRequest
182
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
183
 
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
- class Operation
187
+ class BeginTransactionRequest
188
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
189
 
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
- class ResultSet
193
+ class ListInstanceConfigsResponse
194
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
195
 
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
- class Status
199
+ class GetIamPolicyRequest
200
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
201
 
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
- class Binding
205
+ class TestIamPermissionsResponse
206
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
207
 
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
- class UpdateDatabaseDdlRequest
211
+ class Rule
212
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
213
 
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
- class PartialResultSet
217
+ class CreateDatabaseMetadata
218
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
219
 
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
- class UpdateInstanceMetadata
223
+ class LogConfig
224
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
225
 
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
- class ListOperationsResponse
229
+ class Session
230
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
231
 
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
- class ResultSetMetadata
235
+ class KeyRange
236
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
237
 
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
- class TransactionSelector
241
+ class ListInstancesResponse
242
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
243
 
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
- class Mutation
247
+ class ShortRepresentation
248
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
249
 
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
- class KeySet
253
+ class InstanceConfig
254
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
255
 
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
- class GetDatabaseDdlResponse
259
+ class UpdateInstanceRequest
260
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
261
 
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
- class Database
265
+ class Empty
266
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
267
 
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
- class ListDatabasesResponse
271
+ class TransactionOptions
272
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
273
 
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
- class SetIamPolicyRequest
277
+ class CreateDatabaseRequest
278
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
279
 
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
- class Instance
283
+ class CreateInstanceRequest
284
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
285
 
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
- class RollbackRequest
289
+ class Condition
290
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
291
 
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
- class Transaction
295
+ class AuditLogConfig
296
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
297
 
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
- class UpdateDatabaseDdlMetadata
301
+ class ReadOnly
302
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
303
 
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
- class CounterOptions
307
+ class ExecuteSqlRequest
308
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
309
 
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
- class QueryPlan
313
+ class Policy
314
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
315
 
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
- class StructType
319
+ class ReadRequest
320
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
321
 
322
322
  include Google::Apis::Core::JsonObjectSupport
323
323
  end
324
324
 
325
- class Field
325
+ class Write
326
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
327
 
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
- class TestIamPermissionsRequest
331
+ class DataAccessOptions
332
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
333
 
334
334
  include Google::Apis::Core::JsonObjectSupport
335
335
  end
336
336
 
337
- class ResultSetStats
337
+ class ReadWrite
338
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
339
 
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
- class CommitResponse
343
+ class Operation
344
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
345
 
346
346
  include Google::Apis::Core::JsonObjectSupport
347
347
  end
348
348
 
349
- class Type
349
+ class Status
350
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
351
 
352
352
  include Google::Apis::Core::JsonObjectSupport
353
353
  end
354
354
 
355
- class PlanNode
355
+ class ResultSet
356
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
357
 
358
358
  include Google::Apis::Core::JsonObjectSupport
359
359
  end
360
360
 
361
- class AuditConfig
361
+ class UpdateDatabaseDdlRequest
362
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
363
 
364
364
  include Google::Apis::Core::JsonObjectSupport
365
365
  end
366
366
 
367
- class CreateInstanceMetadata
367
+ class Binding
368
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
369
 
370
370
  include Google::Apis::Core::JsonObjectSupport
371
371
  end
372
372
 
373
- class ChildLink
373
+ class PartialResultSet
374
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
375
 
376
376
  include Google::Apis::Core::JsonObjectSupport
377
377
  end
378
378
 
379
- class CloudAuditOptions
379
+ class UpdateInstanceMetadata
380
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
381
 
382
382
  include Google::Apis::Core::JsonObjectSupport
383
383
  end
384
384
 
385
- class Delete
385
+ class ListOperationsResponse
386
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
387
 
388
388
  include Google::Apis::Core::JsonObjectSupport
389
389
  end
390
390
 
391
- class ListInstanceConfigsResponse
391
+ class ResultSetMetadata
392
392
  # @private
393
393
  class Representation < Google::Apis::Core::JsonRepresentation
394
- property :next_page_token, as: 'nextPageToken'
395
- collection :instance_configs, as: 'instanceConfigs', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
394
+ property :row_type, as: 'rowType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
395
+
396
+ property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation
396
397
 
397
398
  end
398
399
  end
399
400
 
400
- class BeginTransactionRequest
401
+ class TransactionSelector
401
402
  # @private
402
403
  class Representation < Google::Apis::Core::JsonRepresentation
403
- property :options, as: 'options', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
404
+ property :single_use, as: 'singleUse', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
405
+
406
+ property :begin, as: 'begin', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
404
407
 
408
+ property :id, :base64 => true, as: 'id'
405
409
  end
406
410
  end
407
411
 
408
- class CommitRequest
412
+ class KeySet
409
413
  # @private
410
414
  class Representation < Google::Apis::Core::JsonRepresentation
411
- property :single_use_transaction, as: 'singleUseTransaction', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
415
+ collection :ranges, as: 'ranges', class: Google::Apis::SpannerV1::KeyRange, decorator: Google::Apis::SpannerV1::KeyRange::Representation
412
416
 
413
- collection :mutations, as: 'mutations', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
417
+ collection :keys, as: 'keys', :class => Array do
418
+ include Representable::JSON::Collection
419
+ items
420
+ end
414
421
 
415
- property :transaction_id, :base64 => true, as: 'transactionId'
422
+ property :all, as: 'all'
416
423
  end
417
424
  end
418
425
 
419
- class GetIamPolicyRequest
426
+ class Mutation
420
427
  # @private
421
428
  class Representation < Google::Apis::Core::JsonRepresentation
429
+ property :update, as: 'update', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
430
+
431
+ property :replace, as: 'replace', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
432
+
433
+ property :delete, as: 'delete', class: Google::Apis::SpannerV1::Delete, decorator: Google::Apis::SpannerV1::Delete::Representation
434
+
435
+ property :insert, as: 'insert', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
436
+
437
+ property :insert_or_update, as: 'insertOrUpdate', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
438
+
422
439
  end
423
440
  end
424
441
 
425
- class TestIamPermissionsResponse
442
+ class GetDatabaseDdlResponse
426
443
  # @private
427
444
  class Representation < Google::Apis::Core::JsonRepresentation
428
- collection :permissions, as: 'permissions'
445
+ collection :statements, as: 'statements'
429
446
  end
430
447
  end
431
448
 
432
- class CreateDatabaseMetadata
449
+ class Database
433
450
  # @private
434
451
  class Representation < Google::Apis::Core::JsonRepresentation
435
- property :database, as: 'database'
452
+ property :state, as: 'state'
453
+ property :name, as: 'name'
436
454
  end
437
455
  end
438
456
 
439
- class Rule
457
+ class Instance
440
458
  # @private
441
459
  class Representation < Google::Apis::Core::JsonRepresentation
442
- property :description, as: 'description'
443
- collection :conditions, as: 'conditions', class: Google::Apis::SpannerV1::Condition, decorator: Google::Apis::SpannerV1::Condition::Representation
444
-
445
- collection :log_config, as: 'logConfig', class: Google::Apis::SpannerV1::LogConfig, decorator: Google::Apis::SpannerV1::LogConfig::Representation
446
-
447
- collection :in, as: 'in'
448
- collection :permissions, as: 'permissions'
449
- property :action, as: 'action'
450
- collection :not_in, as: 'notIn'
460
+ property :config, as: 'config'
461
+ property :state, as: 'state'
462
+ property :name, as: 'name'
463
+ property :display_name, as: 'displayName'
464
+ property :node_count, as: 'nodeCount'
465
+ hash :labels, as: 'labels'
451
466
  end
452
467
  end
453
468
 
454
- class LogConfig
469
+ class SetIamPolicyRequest
455
470
  # @private
456
471
  class Representation < Google::Apis::Core::JsonRepresentation
457
- property :counter, as: 'counter', class: Google::Apis::SpannerV1::CounterOptions, decorator: Google::Apis::SpannerV1::CounterOptions::Representation
458
-
459
- property :data_access, as: 'dataAccess', class: Google::Apis::SpannerV1::DataAccessOptions, decorator: Google::Apis::SpannerV1::DataAccessOptions::Representation
460
-
461
- property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SpannerV1::CloudAuditOptions, decorator: Google::Apis::SpannerV1::CloudAuditOptions::Representation
472
+ property :policy, as: 'policy', class: Google::Apis::SpannerV1::Policy, decorator: Google::Apis::SpannerV1::Policy::Representation
462
473
 
474
+ property :update_mask, as: 'updateMask'
463
475
  end
464
476
  end
465
477
 
466
- class Session
478
+ class ListDatabasesResponse
467
479
  # @private
468
480
  class Representation < Google::Apis::Core::JsonRepresentation
469
- property :name, as: 'name'
481
+ property :next_page_token, as: 'nextPageToken'
482
+ collection :databases, as: 'databases', class: Google::Apis::SpannerV1::Database, decorator: Google::Apis::SpannerV1::Database::Representation
483
+
470
484
  end
471
485
  end
472
486
 
473
- class ListInstancesResponse
487
+ class RollbackRequest
474
488
  # @private
475
489
  class Representation < Google::Apis::Core::JsonRepresentation
476
- property :next_page_token, as: 'nextPageToken'
477
- collection :instances, as: 'instances', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
478
-
490
+ property :transaction_id, :base64 => true, as: 'transactionId'
479
491
  end
480
492
  end
481
493
 
482
- class KeyRange
494
+ class Transaction
483
495
  # @private
484
496
  class Representation < Google::Apis::Core::JsonRepresentation
485
- collection :end_closed, as: 'endClosed'
486
- collection :start_closed, as: 'startClosed'
487
- collection :start_open, as: 'startOpen'
488
- collection :end_open, as: 'endOpen'
497
+ property :read_timestamp, as: 'readTimestamp'
498
+ property :id, :base64 => true, as: 'id'
489
499
  end
490
500
  end
491
501
 
492
- class ShortRepresentation
502
+ class UpdateDatabaseDdlMetadata
493
503
  # @private
494
504
  class Representation < Google::Apis::Core::JsonRepresentation
495
- property :description, as: 'description'
496
- hash :subqueries, as: 'subqueries'
505
+ collection :statements, as: 'statements'
506
+ collection :commit_timestamps, as: 'commitTimestamps'
507
+ property :database, as: 'database'
497
508
  end
498
509
  end
499
510
 
500
- class InstanceConfig
511
+ class CounterOptions
501
512
  # @private
502
513
  class Representation < Google::Apis::Core::JsonRepresentation
503
- property :name, as: 'name'
504
- property :display_name, as: 'displayName'
514
+ property :metric, as: 'metric'
515
+ property :field, as: 'field'
505
516
  end
506
517
  end
507
518
 
508
- class UpdateInstanceRequest
519
+ class StructType
509
520
  # @private
510
521
  class Representation < Google::Apis::Core::JsonRepresentation
511
- property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
522
+ collection :fields, as: 'fields', class: Google::Apis::SpannerV1::Field, decorator: Google::Apis::SpannerV1::Field::Representation
512
523
 
513
- property :field_mask, as: 'fieldMask'
514
524
  end
515
525
  end
516
526
 
517
- class Empty
527
+ class QueryPlan
518
528
  # @private
519
529
  class Representation < Google::Apis::Core::JsonRepresentation
530
+ collection :plan_nodes, as: 'planNodes', class: Google::Apis::SpannerV1::PlanNode, decorator: Google::Apis::SpannerV1::PlanNode::Representation
531
+
520
532
  end
521
533
  end
522
534
 
523
- class TransactionOptions
535
+ class Field
524
536
  # @private
525
537
  class Representation < Google::Apis::Core::JsonRepresentation
526
- property :read_write, as: 'readWrite', class: Google::Apis::SpannerV1::ReadWrite, decorator: Google::Apis::SpannerV1::ReadWrite::Representation
527
-
528
- property :read_only, as: 'readOnly', class: Google::Apis::SpannerV1::ReadOnly, decorator: Google::Apis::SpannerV1::ReadOnly::Representation
538
+ property :name, as: 'name'
539
+ property :type, as: 'type', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
529
540
 
530
541
  end
531
542
  end
532
543
 
533
- class CreateDatabaseRequest
544
+ class ResultSetStats
534
545
  # @private
535
546
  class Representation < Google::Apis::Core::JsonRepresentation
536
- collection :extra_statements, as: 'extraStatements'
537
- property :create_statement, as: 'createStatement'
547
+ property :query_plan, as: 'queryPlan', class: Google::Apis::SpannerV1::QueryPlan, decorator: Google::Apis::SpannerV1::QueryPlan::Representation
548
+
549
+ hash :query_stats, as: 'queryStats'
538
550
  end
539
551
  end
540
552
 
541
- class CreateInstanceRequest
553
+ class TestIamPermissionsRequest
542
554
  # @private
543
555
  class Representation < Google::Apis::Core::JsonRepresentation
544
- property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
545
-
546
- property :instance_id, as: 'instanceId'
556
+ collection :permissions, as: 'permissions'
547
557
  end
548
558
  end
549
559
 
550
- class Condition
560
+ class CommitResponse
551
561
  # @private
552
562
  class Representation < Google::Apis::Core::JsonRepresentation
553
- property :svc, as: 'svc'
554
- property :value, as: 'value'
555
- property :sys, as: 'sys'
556
- collection :values, as: 'values'
557
- property :iam, as: 'iam'
558
- property :op, as: 'op'
563
+ property :commit_timestamp, as: 'commitTimestamp'
559
564
  end
560
565
  end
561
566
 
562
- class AuditLogConfig
567
+ class Type
563
568
  # @private
564
569
  class Representation < Google::Apis::Core::JsonRepresentation
565
- collection :exempted_members, as: 'exemptedMembers'
566
- property :log_type, as: 'logType'
567
- end
568
- end
570
+ property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
569
571
 
570
- class ReadOnly
571
- # @private
572
- class Representation < Google::Apis::Core::JsonRepresentation
573
- property :min_read_timestamp, as: 'minReadTimestamp'
574
- property :max_staleness, as: 'maxStaleness'
575
- property :read_timestamp, as: 'readTimestamp'
576
- property :return_read_timestamp, as: 'returnReadTimestamp'
577
- property :exact_staleness, as: 'exactStaleness'
578
- property :strong, as: 'strong'
572
+ property :array_element_type, as: 'arrayElementType', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
573
+
574
+ property :code, as: 'code'
579
575
  end
580
576
  end
581
577
 
582
- class ExecuteSqlRequest
578
+ class PlanNode
583
579
  # @private
584
580
  class Representation < Google::Apis::Core::JsonRepresentation
585
- property :query_mode, as: 'queryMode'
586
- property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
581
+ hash :metadata, as: 'metadata'
582
+ hash :execution_stats, as: 'executionStats'
583
+ property :short_representation, as: 'shortRepresentation', class: Google::Apis::SpannerV1::ShortRepresentation, decorator: Google::Apis::SpannerV1::ShortRepresentation::Representation
587
584
 
588
- property :resume_token, :base64 => true, as: 'resumeToken'
589
- hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
585
+ property :index, as: 'index'
586
+ property :display_name, as: 'displayName'
587
+ property :kind, as: 'kind'
588
+ collection :child_links, as: 'childLinks', class: Google::Apis::SpannerV1::ChildLink, decorator: Google::Apis::SpannerV1::ChildLink::Representation
590
589
 
591
- property :sql, as: 'sql'
592
- hash :params, as: 'params'
593
590
  end
594
591
  end
595
592
 
596
- class Policy
593
+ class CreateInstanceMetadata
597
594
  # @private
598
595
  class Representation < Google::Apis::Core::JsonRepresentation
599
- property :version, as: 'version'
600
- collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SpannerV1::AuditConfig, decorator: Google::Apis::SpannerV1::AuditConfig::Representation
601
-
602
- collection :bindings, as: 'bindings', class: Google::Apis::SpannerV1::Binding, decorator: Google::Apis::SpannerV1::Binding::Representation
603
-
604
- property :etag, :base64 => true, as: 'etag'
605
- property :iam_owned, as: 'iamOwned'
606
- collection :rules, as: 'rules', class: Google::Apis::SpannerV1::Rule, decorator: Google::Apis::SpannerV1::Rule::Representation
596
+ property :cancel_time, as: 'cancelTime'
597
+ property :end_time, as: 'endTime'
598
+ property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
607
599
 
600
+ property :start_time, as: 'startTime'
608
601
  end
609
602
  end
610
603
 
611
- class ReadRequest
604
+ class AuditConfig
612
605
  # @private
613
606
  class Representation < Google::Apis::Core::JsonRepresentation
614
- property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
615
-
616
- property :resume_token, :base64 => true, as: 'resumeToken'
617
- property :table, as: 'table'
618
- property :limit, as: 'limit'
619
- property :index, as: 'index'
620
- property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
607
+ collection :exempted_members, as: 'exemptedMembers'
608
+ property :service, as: 'service'
609
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SpannerV1::AuditLogConfig, decorator: Google::Apis::SpannerV1::AuditLogConfig::Representation
621
610
 
622
- collection :columns, as: 'columns'
623
611
  end
624
612
  end
625
613
 
626
- class Write
614
+ class ChildLink
627
615
  # @private
628
616
  class Representation < Google::Apis::Core::JsonRepresentation
629
- property :table, as: 'table'
630
- collection :columns, as: 'columns'
631
- collection :values, as: 'values', :class => Array do
632
- include Representable::JSON::Collection
633
- items
634
- end
635
-
617
+ property :type, as: 'type'
618
+ property :child_index, as: 'childIndex'
619
+ property :variable, as: 'variable'
636
620
  end
637
621
  end
638
622
 
639
- class ReadWrite
623
+ class CloudAuditOptions
640
624
  # @private
641
625
  class Representation < Google::Apis::Core::JsonRepresentation
642
626
  end
643
627
  end
644
628
 
645
- class DataAccessOptions
629
+ class Delete
646
630
  # @private
647
631
  class Representation < Google::Apis::Core::JsonRepresentation
632
+ property :table, as: 'table'
633
+ property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
634
+
648
635
  end
649
636
  end
650
637
 
651
- class Operation
638
+ class CommitRequest
652
639
  # @private
653
640
  class Representation < Google::Apis::Core::JsonRepresentation
654
- hash :response, as: 'response'
655
- property :name, as: 'name'
656
- property :error, as: 'error', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
641
+ property :single_use_transaction, as: 'singleUseTransaction', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
657
642
 
658
- hash :metadata, as: 'metadata'
659
- property :done, as: 'done'
643
+ collection :mutations, as: 'mutations', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
644
+
645
+ property :transaction_id, :base64 => true, as: 'transactionId'
660
646
  end
661
647
  end
662
648
 
663
- class ResultSet
649
+ class BeginTransactionRequest
664
650
  # @private
665
651
  class Representation < Google::Apis::Core::JsonRepresentation
666
- collection :rows, as: 'rows', :class => Array do
667
- include Representable::JSON::Collection
668
- items
669
- end
670
-
671
- property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
672
-
673
- property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
652
+ property :options, as: 'options', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
674
653
 
675
654
  end
676
655
  end
677
656
 
678
- class Status
657
+ class ListInstanceConfigsResponse
679
658
  # @private
680
659
  class Representation < Google::Apis::Core::JsonRepresentation
681
- collection :details, as: 'details'
682
- property :code, as: 'code'
683
- property :message, as: 'message'
660
+ property :next_page_token, as: 'nextPageToken'
661
+ collection :instance_configs, as: 'instanceConfigs', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
662
+
684
663
  end
685
664
  end
686
665
 
687
- class Binding
666
+ class GetIamPolicyRequest
688
667
  # @private
689
668
  class Representation < Google::Apis::Core::JsonRepresentation
690
- collection :members, as: 'members'
691
- property :role, as: 'role'
692
669
  end
693
670
  end
694
671
 
695
- class UpdateDatabaseDdlRequest
672
+ class TestIamPermissionsResponse
696
673
  # @private
697
674
  class Representation < Google::Apis::Core::JsonRepresentation
698
- collection :statements, as: 'statements'
699
- property :operation_id, as: 'operationId'
675
+ collection :permissions, as: 'permissions'
700
676
  end
701
677
  end
702
678
 
703
- class PartialResultSet
679
+ class Rule
704
680
  # @private
705
681
  class Representation < Google::Apis::Core::JsonRepresentation
706
- property :resume_token, :base64 => true, as: 'resumeToken'
707
- property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
682
+ collection :log_config, as: 'logConfig', class: Google::Apis::SpannerV1::LogConfig, decorator: Google::Apis::SpannerV1::LogConfig::Representation
708
683
 
709
- property :chunked_value, as: 'chunkedValue'
710
- property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
684
+ collection :in, as: 'in'
685
+ collection :permissions, as: 'permissions'
686
+ property :action, as: 'action'
687
+ collection :not_in, as: 'notIn'
688
+ property :description, as: 'description'
689
+ collection :conditions, as: 'conditions', class: Google::Apis::SpannerV1::Condition, decorator: Google::Apis::SpannerV1::Condition::Representation
711
690
 
712
- collection :values, as: 'values'
713
691
  end
714
692
  end
715
693
 
716
- class UpdateInstanceMetadata
694
+ class CreateDatabaseMetadata
717
695
  # @private
718
696
  class Representation < Google::Apis::Core::JsonRepresentation
719
- property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
720
-
721
- property :start_time, as: 'startTime'
722
- property :cancel_time, as: 'cancelTime'
723
- property :end_time, as: 'endTime'
697
+ property :database, as: 'database'
724
698
  end
725
699
  end
726
700
 
727
- class ListOperationsResponse
701
+ class LogConfig
728
702
  # @private
729
703
  class Representation < Google::Apis::Core::JsonRepresentation
730
- property :next_page_token, as: 'nextPageToken'
731
- collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
704
+ property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SpannerV1::CloudAuditOptions, decorator: Google::Apis::SpannerV1::CloudAuditOptions::Representation
705
+
706
+ property :counter, as: 'counter', class: Google::Apis::SpannerV1::CounterOptions, decorator: Google::Apis::SpannerV1::CounterOptions::Representation
707
+
708
+ property :data_access, as: 'dataAccess', class: Google::Apis::SpannerV1::DataAccessOptions, decorator: Google::Apis::SpannerV1::DataAccessOptions::Representation
732
709
 
733
710
  end
734
711
  end
735
712
 
736
- class ResultSetMetadata
713
+ class Session
737
714
  # @private
738
715
  class Representation < Google::Apis::Core::JsonRepresentation
739
- property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation
740
-
741
- property :row_type, as: 'rowType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
742
-
716
+ property :name, as: 'name'
743
717
  end
744
718
  end
745
719
 
746
- class TransactionSelector
720
+ class KeyRange
747
721
  # @private
748
722
  class Representation < Google::Apis::Core::JsonRepresentation
749
- property :id, :base64 => true, as: 'id'
750
- property :single_use, as: 'singleUse', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
751
-
752
- property :begin, as: 'begin', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
753
-
723
+ collection :start_closed, as: 'startClosed'
724
+ collection :start_open, as: 'startOpen'
725
+ collection :end_open, as: 'endOpen'
726
+ collection :end_closed, as: 'endClosed'
754
727
  end
755
728
  end
756
729
 
757
- class Mutation
730
+ class ListInstancesResponse
758
731
  # @private
759
732
  class Representation < Google::Apis::Core::JsonRepresentation
760
- property :delete, as: 'delete', class: Google::Apis::SpannerV1::Delete, decorator: Google::Apis::SpannerV1::Delete::Representation
761
-
762
- property :insert, as: 'insert', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
763
-
764
- property :insert_or_update, as: 'insertOrUpdate', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
765
-
766
- property :update, as: 'update', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
767
-
768
- property :replace, as: 'replace', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
733
+ property :next_page_token, as: 'nextPageToken'
734
+ collection :instances, as: 'instances', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
769
735
 
770
736
  end
771
737
  end
772
738
 
773
- class KeySet
739
+ class ShortRepresentation
774
740
  # @private
775
741
  class Representation < Google::Apis::Core::JsonRepresentation
776
- collection :ranges, as: 'ranges', class: Google::Apis::SpannerV1::KeyRange, decorator: Google::Apis::SpannerV1::KeyRange::Representation
777
-
778
- collection :keys, as: 'keys', :class => Array do
779
- include Representable::JSON::Collection
780
- items
781
- end
782
-
783
- property :all, as: 'all'
742
+ property :description, as: 'description'
743
+ hash :subqueries, as: 'subqueries'
784
744
  end
785
745
  end
786
746
 
787
- class GetDatabaseDdlResponse
747
+ class InstanceConfig
788
748
  # @private
789
749
  class Representation < Google::Apis::Core::JsonRepresentation
790
- collection :statements, as: 'statements'
750
+ property :name, as: 'name'
751
+ property :display_name, as: 'displayName'
791
752
  end
792
753
  end
793
754
 
794
- class Database
755
+ class UpdateInstanceRequest
795
756
  # @private
796
757
  class Representation < Google::Apis::Core::JsonRepresentation
797
- property :state, as: 'state'
798
- property :name, as: 'name'
758
+ property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
759
+
760
+ property :field_mask, as: 'fieldMask'
799
761
  end
800
762
  end
801
763
 
802
- class ListDatabasesResponse
764
+ class Empty
803
765
  # @private
804
766
  class Representation < Google::Apis::Core::JsonRepresentation
805
- property :next_page_token, as: 'nextPageToken'
806
- collection :databases, as: 'databases', class: Google::Apis::SpannerV1::Database, decorator: Google::Apis::SpannerV1::Database::Representation
807
-
808
767
  end
809
768
  end
810
769
 
811
- class SetIamPolicyRequest
770
+ class TransactionOptions
812
771
  # @private
813
772
  class Representation < Google::Apis::Core::JsonRepresentation
814
- property :policy, as: 'policy', class: Google::Apis::SpannerV1::Policy, decorator: Google::Apis::SpannerV1::Policy::Representation
773
+ property :read_write, as: 'readWrite', class: Google::Apis::SpannerV1::ReadWrite, decorator: Google::Apis::SpannerV1::ReadWrite::Representation
774
+
775
+ property :read_only, as: 'readOnly', class: Google::Apis::SpannerV1::ReadOnly, decorator: Google::Apis::SpannerV1::ReadOnly::Representation
815
776
 
816
- property :update_mask, as: 'updateMask'
817
777
  end
818
778
  end
819
779
 
820
- class Instance
780
+ class CreateDatabaseRequest
821
781
  # @private
822
782
  class Representation < Google::Apis::Core::JsonRepresentation
823
- property :node_count, as: 'nodeCount'
824
- hash :labels, as: 'labels'
825
- property :config, as: 'config'
826
- property :state, as: 'state'
827
- property :name, as: 'name'
828
- property :display_name, as: 'displayName'
783
+ property :create_statement, as: 'createStatement'
784
+ collection :extra_statements, as: 'extraStatements'
829
785
  end
830
786
  end
831
787
 
832
- class RollbackRequest
788
+ class CreateInstanceRequest
833
789
  # @private
834
790
  class Representation < Google::Apis::Core::JsonRepresentation
835
- property :transaction_id, :base64 => true, as: 'transactionId'
791
+ property :instance_id, as: 'instanceId'
792
+ property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
793
+
836
794
  end
837
795
  end
838
796
 
839
- class Transaction
797
+ class Condition
840
798
  # @private
841
799
  class Representation < Google::Apis::Core::JsonRepresentation
842
- property :read_timestamp, as: 'readTimestamp'
843
- property :id, :base64 => true, as: 'id'
800
+ collection :values, as: 'values'
801
+ property :iam, as: 'iam'
802
+ property :op, as: 'op'
803
+ property :svc, as: 'svc'
804
+ property :sys, as: 'sys'
805
+ property :value, as: 'value'
844
806
  end
845
807
  end
846
808
 
847
- class UpdateDatabaseDdlMetadata
809
+ class AuditLogConfig
848
810
  # @private
849
811
  class Representation < Google::Apis::Core::JsonRepresentation
850
- property :database, as: 'database'
851
- collection :statements, as: 'statements'
852
- collection :commit_timestamps, as: 'commitTimestamps'
812
+ collection :exempted_members, as: 'exemptedMembers'
813
+ property :log_type, as: 'logType'
853
814
  end
854
815
  end
855
816
 
856
- class CounterOptions
817
+ class ReadOnly
857
818
  # @private
858
819
  class Representation < Google::Apis::Core::JsonRepresentation
859
- property :metric, as: 'metric'
860
- property :field, as: 'field'
820
+ property :max_staleness, as: 'maxStaleness'
821
+ property :read_timestamp, as: 'readTimestamp'
822
+ property :return_read_timestamp, as: 'returnReadTimestamp'
823
+ property :exact_staleness, as: 'exactStaleness'
824
+ property :strong, as: 'strong'
825
+ property :min_read_timestamp, as: 'minReadTimestamp'
861
826
  end
862
827
  end
863
828
 
864
- class QueryPlan
829
+ class ExecuteSqlRequest
865
830
  # @private
866
831
  class Representation < Google::Apis::Core::JsonRepresentation
867
- collection :plan_nodes, as: 'planNodes', class: Google::Apis::SpannerV1::PlanNode, decorator: Google::Apis::SpannerV1::PlanNode::Representation
832
+ property :query_mode, as: 'queryMode'
833
+ property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
834
+
835
+ property :resume_token, :base64 => true, as: 'resumeToken'
836
+ hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
868
837
 
838
+ property :sql, as: 'sql'
839
+ hash :params, as: 'params'
869
840
  end
870
841
  end
871
842
 
872
- class StructType
843
+ class Policy
873
844
  # @private
874
845
  class Representation < Google::Apis::Core::JsonRepresentation
875
- collection :fields, as: 'fields', class: Google::Apis::SpannerV1::Field, decorator: Google::Apis::SpannerV1::Field::Representation
846
+ property :iam_owned, as: 'iamOwned'
847
+ collection :rules, as: 'rules', class: Google::Apis::SpannerV1::Rule, decorator: Google::Apis::SpannerV1::Rule::Representation
848
+
849
+ property :version, as: 'version'
850
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SpannerV1::AuditConfig, decorator: Google::Apis::SpannerV1::AuditConfig::Representation
851
+
852
+ collection :bindings, as: 'bindings', class: Google::Apis::SpannerV1::Binding, decorator: Google::Apis::SpannerV1::Binding::Representation
876
853
 
854
+ property :etag, :base64 => true, as: 'etag'
877
855
  end
878
856
  end
879
857
 
880
- class Field
858
+ class ReadRequest
881
859
  # @private
882
860
  class Representation < Google::Apis::Core::JsonRepresentation
883
- property :name, as: 'name'
884
- property :type, as: 'type', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
861
+ property :index, as: 'index'
862
+ property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
863
+
864
+ collection :columns, as: 'columns'
865
+ property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
885
866
 
867
+ property :resume_token, :base64 => true, as: 'resumeToken'
868
+ property :table, as: 'table'
869
+ property :limit, :numeric_string => true, as: 'limit'
886
870
  end
887
871
  end
888
872
 
889
- class TestIamPermissionsRequest
873
+ class Write
890
874
  # @private
891
875
  class Representation < Google::Apis::Core::JsonRepresentation
892
- collection :permissions, as: 'permissions'
876
+ collection :columns, as: 'columns'
877
+ collection :values, as: 'values', :class => Array do
878
+ include Representable::JSON::Collection
879
+ items
880
+ end
881
+
882
+ property :table, as: 'table'
893
883
  end
894
884
  end
895
885
 
896
- class ResultSetStats
886
+ class DataAccessOptions
897
887
  # @private
898
888
  class Representation < Google::Apis::Core::JsonRepresentation
899
- property :query_plan, as: 'queryPlan', class: Google::Apis::SpannerV1::QueryPlan, decorator: Google::Apis::SpannerV1::QueryPlan::Representation
900
-
901
- hash :query_stats, as: 'queryStats'
902
889
  end
903
890
  end
904
891
 
905
- class CommitResponse
892
+ class ReadWrite
906
893
  # @private
907
894
  class Representation < Google::Apis::Core::JsonRepresentation
908
- property :commit_timestamp, as: 'commitTimestamp'
909
895
  end
910
896
  end
911
897
 
912
- class Type
898
+ class Operation
913
899
  # @private
914
900
  class Representation < Google::Apis::Core::JsonRepresentation
915
- property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
901
+ hash :response, as: 'response'
902
+ property :name, as: 'name'
903
+ property :error, as: 'error', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
916
904
 
917
- property :array_element_type, as: 'arrayElementType', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
905
+ hash :metadata, as: 'metadata'
906
+ property :done, as: 'done'
907
+ end
908
+ end
918
909
 
910
+ class Status
911
+ # @private
912
+ class Representation < Google::Apis::Core::JsonRepresentation
913
+ property :message, as: 'message'
914
+ collection :details, as: 'details'
919
915
  property :code, as: 'code'
920
916
  end
921
917
  end
922
918
 
923
- class PlanNode
919
+ class ResultSet
924
920
  # @private
925
921
  class Representation < Google::Apis::Core::JsonRepresentation
926
- hash :metadata, as: 'metadata'
927
- hash :execution_stats, as: 'executionStats'
928
- property :short_representation, as: 'shortRepresentation', class: Google::Apis::SpannerV1::ShortRepresentation, decorator: Google::Apis::SpannerV1::ShortRepresentation::Representation
922
+ property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
929
923
 
930
- property :index, as: 'index'
931
- property :display_name, as: 'displayName'
932
- property :kind, as: 'kind'
933
- collection :child_links, as: 'childLinks', class: Google::Apis::SpannerV1::ChildLink, decorator: Google::Apis::SpannerV1::ChildLink::Representation
924
+ collection :rows, as: 'rows', :class => Array do
925
+ include Representable::JSON::Collection
926
+ items
927
+ end
928
+
929
+ property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
934
930
 
935
931
  end
936
932
  end
937
933
 
938
- class AuditConfig
934
+ class UpdateDatabaseDdlRequest
939
935
  # @private
940
936
  class Representation < Google::Apis::Core::JsonRepresentation
941
- collection :exempted_members, as: 'exemptedMembers'
942
- property :service, as: 'service'
943
- collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SpannerV1::AuditLogConfig, decorator: Google::Apis::SpannerV1::AuditLogConfig::Representation
944
-
937
+ collection :statements, as: 'statements'
938
+ property :operation_id, as: 'operationId'
945
939
  end
946
940
  end
947
941
 
948
- class CreateInstanceMetadata
942
+ class Binding
949
943
  # @private
950
944
  class Representation < Google::Apis::Core::JsonRepresentation
951
- property :cancel_time, as: 'cancelTime'
952
- property :end_time, as: 'endTime'
953
- property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
954
-
955
- property :start_time, as: 'startTime'
945
+ collection :members, as: 'members'
946
+ property :role, as: 'role'
956
947
  end
957
948
  end
958
949
 
959
- class ChildLink
950
+ class PartialResultSet
960
951
  # @private
961
952
  class Representation < Google::Apis::Core::JsonRepresentation
962
- property :child_index, as: 'childIndex'
963
- property :variable, as: 'variable'
964
- property :type, as: 'type'
953
+ property :chunked_value, as: 'chunkedValue'
954
+ property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
955
+
956
+ collection :values, as: 'values'
957
+ property :resume_token, :base64 => true, as: 'resumeToken'
958
+ property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
959
+
965
960
  end
966
961
  end
967
962
 
968
- class CloudAuditOptions
963
+ class UpdateInstanceMetadata
969
964
  # @private
970
965
  class Representation < Google::Apis::Core::JsonRepresentation
966
+ property :cancel_time, as: 'cancelTime'
967
+ property :end_time, as: 'endTime'
968
+ property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
969
+
970
+ property :start_time, as: 'startTime'
971
971
  end
972
972
  end
973
973
 
974
- class Delete
974
+ class ListOperationsResponse
975
975
  # @private
976
976
  class Representation < Google::Apis::Core::JsonRepresentation
977
- property :table, as: 'table'
978
- property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
977
+ property :next_page_token, as: 'nextPageToken'
978
+ collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
979
979
 
980
980
  end
981
981
  end