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
@@ -30,14 +30,14 @@ module Google
30
30
  VERSION = 'V1'
31
31
  REVISION = '20170320'
32
32
 
33
- # Read Trace data for a project or application
34
- AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly'
35
-
36
33
  # Write Trace data for a project or application
37
34
  AUTH_TRACE_APPEND = 'https://www.googleapis.com/auth/trace.append'
38
35
 
39
36
  # View and manage your data across Google Cloud Platform services
40
37
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
38
+
39
+ # Read Trace data for a project or application
40
+ AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly'
41
41
  end
42
42
  end
43
43
  end
@@ -22,25 +22,6 @@ module Google
22
22
  module Apis
23
23
  module CloudtraceV1
24
24
 
25
- # List of new or updated traces.
26
- class Traces
27
- include Google::Apis::Core::Hashable
28
-
29
- # List of traces.
30
- # Corresponds to the JSON property `traces`
31
- # @return [Array<Google::Apis::CloudtraceV1::Trace>]
32
- attr_accessor :traces
33
-
34
- def initialize(**args)
35
- update!(**args)
36
- end
37
-
38
- # Update properties of this object
39
- def update!(**args)
40
- @traces = args[:traces] if args.key?(:traces)
41
- end
42
- end
43
-
44
25
  # A span represents a single timed event within a trace. Spans can be nested
45
26
  # and form a trace tree. Often, a trace contains a root span that describes the
46
27
  # end-to-end latency of an operation and, optionally, one or more subspans for
@@ -49,6 +30,22 @@ module Google
49
30
  class TraceSpan
50
31
  include Google::Apis::Core::Hashable
51
32
 
33
+ # Identifier for the span. Must be a 64-bit integer other than 0 and
34
+ # unique within a trace.
35
+ # Corresponds to the JSON property `spanId`
36
+ # @return [Fixnum]
37
+ attr_accessor :span_id
38
+
39
+ # ID of the parent span, if any. Optional.
40
+ # Corresponds to the JSON property `parentSpanId`
41
+ # @return [Fixnum]
42
+ attr_accessor :parent_span_id
43
+
44
+ # End time of the span in nanoseconds from the UNIX epoch.
45
+ # Corresponds to the JSON property `endTime`
46
+ # @return [String]
47
+ attr_accessor :end_time
48
+
52
49
  # Start time of the span in nanoseconds from the UNIX epoch.
53
50
  # Corresponds to the JSON property `startTime`
54
51
  # @return [String]
@@ -78,35 +75,19 @@ module Google
78
75
  # @return [String]
79
76
  attr_accessor :name
80
77
 
81
- # Identifier for the span. Must be a 64-bit integer other than 0 and
82
- # unique within a trace.
83
- # Corresponds to the JSON property `spanId`
84
- # @return [String]
85
- attr_accessor :span_id
86
-
87
- # ID of the parent span, if any. Optional.
88
- # Corresponds to the JSON property `parentSpanId`
89
- # @return [String]
90
- attr_accessor :parent_span_id
91
-
92
- # End time of the span in nanoseconds from the UNIX epoch.
93
- # Corresponds to the JSON property `endTime`
94
- # @return [String]
95
- attr_accessor :end_time
96
-
97
78
  def initialize(**args)
98
79
  update!(**args)
99
80
  end
100
81
 
101
82
  # Update properties of this object
102
83
  def update!(**args)
84
+ @span_id = args[:span_id] if args.key?(:span_id)
85
+ @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
86
+ @end_time = args[:end_time] if args.key?(:end_time)
103
87
  @start_time = args[:start_time] if args.key?(:start_time)
104
88
  @kind = args[:kind] if args.key?(:kind)
105
89
  @labels = args[:labels] if args.key?(:labels)
106
90
  @name = args[:name] if args.key?(:name)
107
- @span_id = args[:span_id] if args.key?(:span_id)
108
- @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
109
- @end_time = args[:end_time] if args.key?(:end_time)
110
91
  end
111
92
  end
112
93
 
@@ -189,6 +170,25 @@ module Google
189
170
  @trace_id = args[:trace_id] if args.key?(:trace_id)
190
171
  end
191
172
  end
173
+
174
+ # List of new or updated traces.
175
+ class Traces
176
+ include Google::Apis::Core::Hashable
177
+
178
+ # List of traces.
179
+ # Corresponds to the JSON property `traces`
180
+ # @return [Array<Google::Apis::CloudtraceV1::Trace>]
181
+ attr_accessor :traces
182
+
183
+ def initialize(**args)
184
+ update!(**args)
185
+ end
186
+
187
+ # Update properties of this object
188
+ def update!(**args)
189
+ @traces = args[:traces] if args.key?(:traces)
190
+ end
191
+ end
192
192
  end
193
193
  end
194
194
  end
@@ -22,12 +22,6 @@ module Google
22
22
  module Apis
23
23
  module CloudtraceV1
24
24
 
25
- class Traces
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
25
  class TraceSpan
32
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
27
 
@@ -53,23 +47,21 @@ module Google
53
47
  end
54
48
 
55
49
  class Traces
56
- # @private
57
- class Representation < Google::Apis::Core::JsonRepresentation
58
- collection :traces, as: 'traces', class: Google::Apis::CloudtraceV1::Trace, decorator: Google::Apis::CloudtraceV1::Trace::Representation
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
59
51
 
60
- end
52
+ include Google::Apis::Core::JsonObjectSupport
61
53
  end
62
54
 
63
55
  class TraceSpan
64
56
  # @private
65
57
  class Representation < Google::Apis::Core::JsonRepresentation
58
+ property :span_id, :numeric_string => true, as: 'spanId'
59
+ property :parent_span_id, :numeric_string => true, as: 'parentSpanId'
60
+ property :end_time, as: 'endTime'
66
61
  property :start_time, as: 'startTime'
67
62
  property :kind, as: 'kind'
68
63
  hash :labels, as: 'labels'
69
64
  property :name, as: 'name'
70
- property :span_id, as: 'spanId'
71
- property :parent_span_id, as: 'parentSpanId'
72
- property :end_time, as: 'endTime'
73
65
  end
74
66
  end
75
67
 
@@ -97,6 +89,14 @@ module Google
97
89
  property :trace_id, as: 'traceId'
98
90
  end
99
91
  end
92
+
93
+ class Traces
94
+ # @private
95
+ class Representation < Google::Apis::Core::JsonRepresentation
96
+ collection :traces, as: 'traces', class: Google::Apis::CloudtraceV1::Trace, decorator: Google::Apis::CloudtraceV1::Trace::Representation
97
+
98
+ end
99
+ end
100
100
  end
101
101
  end
102
102
  end
@@ -47,6 +47,7 @@ module Google
47
47
 
48
48
  def initialize
49
49
  super('https://cloudtrace.googleapis.com/', '')
50
+ @batch_path = 'batch'
50
51
  end
51
52
 
52
53
  # Sends new traces to Stackdriver Trace or updates existing traces. If the ID
@@ -89,17 +90,6 @@ module Google
89
90
  # Returns of a list of traces that match the specified filter conditions.
90
91
  # @param [String] project_id
91
92
  # ID of the Cloud project where the trace data is stored.
92
- # @param [String] order_by
93
- # Field used to sort the returned traces. Optional.
94
- # Can be one of the following:
95
- # * `trace_id`
96
- # * `name` (`name` field of root span in the trace)
97
- # * `duration` (difference between `end_time` and `start_time` fields of
98
- # the root span)
99
- # * `start` (`start_time` field of the root span)
100
- # Descending order can be specified by appending `desc` to the sort field
101
- # (for example, `name desc`).
102
- # Only one sort field is permitted.
103
93
  # @param [String] filter
104
94
  # An optional filter for the request.
105
95
  # @param [String] end_time
@@ -118,6 +108,17 @@ module Google
118
108
  # @param [String] view
119
109
  # Type of data returned for traces in the list. Optional. Default is
120
110
  # `MINIMAL`.
111
+ # @param [String] order_by
112
+ # Field used to sort the returned traces. Optional.
113
+ # Can be one of the following:
114
+ # * `trace_id`
115
+ # * `name` (`name` field of root span in the trace)
116
+ # * `duration` (difference between `end_time` and `start_time` fields of
117
+ # the root span)
118
+ # * `start` (`start_time` field of the root span)
119
+ # Descending order can be specified by appending `desc` to the sort field
120
+ # (for example, `name desc`).
121
+ # Only one sort field is permitted.
121
122
  # @param [String] quota_user
122
123
  # Available to use for quota purposes for server-side applications. Can be any
123
124
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -135,18 +136,18 @@ module Google
135
136
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
136
137
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
137
138
  # @raise [Google::Apis::AuthorizationError] Authorization is required
138
- def list_project_traces(project_id, order_by: nil, filter: nil, end_time: nil, page_token: nil, start_time: nil, page_size: nil, view: nil, quota_user: nil, fields: nil, options: nil, &block)
139
+ def list_project_traces(project_id, filter: nil, end_time: nil, page_token: nil, start_time: nil, page_size: nil, view: nil, order_by: nil, quota_user: nil, fields: nil, options: nil, &block)
139
140
  command = make_simple_command(:get, 'v1/projects/{projectId}/traces', options)
140
141
  command.response_representation = Google::Apis::CloudtraceV1::ListTracesResponse::Representation
141
142
  command.response_class = Google::Apis::CloudtraceV1::ListTracesResponse
142
143
  command.params['projectId'] = project_id unless project_id.nil?
143
- command.query['orderBy'] = order_by unless order_by.nil?
144
144
  command.query['filter'] = filter unless filter.nil?
145
145
  command.query['endTime'] = end_time unless end_time.nil?
146
146
  command.query['pageToken'] = page_token unless page_token.nil?
147
147
  command.query['startTime'] = start_time unless start_time.nil?
148
148
  command.query['pageSize'] = page_size unless page_size.nil?
149
149
  command.query['view'] = view unless view.nil?
150
+ command.query['orderBy'] = order_by unless order_by.nil?
150
151
  command.query['quotaUser'] = quota_user unless quota_user.nil?
151
152
  command.query['fields'] = fields unless fields.nil?
152
153
  execute_or_queue_command(command, &block)
@@ -66,7 +66,7 @@ module Google
66
66
 
67
67
  # [Output Only] Unique identifier for the resource; defined by the server.
68
68
  # Corresponds to the JSON property `id`
69
- # @return [String]
69
+ # @return [Fixnum]
70
70
  attr_accessor :id
71
71
 
72
72
  # [Output Only] Type of the resource. Always clouduseraccounts#group for groups.
@@ -392,7 +392,7 @@ module Google
392
392
  # [Output Only] The unique identifier for the resource. This identifier is
393
393
  # defined by the server.
394
394
  # Corresponds to the JSON property `id`
395
- # @return [String]
395
+ # @return [Fixnum]
396
396
  attr_accessor :id
397
397
 
398
398
  # [Output Only] The time that this operation was requested. This value is in
@@ -458,7 +458,7 @@ module Google
458
458
  # [Output Only] The unique target ID, which identifies a specific incarnation of
459
459
  # the target resource.
460
460
  # Corresponds to the JSON property `targetId`
461
- # @return [String]
461
+ # @return [Fixnum]
462
462
  attr_accessor :target_id
463
463
 
464
464
  # [Output Only] The URL of the resource that the operation modifies.
@@ -749,7 +749,7 @@ module Google
749
749
 
750
750
  # [Output Only] Unique identifier for the resource; defined by the server.
751
751
  # Corresponds to the JSON property `id`
752
- # @return [String]
752
+ # @return [Fixnum]
753
753
  attr_accessor :id
754
754
 
755
755
  # [Output Only] Type of the resource. Always clouduseraccounts#user for users.
@@ -149,7 +149,7 @@ module Google
149
149
  class Representation < Google::Apis::Core::JsonRepresentation
150
150
  property :creation_timestamp, as: 'creationTimestamp'
151
151
  property :description, as: 'description'
152
- property :id, as: 'id'
152
+ property :id, :numeric_string => true, as: 'id'
153
153
  property :kind, as: 'kind'
154
154
  collection :members, as: 'members'
155
155
  property :name, as: 'name'
@@ -242,7 +242,7 @@ module Google
242
242
 
243
243
  property :http_error_message, as: 'httpErrorMessage'
244
244
  property :http_error_status_code, as: 'httpErrorStatusCode'
245
- property :id, as: 'id'
245
+ property :id, :numeric_string => true, as: 'id'
246
246
  property :insert_time, as: 'insertTime'
247
247
  property :kind, as: 'kind'
248
248
  property :name, as: 'name'
@@ -253,7 +253,7 @@ module Google
253
253
  property :start_time, as: 'startTime'
254
254
  property :status, as: 'status'
255
255
  property :status_message, as: 'statusMessage'
256
- property :target_id, as: 'targetId'
256
+ property :target_id, :numeric_string => true, as: 'targetId'
257
257
  property :target_link, as: 'targetLink'
258
258
  property :user, as: 'user'
259
259
  collection :warnings, as: 'warnings', class: Google::Apis::ClouduseraccountsBeta::Operation::Warning, decorator: Google::Apis::ClouduseraccountsBeta::Operation::Warning::Representation
@@ -326,7 +326,7 @@ module Google
326
326
  property :creation_timestamp, as: 'creationTimestamp'
327
327
  property :description, as: 'description'
328
328
  collection :groups, as: 'groups'
329
- property :id, as: 'id'
329
+ property :id, :numeric_string => true, as: 'id'
330
330
  property :kind, as: 'kind'
331
331
  property :name, as: 'name'
332
332
  property :owner, as: 'owner'
@@ -51,6 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'clouduseraccounts/beta/projects/')
54
+ @batch_path = 'batch'
54
55
  end
55
56
 
56
57
  # Deletes the specified operation resource.
@@ -71,7 +71,7 @@ module Google
71
71
  # [Output Only] The unique identifier for the resource. This identifier is
72
72
  # defined by the server.
73
73
  # Corresponds to the JSON property `id`
74
- # @return [String]
74
+ # @return [Fixnum]
75
75
  attr_accessor :id
76
76
 
77
77
  # [Output Only] The type of the resource. Always compute#acceleratorType for
@@ -370,7 +370,7 @@ module Google
370
370
  # [Output Only] The unique identifier for the resource. This identifier is
371
371
  # defined by the server.
372
372
  # Corresponds to the JSON property `id`
373
- # @return [String]
373
+ # @return [Fixnum]
374
374
  attr_accessor :id
375
375
 
376
376
  # [Output Only] Type of the resource. Always compute#address for addresses.
@@ -781,7 +781,7 @@ module Google
781
781
 
782
782
  # Specifies the size of the disk in base-2 GB.
783
783
  # Corresponds to the JSON property `diskSizeGb`
784
- # @return [String]
784
+ # @return [Fixnum]
785
785
  attr_accessor :disk_size_gb
786
786
 
787
787
  # [Deprecated] Storage type of the disk.
@@ -948,7 +948,7 @@ module Google
948
948
  # [Output Only] The unique identifier for the resource. This identifier is
949
949
  # defined by the server.
950
950
  # Corresponds to the JSON property `id`
951
- # @return [String]
951
+ # @return [Fixnum]
952
952
  attr_accessor :id
953
953
 
954
954
  # [Output Only] Type of the resource. Always compute#autoscaler for autoscalers.
@@ -1515,7 +1515,7 @@ module Google
1515
1515
 
1516
1516
  # [Output Only] Unique identifier for the resource; defined by the server.
1517
1517
  # Corresponds to the JSON property `id`
1518
- # @return [String]
1518
+ # @return [Fixnum]
1519
1519
  attr_accessor :id
1520
1520
 
1521
1521
  # Type of the resource.
@@ -1670,7 +1670,7 @@ module Google
1670
1670
  # [Output Only] The unique identifier for the resource. This identifier is
1671
1671
  # defined by the server.
1672
1672
  # Corresponds to the JSON property `id`
1673
- # @return [String]
1673
+ # @return [Fixnum]
1674
1674
  attr_accessor :id
1675
1675
 
1676
1676
  # [Output Only] Type of resource. Always compute#backendService for backend
@@ -2187,7 +2187,7 @@ module Google
2187
2187
  # [Output Only] The unique identifier for the resource. This identifier is
2188
2188
  # defined by the server.
2189
2189
  # Corresponds to the JSON property `id`
2190
- # @return [String]
2190
+ # @return [Fixnum]
2191
2191
  attr_accessor :id
2192
2192
 
2193
2193
  # [Output Only] Type of the resource. Always compute#commitment for commitments.
@@ -2670,7 +2670,7 @@ module Google
2670
2670
  # [Output Only] The unique identifier for the resource. This identifier is
2671
2671
  # defined by the server.
2672
2672
  # Corresponds to the JSON property `id`
2673
- # @return [String]
2673
+ # @return [Fixnum]
2674
2674
  attr_accessor :id
2675
2675
 
2676
2676
  # [Output Only] Type of the resource. Always compute#disk for disks.
@@ -2737,7 +2737,7 @@ module Google
2737
2737
  # of sizeGb must not be less than the size of the sourceImage or the size of the
2738
2738
  # snapshot.
2739
2739
  # Corresponds to the JSON property `sizeGb`
2740
- # @return [String]
2740
+ # @return [Fixnum]
2741
2741
  attr_accessor :size_gb
2742
2742
 
2743
2743
  # The source image used to create this disk. If the source image is deleted,
@@ -3000,7 +3000,7 @@ module Google
3000
3000
 
3001
3001
  # [Output Only] Server-defined default disk size in GB.
3002
3002
  # Corresponds to the JSON property `defaultDiskSizeGb`
3003
- # @return [String]
3003
+ # @return [Fixnum]
3004
3004
  attr_accessor :default_disk_size_gb
3005
3005
 
3006
3006
  # Deprecation status for a public resource.
@@ -3016,7 +3016,7 @@ module Google
3016
3016
  # [Output Only] The unique identifier for the resource. This identifier is
3017
3017
  # defined by the server.
3018
3018
  # Corresponds to the JSON property `id`
3019
- # @return [String]
3019
+ # @return [Fixnum]
3020
3020
  attr_accessor :id
3021
3021
 
3022
3022
  # [Output Only] Type of the resource. Always compute#diskType for disk types.
@@ -3257,7 +3257,7 @@ module Google
3257
3257
 
3258
3258
  # The new size of the persistent disk, which is specified in GB.
3259
3259
  # Corresponds to the JSON property `sizeGb`
3260
- # @return [String]
3260
+ # @return [Fixnum]
3261
3261
  attr_accessor :size_gb
3262
3262
 
3263
3263
  def initialize(**args)
@@ -3405,7 +3405,7 @@ module Google
3405
3405
  # [Output Only] The unique identifier for the resource. This identifier is
3406
3406
  # defined by the server.
3407
3407
  # Corresponds to the JSON property `id`
3408
- # @return [String]
3408
+ # @return [Fixnum]
3409
3409
  attr_accessor :id
3410
3410
 
3411
3411
  # [Output Ony] Type of the resource. Always compute#firewall for firewall rules.
@@ -3664,7 +3664,7 @@ module Google
3664
3664
  # [Output Only] The unique identifier for the resource. This identifier is
3665
3665
  # defined by the server.
3666
3666
  # Corresponds to the JSON property `id`
3667
- # @return [String]
3667
+ # @return [Fixnum]
3668
3668
  attr_accessor :id
3669
3669
 
3670
3670
  # [Output Only] Type of the resource. Always compute#forwardingRule for
@@ -4157,7 +4157,7 @@ module Google
4157
4157
  # [Output Only] The unique identifier for the resource. This identifier is
4158
4158
  # defined by the server.
4159
4159
  # Corresponds to the JSON property `id`
4160
- # @return [String]
4160
+ # @return [Fixnum]
4161
4161
  attr_accessor :id
4162
4162
 
4163
4163
  # Type of the resource.
@@ -4422,7 +4422,7 @@ module Google
4422
4422
  # [Output Only] The unique identifier for the resource. This identifier is
4423
4423
  # defined by the server.
4424
4424
  # Corresponds to the JSON property `id`
4425
- # @return [String]
4425
+ # @return [Fixnum]
4426
4426
  attr_accessor :id
4427
4427
 
4428
4428
  # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP
@@ -4575,7 +4575,7 @@ module Google
4575
4575
  # [Output Only] The unique identifier for the resource. This identifier is
4576
4576
  # defined by the server.
4577
4577
  # Corresponds to the JSON property `id`
4578
- # @return [String]
4578
+ # @return [Fixnum]
4579
4579
  attr_accessor :id
4580
4580
 
4581
4581
  # Type of the resource.
@@ -4697,7 +4697,7 @@ module Google
4697
4697
 
4698
4698
  # Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
4699
4699
  # Corresponds to the JSON property `archiveSizeBytes`
4700
- # @return [String]
4700
+ # @return [Fixnum]
4701
4701
  attr_accessor :archive_size_bytes
4702
4702
 
4703
4703
  # [Output Only] Creation timestamp in RFC3339 text format.
@@ -4718,7 +4718,7 @@ module Google
4718
4718
 
4719
4719
  # Size of the image when restored onto a persistent disk (in GB).
4720
4720
  # Corresponds to the JSON property `diskSizeGb`
4721
- # @return [String]
4721
+ # @return [Fixnum]
4722
4722
  attr_accessor :disk_size_gb
4723
4723
 
4724
4724
  # The name of the image family to which this image belongs. You can create disks
@@ -4745,7 +4745,7 @@ module Google
4745
4745
  # [Output Only] The unique identifier for the resource. This identifier is
4746
4746
  # defined by the server.
4747
4747
  # Corresponds to the JSON property `id`
4748
- # @return [String]
4748
+ # @return [Fixnum]
4749
4749
  attr_accessor :id
4750
4750
 
4751
4751
  # Represents a customer-supplied encryption key
@@ -4992,7 +4992,7 @@ module Google
4992
4992
  # [Output Only] The unique identifier for the resource. This identifier is
4993
4993
  # defined by the server.
4994
4994
  # Corresponds to the JSON property `id`
4995
- # @return [String]
4995
+ # @return [Fixnum]
4996
4996
  attr_accessor :id
4997
4997
 
4998
4998
  # [Output Only] Type of the resource. Always compute#instance for instances.
@@ -5203,7 +5203,7 @@ module Google
5203
5203
  # [Output Only] A unique identifier for this instance group, generated by the
5204
5204
  # server.
5205
5205
  # Corresponds to the JSON property `id`
5206
- # @return [String]
5206
+ # @return [Fixnum]
5207
5207
  attr_accessor :id
5208
5208
 
5209
5209
  # [Output Only] The resource type, which is always compute#instanceGroup for
@@ -5431,7 +5431,7 @@ module Google
5431
5431
  # [Output Only] A unique identifier for this resource type. The server generates
5432
5432
  # this identifier.
5433
5433
  # Corresponds to the JSON property `id`
5434
- # @return [String]
5434
+ # @return [Fixnum]
5435
5435
  attr_accessor :id
5436
5436
 
5437
5437
  # [Output Only] The URL of the Instance Group resource.
@@ -6462,7 +6462,7 @@ module Google
6462
6462
  # [Output Only] A unique identifier for this instance template. The server
6463
6463
  # defines this identifier.
6464
6464
  # Corresponds to the JSON property `id`
6465
- # @return [String]
6465
+ # @return [Fixnum]
6466
6466
  attr_accessor :id
6467
6467
 
6468
6468
  # [Output Only] The resource type, which is always compute#instanceTemplate for
@@ -6907,7 +6907,7 @@ module Google
6907
6907
  # [Output Only] The unique identifier for the resource. This identifier is
6908
6908
  # defined by the server.
6909
6909
  # Corresponds to the JSON property `id`
6910
- # @return [String]
6910
+ # @return [Fixnum]
6911
6911
  attr_accessor :id
6912
6912
 
6913
6913
  # [Output Only] Whether this machine type has a shared CPU. See Shared-core
@@ -6930,7 +6930,7 @@ module Google
6930
6930
 
6931
6931
  # [Output Only] Maximum total persistent disks size (GB) allowed.
6932
6932
  # Corresponds to the JSON property `maximumPersistentDisksSizeGb`
6933
- # @return [String]
6933
+ # @return [Fixnum]
6934
6934
  attr_accessor :maximum_persistent_disks_size_gb
6935
6935
 
6936
6936
  # [Output Only] The amount of physical memory available to the instance, defined
@@ -7195,7 +7195,7 @@ module Google
7195
7195
  # [Output only] The unique identifier for this resource. This field is empty
7196
7196
  # when instance does not exist.
7197
7197
  # Corresponds to the JSON property `id`
7198
- # @return [String]
7198
+ # @return [Fixnum]
7199
7199
  attr_accessor :id
7200
7200
 
7201
7201
  # [Output Only] The URL of the instance. The URL can exist even if the instance
@@ -7470,7 +7470,7 @@ module Google
7470
7470
  # [Output Only] The unique identifier for the resource. This identifier is
7471
7471
  # defined by the server.
7472
7472
  # Corresponds to the JSON property `id`
7473
- # @return [String]
7473
+ # @return [Fixnum]
7474
7474
  attr_accessor :id
7475
7475
 
7476
7476
  # [Output Only] Type of the resource. Always compute#network for networks.
@@ -7813,7 +7813,7 @@ module Google
7813
7813
  # [Output Only] The unique identifier for the resource. This identifier is
7814
7814
  # defined by the server.
7815
7815
  # Corresponds to the JSON property `id`
7816
- # @return [String]
7816
+ # @return [Fixnum]
7817
7817
  attr_accessor :id
7818
7818
 
7819
7819
  # [Output Only] The time that this operation was requested. This value is in
@@ -7879,7 +7879,7 @@ module Google
7879
7879
  # [Output Only] The unique target ID, which identifies a specific incarnation of
7880
7880
  # the target resource.
7881
7881
  # Corresponds to the JSON property `targetId`
7882
- # @return [String]
7882
+ # @return [Fixnum]
7883
7883
  attr_accessor :target_id
7884
7884
 
7885
7885
  # [Output Only] The URL of the resource that the operation modifies. For
@@ -8432,7 +8432,7 @@ module Google
8432
8432
  # defined by the server. This is not the project ID, and is just a unique ID
8433
8433
  # used by Compute Engine to identify resources.
8434
8434
  # Corresponds to the JSON property `id`
8435
- # @return [String]
8435
+ # @return [Fixnum]
8436
8436
  attr_accessor :id
8437
8437
 
8438
8438
  # [Output Only] Type of the resource. Always compute#project for projects.
@@ -8637,7 +8637,7 @@ module Google
8637
8637
  # [Output Only] The unique identifier for the resource. This identifier is
8638
8638
  # defined by the server.
8639
8639
  # Corresponds to the JSON property `id`
8640
- # @return [String]
8640
+ # @return [Fixnum]
8641
8641
  attr_accessor :id
8642
8642
 
8643
8643
  # [Output Only] Type of the resource. Always compute#region for regions.
@@ -9134,7 +9134,7 @@ module Google
9134
9134
 
9135
9135
  # The amount of the resource purchased (in a type-dependent unit, such as bytes).
9136
9136
  # Corresponds to the JSON property `amount`
9137
- # @return [String]
9137
+ # @return [Fixnum]
9138
9138
  attr_accessor :amount
9139
9139
 
9140
9140
  # Type of resource for which this commitment applies.
@@ -9209,7 +9209,7 @@ module Google
9209
9209
  # [Output Only] The unique identifier for the resource. This identifier is
9210
9210
  # defined by the server.
9211
9211
  # Corresponds to the JSON property `id`
9212
- # @return [String]
9212
+ # @return [Fixnum]
9213
9213
  attr_accessor :id
9214
9214
 
9215
9215
  # [Output Only] Type of this resource. Always compute#routes for Route resources.
@@ -9459,7 +9459,7 @@ module Google
9459
9459
  # [Output Only] The unique identifier for the resource. This identifier is
9460
9460
  # defined by the server.
9461
9461
  # Corresponds to the JSON property `id`
9462
- # @return [String]
9462
+ # @return [Fixnum]
9463
9463
  attr_accessor :id
9464
9464
 
9465
9465
  # Router interfaces. Each interface requires either one linked resource (e.g.
@@ -10140,7 +10140,7 @@ module Google
10140
10140
  # [Output Only] The position of the next byte of content from the serial console
10141
10141
  # output. Use this value in the next request as the start parameter.
10142
10142
  # Corresponds to the JSON property `next`
10143
- # @return [String]
10143
+ # @return [Fixnum]
10144
10144
  attr_accessor :next
10145
10145
 
10146
10146
  # [Output Only] Server-defined URL for this resource.
@@ -10153,7 +10153,7 @@ module Google
10153
10153
  # exceeds the size of the buffer, older output will be overwritten by newer
10154
10154
  # content and the start values will be mismatched.
10155
10155
  # Corresponds to the JSON property `start`
10156
- # @return [String]
10156
+ # @return [Fixnum]
10157
10157
  attr_accessor :start
10158
10158
 
10159
10159
  def initialize(**args)
@@ -10212,13 +10212,13 @@ module Google
10212
10212
 
10213
10213
  # [Output Only] Size of the snapshot, specified in GB.
10214
10214
  # Corresponds to the JSON property `diskSizeGb`
10215
- # @return [String]
10215
+ # @return [Fixnum]
10216
10216
  attr_accessor :disk_size_gb
10217
10217
 
10218
10218
  # [Output Only] The unique identifier for the resource. This identifier is
10219
10219
  # defined by the server.
10220
10220
  # Corresponds to the JSON property `id`
10221
- # @return [String]
10221
+ # @return [Fixnum]
10222
10222
  attr_accessor :id
10223
10223
 
10224
10224
  # [Output Only] Type of the resource. Always compute#snapshot for Snapshot
@@ -10298,7 +10298,7 @@ module Google
10298
10298
  # share storage, this number is expected to change with snapshot creation/
10299
10299
  # deletion.
10300
10300
  # Corresponds to the JSON property `storageBytes`
10301
- # @return [String]
10301
+ # @return [Fixnum]
10302
10302
  attr_accessor :storage_bytes
10303
10303
 
10304
10304
  # [Output Only] An indicator whether storageBytes is in a stable state or it is
@@ -10410,7 +10410,7 @@ module Google
10410
10410
  # [Output Only] The unique identifier for the resource. This identifier is
10411
10411
  # defined by the server.
10412
10412
  # Corresponds to the JSON property `id`
10413
- # @return [String]
10413
+ # @return [Fixnum]
10414
10414
  attr_accessor :id
10415
10415
 
10416
10416
  # [Output Only] Type of the resource. Always compute#sslCertificate for SSL
@@ -10528,7 +10528,7 @@ module Google
10528
10528
  # [Output Only] The unique identifier for the resource. This identifier is
10529
10529
  # defined by the server.
10530
10530
  # Corresponds to the JSON property `id`
10531
- # @return [String]
10531
+ # @return [Fixnum]
10532
10532
  attr_accessor :id
10533
10533
 
10534
10534
  # The range of internal addresses that are owned by this subnetwork. Provide
@@ -10968,7 +10968,7 @@ module Google
10968
10968
  # [Output Only] The unique identifier for the resource. This identifier is
10969
10969
  # defined by the server.
10970
10970
  # Corresponds to the JSON property `id`
10971
- # @return [String]
10971
+ # @return [Fixnum]
10972
10972
  attr_accessor :id
10973
10973
 
10974
10974
  # [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP
@@ -11101,7 +11101,7 @@ module Google
11101
11101
  # [Output Only] The unique identifier for the resource. This identifier is
11102
11102
  # defined by the server.
11103
11103
  # Corresponds to the JSON property `id`
11104
- # @return [String]
11104
+ # @return [Fixnum]
11105
11105
  attr_accessor :id
11106
11106
 
11107
11107
  # [Output Only] Type of resource. Always compute#targetHttpsProxy for target
@@ -11227,7 +11227,7 @@ module Google
11227
11227
  # [Output Only] The unique identifier for the resource. This identifier is
11228
11228
  # defined by the server.
11229
11229
  # Corresponds to the JSON property `id`
11230
- # @return [String]
11230
+ # @return [Fixnum]
11231
11231
  attr_accessor :id
11232
11232
 
11233
11233
  # A URL to the virtual machine instance that handles traffic for this target
@@ -11536,7 +11536,7 @@ module Google
11536
11536
  # [Output Only] The unique identifier for the resource. This identifier is
11537
11537
  # defined by the server.
11538
11538
  # Corresponds to the JSON property `id`
11539
- # @return [String]
11539
+ # @return [Fixnum]
11540
11540
  attr_accessor :id
11541
11541
 
11542
11542
  # A list of resource URLs to the virtual machine instances serving this pool.
@@ -11996,7 +11996,7 @@ module Google
11996
11996
  # [Output Only] The unique identifier for the resource. This identifier is
11997
11997
  # defined by the server.
11998
11998
  # Corresponds to the JSON property `id`
11999
- # @return [String]
11999
+ # @return [Fixnum]
12000
12000
  attr_accessor :id
12001
12001
 
12002
12002
  # [Output Only] Type of the resource. Always compute#targetSslProxy for target
@@ -12160,7 +12160,7 @@ module Google
12160
12160
  # [Output Only] The unique identifier for the resource. This identifier is
12161
12161
  # defined by the server.
12162
12162
  # Corresponds to the JSON property `id`
12163
- # @return [String]
12163
+ # @return [Fixnum]
12164
12164
  attr_accessor :id
12165
12165
 
12166
12166
  # [Output Only] Type of the resource. Always compute#targetTcpProxy for target
@@ -12285,7 +12285,7 @@ module Google
12285
12285
  # [Output Only] The unique identifier for the resource. This identifier is
12286
12286
  # defined by the server.
12287
12287
  # Corresponds to the JSON property `id`
12288
- # @return [String]
12288
+ # @return [Fixnum]
12289
12289
  attr_accessor :id
12290
12290
 
12291
12291
  # [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN
@@ -12696,7 +12696,7 @@ module Google
12696
12696
  # [Output Only] The unique identifier for the resource. This identifier is
12697
12697
  # defined by the server.
12698
12698
  # Corresponds to the JSON property `id`
12699
- # @return [String]
12699
+ # @return [Fixnum]
12700
12700
  attr_accessor :id
12701
12701
 
12702
12702
  # [Output Only] Type of the resource. Always compute#urlMaps for url maps.
@@ -12991,7 +12991,7 @@ module Google
12991
12991
  # [Output Only] The unique identifier for the resource. This identifier is
12992
12992
  # defined by the server.
12993
12993
  # Corresponds to the JSON property `id`
12994
- # @return [String]
12994
+ # @return [Fixnum]
12995
12995
  attr_accessor :id
12996
12996
 
12997
12997
  # IKE protocol version to use when establishing the VPN tunnel with peer VPN
@@ -13381,7 +13381,7 @@ module Google
13381
13381
  # [Output Only] The unique identifier for the resource. This identifier is
13382
13382
  # defined by the server.
13383
13383
  # Corresponds to the JSON property `id`
13384
- # @return [String]
13384
+ # @return [Fixnum]
13385
13385
  attr_accessor :id
13386
13386
 
13387
13387
  # [Output Only] Type of the resource. Always compute#zone for zones.